diff options
Diffstat (limited to 'app-containers')
41 files changed, 706 insertions, 610 deletions
diff --git a/app-containers/Manifest.gz b/app-containers/Manifest.gz Binary files differindex 1cc4a5221acc..b8e51044bcd2 100644 --- a/app-containers/Manifest.gz +++ b/app-containers/Manifest.gz diff --git a/app-containers/buildah/Manifest b/app-containers/buildah/Manifest index 2f0d885c3889..816488470a40 100644 --- a/app-containers/buildah/Manifest +++ b/app-containers/buildah/Manifest @@ -1,3 +1,5 @@ DIST buildah-1.25.1.tar.gz 14212065 BLAKE2B ec4f668654011f1b93745e1a1d575fdda0cd5f4d6f9f7f7b3106c24aa7d405951ecd645a54c2dd5a3ad2695069e66ad847bdb15f0e73a9c7efba2a7e283d4f58 SHA512 628f8095eb4488ae2be06a2a92de85dde4f3841e8ed9882132c119f27b0c93f26ba10f5dd259d63654b90539d762f6c1973d460f073c0b2450ac5d9582a6a68d +DIST buildah-1.26.1.tar.gz 14159554 BLAKE2B bf17a51653bb07591c19fca449d6f4eeb87693a4d20ae5f12f669b10c328fadd763e0c0fa76605154a5a6439f4e250bc8f00c2d01c9fbf1e266aa67189aafdbd SHA512 07225ebb23e5a815be1ef8acb5d15ef9fb8c6e9324fa9b65ec024f7b6bbe892721f9feaac2911d1b466c2cf336bd0c68e3d1b4df953f13a3390da84a93f76723 EBUILD buildah-1.25.1.ebuild 1196 BLAKE2B 3f0e2e2cb09af594cac29666ef4c9b1f3b7721659f6fff2ff29fa9ebc30f841cb2703d5fd3ce41b4dcc32a30841372ae3b3d36af791423bca05c4f70f2ce655a SHA512 ec2aa76c2ba6676d828534e2ceb7a5e12f800d44b382c35ca2bd76f24631084103ba6e94f519252d90bf4511e47ac0d341dfab3c2f5206781096e87203d51fe7 +EBUILD buildah-1.26.1.ebuild 1198 BLAKE2B 7e9ccc06d48faa040cca405dcc77d031852f903b0246cbc5678271df37c9a977e095a0787b8ef29fbc2d1cb83170252dab4787c3060150167d9e713503776e74 SHA512 62effe1025136327f5f94b3d34213a545d05cb8eb7e778f259317f4c0adbc90b442d3b0eac833439d16efe5c40bd32c58e09a2b75c346d743e191fa008409437 MISC metadata.xml 328 BLAKE2B 55d2d2b5cc972b7e6b6fb77d14e79e304adcbc7056ff351f5ee3cac6cf5f83b4ef2a10c70754d1d30a5ecd88e652abc07cddd8005c3767e7f709c0c5cb61d068 SHA512 7520f5745909da195d4bfdd750e4c716c461a3789adfde56dd9be46b91dfb789653d642c0958b5a2950eea220cc00143bfcd5db402fcc2578c8fe5f8ff69275f diff --git a/app-containers/buildah/buildah-1.26.1.ebuild b/app-containers/buildah/buildah-1.26.1.ebuild new file mode 100644 index 000000000000..016059edd2b4 --- /dev/null +++ b/app-containers/buildah/buildah-1.26.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module +GIT_COMMIT=6e2ec2eb + +DESCRIPTION="A tool that facilitates building OCI images" +HOMEPAGE="https://github.com/containers/buildah" +SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="selinux" + +RDEPEND="app-crypt/gpgme:= + app-containers/skopeo + dev-libs/libgpg-error:= + dev-libs/libassuan:= + sys-apps/shadow:= + sys-fs/lvm2:= + sys-libs/libseccomp:= + selinux? ( sys-libs/libselinux:= )" +DEPEND="${RDEPEND}" + +RESTRICT+=" test" + +src_prepare() { + default + [[ -f selinux_tag.sh ]] || die + use selinux || { echo -e "#!/bin/sh\ntrue" > \ + selinux_tag.sh || die; } + sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed' +} + +src_compile() { + emake GIT_COMMIT=${GIT_COMMIT} all +} + +src_install() { + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md + doman docs/*.1 + dodoc -r docs/tutorials + dobin bin/{${PN},imgtype} + dobashcomp contrib/completions/bash/buildah +} + +src_test() { + emake test-unit +} diff --git a/app-containers/containers-storage/Manifest b/app-containers/containers-storage/Manifest index 22cfc76f695c..1cf4bf1690bd 100644 --- a/app-containers/containers-storage/Manifest +++ b/app-containers/containers-storage/Manifest @@ -1,3 +1,5 @@ DIST containers-storage-1.39.0.tar.gz 3670784 BLAKE2B ad46a33fd51bb95385ed1572a30136bc117bd1d72adb2cbcde2d864fe4ac51dde02b45a8457366d84b889bfcfd62f74c249fc7b5505ca316da08bc03af5c866d SHA512 c3b59361755150adc4a13995a200879175ff1ddf402ce3191311b9e525995ccb73cb8e9c9bc485388cb7517783cd9f9e3a7916c03087dbd5d0be170198b1c861 +DIST containers-storage-1.40.2.tar.gz 3686775 BLAKE2B 980f714e86bb198687b351876e1bb55a6a115e5aa1c73b1c54f63f57ee75727a3b720322b62300c21de30982b5028c82f6ca94d9457e35f9e88d67de96a2f16f SHA512 f4ff23e26d9103debc1709cbbbc6e715d2b9378a3bd7c2e72393841b2eb499ffce525526aa53bd1f7985cda87962a98f1d0b4601610f7cee8c9c879957575ad2 EBUILD containers-storage-1.39.0.ebuild 1460 BLAKE2B 1e82d14bc4a40bfeec0c09d26d5e987cdf208a66e9359186512b067d454154337c301573f852fbeafaa572641acb6109e5f069273e4689efbaf0262be216e736 SHA512 3debf8e12d4ef6349aa00ad4594494999cacaba6f784db5c7ea79da9c81f7ca783a9bd8bc62e5fc81bc4629cd6ff49c8ca304e8df3741cd93cf6660246828801 +EBUILD containers-storage-1.40.2.ebuild 1460 BLAKE2B 1e82d14bc4a40bfeec0c09d26d5e987cdf208a66e9359186512b067d454154337c301573f852fbeafaa572641acb6109e5f069273e4689efbaf0262be216e736 SHA512 3debf8e12d4ef6349aa00ad4594494999cacaba6f784db5c7ea79da9c81f7ca783a9bd8bc62e5fc81bc4629cd6ff49c8ca304e8df3741cd93cf6660246828801 MISC metadata.xml 604 BLAKE2B b132c7cf2a280a6c5fee5b37eb644c5644890b845a92165551a5466caf2fbfa07f7b63b1a387fee62467a7df4218e1e4c563fe70fc40209a4f2eae5b9c714b57 SHA512 21725a1c25a5912b26a56f1970b968ca686f55a27888e4a2948ea6d7a6b8f3d70f528e875d8d2271963ebebb6fee11c51f218045296dac21a1b86ba9b5481b28 diff --git a/app-containers/containers-storage/containers-storage-1.40.2.ebuild b/app-containers/containers-storage/containers-storage-1.40.2.ebuild new file mode 100644 index 000000000000..c01863fdb218 --- /dev/null +++ b/app-containers/containers-storage/containers-storage-1.40.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +KEYWORDS="~amd64" +DESCRIPTION="containers/storage library" +HOMEPAGE="https://github.com/containers/storage" +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +IUSE="btrfs +device-mapper test" +SRC_URI="https://github.com/containers/storage/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RDEPEND=" + btrfs? ( sys-fs/btrfs-progs ) + device-mapper? ( sys-fs/lvm2:= )" +DEPEND="${RDEPEND} + dev-go/go-md2man + test? ( + sys-fs/btrfs-progs + sys-fs/lvm2 + sys-apps/util-linux + )" +RESTRICT="test" + +S=${WORKDIR}/${P#containers-} + +src_prepare() { + default + + sed -e 's|: install\.tools|:|' -i Makefile || die + + [[ -f hack/btrfs_tag.sh ]] || die + use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \ + "hack/btrfs_tag.sh" || die; } + + [[ -f hack/libdm_tag.sh ]] || die + use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \ + "hack/libdm_tag.sh" || die; } +} + +src_compile() { + export -n GOCACHE GOPATH XDG_CACHE_HOME #678856 + emake GOMD2MAN=go-md2man FFJSON= containers-storage docs +} + +src_install() { + dobin "${PN}" + while read -r -d ''; do + mv "${REPLY}" "${REPLY%.1}" || die + done < <(find "${S}/docs" -name '*.[[:digit:]].1' -print0) + find "${S}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die +} + +src_test() { + env -u GOFLAGS unshare -m emake local-test-unit || die +} diff --git a/app-containers/cosign/Manifest b/app-containers/cosign/Manifest index 9481d978a7d8..40ddd4829137 100644 --- a/app-containers/cosign/Manifest +++ b/app-containers/cosign/Manifest @@ -1,5 +1,8 @@ AUX cosign-1.5.0-fix-makefile.patch 571 BLAKE2B 7737bcd538b6597472f7586f901a484de0b46d02e09336b9524741024acb5b001fc24bb774e0aab7560b5c9eeefc5d877ec2c546d1a331295656e86ef217544c SHA512 6d27b8095038f7cbb62c86354f7788982fd7c622da7a87f98df69ce77c34840c68f6a0eddc9584e628fbf3b1fce7bed991e0e1213eec14953bb4ecea98fca130 DIST cosign-1.6.0-deps.tar.xz 532055072 BLAKE2B c9192d5e4dae37d0f3826bec3a945812776d513af474cf0bcbba33eeda2b5e26f9166e69b3f9f3e3591361dac70a6b49c90e4b087899138bf8f1196db757b346 SHA512 8894eaddd3009f6c50e5e3cc681b8f0e78950d497f8808dee501305a137eed83e3cfd7382a1f171361aba271bd0d0c27dcb3d0d3907d970982e9748e8ba97273 DIST cosign-1.6.0.tar.gz 7069651 BLAKE2B 74ef05aacc19bfb627039bc9b7a7ec981b2ad80e3ef779d2b538369243b1727c51808dd8b45e5514bc1d798fef8f8d07d9fd22c36df11d29c44316d36e77900f SHA512 d812fbb8861ee9ddf117a4f9b6d1e9d90f3ecf1d9f396beef73b381caf30ef73162ac081dcf5e6abe18a21ca16fc8e99b299166543a5d7c72085e0fb821dc712 +DIST cosign-1.8.0-deps.tar.xz 541301856 BLAKE2B fb1fd9c2570f327876a5d151261f906951c57fdbaa6eefe1dcb84166f71ae381053f44a3d8a5707660cba066435aa6747aa5c47896b19b461954f6c824c33cd2 SHA512 b2773c1f07d32edc6a4ba02c487a3620eea141f29b425159eb2973ef32867afa7f334fdde2a23d00c84314a236b3bd513f1ea8faf231204a7fd9358ba0ba5234 +DIST cosign-1.8.0.tar.gz 7217748 BLAKE2B 2d9625609f86cad05770085617cd80335d62554e608f64abf96a3dcf5f0d4449b850d493ce2faff2593d0f996d2ace3f304d89ef99c7bfa2a2027a419ae6da1d SHA512 7d45e80ae5fa15fa7fe14bc5cd13a159356b58afc3baebac5d2c64fa38c74e73a3d17f75bed0730fe842da63de5487c54dfb9f77bbffa1f943281b74d3b30c94 EBUILD cosign-1.6.0.ebuild 665 BLAKE2B 6695570aea08d8d9721d6db22fb3f708980feb8101141ab5099a8b2f44a6081918b36d50d63eaee10ce52dfd778a353323b2e8886e639d069f747854d5c5ece6 SHA512 52e3b218f9c5ee836616a996371918cdc1b7529631237eea6a036069abdd3bcc6261f47554f0b96ca38b442e0368bf375e0f8cdec280dc2dc767bcacafaaffcc +EBUILD cosign-1.8.0.ebuild 665 BLAKE2B 21ad3bfbe45b6f4e3512925fbf64c2276fce0d3581f65098c6d9f046f8ea7633bdc2830564cf727db72a7c6ce3c5a9a13892789682f8eae16a86270d914321f6 SHA512 fa5c97d8ed1b93940d39ee3fde3eb48b9735bba6b2471a7ceeecfc2b7b606554cddb37dd43e2d89fe4d588901d7e239febc628acc8ba6e8b28233a5e66debc2f MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251 diff --git a/app-containers/cosign/cosign-1.8.0.ebuild b/app-containers/cosign/cosign-1.8.0.ebuild new file mode 100644 index 000000000000..3728305931f0 --- /dev/null +++ b/app-containers/cosign/cosign-1.8.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GIT_HASH=9ef6b207218572b3257a5b4251418d75569baaae +inherit go-module + +DESCRIPTION="container signing utility" +HOMEPAGE="https://sigstore.dev" +SRC_URI="https://github.com/sigstore/cosign/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-fix-makefile.patch +) + +RESTRICT="test" + +src_compile() { + emake \ + GIT_HASH=${GIT_HASH} + GIT_VERSION=v${PV} \ + GIT_TREESTATE=clean +} + +src_install() { + dobin cosign + einstalldocs +} diff --git a/app-containers/cri-tools/Manifest b/app-containers/cri-tools/Manifest index 8b5a517e04e7..824eace30465 100644 --- a/app-containers/cri-tools/Manifest +++ b/app-containers/cri-tools/Manifest @@ -1,9 +1,5 @@ -DIST cri-tools-1.18.0.tar.gz 5295512 BLAKE2B 9dda4a401b858e98aa60521d3268d8f6ff6a2c1bd2c219a0e5e9e5360fba58d41e97258c636da26ee57bbfc3286798c74107c7de92d3e3398bdf53b7d9078e94 SHA512 849b496e6d19eec29e0e56f0b37c094649311b80514f319b0c68c6519e3ddd48e1973c3d288144db998826676416644ec705b7ea0916c21898b40928ea800af1 -DIST cri-tools-1.21.0.tar.gz 6739482 BLAKE2B 365e3e9b220e63713dd21af4154b2282c20db1d19ba6b32da616c5d73957a375ab12ed2a86694abb9d90e1020be1fd89c128ed3e469d2f7524dcf42139e7df56 SHA512 a307f5526fb8b7b23a1635b168a8f3b9b9b4bd6ccb94d461dc5af2065e6d1be527dadcb1c86e04808b244d0851a4901ee78a0263f58cf673f6ca503621d5eb61 -DIST cri-tools-1.22.0.tar.gz 6821114 BLAKE2B 48bf99488cd3a65ac5ff14d8b46359f2ce7163f9810b255dfeeacea9aa2b86310d242dd174fc29490ae24a985d0cbf51bd1f4d9a752bd5828fdfae73eab2be31 SHA512 4a2751ebe0b1ed7cb739a71230272ace0cbddc516abba39c6bf07d5e2648bd60e2139935b77a5388028887915162c957f652ea05434ff7865256721d10f863df DIST cri-tools-1.23.0.tar.gz 6823865 BLAKE2B 75d394ec1f9ccf2122476c9b845499212d668f8170ae8551913e3e057271986ab77454bdd0fa646127bfadda203fabdc57cc448dfe1e64dd7cdbedc8f5ee8cf6 SHA512 36700eaf872da14921e0b2c8fa68f91e3e0226364e29a5b8e132fbd52504e130e0bc2cce30aba21e7def576a4682f150b0b051d44b78aa694c225c10999d7155 -EBUILD cri-tools-1.18.0.ebuild 846 BLAKE2B 4673efb448fbaf2d2f335d72b6845b5f3dbe646926efc88637f0fc53453e61de56802babf8cc6a72bc868882a8cf66a9056e1b9af4d3a0bb391be620e2593491 SHA512 2a8d349df0f4a3ff2a721e17dd4666a4a5d1f3ccc18f8c094c916d3dd98c4cf4dc16b3038f8c4a7ad88cc752d1074ab29fb1245caf86af7fbae12aed41297f3d -EBUILD cri-tools-1.21.0.ebuild 852 BLAKE2B 41cb64d014d16e2cda2e6931f52555e51dee5e7cdfd06aeac78f137dc72db215fce79c6b7006be3d65b9bb37dca59eb056a2c56ee945d2a37723890adc34129e SHA512 dc931bb285c2f291bf26ef09756136529ce385dc975650d7f090b82634e91f6027932c861bf8cd89a82c542213f234d91de46b4cd128c46e20b0c0f0a1862a68 -EBUILD cri-tools-1.22.0.ebuild 853 BLAKE2B c59a80e68c2fe4979be899445fa5bcff78b9c45d3ad9180c52b76aa91737ae21f9b5bfb4c9681d723e345ee6f441b546d46c772e59e55c8808b2182c4b99f0a7 SHA512 c6527d6bc0573f95432e72b6741218f8b9d5cca9af3943d3b63abb77ed5ddf23e116c8c8b8bd4f3bffd49b2e41d03d17105f2bba9a345168a1b56e76d4a87ca6 +DIST cri-tools-1.24.0.tar.gz 5868141 BLAKE2B 281c397bb60bb5075d2b99cab11a44cf8746c1f744dfafc4f051dd6c2344a53eba948a35d90f814105ef3cb2b0bef3e7e1723408069a2ab4293801f906ec48b0 SHA512 5c7468c15b9f030d5cf93112abc28f8024e1d1b46f85459cb0a10c84ab63d07f5dfa830d019f8ed1a31bf04ea14c5e200b11d85ae7573be44860b74312e66dbc EBUILD cri-tools-1.23.0.ebuild 857 BLAKE2B bf93d04d671c1b42ed9cb8e0ff6e77c5c2bb123513e10814ca45d2a439fd237fddc91d62c54321009d62afb3f175eea2345f3178fa2f595c5d9a0b018ed9fa7b SHA512 cbac966a3e496779a52d98d495e5d82a2402114de10390313a8fc6d9a4f2ff1a80eeb8dcd5f7d5ab64a456427212600c65daa9a06114a6359e090323949bc504 +EBUILD cri-tools-1.24.0.ebuild 858 BLAKE2B 502603915b37de1a2d861fc65f3531a257866fffdfa0c6397758fddb5ccd92b39b860d4f990bf0e19b2f4b688d3d1af2ebe113d47259bee9eb47a68fae42c1b9 SHA512 eb8e260618b408936d88608d54c4e247075971aaf99b36ac99d7b5cc59541e75b98b7cd2d02433bf774a2d0ba8facfcbbfe0adff111941120cd8718d4f0464c4 MISC metadata.xml 263 BLAKE2B e2391971af70d0ca75212246843424e954c3b21333f7ee119d5c084e93cd5d0d5882d5a460b0478f697173da346fe38db1f1e371e5408559c0395fa1f4c63fa3 SHA512 92be722523029265ad69f50a4c9eb434a2949ec609e4e0b026d3ee27f565c306ba164fea3d8880061265e206a0e2f108a695835c3ba995355ac8f4601870c483 diff --git a/app-containers/cri-tools/cri-tools-1.18.0.ebuild b/app-containers/cri-tools/cri-tools-1.18.0.ebuild deleted file mode 100644 index 32412429f575..000000000000 --- a/app-containers/cri-tools/cri-tools-1.18.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit bash-completion-r1 go-module -MY_PV="v${PV/_beta/-beta.}" - -DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" -HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" -SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64" - -RESTRICT+=" test" - -src_compile() { - emake VERSION="${MY_PV}" - _output/crictl completion bash > ${PN}.bash || die - _output/crictl completion zsh > ${PN}.zsh || die -} - -src_install() { - dobin _output/crictl - - newbashcomp ${PN}.bash ${PN} - insinto /usr/share/zsh/site-functions - newins ${PN}.zsh _${PN} - - dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md -} diff --git a/app-containers/cri-tools/cri-tools-1.21.0.ebuild b/app-containers/cri-tools/cri-tools-1.21.0.ebuild deleted file mode 100644 index b171220105c3..000000000000 --- a/app-containers/cri-tools/cri-tools-1.21.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit bash-completion-r1 go-module - -DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" -HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" -SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64" - -DEPEND="dev-lang/go" - -RESTRICT+=" test" - -src_compile() { - emake VERSION="${PV}" - ./build/bin/crictl completion bash > "${PN}.bash" || die - ./build/bin/crictl completion zsh > "${PN}.zsh" || die -} - -src_install() { - dobin ./build/bin/crictl - - newbashcomp ${PN}.bash ${PN} - insinto /usr/share/zsh/site-functions - newins ${PN}.zsh _${PN} - - dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md -} diff --git a/app-containers/cri-tools/cri-tools-1.22.0.ebuild b/app-containers/cri-tools/cri-tools-1.24.0.ebuild index 7b1aff7889bf..0a580bdda110 100644 --- a/app-containers/cri-tools/cri-tools-1.22.0.ebuild +++ b/app-containers/cri-tools/cri-tools-1.24.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/app-containers/docker-compose/Manifest b/app-containers/docker-compose/Manifest index 9ecbfa371609..3ec67e25d33a 100644 --- a/app-containers/docker-compose/Manifest +++ b/app-containers/docker-compose/Manifest @@ -4,7 +4,10 @@ DIST docker-compose-2.3.3-deps.tar.xz 486283624 BLAKE2B 1bb2f743ff0ee46e4b5790bc DIST docker-compose-2.3.3.tar.gz 270143 BLAKE2B 9ab2863a37402ebcb881797e1d6a170dd9557d14a8174dec4049b55f6f3c106752423ac13d9e2ec1bb95dab83df83e53747519f4ceed91f7d9a5805c630e82e0 SHA512 5986f4f54302fd552c7aeb0cdfbe8d5185744bc2a2fe6f136e1a4009b3b9f68cf7578d3b6a2acb2067ef9a889eb33d159b2daf80140315a29412bda15d2a5446 DIST docker-compose-2.4.1-deps.tar.xz 110605892 BLAKE2B 042d84818b963c23769e039a930076355cb2ebb2d86c5f8af56f240689012ae7aeff12cf366b46f2bf0fa0799d5f7b825f726686f54db218787e91a6c308ba5f SHA512 28bb292daac3ddf1055c4dd5f0b1920dc8145636e878beaac90863fec8b86e277f6906d82753b62fc7c9f755a9246c223307fad5fb412e41c0ca11b4d60e7e0e DIST docker-compose-2.4.1.tar.gz 274404 BLAKE2B 346c9c527630217fdeada28e7329400a910007c5296cf4b8b7f41d90049c51c54c518f82f602b71332d9ecd91eeb65e1135aa18c37fe98ee02b99238cf7dbadb SHA512 0c7611c95955b63a4cc77a4498393c52c7107a4a6fe950dbf2d1181df8f44f682337eb6cc7814e9902551b230507b12a05d1377acac7b2342f829401f1d24651 +DIST docker-compose-2.5.0-deps.tar.xz 110626568 BLAKE2B 657d4d421172a6ba3516475045af50ef2351cc847933a799b7232ad6a46485d7961ad5875c9f19bf96d39adf275ca943d02fba2b939a210c080c6d38211e56f5 SHA512 231416474c6b3f73911bc7cf344ea5bfdb719cecf6ad7b159c755814df08ffcb60d05ccbdd294211cb7f64a52a5a81e2dfd357bdc10738918d47a75909d20bf9 +DIST docker-compose-2.5.0.tar.gz 274812 BLAKE2B cf3b49cc13a8ab37d6426e78f4d9fca9a7b629346d292458e32ca2b66d20ba49929cc354d570b05deec3a0e0ac7778a02045ea87070059fc20c352f2d2ddb589 SHA512 7b556394e58dcdd49229c608d0672fe1aa5bd0b715f49b4b3e2ecbea16cc4962deb7e816ea057a8a565c598c21207316b8f7b5e41f0af0c3f330054ae81c2703 EBUILD docker-compose-1.29.2-r1.ebuild 1915 BLAKE2B 45e984d2f7c8cf249187355bc2503a1b17642f1e87b0a308779ec027187ed9b700413f2c814880c6618607a3531c766086807b4a9a3021f6695453cc6074cb1b SHA512 37375b33f10219740a7f26b2af9f246635ac9196e17b1bd82337341afcdc21eebedceae1c32139f7c54eaf96b3cfa7a2f25c632a4d96b2a10708e80f5ec1cca1 EBUILD docker-compose-2.3.3-r2.ebuild 1242 BLAKE2B 48e1062372861a1707356495b38ebdf3818a946538f1798016dd187969cac14c88a4c2e268f13f4178be10a65ef4d3cb1d2fbfb58e6d39ea6c4ed8bb03cf1727 SHA512 ba6439a3d2e6f62ae36a780a7c421d0316e2d70e0bf5327bbef4aa27ed9cdc0da0537b05416480fcce01dabf871245ef4f70176ef1503ccb20a4d4f791bb3cb9 EBUILD docker-compose-2.4.1.ebuild 1242 BLAKE2B 48e1062372861a1707356495b38ebdf3818a946538f1798016dd187969cac14c88a4c2e268f13f4178be10a65ef4d3cb1d2fbfb58e6d39ea6c4ed8bb03cf1727 SHA512 ba6439a3d2e6f62ae36a780a7c421d0316e2d70e0bf5327bbef4aa27ed9cdc0da0537b05416480fcce01dabf871245ef4f70176ef1503ccb20a4d4f791bb3cb9 +EBUILD docker-compose-2.5.0.ebuild 1242 BLAKE2B 48e1062372861a1707356495b38ebdf3818a946538f1798016dd187969cac14c88a4c2e268f13f4178be10a65ef4d3cb1d2fbfb58e6d39ea6c4ed8bb03cf1727 SHA512 ba6439a3d2e6f62ae36a780a7c421d0316e2d70e0bf5327bbef4aa27ed9cdc0da0537b05416480fcce01dabf871245ef4f70176ef1503ccb20a4d4f791bb3cb9 MISC metadata.xml 544 BLAKE2B d515d07ee7d2045db1d4a2a0e8f0e797e23b01dea7ab164d9bffc85bc00ddc18a050f296db0a80df8a65c9c554d6e189218a1939b07b29ea823e5eea65d803e6 SHA512 17c3b4e7be1318a36aa744e185d7f7d5571107cecc98eed8fce07b4d905273409b95a202129440082f29be57d6a44eabda43730e8f47cc7c63c04d6d0ed05645 diff --git a/app-containers/docker-compose/docker-compose-2.5.0.ebuild b/app-containers/docker-compose/docker-compose-2.5.0.ebuild new file mode 100644 index 000000000000..3946a436a4be --- /dev/null +++ b/app-containers/docker-compose/docker-compose-2.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2018-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module +MY_PV=${PV/_/-} + +DESCRIPTION="Multi-container orchestration for Docker" +HOMEPAGE="https://github.com/docker/compose" +SRC_URI="https://github.com/docker/compose/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=">=app-containers/docker-cli-20.10.3" + +S="${WORKDIR}/compose-${MY_PV}" + +src_prepare() { + default + # do not strip + sed -i -e 's/-s -w//' builder.Makefile || die +} + +src_compile() { + emake -f builder.Makefile GIT_TAG=v${PV} +} + +src_test() { + emake -f builder.Makefile test +} + +src_install() { + exeinto /usr/libexec/docker/cli-plugins + doexe bin/docker-compose + dodoc README.md +} + +pkg_postinst() { + has_version =app-containers/docker-compose-1* || return + ewarn + ewarn "docker-compose 2.x is a sub command of docker" + ewarn "Use 'docker compose' from the command line instead of" + ewarn "'docker-compose'" + ewarn "If you need to keep 1.x around, please run the following" + ewarn "command before your next --depclean" + ewarn "# emerge --noreplace docker-compose:0" +} diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest new file mode 100644 index 000000000000..23da2596cd58 --- /dev/null +++ b/app-containers/grype/Manifest @@ -0,0 +1,4 @@ +DIST grype-0.36.1-deps.tar.xz 671469268 BLAKE2B 227b76230e45851c0980e80c1299efca2299e196b2f9432d8dcbaff9ab08c545f7e64fdc8c88ba79392d3e3d0067f03155ace14473aeacc65da7909d7d3fe4cb SHA512 432ed203febeeb26db4d50a9bb1b95bef11c91e0335e1e75b7eec68484a2f5e5d9ff6f84b05ced703519d2490723adeaca6009efd18647f0a8d6ce515727c4dc +DIST grype-0.36.1.tar.gz 1028910 BLAKE2B 70327fdbb1426537c623f7e8c8c286cfba336454e129166bbda6ff19403a4e6ab260ad2136e00acf8a76aab4de6073ae4c28614c0ab5c7955c14f07c124bc833 SHA512 299d440bb96a5092173a8baa42e80bf5ea4f90663ba50241f6b0d7a2f75d94496dc91eca78c3d4341f68f7e874223d49a7663146f7e20db8cac15ed65a8650f9 +EBUILD grype-0.36.1.ebuild 511 BLAKE2B c1cf14d31e5d8bf842ce01048f0f3e9813e19e16d39222b3ae485134418587dbef88eaa5122ab37e693b635e0336835449aeea430df8fda7dac8b116e72b5c4c SHA512 b5f79ba354cc9db9dccff1c3e5b87be41924d5fc07df36b85a4fa20e65b04f9b473d0742620ba9238fe92644a8ff2a67c16e62708e6fbf11d690f205e8319dec +MISC metadata.xml 243 BLAKE2B 63665ae2020bc799fa6ebd6e1fca6755be6498803fdbc17cc630f9f4ffa03fbd46a9ad396e70adc3bc1c32b0a746fe4bab1c6291f32e68e636251207bca9e95c SHA512 78eab20831018fcf4957171a83aaaca9ced53380e01f083c07450c30fa1adfc02dd50ff2fa9f491dd62802f6e779264add1c47a09ade0a35cda558c1d5529ad0 diff --git a/app-containers/grype/grype-0.36.1.ebuild b/app-containers/grype/grype-0.36.1.ebuild new file mode 100644 index 000000000000..c98fb9fd7f0c --- /dev/null +++ b/app-containers/grype/grype-0.36.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="A vulnerability scanner for container images and filesystems" +HOMEPAGE="https://www.anchore.com" +SRC_URI="https://github.com/anchore/grype/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -o bin/grype +} + +src_install() { + dobin bin/grype +} diff --git a/app-containers/grype/metadata.xml b/app-containers/grype/metadata.xml new file mode 100644 index 000000000000..3b2a9c591010 --- /dev/null +++ b/app-containers/grype/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>williamh@gentoo.org</email> +<name>William Hubbs</name> +</maintainer> +</pkgmetadata> diff --git a/app-containers/lxd/Manifest b/app-containers/lxd/Manifest index 56126823385b..f9ed42a01b89 100644 --- a/app-containers/lxd/Manifest +++ b/app-containers/lxd/Manifest @@ -1,7 +1,5 @@ AUX lxd-4.0.0.confd 582 BLAKE2B 88ce8ec99eb50174bffea7d3b8bddc67b50fe6677d54df115c9069311b5fb59a72170a15988f50714740074f7ec4f2cd32fb47b6d8c52cf69b8c6fa332162a06 SHA512 96d922ae81677eebace3f8d2dff7f67d58701c40c09e2435677f9289cca89fe260c0d9526059d3772c3405a5b8ec52466bf7d7a920dcdd7551f1b3f01f2fc9c4 -AUX lxd-4.0.0.initd 1221 BLAKE2B cdff6d900e09f85d9a4dc86b30f0d32b848689e209b79b48217e2f844a48fb358850cbc27db1aed7c1b957bbc19af2d76856fd65319a0a207cedfefbadf659cc SHA512 8b176036c1e5f2ffac4c94e781694fb637fa53666f10da1d5d2b3f1fc341f02003e5306dbd332edd9eeb6f7b08dffd9190c7f65361a40220f6f88d56e4c78a57 AUX lxd-4.0.0.socket 197 BLAKE2B 8c0d2dee71c14ee5f34b2bd0804adfa06ab3ae2a73bcf8d122184434c42b7f91f66fe610bddda93c458e0f171b505fe79a4f268d8243aabdf226f47e95027e71 SHA512 d70dc867b2e92b69928c83fc5feca4e387808adbc267b9fe4ecf0c8befdf3ca13366b229c6eefcb5667e51405fb0aa4e6bb8f59a0b5b5fb3895c46b4aaab0661 -AUX lxd-4.0.7-r1.service 497 BLAKE2B 90141dce8dbef52521c5f9c2924111904f8b0528e8555afb8a2eb8d9dc8b4c6b32b543a6ee3caf42dc0a90f20d35d40810a3f0828a88377e91424f7b00e589a8 SHA512 91fa16a9e9de2eda34c06ec66c144a43fe1cb23c99137cbd830ff9621c7362989404ca9906e4f53b3c10ba84c3cc950713cb69ed7a81bd66f07935312f8f75f8 AUX lxd-4.0.9-r1.service 612 BLAKE2B e44029b6f615afc0daf8abfccd7d2e472291d9b1f8530b64f5c9b7d96aeda605a0dd0ec9b74f0a79f68992a45607e4362a7c30c711b34ac106b9377610f97ad6 SHA512 68800d9952e865eeffe1c05ecf111c49e6b137c6f7af7c7b02daf180c3a794a670ddbe7140e97d187f1b9a803ca84e132303808ed8b6ae49760246c01d7c60d4 AUX lxd-4.0.9.initd 1333 BLAKE2B 72a27d38527b4f0dcca3b111ae0d112bd128cf83ff6261561c5a3bf1c619a2e36672b5eb06ff643660d3cee05a545991ed565be257a56452cbd498a202e1b197 SHA512 933a09e72dbf3bbab8e2148549b6bc08ac0caf2088bd44c3e378ac6041fa861845bfae351c83fcd0920655ceb29ea6ca8023163c52a2fb7499c9bf2958d4dc86 AUX lxd-containers-4.0.0.service 322 BLAKE2B a38cffd4b5809946abdac858564dcab2c2967c295d671df0d315d790df1849e25f0bc052e20cd0d9e4c23403289050b4538f5a52437ab8ae9ca3b40c6a9a1571 SHA512 a55f2c1a367c5c3c5eb6880e01893977de18c6e9463949236ee3247715fbf53641bbe1b69404362dd6cb6ba2a30ac6539fd362b21059e529dc4dac4ec5ca6718 diff --git a/app-containers/lxd/files/lxd-4.0.0.initd b/app-containers/lxd/files/lxd-4.0.0.initd deleted file mode 100644 index e6ae971e879f..000000000000 --- a/app-containers/lxd/files/lxd-4.0.0.initd +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DAEMON=/usr/sbin/lxd -PIDFILE=/run/lxd.pid - -depend() { - need net - need lxcfs -} - -start() { - ebegin "Starting lxd service" - - modprobe -f loop > /dev/null 2>&1 - - # fix permissions on /var/lib/lxd and make sure it exists - install -d /var/lib/lxd --group lxd --owner root --mode 0775 - start-stop-daemon --start \ - --pidfile ${PIDFILE} \ - --exec ${DAEMON} \ - --background \ - --make-pidfile \ - -- \ - ${LXD_OPTIONS} - eend ${?} -} - -stop() { - if [ "${RC_CMD}" = restart ]; then - ebegin "Stopping lxd service (but not containers)" - # start-stop-daemon sends SIGTERM with a timeout of 5s by default. - # SIGTERM indicates to LXD that it will be stopped temporarily. - # Instances will keep running. - start-stop-daemon --stop --quiet -p "${PIDFILE}" - eend ${?} - else - ebegin "Stopping lxd service and containers, waiting 40s" - # SIGPWR indicates to LXD that the host is going down. - # LXD will do a clean shutdown of all instances. - # After 30s all remaining instances will be killed. - # We wait up to 40s for LXD. - start-stop-daemon --stop --quiet -R SIGPWR/40 -p "${PIDFILE}" - eend ${?} - fi -} diff --git a/app-containers/lxd/files/lxd-4.0.7-r1.service b/app-containers/lxd/files/lxd-4.0.7-r1.service deleted file mode 100644 index f1e644b95df8..000000000000 --- a/app-containers/lxd/files/lxd-4.0.7-r1.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description=LXD - main daemon -After=network-online.target lxcfs.service lxd.socket -Requires=network-online.target lxcfs.service lxd.socket -Documentation=man:lxd(1) - -[Service] -EnvironmentFile=-/etc/environment -ExecStart=/usr/sbin/lxd --group lxd --syslog -ExecStartPost=/usr/sbin/lxd waitready --timeout=600 -KillMode=process -TimeoutStartSec=600s -TimeoutStopSec=30s -Restart=on-failure -LimitNOFILE=1048576 -LimitNPROC=infinity -TasksMax=infinity - -[Install] -Also=lxd-containers.service lxd.socket diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest index 82355ca74cee..f18685f972f5 100644 --- a/app-containers/nerdctl/Manifest +++ b/app-containers/nerdctl/Manifest @@ -1,5 +1,7 @@ DIST nerdctl-0.17.1-vendor.tar.gz 7762770 BLAKE2B 399a99047cb3a3ab31806529e2502f3446e3df717950f1db05d8a449e5c931719717a35e420791232b19338c9d81c8443f0cd2520c38509aedbbaddc8b6d2893 SHA512 ec2967abee1ff44dcd44dd21d079a9d1e9bb254d0a5b150f57a2668cdd26e7f6dd5de99bc1fff3a94b4fb1c4546785e78245ed4e4e5f026b81b909f8dbf318c6 DIST nerdctl-0.18.0-vendor.tar.gz 7757873 BLAKE2B dfc77baee4649cf5a4ffa2ae196460d34eea531f930f04b894cc715b68a4295d1bcf98c89702032aaf6c5fc0b1a7f8b885f6c4b0bd61afd044b67fe4510c6967 SHA512 b542abafbd1dfe4213646b66b69d7bb286b8fda152870846cd350ad0362cbd16ca5f2d8fe23ae056f0c18f5674eb984f2993cf2937d7aff7b67668d65d9e1488 +DIST nerdctl-0.19.0-vendor.tar.gz 7798588 BLAKE2B 1bf17d09de13e5d2160cca500e8d9dc2eb666f5639e12353e1153bbf201f48d376c7b369a97bd851082c32276c6ba280d8f8e1add7b56206d3f07a0dfc725393 SHA512 9f84d829c2c40589f930345bb7073e6ca868e9e840f74c9176b049b63b2983dca55168eb54113b7b74e7651f1c902f84c9fca8d0f5d948ba7510db91f3a52e74 EBUILD nerdctl-0.17.1.ebuild 989 BLAKE2B a6fcbb62d09d948200679bc0be906eaae18ac7875a9eec42bb262a1076a2c051d701ee82978445f534b14e160878dbf347fbe81902c52cc3536cd599729a281b SHA512 0e53088fc1b6764b230bd2657e99dd432dc025d721b1efac53e3b84383890c0344057a71746c7f955a41838728fee92758544f82932fa9b270d2a6e306542a3e EBUILD nerdctl-0.18.0.ebuild 989 BLAKE2B 6c7750f0daf4839bdc3f67400f9fc343d1b7d410ad97b05bc8055133709c3137415799d4b0ed4c4be5645914407b11a9a3b04c68ca6d8c0a51249d3b602980ee SHA512 1d9f94fc8a9b2d62d975f11641da5b4d5b5715f73f123104384abb0e588889200f1345f6491d5e03cf38c62143794fd8f142be56038406a4a71fb7426e517842 +EBUILD nerdctl-0.19.0.ebuild 989 BLAKE2B 6c7750f0daf4839bdc3f67400f9fc343d1b7d410ad97b05bc8055133709c3137415799d4b0ed4c4be5645914407b11a9a3b04c68ca6d8c0a51249d3b602980ee SHA512 1d9f94fc8a9b2d62d975f11641da5b4d5b5715f73f123104384abb0e588889200f1345f6491d5e03cf38c62143794fd8f142be56038406a4a71fb7426e517842 MISC metadata.xml 328 BLAKE2B e1284388fe40d8aa709a783d583fc6116eafc276e6d3e65741a03dea3cfb007549c1dadfdc2eea8ee92e430c22b734ad76944efb9c00082b4dc84e003c684763 SHA512 27f4323cda23315264bc5ea386e19b3faea4fc4808835c7105b2827cb98ed62bbbc49fa9676bd8e897d66e1b2d1cc338eebfff4c7ed01b769c13f1b72e3d5252 diff --git a/app-containers/nerdctl/nerdctl-0.19.0.ebuild b/app-containers/nerdctl/nerdctl-0.19.0.ebuild new file mode 100644 index 000000000000..7641dedec9f4 --- /dev/null +++ b/app-containers/nerdctl/nerdctl-0.19.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose" +HOMEPAGE="https://github.com/containerd/nerdctl" + +EGIT_COMMIT="77276ff0fffad3f855ab9f2f5a4ad5527ef76485" +# There are too many vendor dependencies to distribute via EGO_SUM (see https://bugs.gentoo.org/721088), +# so they are instead distributed via a combined tarball. +SRC_URI="https://github.com/zmedico/nerdctl/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz" +BDEPEND=">=dev-lang/go-1.16" +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" + +KEYWORDS="~amd64" +IUSE="" +S=${WORKDIR}/${P}-vendor + +src_prepare() { + sed -e 's:/usr/local/bin:/usr/bin:' \ + -e "s|^VERSION[[:space:]]*=.*|VERSION := v${PV}|" \ + -e "s|^REVISION[[:space:]]*=.*|REVISION := ${EGIT_COMMIT}|" \ + -i Makefile || die + default +} + +src_install() { + DOCS=(README.md docs examples) + default_src_install +} diff --git a/app-containers/podman/Manifest b/app-containers/podman/Manifest index f3d8bb223c42..82e3d2f534e0 100644 --- a/app-containers/podman/Manifest +++ b/app-containers/podman/Manifest @@ -2,5 +2,7 @@ AUX podman.confd 328 BLAKE2B e03a1f7f5cec555f195bd1ca9bea050a67ccac7866bd68f0c74 AUX podman.initd 704 BLAKE2B 2fc4ffaa3b971774957ea244e05d851fa2797ec074529ea7c23bc6d7a3f597c04268d7f5580852dae4ab412629a513fed152f6a20a7ed432ef00cb96848c290c SHA512 bcf3e74a4a77bac82fc4679b3161091692b301426ecf81af7c5ea7e23ba66d15602d0cf1284f160d4179e52ae78f309ad826d9f3698dfcb78c2be2c6ac51417c AUX podman.logrotated 85 BLAKE2B 730899f93ee354e476629276b69224cfeaaa1603b6690cac3c0cd905cd75add19179f99e26f29edbd963d5f44c38a3a2db0b5a3613dc665ab801654eac13dc2e SHA512 0136d063b15b07c41a9370ba1845c4f368ec46a7a30683b7ff7cbb0b12e5b2711c9a45329f5102af6a969e562edcec006a8de9055e43e1caf9395847d0c5ec45 DIST podman-4.0.3.tar.gz 11392523 BLAKE2B 2d69fa8f52b061a931cf3dbe767edcb9eb5baf4f45fa77bcd9dd6e5541c126830c059a2bb97906f4fe9a4fd3257f77c801add06e1da910542ebafeaa2d032768 SHA512 a7c6f9a0f33641520c4143e6a3568129021783557f8ea7c846e4bc3f7da9bf70cb30b19cc7c6527809df2c46e6ded1d162a929dc4f44a5daafcf9d211b43b44a +DIST podman-4.1.0.tar.gz 10904727 BLAKE2B 6d01a65b13494dc948c0667147eca6f250a81056f1bcf6eda6285566b8aa7aa526794ea96a571aecad642a8b1d3d1877cd31683ccf46662f8681a2afac083b5a SHA512 4d5f240423f21b1224ce44853a2265359dacee0d921f0ea53a7fca34f9076ebfaa49f4327a59ac51f5bf5b9dafb47dda3a9bb8e609237cc69f833b42b95bcd0a EBUILD podman-4.0.3.ebuild 4757 BLAKE2B 1d5de8d1f2e87d1f9c4b2beff1832df41cdcbc287ec03176b31f0c958901449658155dc9b470da88a3c62100f5c72ee1b41c3471f1b052382bed59cde4ce4d6b SHA512 814cac6b4bd0e75e83b6d262b58eae9d22d84efaf0cc5e14e22f3aaa9db491ddfe9e581d3d96587d503e95cfdc5486493b112e40b504490c7df873a5dc3b24af +EBUILD podman-4.1.0.ebuild 4759 BLAKE2B 4bbf8e8721aa4ff9be187237827777a1f43a16df39c036359709896f6ac47108134b7f143c08de55a2403c2f515660db2cce3e73d43c6e8f7007f135b7ef41d1 SHA512 9e06d6b2029e9b952f47773635663dd163091413a787b18e05b93a016927fa0c3315a4e7f97c0d20524515d0bf35a08e3e1cddc33cf2d8068689d9413e83b0e2 MISC metadata.xml 1372 BLAKE2B b8d6a880c8f915394b01e98644672f4ec91937606e912158b58740df31576010cef8accb053e217991b700020ffa03b4e6440d90de4698dfd1a6645599d5a0be SHA512 c8b3b35f30b48b156ad9cc0ae4189fb40838e954a925f14abc169f734472b98fe02f88bb95b1d2bc28ce74b4535dec28c662719189a26b06a138f57820cc0a64 diff --git a/app-containers/podman/podman-4.1.0.ebuild b/app-containers/podman/podman-4.1.0.ebuild new file mode 100644 index 000000000000..2802720c49c4 --- /dev/null +++ b/app-containers/podman/podman-4.1.0.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +EGIT_COMMIT="e4b03902052294d4f342a185bb54702ed5bed8b1" + +inherit bash-completion-r1 flag-o-matic go-module tmpfiles + +DESCRIPTION="Library and podman tool for running OCI-based containers in Pods" +HOMEPAGE="https://github.com/containers/podman/" +MY_PN=podman +MY_P=${MY_PN}-${PV} +SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux" +RESTRICT+=" test" + +COMMON_DEPEND=" + app-crypt/gpgme:= + >=app-containers/conmon-2.0.0 + cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 ) + !cgroup-hybrid? ( app-containers/crun ) + dev-libs/libassuan:= + dev-libs/libgpg-error:= + >=net-misc/cni-plugins-0.8.6 + sys-fs/lvm2 + sys-libs/libseccomp:= + + apparmor? ( sys-libs/libapparmor ) + btrfs? ( sys-fs/btrfs-progs ) + init? ( app-containers/catatonit ) + rootless? ( app-containers/slirp4netns ) + selinux? ( sys-libs/libselinux:= ) +" +DEPEND=" + ${COMMON_DEPEND} + dev-go/go-md2man" +RDEPEND="${COMMON_DEPEND} + fuse? ( sys-fs/fuse-overlayfs ) + selinux? ( sec-policy/selinux-podman )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + # Disable installation of python modules here, since those are + # installed by separate ebuilds. + local makefile_sed_args=( + -e '/^GIT_.*/d' + -e 's/$(GO) build/$(GO) build -v -work -x/' + -e 's/^\(install:.*\) install\.python$/\1/' + -e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|' + ) + + has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:') + + sed "${makefile_sed_args[@]}" -i Makefile || die +} + +src_compile() { + local git_commit=${EGIT_COMMIT} + + # Filter unsupported linker flags + filter-flags '-Wl,*' + + [[ -f hack/apparmor_tag.sh ]] || die + if use apparmor; then + echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die + else + echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die + fi + + [[ -f hack/btrfs_installed_tag.sh ]] || die + if use btrfs; then + echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die + else + echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \ + hack/btrfs_installed_tag.sh || die + fi + + [[ -f hack/selinux_tag.sh ]] || die + if use selinux; then + echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die + else + echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die + fi + + # Avoid this error when generating pkg/varlink/iopodman.go: + # cannot find package "github.com/varlink/go/varlink/idl" + mkdir -p _output || die + ln -snf ../vendor _output/src || die + GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die + rm _output/src || die + + export -n GOCACHE GOPATH XDG_CACHE_HOME + GOBIN="${S}/bin" \ + emake all \ + GIT_BRANCH=master \ + GIT_BRANCH_CLEAN=master \ + COMMIT_NO="${git_commit}" \ + GIT_COMMIT="${git_commit}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + + insinto /etc/containers + newins test/registries.conf registries.conf.example + newins test/policy.json policy.json.example + + insinto /usr/share/containers + doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json + + newconfd "${FILESDIR}"/podman.confd podman + newinitd "${FILESDIR}"/podman.initd podman + + insinto /etc/logrotate.d + newins "${FILESDIR}/podman.logrotated" podman + + dobashcomp completions/bash/* + + insinto /usr/share/zsh/site-functions + doins completions/zsh/* + + insinto /usr/share/fish/vendor_completions.d + doins completions/fish/* + + keepdir /var/lib/containers +} + +pkg_preinst() { + PODMAN_ROOTLESS_UPGRADE=false + if use rootless; then + has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true + fi +} + +pkg_postinst() { + tmpfiles_process podman.conf + + local want_newline=false + if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then + elog "You need to create the following config files:" + elog "/etc/containers/registries.conf" + elog "/etc/containers/policy.json" + elog "To copy over default examples, use:" + elog "cp /etc/containers/registries.conf{.example,}" + elog "cp /etc/containers/policy.json{.example,}" + want_newline=true + fi + if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then + ${want_newline} && elog "" + elog "For rootless operation, you need to configure subuid/subgid" + elog "for user running podman. In case subuid/subgid has only been" + elog "configured for root, run:" + elog "usermod --add-subuids 1065536-1131071 <user>" + elog "usermod --add-subgids 1065536-1131071 <user>" + want_newline=true + fi +} diff --git a/app-containers/runc/Manifest b/app-containers/runc/Manifest index 2126ba206b32..b0101c67c48c 100644 --- a/app-containers/runc/Manifest +++ b/app-containers/runc/Manifest @@ -1,4 +1,3 @@ -AUX CVE-2021-43784.patch 3305 BLAKE2B c6e16dd2793d99c2513c3bc047c9ccbd9870c15908078895e9e436b437dac55854105ccb0edf48588294125958fc9285637f839b6804cce9a7269fb5f85f4360 SHA512 584bc4e5e88275fa2c300965882697ca6afb6e0987bc1a888d96febbc47e56b17f346c595fe6e3933a29c143c000d574a64475de8779e4f7ef2d724d7be43589 DIST runc-1.0.3.tar.gz 2375241 BLAKE2B 0fb9368ab5442462001c15a67a71821133ad90d16cac5aac760e52b2477db69c0a5dd59df42601119b19ede508889796c994a24624f88ec6a1a29dad19e0bf33 SHA512 64a1894c2b4ed5a68b185e88548fc9fbbd01d8a9495feed59fb196aa06763d64cfb71ca6cbc09d1defa26a0d94ad58626296585741f23df2e290147ba6c4c26e DIST runc-1.1.0.tar.gz 2332427 BLAKE2B 3a194221d0bab813249e23c5f725255e453ce6843c2cb7e1a40a3c6fdd90a1a805c18ebadf56ee5d535f253025716aae6ab3f437140a3cc69e854e750e205e0c SHA512 542ea87c488fd120f2b77e53e2c197f09cd504fbe55dbe47008aaa5b0565aa300fc49f8cadc24ead796e45a4e95a30dfb08bfeefa58dc370145a218fd2869e41 DIST runc-1.1.1.tar.gz 2332722 BLAKE2B d0abe624ddd17885bd25a5923e35ed760a7acaeb2ae7eefa18cdd28a2ecfc79a958d550eafac421b58865376620d7475338752df823e0f1b4a69be201fe4ea90 SHA512 baf622e7edae9b68d2fa255f02359d770489c7578be3c6379a5d939b4f1dfa697ec9eb4ef7dce252e64ee5225f76c06e45182a9b92b68a952e21e3f5f91450d0 diff --git a/app-containers/runc/files/CVE-2021-43784.patch b/app-containers/runc/files/CVE-2021-43784.patch deleted file mode 100644 index ab3886ee9ba7..000000000000 --- a/app-containers/runc/files/CVE-2021-43784.patch +++ /dev/null @@ -1,86 +0,0 @@ -From b8dbe46687c2a96efa9252b69d3fc1ce33bdc416 Mon Sep 17 00:00:00 2001 -From: Aleksa Sarai <cyphar@cyphar.com> -Date: Thu, 18 Nov 2021 16:12:59 +1100 -Subject: [PATCH] runc init: avoid netlink message length overflows - -When writing netlink messages, it is possible to have a byte array -larger than UINT16_MAX which would result in the length field -overflowing and allowing user-controlled data to be parsed as control -characters (such as creating custom mount points, changing which set of -namespaces to allow, and so on). - -Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com> -Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> -Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> ---- - libcontainer/container_linux.go | 20 +++++++++++++++++++- - libcontainer/message_linux.go | 9 +++++++++ - 2 files changed, 28 insertions(+), 1 deletion(-) - -diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go -index 6ce1854f68..1484703b0c 100644 ---- a/libcontainer/container_linux.go -+++ b/libcontainer/container_linux.go -@@ -2028,16 +2028,34 @@ func encodeIDMapping(idMap []configs.IDMap) ([]byte, error) { - return data.Bytes(), nil - } - -+// netlinkError is an error wrapper type for use by custom netlink message -+// types. Panics with errors are wrapped in netlinkError so that the recover -+// in bootstrapData can distinguish intentional panics. -+type netlinkError struct{ error } -+ - // bootstrapData encodes the necessary data in netlink binary format - // as a io.Reader. - // Consumer can write the data to a bootstrap program - // such as one that uses nsenter package to bootstrap the container's - // init process correctly, i.e. with correct namespaces, uid/gid - // mapping etc. --func (c *linuxContainer) bootstrapData(cloneFlags uintptr, nsMaps map[configs.NamespaceType]string) (io.Reader, error) { -+func (c *linuxContainer) bootstrapData(cloneFlags uintptr, nsMaps map[configs.NamespaceType]string) (_ io.Reader, Err error) { - // create the netlink message - r := nl.NewNetlinkRequest(int(InitMsg), 0) - -+ // Our custom messages cannot bubble up an error using returns, instead -+ // they will panic with the specific error type, netlinkError. In that -+ // case, recover from the panic and return that as an error. -+ defer func() { -+ if r := recover(); r != nil { -+ if e, ok := r.(netlinkError); ok { -+ Err = e.error -+ } else { -+ panic(r) -+ } -+ } -+ }() -+ - // write cloneFlags - r.AddData(&Int32msg{ - Type: CloneFlagsAttr, -diff --git a/libcontainer/message_linux.go b/libcontainer/message_linux.go -index 1d4f5033aa..e4107ce39f 100644 ---- a/libcontainer/message_linux.go -+++ b/libcontainer/message_linux.go -@@ -3,6 +3,9 @@ - package libcontainer - - import ( -+ "fmt" -+ "math" -+ - "github.com/vishvananda/netlink/nl" - "golang.org/x/sys/unix" - ) -@@ -54,6 +57,12 @@ type Bytemsg struct { - - func (msg *Bytemsg) Serialize() []byte { - l := msg.Len() -+ if l > math.MaxUint16 { -+ // We cannot return nil nor an error here, so we panic with -+ // a specific type instead, which is handled via recover in -+ // bootstrapData. -+ panic(netlinkError{fmt.Errorf("netlink: cannot serialize bytemsg of length %d (larger than UINT16_MAX)", l)}) -+ } - buf := make([]byte, (l+unix.NLA_ALIGNTO-1) & ^(unix.NLA_ALIGNTO-1)) - native := nl.NativeEndian() - native.PutUint16(buf[0:2], uint16(l)) diff --git a/app-containers/skopeo/Manifest b/app-containers/skopeo/Manifest index 25632ba2b8e5..377b5abfdce0 100644 --- a/app-containers/skopeo/Manifest +++ b/app-containers/skopeo/Manifest @@ -1,21 +1,7 @@ -DIST skopeo-0.1.41.tar.gz 4692408 BLAKE2B d5e99be0cb478065f1478beda355abc11c8f13ad8446251048502da1b1af38d407ec46d284e59d2018af5d1ca6a953ad6156a306e9bc1acbdb22b447fe17a59f SHA512 924af178eb9621395cfffcf51aa072886dc8c20746bce1599a503df8c54794e34184a1fc6fd9582b889c7c8efecf8cf192797bc8e208b90c71cca31bb970d8e9 -DIST skopeo-0.2.0.tar.gz 4295805 BLAKE2B 4ad13ff49bec56f3766e8d94f80fe8e22edb011b8862fb1249882e5695fa9260a6e2ce3d8345411ee7717cb92d4c1516268678f0884a62b02bfc8c9a554367ee SHA512 89d416110561dbe967860f752db607634a37b12adc376736de48264ec064abfed6b3db9ae195ffb3e9616dd6d65528660a23f2a5145d4674ed47cf443f17295a -DIST skopeo-1.1.0.tar.gz 4516471 BLAKE2B 665acc925cd4f0a97919bbc03db37ca9b5636d110e4780b5053c4a2773b4e524dd879870262f1760aee7413f52c7614cc4adcd56f20881cfe20b2c9a3af09dc3 SHA512 84ce9d786a471cf7d2551ae884801255b0fe501a21d3d2bbbfe0bb9e9c771105b00cdcfc1bef2cee5bd5ce55d0fd30be49c87c09361be47854dbb5e8e20e13a5 -DIST skopeo-1.1.1.tar.gz 4622784 BLAKE2B 3f72a812409a48d960fe36028355cf7128dabbb466bbb20aae9d8dda81a35e018e5a3cf4d430beaf8834f5355d6293a01b7702e88713557afb58216bffd9f3e5 SHA512 7d38179d550a1461f58d2d590d69ea8445d2c1d399a7cf39fcbcf6aab64da056c6de0f772f28eb60aec04c379d2cf27cbc5678546005ea6c1e8c20b7fe5b8676 -DIST skopeo-1.3.0.tar.gz 5593261 BLAKE2B b26e39d821e63b31a1cbd23bf7b836fbe3185f45ad086c8d0f427309590dbaf196fe09af9aca4aae10c30423c3828375ffe6c95c9c9fb1dea739404e98d8554e SHA512 5b6e96fff4670d8dcbc787cd5a568112337a111e7c44111226fa5684edffa880a1d632660238c55b6193ba26496697dd7e38d7d015cdfd61ce5efb119f0e12eb -DIST skopeo-1.3.1.tar.gz 5595931 BLAKE2B eda2767a1b1b899b99fc70ef361541c388cab77d4521cc2792baf78ca2474e73ff2d7d64d26f713410a40600866fd6c20855d4acdbdb0a31b11d7efaa8101b83 SHA512 65b8ba735bd409b25b56a5538de4e09edfd11d684752a6e9d28037d0f2b80aef80796c2e9588fcf192d24bd885cc7b2d65b0ee7f7c34d18b2eacc25816da5d36 DIST skopeo-1.5.1.tar.gz 5636533 BLAKE2B 7f0e86cdee5c3250ec1280d7e71554ac2f8ad96ababe0e81dfabc00e8c128a13fc0c9c561b7a9be389d7386e9f664b95118bd2122612b9c2e8844db49769c03c SHA512 3f8c730eaa739bf2a29b82d3b04aa4eee1c09f957b61964fc8c48e59d1537bcb87b5bdf9c18fa48f9d36cf2b7ede3a1448918a20b5a3167f6ce09881a6cd3dde -DIST skopeo-1.6.0.tar.gz 6542541 BLAKE2B d2898d8f80a04340e3174179e2397f7b5e66ed50ec8c11919adf1b0620c74a3a69f8be548c5c3bf081735e1a86dc5ae3390d058ef64fc4b73d8f01074ef4a210 SHA512 13a3660780ce43e31a9840811aaa7626f9d0de9999e52c469a2a58b4bf96bd5e4d67e0f0556ac2baef14c5a662afae1f2d407b260c8833d573326791a2193e48 -DIST skopeo-1.6.1.tar.gz 6543397 BLAKE2B 25ca8bc99b03516cb2312c5ce36c13ec87ad34f3831a04e37d5c0f5d4afe2a60ae5d8e6039d8d3651b978459cbdec65f6f43259116368a11b8c6d3478b8ca733 SHA512 92ebe121ae41b2f192e52e24ae05a2f12fedf3483f8d342f6bdde9cb902a291e0297b187c614a64a5c1a62098c7dc59d8a5e5fd1f61b48e4030b163822b47a2b DIST skopeo-1.7.0.tar.gz 6542347 BLAKE2B 990ad594df9483ad114debeb2882ed3976306d69983ae3d91d807e2654583e7a6599ddf50152df9a937c1c64c1e5a8abb6ed83433036e7efd4ef7e911f99c191 SHA512 7d17f98e86677150fb2ddba9edae18d8b1ac8f06fba575268e6ba54c60f7b371b5e5a9eab1a4fe19da6c7e85eb79c1eef169ad2a39eff979130ee8d141bd8d6b -EBUILD skopeo-0.1.41.ebuild 1330 BLAKE2B d17e46533d449b957b0829d2bd7790610fa3f1f314500b9a830d2710eeef33c6b0c8125bd803125245b361aae351e241bd8754683d0d28a6f63746d2cabd58a6 SHA512 c907e07d0587e652f425ac91be2dd5648820622864fea7845558db2f6df1f3c21ccd029f24b9be8edccf3e51679290fde22526590dcd55558227909ae520878f -EBUILD skopeo-0.2.0.ebuild 1396 BLAKE2B b36f33f7ab6c5fc8f963a16a505aa2e72cb5c74b2639eba02096e12a6d7b569ce64bac8c5f1072926ec8823532eeecd6c72567a910d4390c1639b07db358f78d SHA512 e77213f9d79443d813d434b2483ef5c685db5791eb1f5e56418754ffbe53ce76a6390964bfd1fe4fcf411a1fb037045ec86157d434adde6d593d2dcdbfde3cd6 -EBUILD skopeo-1.1.0.ebuild 1403 BLAKE2B b6f3b24584bf50ccb2c73504b92f316badc9bf21740e161923160aa6bbcf69bf1e881c080a50b61a59e107605cfa742b6f59ecd63bdb793a4b3e87979a238323 SHA512 13bd64e17ac13bf1a2778f76ac04675870c3e47b66c4d5acb0fbc8f5bd941f336425a7da5a2548ff8c91e49995fc6ecea658672f2c1ffa6c57b0449fb6700b5a -EBUILD skopeo-1.1.1.ebuild 1403 BLAKE2B 4f2e45e5a3acdb8e0ca02dc0c8f7ac788010fc54aeae9369441d31c96c5e475414ba62d69c8f2cbaab01b9f196c26e88a23472718051986284608703b1ca81db SHA512 2c1333335a8530ab37fa791974f5f3a1c08aacb1baa992b4eda4e1e3599a2136130553d916811bfd40e16381e7c64f87dc9bb50c8310c3a47ca209f54f462d6b -EBUILD skopeo-1.3.0.ebuild 1403 BLAKE2B 34a3d2a275af0547b7cefdb3c79602c60cb71651650cbbb0b7e410a6fde21b08306242eea76b120a65c9074251499776529d166cbfd46aee50254652ae585a90 SHA512 6d9139dd8873dfa98d7488e9f81df5ec2ff8d6d3914824f173918638c0c76b7b9531fa4f83e62f1c0d7b1b96d8e745945d0623dce1de1090c59ad6fea9997741 -EBUILD skopeo-1.3.1.ebuild 1403 BLAKE2B 34a3d2a275af0547b7cefdb3c79602c60cb71651650cbbb0b7e410a6fde21b08306242eea76b120a65c9074251499776529d166cbfd46aee50254652ae585a90 SHA512 6d9139dd8873dfa98d7488e9f81df5ec2ff8d6d3914824f173918638c0c76b7b9531fa4f83e62f1c0d7b1b96d8e745945d0623dce1de1090c59ad6fea9997741 +DIST skopeo-1.8.0.tar.gz 6577667 BLAKE2B 21565736a13d2fcce2576fcc1ff522e81b74aff6c18058f4c994e4f0fc12efa38706ba4c07bbe35abd7e339d9080783f766b68325b01cba90c3cd82f19470aec SHA512 697242244e533b597f481005754301efed8581018cdc297e071fa24347301ddf6111d1f1d3ccc6e87e3e5a9ea606e9c6b40c47bf69d2df6b44336fb260f546de EBUILD skopeo-1.5.1.ebuild 1403 BLAKE2B a4c236cb6248a1551c90683a45247d19d5634ca7e9ca801761953131f73a7bd0058ab5bcea1d7b2593229eb20c6482e2dae833443227467daccef020b23b5f88 SHA512 b163486639a8831eb20db3a5906378485f0aaf3299e815217b1c8a2f4e27ca35af0bda40e6265a7c58107588cab429c0044717666cd22c43e8e21c73a75277dd -EBUILD skopeo-1.6.0.ebuild 1405 BLAKE2B 136d1359c55535bddd968a42d6b4792aad910b3ffb24dbb86d152ea4db5905452fd9fc30f2aa2e5ae62321f5120457dc976f852d4fc75e58b26a4208a9503f45 SHA512 d6bb772ca42e2716c8feae529d9fbe298b83911e2852004f0db8571023ca1fb227ede68082861ada291001831a0e4d1c546860452a588d29e8cdc6e9b226536b -EBUILD skopeo-1.6.1.ebuild 1405 BLAKE2B 1ce30ee0d951dbd3c26ca1d94b80c1335bb674b98d54a0a9b1fc6a01fede332958c9f9edc9a169501126bb13a62f1edef521e7893ac5025e7eeb86fcbf7ee276 SHA512 9e041aa3284a1157e458f8343a6d777921872482b7991ff86e437edfc9663f23df3aa9e173deb2d85f35ece897cb5ce0608536a9cf26def8fe6e3f63172ab856 EBUILD skopeo-1.7.0.ebuild 1405 BLAKE2B dce3e36f77136de837bc5111de50f4db5ecf97b536b141e36c011258890efe1d8523557d917793c83b3a85cdbe8ce84e9c129087c1a1d09d2f5be21775dd354c SHA512 5618521e281c41e9e9770c830ace7686a757295c7b1c04fca7ce65ecf816ca2e5c49e8309d9dd89114f8539e334c1a1d2aeec83ea233e918247abd6422c62c91 +EBUILD skopeo-1.8.0.ebuild 1405 BLAKE2B 8ad2416a913af4c39d58101131826e3bf0783824378452c2a4c282f74ff89688a770c1afb169db1326ce3cf1683ca31d1d2943fa20e096fb2ee2c9b2135ea9f2 SHA512 6cc2d62ba405d74ab4a120994e12735257b5439c6cecd9c88bd324eab9e20a35a7c30bdc262d4b2940e5640c4f5c583ba1907b563e86773a42959993bcc3520a MISC metadata.xml 343 BLAKE2B 505fa7017cdd1977cb51f19af40301d260e35439a04773312da34b8a265e105fc82628ef8497437d766cf5337e1020f459bbe3fb12ab1a0f659dfe3aab927807 SHA512 14e010518d452a426fbd49bcc35ca8d980ac3f49da449f7af5ad097e4ebad908ec931e67c50dfccf0cb7b7dae2ba1fb1d2b33d41c85263efd22f263fbea7e221 diff --git a/app-containers/skopeo/skopeo-0.1.41.ebuild b/app-containers/skopeo/skopeo-0.1.41.ebuild deleted file mode 100644 index cc09b12134e3..000000000000 --- a/app-containers/skopeo/skopeo-0.1.41.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=7d080ca -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - >=sys-fs/btrfs-progs-4.0.1 - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT="test" - -src_compile() { - local BUILDTAGS="containers_image_ostree_stub" - set -- env -u GOCACHE -u XDG_CACHE_HOME \ - go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-0.2.0.ebuild b/app-containers/skopeo/skopeo-0.2.0.ebuild deleted file mode 100644 index c6caefe701f8..000000000000 --- a/app-containers/skopeo/skopeo-0.2.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=1119299c4b27e16680744e8bcf3b5362344a40d7 -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="btrfs" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT="test" - -src_compile() { - local BUILDTAGS - BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" - set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-1.1.0.ebuild b/app-containers/skopeo/skopeo-1.1.0.ebuild deleted file mode 100644 index 7a625ebb1c56..000000000000 --- a/app-containers/skopeo/skopeo-1.1.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=63085f5bef1131aa9ec0907a5c8d66b67de7c4b2 -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="btrfs" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT="test" - -src_compile() { - local BUILDTAGS - BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" - set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-1.1.1.ebuild b/app-containers/skopeo/skopeo-1.1.1.ebuild deleted file mode 100644 index e0c555f2bb9c..000000000000 --- a/app-containers/skopeo/skopeo-1.1.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=67abbb3cefbdc876447583d5ea45e76bf441eba7 -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="btrfs" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT="test" - -src_compile() { - local BUILDTAGS - BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" - set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-1.3.0.ebuild b/app-containers/skopeo/skopeo-1.3.0.ebuild deleted file mode 100644 index b18397b2e83c..000000000000 --- a/app-containers/skopeo/skopeo-1.3.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=c35944bec010fe9b534881aca153ef5964f5a010 -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="btrfs" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT="test" - -src_compile() { - local BUILDTAGS - BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" - set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-1.3.1.ebuild b/app-containers/skopeo/skopeo-1.3.1.ebuild deleted file mode 100644 index b18397b2e83c..000000000000 --- a/app-containers/skopeo/skopeo-1.3.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=c35944bec010fe9b534881aca153ef5964f5a010 -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="btrfs" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT="test" - -src_compile() { - local BUILDTAGS - BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" - set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-1.6.1.ebuild b/app-containers/skopeo/skopeo-1.6.1.ebuild deleted file mode 100644 index 39920f95e67a..000000000000 --- a/app-containers/skopeo/skopeo-1.6.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -COMMIT=49084d2cd8c9f8e7b38ba8405d61e701d5381bc0 -inherit go-module bash-completion-r1 - -DESCRIPTION="Command line utility foroperations on container images and image repositories" -HOMEPAGE="https://github.com/containers/skopeo" -SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="btrfs" - -COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= - >=dev-libs/libassuan-2.4.3:= - dev-libs/libgpg-error:= - btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) - >=sys-fs/lvm2-2.02.145:=" -DEPEND="${COMMON_DEPEND} - dev-go/go-md2man" -RDEPEND="${COMMON_DEPEND}" - -RESTRICT+=" test" - -src_compile() { - local BUILDTAGS - BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" - set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ - -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ - -o skopeo ./cmd/skopeo - echo "$@" - "$@" || die - cd docs || die - for f in *.1.md; do - go-md2man -in ${f} -out ${f%%.md} || die - done -} - -src_install() { - dobin skopeo - doman docs/*.1 - dobashcomp completions/bash/skopeo - insinto /etc/containers - newins default-policy.json policy.json - insinto /etc/containers/registries.d - doins default.yaml - keepdir /var/lib/atomic/sigstore - einstalldocs -} diff --git a/app-containers/skopeo/skopeo-1.6.0.ebuild b/app-containers/skopeo/skopeo-1.8.0.ebuild index ab507a164049..c3dcc4973b2a 100644 --- a/app-containers/skopeo/skopeo-1.6.0.ebuild +++ b/app-containers/skopeo/skopeo-1.8.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -COMMIT=e4b79d7741c40434838ece2790be537083fc2a04 +COMMIT=37727a45f96ac208785b606f7772d609bf50dbc4 inherit go-module bash-completion-r1 DESCRIPTION="Command line utility foroperations on container images and image repositories" diff --git a/app-containers/slirp4netns/Manifest b/app-containers/slirp4netns/Manifest index 438bba345aa1..4c842af4afe5 100644 --- a/app-containers/slirp4netns/Manifest +++ b/app-containers/slirp4netns/Manifest @@ -1,5 +1,7 @@ DIST slirp4netns-1.1.12.tar.gz 60223 BLAKE2B 2bd4ed6cded075a151fec0e6b2222b0a72f2027d702cd3e2760ab8c811e375ea5becfeb32ccf71f4b41a257b9e7f32852d6d805912ad950da3364e240d191674 SHA512 82584e40079c2a7730c098f2a2406dc042498f7d50cc9ad8404acf3bb3a50c6969737be531d64b2eca6ba86a968bb5bfea9ad10eba4979cc40a5da5c9745ebdb DIST slirp4netns-1.1.9.tar.gz 58951 BLAKE2B e4fde408b3cd55dec0cca495c58936ec32c6201a0fe63c1a9fc9502ac41da615f92271d5fb365475f6864dd3c195097c81f01268b1b8d10d0f888c4e154cac34 SHA512 6471bf2b2eff9bd3ef037de986ab612f20bfce7a52bfd2b1b434d0606a3d2e6170b3fc43b168c8cc6f56ffb82f8361f21a26522ac1092c71f6e694a9588d5854 +DIST slirp4netns-1.2.0.tar.gz 62617 BLAKE2B ddedfbbd64094142392bcb1730900634983a8422ae33bc9eb798e42e8f45a773ad30ba78f7a406c9db2c2a7393572a313b9464bc09c2f13343bcf6d960a9f609 SHA512 4ede7323aab92d0ad0026bc5e1aefc07898a5b50c4ff57c13eb9d8e75d73a4bb5ac992f021404053fcba2b05c56dcafcbfefbc4bbc47f72a0797ab62bd76a60a EBUILD slirp4netns-1.1.12-r1.ebuild 955 BLAKE2B 2d3fffd1ec322fc172dfd247bdb5be260ce2f1ce89c150372f408af5badf9e9c1c08c7c54050f6b8a2497d330f8ab208822bb4d65621cc124de4abd1201bb3a6 SHA512 8d5b519a4db4b1904dfd4b06a679cf54ab78a73cffbaf01ea6975d39334f1707087124f89be6c314ff7cbd04ed5b54d3c702a598517cd3c7dabfa7edba2c0211 EBUILD slirp4netns-1.1.9.ebuild 956 BLAKE2B 3e124c54f59260a727c8bce6d8c92778e4b4110d23464891844f97399bbdfa0570adc8b4670f19b689023948a099c4cbf067809afc99e30f6e666820a6296994 SHA512 1a41116be0660aded739fe100bd3c88570debadc08fa98a3f08d9f19f768f1c4d77ac33c63d64f405f9741f14dd3cc286841ed41c5a5090fa53f81ba32e3092f +EBUILD slirp4netns-1.2.0.ebuild 955 BLAKE2B 2d3fffd1ec322fc172dfd247bdb5be260ce2f1ce89c150372f408af5badf9e9c1c08c7c54050f6b8a2497d330f8ab208822bb4d65621cc124de4abd1201bb3a6 SHA512 8d5b519a4db4b1904dfd4b06a679cf54ab78a73cffbaf01ea6975d39334f1707087124f89be6c314ff7cbd04ed5b54d3c702a598517cd3c7dabfa7edba2c0211 MISC metadata.xml 474 BLAKE2B 2ee42e8e38fbb422d879db39fd00613cf69d1760840d69f937e14be0bcb78edf763a749ebb0d72e278f0d71b59ddeb20c3cb67d24dc0d00fd4224575c3417818 SHA512 425ebcc108ae87e17d7ad57f6d868fa7cbc75f6e1ff6e8ec8aa00e217b384d43ccd7f77bb2092f10d25a5a690c82fd85d6f7f062bfb9721810de1fb27c3db192 diff --git a/app-containers/slirp4netns/slirp4netns-1.2.0.ebuild b/app-containers/slirp4netns/slirp4netns-1.2.0.ebuild new file mode 100644 index 000000000000..3895f2b716fe --- /dev/null +++ b/app-containers/slirp4netns/slirp4netns-1.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="User-mode networking for unprivileged network namespaces" +HOMEPAGE="https://github.com/rootless-containers/slirp4netns" +SRC_URI="https://github.com/rootless-containers/slirp4netns/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm64 ~ppc64 ~riscv" + +RDEPEND=" + dev-libs/glib:2= + net-libs/libslirp:= + sys-libs/libseccomp:= + sys-libs/libcap:=" + +DEPEND="${RDEPEND}" + +BDEPEND="virtual/pkgconfig" + +RESTRICT+=" test" + +src_prepare() { + default + + # Respect AR variable for bug 722162. + sed -e 's|^AC_PROG_CC$|AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])\nAC_PROG_AR\n\0|' \ + -i configure.ac || die + eautoreconf +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "You need to have the tun kernel module loaded in order to have" + elog "slirp4netns working" + fi +} diff --git a/app-containers/snapd/Manifest b/app-containers/snapd/Manifest index b86973da0fa8..413cd6c1e8c1 100644 --- a/app-containers/snapd/Manifest +++ b/app-containers/snapd/Manifest @@ -1,6 +1,8 @@ AUX README.gentoo 1941 BLAKE2B dd25269f2aaaea693701d74511d632bc45f2c99954ae683cb81d4df41c4c1f8007bb6c337234e46bfc5973aa7e8356cd12ac510e9109eca09890cbc42bd184bb SHA512 5b522e6c29bdad84a71245fa1f0289e9cfed0501d936b433829f66ef9d655f3cc13d6bca29beeae2c00e1b68f9fa30058608b9c4cde86ba66eab67bd011c9d00 DIST snapd-2.55.2.tar.xz 6659212 BLAKE2B a76cec2bf0f3c44212a20c8b0744e4327a725b28a0055be49dfbe638020532f4933c20edda3bdab20290d38f602459fd0962413a9c58400cdc8d6ef3b4634a41 SHA512 8fee8bb6ff52d3cbd5f0a9f206e7c93dea1b6c0ade9c2b6fbd7b0d729b6eeeb1fb01a28dab53543671c42ceac25d6d8932a8b4b9349332b0cde9b9226f6ec063 DIST snapd-2.55.3.tar.xz 6673552 BLAKE2B 8a34a568a1563c786e6975fb44d6a23f8a943906ff16b4c587fcca9e1d6ae033d8389b069235e62449a327dff8f1d11e83528fecf02768c730aede72b6cd6790 SHA512 e9dbdc47a9b83792f32fa66d558b0602100ac2b7cfd02ea96e4346fe1bdda7aa5fbe23cfba090e1ba61430ce9cfb0e9bd015c420c13bdca282a500c6ab222817 +DIST snapd-2.55.4.tar.xz 6669776 BLAKE2B 024c03d163f23da8a26076dfb9fd2edc44807731c40b74b554132753b20ff6a7ae454dfee4f20e05bbf7f596e09bbd7378cbe5d8625c3dfb43e94d84578b8e81 SHA512 990266ac37e0d0da433ea3dacdd97806cc3ea5d1d94e068e5b945da54d87d965860ad290799c0bca29dab35069a449fa483b4f51c1cbab83d7745ec7a6cabd9e EBUILD snapd-2.55.2.ebuild 5346 BLAKE2B 7ef48c06aab0a4acb0218c63721b9d20915f2cbc9be176211eb842f3e12835e1b159d6e90605ff88971e6fbf703a5a75dbed116605e09dff6a29660f0299e48c SHA512 9ab04af937a4af1b5ee3a6054fc84bc5fea342a7aba590e653d8f54dcd928d791b8f3e9417cef5c53e010eeee37f3aabf3ea06f53e0f242bcad56826e0909212 EBUILD snapd-2.55.3.ebuild 5346 BLAKE2B 7ef48c06aab0a4acb0218c63721b9d20915f2cbc9be176211eb842f3e12835e1b159d6e90605ff88971e6fbf703a5a75dbed116605e09dff6a29660f0299e48c SHA512 9ab04af937a4af1b5ee3a6054fc84bc5fea342a7aba590e653d8f54dcd928d791b8f3e9417cef5c53e010eeee37f3aabf3ea06f53e0f242bcad56826e0909212 +EBUILD snapd-2.55.4.ebuild 5346 BLAKE2B 7ef48c06aab0a4acb0218c63721b9d20915f2cbc9be176211eb842f3e12835e1b159d6e90605ff88971e6fbf703a5a75dbed116605e09dff6a29660f0299e48c SHA512 9ab04af937a4af1b5ee3a6054fc84bc5fea342a7aba590e653d8f54dcd928d791b8f3e9417cef5c53e010eeee37f3aabf3ea06f53e0f242bcad56826e0909212 MISC metadata.xml 520 BLAKE2B cdca3f5b58c81ddf5796b174756e1497382390ea4f7411b2aa7a3c794fcafd7fbd919cae00c7cf5ff2251f4c837f5188026d0f5f61986834aee661724afb050d SHA512 2c26112a8808cd73c5575b525eb33129ab5fab8a5fdefba5de3760e568659264a864bf80c2397cf70bb2f9b0e6709e953185af9048cddde9082b040e4a0ee00f diff --git a/app-containers/snapd/snapd-2.55.4.ebuild b/app-containers/snapd/snapd-2.55.4.ebuild new file mode 100644 index 000000000000..4e8c75f7a53b --- /dev/null +++ b/app-containers/snapd/snapd-2.55.4.ebuild @@ -0,0 +1,183 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/snapcore/${PN}" +inherit autotools bash-completion-r1 flag-o-matic golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils + +DESCRIPTION="Service and tools for management of snap packages" +HOMEPAGE="http://snapcraft.io/" + +MY_S="${S}/src/github.com/snapcore/${PN}" + +SRC_URI="https://github.com/snapcore/${PN}/releases/download/${PV}/${PN}_${PV}.vendor.tar.xz -> ${P}.tar.xz" +MY_PV=${PV} +KEYWORDS="~amd64" + +LICENSE="GPL-3 Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT" +SLOT="0" +IUSE="apparmor +forced-devmode gtk kde systemd" +REQUIRED_USE="!forced-devmode? ( apparmor ) systemd" + +CONFIG_CHECK="~CGROUPS + ~CGROUP_DEVICE + ~CGROUP_FREEZER + ~NAMESPACES + ~SQUASHFS + ~SQUASHFS_ZLIB + ~SQUASHFS_LZO + ~SQUASHFS_XZ + ~BLK_DEV_LOOP + ~SECCOMP + ~SECCOMP_FILTER" + +RDEPEND=" + sys-libs/libseccomp:= + apparmor? ( + sec-policy/apparmor-profiles + sys-apps/apparmor:= + ) + dev-libs/glib + virtual/libudev + systemd? ( sys-apps/systemd ) + sys-libs/libcap:= + sys-fs/squashfs-tools[lzma]" + +DEPEND="${RDEPEND}" + +BDEPEND=" + >=dev-lang/go-1.9 + dev-python/docutils + sys-devel/gettext + sys-fs/xfsprogs" + +PDEPEND="sys-auth/polkit[gtk?,kde?]" + +README_GENTOO_SUFFIX="" + +pkg_setup() { + if use apparmor; then + CONFIG_CHECK+=" ~SECURITY_APPARMOR" + fi + linux-info_pkg_setup + + # Seems to have issues building with -O3, switch to -O2 + replace-flags -O3 -O2 +} + +src_prepare() { + default + # Update apparmor profile to allow libtinfow.so* + sed -i 's/libtinfo/libtinfo{,w}/' \ + "${MY_S}/cmd/snap-confine/snap-confine.apparmor.in" || die + + if ! use forced-devmode; then + sed -e 's#return !apparmorFull#if !apparmorFull {\n\t\tpanic("USE=forced-devmode is disabled")\n\t}\n\treturn false#' \ + -i "${MY_S}/sandbox/forcedevmode.go" || die + grep -q 'panic("USE=forced-devmode is disabled")' "${MY_S}/sandbox/forcedevmode.go" || die "failed to disable forced-devmode" + fi + + sed -i 's:command -v git >/dev/null:false:' -i "${MY_S}/mkversion.sh" || die + + pushd "${MY_S}" >/dev/null || die + ./mkversion.sh "${PV}" + popd >/dev/null || die + pushd "${MY_S}/cmd" >/dev/null || die + eautoreconf +} + +src_configure() { + SNAPD_MAKEARGS=( + "BINDIR=${EPREFIX}/usr/bin" + "DBUSSERVICESDIR=${EPREFIX}/usr/share/dbus-1/services" + "LIBEXECDIR=${EPREFIX}/usr/lib" + "SNAP_MOUNT_DIR=${EPREFIX}/var/lib/snapd/snap" + "SYSTEMDSYSTEMUNITDIR=$(systemd_get_systemunitdir)" + ) + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + pushd "${MY_S}/cmd" >/dev/null || die + econf --libdir="${EPREFIX}/usr/lib" \ + --libexecdir="${EPREFIX}/usr/lib/snapd" \ + $(use_enable apparmor) \ + --enable-nvidia-biarch \ + --with-snap-mount-dir="${EPREFIX}/var/lib/snapd/snap" +} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME + export GO111MODULE=off GOBIN="${S}/bin" GOPATH="${S}" + + local file + for file in "${MY_S}/po/"*.po; do + msgfmt "${file}" -o "${file%.po}.mo" || die + done + + emake -C "${MY_S}/data" "${SNAPD_MAKEARGS[@]}" + + local -a flags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath) + local -a staticflags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS} -static'" -trimpath) + + local cmd + for cmd in snap snapd snap-bootstrap snap-failure snap-preseed snap-recovery-chooser snap-repair snap-seccomp; do + go build -o "${GOBIN}/${cmd}" "${flags[@]}" \ + -v -x "github.com/snapcore/${PN}/cmd/${cmd}" + [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}" + done + for cmd in snapctl snap-exec snap-update-ns; do + go build -o "${GOBIN}/${cmd}" "${staticflags[@]}" \ + -v -x "github.com/snapcore/${PN}/cmd/${cmd}" + [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}" + done +} + +src_install() { + emake -C "${MY_S}/data" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}" + emake -C "${MY_S}/cmd" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}" + + if use apparmor; then + mv "${ED}/etc/apparmor.d/usr.lib.snapd.snap-confine"{,.real} || die + keepdir /var/lib/snapd/apparmor/profiles + fi + keepdir /var/lib/snapd/{apparmor/snap-confine,cache,cookie,snap,void} + fperms 700 /var/lib/snapd/{cache,cookie} + + dobin "${GOBIN}/"{snap,snapctl} + ln "${ED}/usr/bin/snapctl" "${ED}/usr/lib/snapd/snapctl" || die + + exeinto /usr/lib/snapd + doexe "${GOBIN}/"{snapd,snap-bootstrap,snap-failure,snap-exec,snap-preseed,snap-recovery-chooser,snap-repair,snap-seccomp,snap-update-ns} \ + "${MY_S}/"{cmd/snap-discard-ns/snap-discard-ns,cmd/snap-gdb-shim/snap-gdb-shim,cmd/snap-mgmt/snap-mgmt} \ + "${MY_S}/data/completion/bash/"{complete.sh,etelpmoc.sh,} + + dobashcomp "${MY_S}/data/completion/bash/snap" + + insinto /usr/share/zsh/site-functions + doins "${MY_S}/data/completion/zsh/_snap" + + insinto "/usr/share/polkit-1/actions" + doins "${MY_S}/data/polkit/io.snapcraft.snapd.policy" + + dodoc "${MY_S}/packaging/ubuntu-16.04/changelog" + domo "${MY_S}/po/"*.mo + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + xdg_desktop_database_update + + if use apparmor && [[ -z ${ROOT} && -e /sys/kernel/security/apparmor/profiles && + $(wc -l < /sys/kernel/security/apparmor/profiles) -gt 0 ]]; then + apparmor_parser -r "${EPREFIX}/etc/apparmor.d/usr.lib.snapd.snap-confine.real" + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/app-containers/syft/Manifest b/app-containers/syft/Manifest new file mode 100644 index 000000000000..d2a075bfca99 --- /dev/null +++ b/app-containers/syft/Manifest @@ -0,0 +1,4 @@ +DIST syft-0.45.1-deps.tar.xz 619145524 BLAKE2B c39ce29edb6820ff620f2d25b564084b2328f24cd453aad0cfed3a799768ff5e18f6de2fd11d981c544b6f377bb8ef64433158c71cab63c184587e648ab6bae0 SHA512 f734266b51956543e2aa94b62d47abeb45fa63de31b4f2d2d6e084b2c9233a1a0dbd36890523f54836d4e341c6fb38c3a2a0aca775a8ce2ca2bf3672e7dfbd72 +DIST syft-0.45.1.tar.gz 3826388 BLAKE2B 9600f44d4d0390c2cda422ccec04ab8f27165ed00cb031dfc441e21a156f5abfb1e63ed26bbc5795b074d2b8f578486624f8a88c87248a5c70a02268d728bbf2 SHA512 938af62b5c9d724d206db98174892bede409f4bfb9199d636cf3cedfa605cc79f2e4d9c2b49868e4f9ac1ab64d05b42849d15c9f28bf4c7a2b531449f346ef85 +EBUILD syft-0.45.1.ebuild 530 BLAKE2B 9a8b225c4678c1f27a2cad3895b414bab798026339df7286117e5dd3c623da6f1562544c4ce9c145227266be9ff63a8fc4feb9de6cbb5b1665d63e64dad5e94d SHA512 ba9108a193c2f925f2b8f68ac2f546cc7f05e72d4ea5afe0aa52be90bc8ae869c375d9dc811fa336bbe9c2fa9c843001218890e85473d27c0c7044d8d151a236 +MISC metadata.xml 243 BLAKE2B 63665ae2020bc799fa6ebd6e1fca6755be6498803fdbc17cc630f9f4ffa03fbd46a9ad396e70adc3bc1c32b0a746fe4bab1c6291f32e68e636251207bca9e95c SHA512 78eab20831018fcf4957171a83aaaca9ced53380e01f083c07450c30fa1adfc02dd50ff2fa9f491dd62802f6e779264add1c47a09ade0a35cda558c1d5529ad0 diff --git a/app-containers/syft/metadata.xml b/app-containers/syft/metadata.xml new file mode 100644 index 000000000000..3b2a9c591010 --- /dev/null +++ b/app-containers/syft/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>williamh@gentoo.org</email> +<name>William Hubbs</name> +</maintainer> +</pkgmetadata> diff --git a/app-containers/syft/syft-0.45.1.ebuild b/app-containers/syft/syft-0.45.1.ebuild new file mode 100644 index 000000000000..2c42d972b97c --- /dev/null +++ b/app-containers/syft/syft-0.45.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Generate a Software Bill of Materials from container images and filesystems" +HOMEPAGE="https://www.anchore.com" +SRC_URI="https://github.com/anchore/syft/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -o bin/syft ./cmd/syft +} + +src_install() { +dobin bin/* +} |