-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-containers/netavark: Sync with Gentoo
Signed-off-by: James Le Cuirot <[email protected]>
- Loading branch information
Showing
6 changed files
with
243 additions
and
1 deletion.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
sdk_container/src/third_party/portage-stable/app-containers/netavark/Manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
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 |
59 changes: 59 additions & 0 deletions
59
sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.10.2.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 $(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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.11.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 $(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 | ||
} |
59 changes: 59 additions & 0 deletions
59
sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.9.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 $(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 | ||
} |
59 changes: 59 additions & 0 deletions
59
sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-9999.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 $(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 | ||
} |