diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-12 04:04:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-12 04:04:10 +0100 |
commit | 3980ecf15e6202ac2f2015045b549600e709b721 (patch) | |
tree | 6f854410381fa9d52df5a548314626b48329f1c3 /app-containers/netavark | |
parent | 61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (diff) |
gentoo auto-resync : 12:10:2024 - 04:04:10
Diffstat (limited to 'app-containers/netavark')
-rw-r--r-- | app-containers/netavark/Manifest | 3 | ||||
-rw-r--r-- | app-containers/netavark/netavark-1.12.2.ebuild | 59 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-containers/netavark/Manifest b/app-containers/netavark/Manifest index 5b2156323016..44ae47341123 100644 --- a/app-containers/netavark/Manifest +++ b/app-containers/netavark/Manifest @@ -1,14 +1,17 @@ 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.12.2.crate 156878 BLAKE2B 787fd23e3fa233a18a753aa55a43413aafff47b4d0733a9f2250d3f2159c1a3d0dd20272997701b3bc39a6a042060e3d2edad2418326873111d8183f0060560c SHA512 45e423e15945ce63e1bb5d2364377de65efd2f2edfeb0fd3522d2d8afb5cb60e1951b5810ac1dbdbbdf77176885b738ad864132daa8d7de858fb4edce340d7ea 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.12.2-vendor.tar.gz 18364290 BLAKE2B e2f09d53ac8106196aa873732df66f0357a5e26488cc1b8f1d10f5f5d650d471272efca7f33860afe6242500d934ee22d9ea58c256e47e296ed57d8d563f1f27 SHA512 1396eb4e41282745949a7a511c6c44e703c810624e56b8ca9455fec52c59d4ec4333103e00188b2b8c08a60bb9e8a8eca6ed995103c0dc20b3b91c1e0a1d0dfb DIST netavark-v1.9.0-vendor.tar.gz 16032862 BLAKE2B 313bcde75f2355dab3fa4fdc82881109924c07408aa352e92b590356cf292cd60ad39d8ef31687935e3fed6f22ec8c3b8f26e6eae21fdf211c29c83b745c8a84 SHA512 a5c11dd47122490579a260b6ac3b1c8f01d1c2881e58dbcc5bece398c7d6ef01f376f8c342df4ef619b135cc92a95c48741c8098413c33ede696c87a9cdcc96c EBUILD netavark-1.10.2.ebuild 1352 BLAKE2B 7faefe36bd5adf3a4142bee1f8efe913645e57a6f10f7f81eb20f090e58fceb2ed4357e3793822b40fb2a7214adb854378223d2886cc03e2a3ca593895b9b845 SHA512 58f4239d9d399ae8c9d784659053587cb88e32487508ee2c4847d862f7a417c25637118b34a10b48f54de709e1f7d797d40126b17101da3c8b04e03384a8093c EBUILD netavark-1.10.3.ebuild 1350 BLAKE2B 14ca0aaf558e59252f15cd3403307d480318889e44a6b2bc1fe12350e1a52f92c94f89cd73cc45d0e94cf993278e57a46937e26e99133805a05db15d36eed8d0 SHA512 6ee734ef88f5c1a72fa670ec2c4f8269c9254af2048a3103d883d34d2ed077ac53cc290a26eb099117990d3f97bce3231482a26ceda2c3bdc2678c66b6c76eec EBUILD netavark-1.11.0.ebuild 1359 BLAKE2B 021487ea8354717f18cf89fa031293a61871ff6857f4e66e36297b12a120fbab747a790f1bac6a58be8afa004af6cfc1bb5d416955e10a517003a630da7b0b78 SHA512 7f5e44fc774b3315a728a6c2f609de311c0e084e5da2a74a38f7b1458ace4c414077212a69943923620c778241863830d0074d6098fb93e189455c728da714ea +EBUILD netavark-1.12.2.ebuild 1359 BLAKE2B 021487ea8354717f18cf89fa031293a61871ff6857f4e66e36297b12a120fbab747a790f1bac6a58be8afa004af6cfc1bb5d416955e10a517003a630da7b0b78 SHA512 7f5e44fc774b3315a728a6c2f609de311c0e084e5da2a74a38f7b1458ace4c414077212a69943923620c778241863830d0074d6098fb93e189455c728da714ea EBUILD netavark-1.9.0.ebuild 1350 BLAKE2B 14ca0aaf558e59252f15cd3403307d480318889e44a6b2bc1fe12350e1a52f92c94f89cd73cc45d0e94cf993278e57a46937e26e99133805a05db15d36eed8d0 SHA512 6ee734ef88f5c1a72fa670ec2c4f8269c9254af2048a3103d883d34d2ed077ac53cc290a26eb099117990d3f97bce3231482a26ceda2c3bdc2678c66b6c76eec EBUILD netavark-9999.ebuild 1359 BLAKE2B 021487ea8354717f18cf89fa031293a61871ff6857f4e66e36297b12a120fbab747a790f1bac6a58be8afa004af6cfc1bb5d416955e10a517003a630da7b0b78 SHA512 7f5e44fc774b3315a728a6c2f609de311c0e084e5da2a74a38f7b1458ace4c414077212a69943923620c778241863830d0074d6098fb93e189455c728da714ea MISC metadata.xml 944 BLAKE2B 072bce0ea9bd5b8e5647c64b79ff77d29099607b9c67f5add104daad074a510a1aabbc8a02e5587ade6363519f13ceb07019302dd8c5e627c271b61faf468d49 SHA512 538b0be977375a193dfc889a6ab77b5ea8fd0d26fc6479b146829cb98333dcf8f1b0d030e75970ec90b01a8cc8a5e35f21857bdbbb111a0fc278f7df3aeb6eda diff --git a/app-containers/netavark/netavark-1.12.2.ebuild b/app-containers/netavark/netavark-1.12.2.ebuild new file mode 100644 index 000000000000..81168b09df45 --- /dev/null +++ b/app-containers/netavark/netavark-1.12.2.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 ~loong ~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 $(cargo_target_dir)|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 +} |