diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-14 00:09:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-14 00:09:04 +0100 |
commit | 5e41a38157bb40e8513e8e34426e85faba672fe7 (patch) | |
tree | 38e9365afd56c161d0e970ddf5420b2585130587 /app-containers/netavark | |
parent | 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (diff) |
gentoo auto-resync : 14:06:2024 - 00:09:04
Diffstat (limited to 'app-containers/netavark')
-rw-r--r-- | app-containers/netavark/Manifest | 3 | ||||
-rw-r--r-- | app-containers/netavark/netavark-1.11.0.ebuild | 59 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-containers/netavark/Manifest b/app-containers/netavark/Manifest index 4dc110e1c145..b076957dc283 100644 --- a/app-containers/netavark/Manifest +++ b/app-containers/netavark/Manifest @@ -1,11 +1,14 @@ DIST netavark-1.10.2.crate 154261 BLAKE2B 2da5b12917f5db01d82c47808f403e06d6abbcbad0b777d1871de73d52d25219e3d6f8db48feb862aff8a20ed2184c728e813871aa1acc1d02e3997987a932b6 SHA512 362dd2652b3a9d9d1dec99cd85bc6e74b323d86b79ded742e68472e0b58881a5306d7217218d88e27d5e1c4094f2d67c9cb766d4b4c1ee2185c8b4fcbd299e3d DIST netavark-1.10.3.crate 154416 BLAKE2B a7750304484ae820eb3bb1bc4de8c2ad22d95494fe10471014e0eb999fb7578c5e9c2ab352fe357d964d701206ee7016f87134a62afe0a03cd1b574cae1264ca SHA512 6ed9cd5a69a6eacc4ad839a82680c7b98d453564aadee41eb6ea632223fba7fbdb20f11e4146dc74b6c6d3695ac50624424b3260dbb7769a4100a918e4328dbf +DIST netavark-1.11.0.crate 155698 BLAKE2B df460f6a2e5ce82645dccf6ca487724da2abc6f3f2c90f56d935d691ddd9a4229b785177a4e6360f75aa13ee7cdb29a2794c0b7360ef9d40ea3f946771d3ab73 SHA512 e25b075f98cb2aa55cf0e8d8868aac3b6ff0b390f4f0632d6ee2f431cede144948ed98015576cf8a64fcc1a2c33c454415159951aacbdf0611613da867db9a13 DIST netavark-1.9.0.crate 139321 BLAKE2B c0c40c5b109544c094bf83ba9c73f829472c7703a72e25ec3dcb9b62b926f404618b2cb143fcc944f2240db074de14e711115d6f51d722125e152eea0ac0a631 SHA512 7a5fb4a856b5815c141ad63abbe0f122d762a411b86189add76cfff99adfdb066e24a7b577683950efdc39f2b7955bbdfb31f2c1c41037702fb732916e8aeebe DIST netavark-v1.10.2-vendor.tar.gz 16135498 BLAKE2B 607cad9d80067d579adaafdea22b238f5e2f6f92a3c6aed530c8e97bce2f7f869adeabbc7b7d1c04f7c517459112c42b5588aa3ccbf04d5205d2b8212c1e7a42 SHA512 a5079b724d25af60cc094dd5c0bc9e01d503f64bee7ef1c8e616e79793726d848a5e000d951f02d2516f10feea23e30ab637b37ae09da5580f4edb1e783240c0 DIST netavark-v1.10.3-vendor.tar.gz 16135507 BLAKE2B 114519b76d932c5918fd91cea73e8bc9f5aa3a63275f9218e667e400c3e2512e5db29ce806b5e5b509b043c04a3436344a27cf170e203d4360d00247e48b5ca9 SHA512 b8a99f45ba4ebb20414fe052ff08b1e7a7a86994c7dfa2f36d0500d52bcbd2d279aeff19fb0844a65e2375e86da33af735851f038f598771d2dac96ff7e032a5 +DIST netavark-v1.11.0-vendor.tar.gz 17751524 BLAKE2B b466b27674e6944b2de8a684ee3e14f26775b6065f0f1e82987a0c240725c01f88d2138641b768b5e03fce5b26908d0281b1983b8c1844af4999064bf24d8f15 SHA512 d858bddaaf41b284af9ede84a4d3aab5b5935ea83df5261dfa58e2b7d14962dd55983b1a95b2692e323ea40fc2dc4d9b1bdf2aed90644739e6333c794a7915cb DIST netavark-v1.9.0-vendor.tar.gz 16032862 BLAKE2B 313bcde75f2355dab3fa4fdc82881109924c07408aa352e92b590356cf292cd60ad39d8ef31687935e3fed6f22ec8c3b8f26e6eae21fdf211c29c83b745c8a84 SHA512 a5c11dd47122490579a260b6ac3b1c8f01d1c2881e58dbcc5bece398c7d6ef01f376f8c342df4ef619b135cc92a95c48741c8098413c33ede696c87a9cdcc96c EBUILD netavark-1.10.2.ebuild 1367 BLAKE2B fb89d2b127f095facff1922161ddf22828a01cdb697aa1657c830a8fa8e7e40a983223354a85d958438e1d99c11c7b54d2c7c703e3004fe44c79ebe1753ff4c8 SHA512 0c666962b408b5a289031feca6f1cdaf61e7c7cdb21c7cb7f238962736de5b679a1aca5bc3e5a8853e77749cac0fd6e8d4348d5e99335c3040e5e312727ab6f7 EBUILD netavark-1.10.3.ebuild 1365 BLAKE2B f79408066a3e792ef91030a9e31ba6e2221b3d24e1ac23f14336cb66e01259432b422a5f5f4e638963439698e399453b146d5e44c92a01357c03f2eb2b3d132f SHA512 5d841859d44888fa894dc5d8a61eadbd8311c60d0b6b343fa447d07bdb1e708e9c148bae3775040d771ec7fb157363270d8cff0080f3fa94865bcb5c2c54dbe5 +EBUILD netavark-1.11.0.ebuild 1367 BLAKE2B fb89d2b127f095facff1922161ddf22828a01cdb697aa1657c830a8fa8e7e40a983223354a85d958438e1d99c11c7b54d2c7c703e3004fe44c79ebe1753ff4c8 SHA512 0c666962b408b5a289031feca6f1cdaf61e7c7cdb21c7cb7f238962736de5b679a1aca5bc3e5a8853e77749cac0fd6e8d4348d5e99335c3040e5e312727ab6f7 EBUILD netavark-1.9.0.ebuild 1365 BLAKE2B f79408066a3e792ef91030a9e31ba6e2221b3d24e1ac23f14336cb66e01259432b422a5f5f4e638963439698e399453b146d5e44c92a01357c03f2eb2b3d132f SHA512 5d841859d44888fa894dc5d8a61eadbd8311c60d0b6b343fa447d07bdb1e708e9c148bae3775040d771ec7fb157363270d8cff0080f3fa94865bcb5c2c54dbe5 EBUILD netavark-9999.ebuild 1367 BLAKE2B fb89d2b127f095facff1922161ddf22828a01cdb697aa1657c830a8fa8e7e40a983223354a85d958438e1d99c11c7b54d2c7c703e3004fe44c79ebe1753ff4c8 SHA512 0c666962b408b5a289031feca6f1cdaf61e7c7cdb21c7cb7f238962736de5b679a1aca5bc3e5a8853e77749cac0fd6e8d4348d5e99335c3040e5e312727ab6f7 MISC metadata.xml 944 BLAKE2B 072bce0ea9bd5b8e5647c64b79ff77d29099607b9c67f5add104daad074a510a1aabbc8a02e5587ade6363519f13ceb07019302dd8c5e627c271b61faf468d49 SHA512 538b0be977375a193dfc889a6ab77b5ea8fd0d26fc6479b146829cb98333dcf8f1b0d030e75970ec90b01a8cc8a5e35f21857bdbbb111a0fc278f7df3aeb6eda diff --git a/app-containers/netavark/netavark-1.11.0.ebuild b/app-containers/netavark/netavark-1.11.0.ebuild new file mode 100644 index 000000000000..a18be8dea54d --- /dev/null +++ b/app-containers/netavark/netavark-1.11.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" + +inherit cargo systemd + +DESCRIPTION="A container network stack" +HOMEPAGE="https://github.com/containers/netavark" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/netavark.git" +else + SRC_URI="${CARGO_CRATE_URIS} https://github.com/containers/netavark/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +fi + +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" +BDEPEND="dev-go/go-md2man + dev-libs/protobuf" + +QA_FLAGS_IGNORED=" + usr/libexec/podman/${PN}" +QA_PRESTRIPPED=" + usr/libexec/podman/${PN}" + +ECARGO_VENDOR="${WORKDIR}/vendor" + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_prepare() { + default + sed -i -e "s|m0755 bin|m0755 target/$(usex debug debug release)|g;" Makefile || die +} + +src_compile() { + cargo_src_compile + export PREFIX="${EPREFIX}"/usr SYSTEMDDIR="$(systemd_get_systemunitdir)" + emake docs +} + +# Following is needed because we want to use `make install` instead of `cargo install` (exported by cargo.eclass) +src_install() { + default +} |