diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
commit | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch) | |
tree | 852c90a4bf354c30ea66504f70bfab5401fba18d /net-misc/cni-plugins | |
parent | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff) |
gentoo resync : 28.04.2018
Diffstat (limited to 'net-misc/cni-plugins')
-rw-r--r-- | net-misc/cni-plugins/Manifest | 2 | ||||
-rw-r--r-- | net-misc/cni-plugins/cni-plugins-0.7.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/cni-plugins/Manifest b/net-misc/cni-plugins/Manifest index 9e6b731f84b9..bd19f0db6691 100644 --- a/net-misc/cni-plugins/Manifest +++ b/net-misc/cni-plugins/Manifest @@ -1,5 +1,7 @@ DIST cni-plugins-0.6.0.tar.gz 787756 BLAKE2B b22825388b0d74f3ea26f79e9df9663a0cbb499447423d1bff93ffb422667f2895d17ae53c27089dab3f724a43489818787c2d51f85bd25f957ef1e6913b8775 SHA512 4b3c1901154eb1af86dc35888fda7b7666ee88d2cf728fb09182df5385d32b747de34c5c01598e1f37ae1e3497dbf5af2bc6ad6f737e683ccfccf9c1860cf6dc DIST cni-plugins-0.7.0.tar.gz 862293 BLAKE2B 27f0565c76a720408ea7c2f54f0651fcc661735e238075b6dee597e97a5d07bcc2c111dc24434d5b57193e0f039a2ddbb6246205da6a58fc24f0201d04d79703 SHA512 c5f13850ffd455b269520f9b54a916d09dd5823fc1bf0920695a556015f17e0e680ee377f3f8df686836855c331ec0f827c68718773e87337a8b5761a4c5ad69 +DIST cni-plugins-0.7.1.tar.gz 862546 BLAKE2B 9d13c616396017e3cb54dfdd5bde2c06d2ad572e55009b883d82757c173119694a40157f28fce5818bb8bd33325f2edb0ec197ff77aa2ab08615bfc55ce2bbe8 SHA512 23d3b35c22fdc85d087922fb59c63622a9283ff11d34d1a1043c323f9b07b3837418f333d2f2ab9c6a22514351d71aeeab6a57234b14f53ba29847cffa382ea0 EBUILD cni-plugins-0.6.0.ebuild 1043 BLAKE2B 7fe1e5c6ed852fdeb73ab3c4cd18be764885f47e98c8c0df89fa3f3a2feaf9003f285142c18c2195af9213fa7af6cac9ea9abfb3414be26f5689de76e90719b5 SHA512 981589a5390a63178d7a5961794e28400c0f38e3c4419797779d6256cdd7efbfdf4d35857af740b76d5af0657995ebae08b465865ed6525bbd12658eacc625f0 EBUILD cni-plugins-0.7.0.ebuild 1067 BLAKE2B a463d4f1d2bde3b99eeb7805650d4140995d56253c4bfeac4ae49e8127133743edbec78b3f52488921a1a5f535145d37d80fbc978615157d480ffd8790381ee3 SHA512 20a1564de6e08b278d4847c28c8955b3c975b1b2cb95ad1c43ee7134c869352ed528b4fe8f6d66d68c6549bee44075bae7719c2cec75734dc12202be65da615d +EBUILD cni-plugins-0.7.1.ebuild 1067 BLAKE2B a463d4f1d2bde3b99eeb7805650d4140995d56253c4bfeac4ae49e8127133743edbec78b3f52488921a1a5f535145d37d80fbc978615157d480ffd8790381ee3 SHA512 20a1564de6e08b278d4847c28c8955b3c975b1b2cb95ad1c43ee7134c869352ed528b4fe8f6d66d68c6549bee44075bae7719c2cec75734dc12202be65da615d MISC metadata.xml 347 BLAKE2B 3028c057ca5c58bc39b10c01e9989088f0a2498a5a95a1ada88517dffe62daba52c8e6ead2fc8a7245ae06a95ffbc9306de03eecc82464ae0a6d2fbb4cdfb99b SHA512 b977f4287446648ff730c36e71002f524ae9a96c3fb104ee8542da90f6f996926a9b9809007f285e930d79842d9663cf4e462e8ee50da8319dcd3e07cf6dee05 diff --git a/net-misc/cni-plugins/cni-plugins-0.7.1.ebuild b/net-misc/cni-plugins/cni-plugins-0.7.1.ebuild new file mode 100644 index 000000000000..b07a467bf91d --- /dev/null +++ b/net-misc/cni-plugins/cni-plugins-0.7.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-vcs-snapshot + +KEYWORDS="~amd64" +DESCRIPTION="Standard networking plugins for container networking" +EGO_PN="github.com/containernetworking/plugins" +HOMEPAGE="https://github.com/containernetworking/plugins" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="hardened" + +src_compile() { + pushd src || die + local i + for i in plugins/{meta/{flannel,portmap,tuning},main/{bridge,host-device,ipvlan,loopback,macvlan,ptp,vlan},ipam/{dhcp,host-local},sample}; do + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${WORKDIR}/${P}" go install -v "${EGO_PN}/${i}" + done + popd || die +} + +src_install() { + exeinto /opt/cni/bin + doexe bin/* + pushd src/${EGO_PN} || die + dodoc README.md + local i + for i in plugins/{meta/{flannel,portmap,tuning},main/{bridge,host-device,ipvlan,loopback,macvlan,ptp,vlan},ipam/{dhcp,host-local},sample}; do + newdoc README.md ${i##*/}.README.md + done + popd || die +} |