diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /app-containers | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/Manifest.gz | bin | 6233 -> 6413 bytes | |||
-rw-r--r-- | app-containers/buildah/Manifest | 2 | ||||
-rw-r--r-- | app-containers/buildah/buildah-1.24.0.ebuild | 51 | ||||
-rw-r--r-- | app-containers/containers-storage/Manifest | 2 | ||||
-rw-r--r-- | app-containers/containers-storage/containers-storage-1.38.0.ebuild | 58 | ||||
-rw-r--r-- | app-containers/cosign/Manifest | 5 | ||||
-rw-r--r-- | app-containers/cosign/cosign-1.5.0.ebuild | 34 | ||||
-rw-r--r-- | app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch | 13 | ||||
-rw-r--r-- | app-containers/cosign/metadata.xml | 8 | ||||
-rw-r--r-- | app-containers/cri-tools/Manifest | 2 | ||||
-rw-r--r-- | app-containers/cri-tools/cri-tools-1.23.0.ebuild | 34 | ||||
-rw-r--r-- | app-containers/flannel/Manifest | 2 | ||||
-rw-r--r-- | app-containers/flannel/flannel-0.16.3.ebuild | 54 |
13 files changed, 265 insertions, 0 deletions
diff --git a/app-containers/Manifest.gz b/app-containers/Manifest.gz Binary files differindex 9c63e4d4b2ff..28adaf206ce2 100644 --- a/app-containers/Manifest.gz +++ b/app-containers/Manifest.gz diff --git a/app-containers/buildah/Manifest b/app-containers/buildah/Manifest index bfc1e083721c..915e9d47ebb9 100644 --- a/app-containers/buildah/Manifest +++ b/app-containers/buildah/Manifest @@ -1,5 +1,7 @@ DIST buildah-1.21.1.tar.gz 11693142 BLAKE2B 513f75d8f2831130759f3bcb77fad311c28862b82df8866608bd909eea38468a6b576dfad2598725caa9c4e413108ea6ec3557c8a777017cc8a37b5cb16b70a1 SHA512 8fb30ed0948f898aef9a32c34d4b2a2e04a376257a73184ec01b67c770be1c3c87e46987ad001ececf2235cb5e17f9d0ff9e9f34be61ddd0935859c4e5b37d1f DIST buildah-1.23.1.tar.gz 11872323 BLAKE2B 6e4cffd11177bca6c3e86cd3372fc7bf295b23559b7478a679ea2bea022c149b5ea058224f0a156df1b9511905795c44ed5e988ec68ca834dd80d0c198543d5f SHA512 2ceb6df5adb671483557bb03937df583857d99c116be5d44aae533c155f560d5d454bebf25908ac02bb85e4c2ba31533adb99f0946ecc4f4830977c14f324b6f +DIST buildah-1.24.0.tar.gz 14143490 BLAKE2B c9883cc849d8837cdc4d31c02d49138f61b99f97fc40eb36494368eb47f1d74a24c6ddc4f631a043769ecb03906d11978afc7fae993a2f10346d9ac072d6e322 SHA512 337792cb896de3c10a66f7e2cf7c52d0dffd0ca8fede48a4d3a666d2a05e17bb3116db7c20a39805e9360b24a5df12d8ebd7a3818be12bb8e06e4b16cd62fc60 EBUILD buildah-1.21.1-r1.ebuild 1198 BLAKE2B fede3381b36b62849fc5dc494e4643ce97f349eb49b7470e9895e267838806fa21faf85fa0a17b1c2a4eccbd57bc0eb78184a6705a6245c5047551ad41e41b1d SHA512 c00fe7f79e286cb83b54b585bd062164b8c61b59cfa46e0b539b166acb6dd462be84935c0b50a3c6d974c6afa0161a1534495489e29dec6bc34555b65a4faa4c EBUILD buildah-1.23.1-r1.ebuild 1196 BLAKE2B afd094d8fbefb9622704992892b8b0050fddae3d01e44275cd26f4d927f5c146cc577f8c374d7594083445ba581f7ef557660160725a977276e96ce5ed2f9006 SHA512 bdb5a798fc980be7e8d0c464784b48279af59b80a19a878f7134bb5344c8c807e5e16032f39a6d236ac653039cbf001fe40f64c9f4d2c26ea6ed7fed4805a588 +EBUILD buildah-1.24.0.ebuild 1198 BLAKE2B b9a9c19a840ad910d7b2c037e2f84195fae6e58ac50f282a768fd5eaef68dc34dd3056586f73462598b2e5f9429401d8ca8969e7c53b3d026608e6424b93dc19 SHA512 266e6888bddebcf95db82f85450fe6ea6d8436c4c2dbb631ff663d5d497c0a49a71ed23b3388440619487bdb145dc764c649f62e7d1dbd49c62e5044bbf6fb0e MISC metadata.xml 328 BLAKE2B 55d2d2b5cc972b7e6b6fb77d14e79e304adcbc7056ff351f5ee3cac6cf5f83b4ef2a10c70754d1d30a5ecd88e652abc07cddd8005c3767e7f709c0c5cb61d068 SHA512 7520f5745909da195d4bfdd750e4c716c461a3789adfde56dd9be46b91dfb789653d642c0958b5a2950eea220cc00143bfcd5db402fcc2578c8fe5f8ff69275f diff --git a/app-containers/buildah/buildah-1.24.0.ebuild b/app-containers/buildah/buildah-1.24.0.ebuild new file mode 100644 index 000000000000..cc98ed8a4eb2 --- /dev/null +++ b/app-containers/buildah/buildah-1.24.0.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=d9a41b85 + +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 8a45ddc4a165..0b8e5b52518e 100644 --- a/app-containers/containers-storage/Manifest +++ b/app-containers/containers-storage/Manifest @@ -1,3 +1,5 @@ DIST containers-storage-1.37.0.tar.gz 3557198 BLAKE2B ebe5c8e562149a9d007ac87d7fc615d29ad7decbfd6b1b8d919b14684a6341575d8f65080a808ba52674664d187a18bb47e88f10e1a02a2975898862873dadf9 SHA512 3a65a50946e1eed1c79ea77b65feb1c6c8cf58a0b7b81932acb8891b6daa25e007582eb7f70ef7e7f2a6d8262be5db7757ead2fe079e47c99114b47917d81084 +DIST containers-storage-1.38.0.tar.gz 3656468 BLAKE2B b33342dd6c55d69c3c71ce17ceeb4fd4c442291b700a9a601f9b273337bda70b9f353adbac55019d3ab0a20a8b142816255af106b77127f371ee0f80fbea488b SHA512 c9be760d088ac2bf1fa7ee7b6742c9f0f54b4878ae85059bbdb059b48eb5a2cf2c217b774944b23ff175d7126351d324ed96febb77c7a6b78b6cffb51f271f13 EBUILD containers-storage-1.37.0.ebuild 1460 BLAKE2B 384a8e1e2097ec8c18398a563494941821b75a889bdc23addb0912ba58ef9298ff3d5751bacd9db8d0a8154ee8911d4f2c4677cb80dce4e14c03ca3e5f207ae3 SHA512 8a54ea2230607cb424698397133443747cd6b1a687381f300083b618c621708165b53714a1a29bde52faa450b7384f6ba70d35c2bc381d715b07a4ff75bea9c9 +EBUILD containers-storage-1.38.0.ebuild 1460 BLAKE2B 1e82d14bc4a40bfeec0c09d26d5e987cdf208a66e9359186512b067d454154337c301573f852fbeafaa572641acb6109e5f069273e4689efbaf0262be216e736 SHA512 3debf8e12d4ef6349aa00ad4594494999cacaba6f784db5c7ea79da9c81f7ca783a9bd8bc62e5fc81bc4629cd6ff49c8ca304e8df3741cd93cf6660246828801 MISC metadata.xml 604 BLAKE2B b132c7cf2a280a6c5fee5b37eb644c5644890b845a92165551a5466caf2fbfa07f7b63b1a387fee62467a7df4218e1e4c563fe70fc40209a4f2eae5b9c714b57 SHA512 21725a1c25a5912b26a56f1970b968ca686f55a27888e4a2948ea6d7a6b8f3d70f528e875d8d2271963ebebb6fee11c51f218045296dac21a1b86ba9b5481b28 diff --git a/app-containers/containers-storage/containers-storage-1.38.0.ebuild b/app-containers/containers-storage/containers-storage-1.38.0.ebuild new file mode 100644 index 000000000000..c01863fdb218 --- /dev/null +++ b/app-containers/containers-storage/containers-storage-1.38.0.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 new file mode 100644 index 000000000000..7a8e9bdd8c3d --- /dev/null +++ b/app-containers/cosign/Manifest @@ -0,0 +1,5 @@ +AUX cosign-1.5.0-fix-makefile.patch 571 BLAKE2B 7737bcd538b6597472f7586f901a484de0b46d02e09336b9524741024acb5b001fc24bb774e0aab7560b5c9eeefc5d877ec2c546d1a331295656e86ef217544c SHA512 6d27b8095038f7cbb62c86354f7788982fd7c622da7a87f98df69ce77c34840c68f6a0eddc9584e628fbf3b1fce7bed991e0e1213eec14953bb4ecea98fca130 +DIST cosign-1.5.0-vendor.tar.xz 10089292 BLAKE2B 71e9fc37df524496cb1639b0ddefbb4e5595ffd088ae8a36976b8d1ff4d7bd17781bd267b02d3d5aff74c7682dde9c4a990c787a7e0a4e523664134aa36c0512 SHA512 9d867828d183a093335adb53fb6424d13149c8ce41c77906a42ef3bea171b265967fe6dcca2b2569967e5c3ce8c2752e3f5d2c4a104e2be196708d85b73f7784 +DIST cosign-1.5.0.tar.gz 6595932 BLAKE2B dd4403ed71c6a3773cf5ff3adebeab197a0f2d2148da50d32ee6b4f3802ef2810fba500ba22aca65f7553f45caaf4d4044183925e77cad3dfe566e95b8272494 SHA512 fc7768e37bc7236d2275a51e4b3f0854051d018af62e25d7c20ac3d79f7deacde181b650752da9a859e24585915bbcaf2f1d34f73747f0ffe9871109e1a3e019 +EBUILD cosign-1.5.0.ebuild 650 BLAKE2B b3db8c80f72dd0835a42e6d356ad68af8b25be36fb6135b518b2d8f946d0ee171753d49838da5729972f308645f1c8c122d6c8ff15afa55d02633d3b33168c17 SHA512 1e675cf80e5125272c2c6de84d82f595bcb58919acec8bada3189bc9b2efaef929077d02a21970e45e2595fe08fd3855ff95a2e11b99e29a6c8bc3657b735505 +MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251 diff --git a/app-containers/cosign/cosign-1.5.0.ebuild b/app-containers/cosign/cosign-1.5.0.ebuild new file mode 100644 index 000000000000..801eb64a2691 --- /dev/null +++ b/app-containers/cosign/cosign-1.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +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 + https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${P}-fix-makefile.patch +) + +src_prepare() { + default + mv ../vendor . || die +} + +src_compile() { + emake \ + GIT_HASH=757252063bf4724f11a52336ef13a724059a39b6 \ + GIT_VERSION=v${PV} \ + GIT_TREESTATE=clean +} + +src_install() { + dobin cosign +} diff --git a/app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch b/app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch new file mode 100644 index 000000000000..15cdc7511136 --- /dev/null +++ b/app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch @@ -0,0 +1,13 @@ +--- a/Makefile 2022-01-22 16:06:02.000000000 -0500 ++++ b/Makefile 2022-01-27 15:06:43.986094208 -0500 +@@ -71,8 +71,8 @@ + checkfmt: SHELL := /usr/bin/env bash + checkfmt: ## Check formatting of all go files + @ $(MAKE) --no-print-directory log-$@ +- $(shell test -z "$(shell gofmt -l $(GOFILES) | tee /dev/stderr)") +- $(shell test -z "$(shell goimports -l $(GOFILES) | tee /dev/stderr)") ++ $(shell test -z "$(shell gofmt -l $(GOFILES) | tee /dev/stderr)") ++ $(shell test -z "$(shell goimports -l $(GOFILES) | tee /dev/stderr)") + + .PHONY: fmt + fmt: ## Format all go files diff --git a/app-containers/cosign/metadata.xml b/app-containers/cosign/metadata.xml new file mode 100644 index 000000000000..db463f3eeb66 --- /dev/null +++ b/app-containers/cosign/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/cri-tools/Manifest b/app-containers/cri-tools/Manifest index c0b4a82b3c27..106cdf942ff7 100644 --- a/app-containers/cri-tools/Manifest +++ b/app-containers/cri-tools/Manifest @@ -1,7 +1,9 @@ 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 +EBUILD cri-tools-1.23.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.23.0.ebuild b/app-containers/cri-tools/cri-tools-1.23.0.ebuild new file mode 100644 index 000000000000..0a580bdda110 --- /dev/null +++ b/app-containers/cri-tools/cri-tools-1.23.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2022 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/flannel/Manifest b/app-containers/flannel/Manifest index 8a3f232f0a4f..0bfda6cebbe1 100644 --- a/app-containers/flannel/Manifest +++ b/app-containers/flannel/Manifest @@ -7,7 +7,9 @@ AUX flanneld.service 476 BLAKE2B ea838e26be0834943bafb985a37e71b45219bffbd68784b DIST flannel-0.14.0.tar.gz 8324790 BLAKE2B 47fd65d531f9fa10e602ccf1858549ede97d8f8c9afa32ffeb010d733060703262cafd02b5daddc65142dfa96b1c6b429eaff30b7fdaca27e2a5397c0d756e7c SHA512 a5d9f45d55f18c744e635b4d697200cf9d5a8c4387cd6d9c57220e652e3688337f2ee50fef193135dd0073b14edb8800fac8d5ca9f9d0d3e9ef70d09a52f259c DIST flannel-0.16.0.tar.gz 8697548 BLAKE2B a307990554a6cf215bef6ac75a544d00d8c6cd702f02e98efaf80b89d0ecf4592c1c338d1f80cf22ee086355ee7edb77492e6af587cbf037f38b6e3dbc4ac252 SHA512 7b80fe1e282c312b8b242d2201ecd164d87b551f4bc02d8375ca856c0dcfad2d31bd1b4041663016130b0bd7ebaf0062afe59c0946e97f10478142ca8ffd94f0 DIST flannel-0.16.1.tar.gz 8697974 BLAKE2B bff4d5a6fe179129fa9ae494291301b25bc3ff9d6f4049b990f50b01920dfd20d149eb85339e2930b66dd060aca57f269a3b21fa508a3c95f5d152bbfb91631f SHA512 699ba7e7b80dd60a03bb5c6ee384a582201d8167ef21e60816ca9942a9d70ba0fd7633a3d2a44802f9f0a0851a79709afe78bd46f15ca81641ff64d46859f928 +DIST flannel-0.16.3.tar.gz 9531741 BLAKE2B 6a22b3d031dda538a0b64877eda4afbf5e9cbe6d39342325f54bcc5faf1b867c8eef6a9f2800ec9b872ed5c48d17aa23842f273a0fad862bffb99b9905045363 SHA512 965708d99401c4a6a32883181afbc1afccd2211589411272b6b93f225ec84373b95fa2be840d00c39364b8e4c1a8a3763a498523503ecb631156c5c70304a9b9 EBUILD flannel-0.14.0.ebuild 1418 BLAKE2B 94b7e426dc6e3d769b3564f60e969a28d21628a1f963721a9d78e3f3568bd6ef2a5b481406b6aa93aa072c47209ab1f7eb1c375429d66d8cd11910bacde07c6f SHA512 1dea57abed0dc5dc46b720d046788fc16e3d471d01bc0fe2115b156c3a7888b6d834f0da85eed00b644ed3318817e858126aabacdf40e94e53d06d3736bef43a EBUILD flannel-0.16.0.ebuild 1418 BLAKE2B 94b7e426dc6e3d769b3564f60e969a28d21628a1f963721a9d78e3f3568bd6ef2a5b481406b6aa93aa072c47209ab1f7eb1c375429d66d8cd11910bacde07c6f SHA512 1dea57abed0dc5dc46b720d046788fc16e3d471d01bc0fe2115b156c3a7888b6d834f0da85eed00b644ed3318817e858126aabacdf40e94e53d06d3736bef43a EBUILD flannel-0.16.1.ebuild 1418 BLAKE2B cf64ef8ca8ccea8838b27dccf750a8497b23876ba68275bb97911770898e17b2c35c917134147ba06493e010ce5b18fd8950678fd992db4feb9fd49066aeb8d8 SHA512 6095d70c1bbe214c6122584f9b307bc93aee73018c20aae8ed0e11e7f6e87dbd9f38edf64dcaf6931d48db35906fa17df03bf983963ae349b3b951bfd3e3d85b +EBUILD flannel-0.16.3.ebuild 1418 BLAKE2B cf64ef8ca8ccea8838b27dccf750a8497b23876ba68275bb97911770898e17b2c35c917134147ba06493e010ce5b18fd8950678fd992db4feb9fd49066aeb8d8 SHA512 6095d70c1bbe214c6122584f9b307bc93aee73018c20aae8ed0e11e7f6e87dbd9f38edf64dcaf6931d48db35906fa17df03bf983963ae349b3b951bfd3e3d85b MISC metadata.xml 306 BLAKE2B 0a81caca08d2e73cb3624f8116c978bd4f752785a2f75953e2d0f9f9a29d64be94b5e73bc2f3697a776c6c0219898f8163b96a084eeba238dbb2c6353c34b618 SHA512 82121996c0eccb06de9a19d660d55ba4314eef903286ad71da9f8286dfafe6d74b58e297638496b2461e793f5c5ee66b0c329d17a500afdaf4cbda03f06901dc diff --git a/app-containers/flannel/flannel-0.16.3.ebuild b/app-containers/flannel/flannel-0.16.3.ebuild new file mode 100644 index 000000000000..ad8fbf25ad4e --- /dev/null +++ b/app-containers/flannel/flannel-0.16.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd tmpfiles + +KEYWORDS="~amd64 ~arm64" +DESCRIPTION="An etcd backed network fabric for containers" +HOMEPAGE="https://github.com/coreos/flannel" +SRC_URI="https://github.com/coreos/flannel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD ISC LGPL-3 MIT" +SLOT="0" +IUSE="hardened" + +RESTRICT+=" test" + +src_prepare() { + default + sed -e "s:^var Version =.*:var Version = \"${PV}\":" \ + -i "${S}/version/version.go" || die +} + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"\ + go build -o dist/flanneld -ldflags " + -X github.com/flannel-io/flannel/version.Version=v${PV} + -extldflags \"-static\"" . || die +} + +src_test() { + GOPATH="${WORKDIR}/${P}" \ + go test -v -work -x "${EGO_PN}" || die +} + +src_install() { + dobin dist/${PN}d + exeinto /usr/libexec/flannel + doexe dist/mk-docker-opts.sh + insinto /etc/systemd/system/docker.service.d + newins "${FILESDIR}/flannel-docker.conf" flannel.conf + newinitd "${FILESDIR}"/flanneld.initd flanneld + newconfd "${FILESDIR}"/flanneld.confd flanneld + keepdir /var/log/${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/flanneld.logrotated flanneld + newtmpfiles "${FILESDIR}/flannel.tmpfilesd" flannel.conf + systemd_dounit "${FILESDIR}/flanneld.service" + dodoc README.md +} + +pkg_postinst() { + tmpfiles_process flannel.conf +} |