1 |
commit: 01c6089acde8ca39ba5bd2e8a5cec4c4841e06d4 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 5 20:51:40 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 5 20:51:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c6089a |
7 |
|
8 |
app-emulation/runc: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.4 |
11 |
|
12 |
app-emulation/runc/Manifest | 2 - |
13 |
app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild | 57 ---------------------- |
14 |
app-emulation/runc/runc-1.0.0_rc3.ebuild | 55 --------------------- |
15 |
3 files changed, 114 deletions(-) |
16 |
|
17 |
diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest |
18 |
index 4a6e583bd00..ed80588a16e 100644 |
19 |
--- a/app-emulation/runc/Manifest |
20 |
+++ b/app-emulation/runc/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 |
23 |
-DIST runc-1.0.0_rc2_p20170222.tar.gz 576999 SHA256 1ee6491b9c14e0ce9e0546ed92e3eb4bdc60cf4b5e58b6de0455dbe3b03145cb SHA512 fe293057f55eee4f3821004af730ad57f512d610d7cf3693b26e69ffa068c8c28da5426b9f4988627c0803ecd1d46b6e427db8f1703649f5861859d61cd24bbd WHIRLPOOL 561c09ffc7d3e0f1dd73f3711adb85b74d5fea265181cdd1535a83d23a164c1e4cb884053c0b46c968b0b582feeb2ccc9eb99e3e086b1fcbcce0813f4444172c |
24 |
-DIST runc-1.0.0_rc3.tar.gz 453694 SHA256 77dc6c48704da4005896acf369d0ee306f8af684c54a815f589fd87043221380 SHA512 298a176db119a02c1dbe5c095897f34955d6d0d7ea3cb21496258a23225bae35603a818c13f7adc4be1c1f4e2b3a8a540fb2fc1b2828a59f29a53e3c8b13c354 WHIRLPOOL 649aba93a24eff37042cc08d55cff0d97d6e4fe6b2c35053b36a4a186040e8772b8f63be488f3cb8d75e7daa61193669a79b2ed1f04a13ae47695c98dccb17ec |
25 |
DIST runc-1.0.0_rc4.tar.gz 1090513 SHA256 3ffefd293932d2ad509701878dd7dd6ef498c3667198a33e8e5d5a3cbce0eeaa SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed WHIRLPOOL 298e3ad3561c6d0de3f0517458da47f04389d4cf2686aba96cdf70966b1121e6a7997f0419159a4390dd276fd6cba41b08c6152aea66816a7bb760ebc5e46e32 |
26 |
|
27 |
diff --git a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild b/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild |
28 |
deleted file mode 100644 |
29 |
index 50ad9ca1ac3..00000000000 |
30 |
--- a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,57 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-EGO_PN="github.com/opencontainers/${PN}" |
38 |
- |
39 |
-if [[ ${PV} == *9999 ]]; then |
40 |
- inherit golang-vcs |
41 |
-else |
42 |
- MY_PV="${PV/_/-}" |
43 |
- EGIT_COMMIT="bd2f9c52cd3b766d993924ae6eba72b82998f3bd" |
44 |
- RUNC_COMMIT="bd2f9c" # Change this when you update the ebuild |
45 |
- SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
46 |
- KEYWORDS="~amd64 ~ppc64" |
47 |
- inherit golang-vcs-snapshot |
48 |
-fi |
49 |
- |
50 |
-DESCRIPTION="runc container cli tools" |
51 |
-HOMEPAGE="http://runc.io" |
52 |
- |
53 |
-LICENSE="Apache-2.0" |
54 |
-SLOT="0" |
55 |
-IUSE="apparmor hardened +seccomp" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- apparmor? ( sys-libs/libapparmor ) |
59 |
- seccomp? ( sys-libs/libseccomp ) |
60 |
- !app-emulation/docker-runc |
61 |
-" |
62 |
- |
63 |
-S=${WORKDIR}/${P}/src/${EGO_PN} |
64 |
- |
65 |
-src_compile() { |
66 |
- # Taken from app-emulation/docker-1.7.0-r1 |
67 |
- export CGO_CFLAGS="-I${ROOT}/usr/include" |
68 |
- export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') |
69 |
- -L${ROOT}/usr/$(get_libdir)" |
70 |
- |
71 |
- # Setup GOPATH so things build |
72 |
- rm -rf .gopath |
73 |
- mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")" |
74 |
- ln -sf ../../../.. .gopath/src/"${GITHUB_URI}" |
75 |
- export GOPATH="${PWD}/.gopath:${PWD}/vendor" |
76 |
- |
77 |
- # build up optional flags |
78 |
- local options=( |
79 |
- $(usex apparmor 'apparmor') |
80 |
- $(usex seccomp 'seccomp') |
81 |
- ) |
82 |
- |
83 |
- emake BUILDTAGS="${options[*]}" \ |
84 |
- COMMIT="${RUNC_COMMIT}" |
85 |
-} |
86 |
- |
87 |
-src_install() { |
88 |
- dobin runc |
89 |
-} |
90 |
|
91 |
diff --git a/app-emulation/runc/runc-1.0.0_rc3.ebuild b/app-emulation/runc/runc-1.0.0_rc3.ebuild |
92 |
deleted file mode 100644 |
93 |
index ed12e14ff1b..00000000000 |
94 |
--- a/app-emulation/runc/runc-1.0.0_rc3.ebuild |
95 |
+++ /dev/null |
96 |
@@ -1,55 +0,0 @@ |
97 |
-# Copyright 1999-2017 Gentoo Foundation |
98 |
-# Distributed under the terms of the GNU General Public License v2 |
99 |
- |
100 |
-EAPI=6 |
101 |
-EGO_PN="github.com/opencontainers/${PN}/..." |
102 |
- |
103 |
-if [[ ${PV} == *9999 ]]; then |
104 |
- inherit golang-build golang-vcs |
105 |
-else |
106 |
- MY_PV="${PV/_/-}" |
107 |
- EGIT_COMMIT="v${MY_PV}" |
108 |
- RUNC_COMMIT="75f8da7" # Change this when you update the ebuild |
109 |
- SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
110 |
- KEYWORDS="~amd64 ~ppc64" |
111 |
- inherit golang-build golang-vcs-snapshot |
112 |
-fi |
113 |
- |
114 |
-DESCRIPTION="runc container cli tools" |
115 |
-HOMEPAGE="http://runc.io" |
116 |
- |
117 |
-LICENSE="Apache-2.0" |
118 |
-SLOT="0" |
119 |
-IUSE="+ambient apparmor hardened +seccomp" |
120 |
- |
121 |
-RDEPEND=" |
122 |
- apparmor? ( sys-libs/libapparmor ) |
123 |
- seccomp? ( sys-libs/libseccomp ) |
124 |
- !app-emulation/docker-runc |
125 |
-" |
126 |
- |
127 |
-src_compile() { |
128 |
- # Taken from app-emulation/docker-1.7.0-r1 |
129 |
- export CGO_CFLAGS="-I${ROOT}/usr/include" |
130 |
- export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') |
131 |
- -L${ROOT}/usr/$(get_libdir)" |
132 |
- |
133 |
- # build up optional flags |
134 |
- local options=( |
135 |
- $(usex ambient 'ambient') |
136 |
- $(usex apparmor 'apparmor') |
137 |
- $(usex seccomp 'seccomp') |
138 |
- ) |
139 |
- |
140 |
- GOPATH="${S}"\ |
141 |
- emake BUILDTAGS="${options[*]}" \ |
142 |
- COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN%/*} |
143 |
-} |
144 |
- |
145 |
-src_install() { |
146 |
- pushd src/${EGO_PN%/*} || die |
147 |
- dobin runc |
148 |
- dodoc README.md PRINCIPLES.md |
149 |
- popd || die |
150 |
- |
151 |
-} |