1 |
commit: 2f80acd93b4a99b0299bef95b15aa55a64eccb30 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 03:40:46 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 03:40:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f80acd9 |
7 |
|
8 |
app-misc/ca-certificates: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
app-misc/ca-certificates/Manifest | 10 -- |
13 |
.../ca-certificates-20090709.ebuild | 72 -------------- |
14 |
.../ca-certificates-20110421.ebuild | 72 -------------- |
15 |
.../ca-certificates-20110502-r1.ebuild | 72 -------------- |
16 |
.../ca-certificates-20110502-r2.ebuild | 87 ----------------- |
17 |
.../ca-certificates-20110502-r3.ebuild | 95 ------------------ |
18 |
.../ca-certificates-20110502-r4.ebuild | 98 ------------------- |
19 |
.../ca-certificates-20110502.ebuild | 72 -------------- |
20 |
.../ca-certificates-20111025.ebuild | 100 ------------------- |
21 |
.../ca-certificates-20120212.ebuild | 100 ------------------- |
22 |
.../ca-certificates-20120623.ebuild | 100 ------------------- |
23 |
.../ca-certificates-20121114.ebuild | 100 ------------------- |
24 |
.../ca-certificates-20130119.ebuild | 98 ------------------- |
25 |
.../ca-certificates-20130610.ebuild | 97 ------------------- |
26 |
.../files/ca-certificates-20090709-root.patch | 107 --------------------- |
27 |
15 files changed, 1280 deletions(-) |
28 |
|
29 |
diff --git a/app-misc/ca-certificates/Manifest b/app-misc/ca-certificates/Manifest |
30 |
index a479f3e..a963113 100644 |
31 |
--- a/app-misc/ca-certificates/Manifest |
32 |
+++ b/app-misc/ca-certificates/Manifest |
33 |
@@ -1,13 +1,3 @@ |
34 |
-DIST ca-certificates_20090709_all.deb 154620 SHA256 de1e35997eb39c7ba5713f206aba034ff8ce8aa3aebebfc7eb1823de9968d767 SHA512 2237f03c6794f33e5dde2acc05c04447daf2b8a41fc4182297d971cf4bc1eb2ae1abdf21561fb8fdf9dad27465e63c17b8bd2060d3b270edcfdf22c5c5cb094d WHIRLPOOL 174facc0da0677baae403a0e9234692768d6a6342a1894116561a2c41878850cdc603c3556961641ba743fe347c436adef1d914060b23767549dd40041c4120c |
35 |
-DIST ca-certificates_20110421_all.deb 176778 SHA256 a60a9c0faf1847df4553ce13ffe337412b88dd1b9d502741ac1760204c0bdda3 SHA512 11c9ba3f483cd17ca964f19e6ec394a2239fd74187f57224d7b13d1c0bf5dc55bb6c66217c1dd8273695ff92710617a897f7a40be6e4ec9960276f1bfe6b2bbb WHIRLPOOL 67dee5217526d5abec740f367fe28ce0f823d3c21b99fc988b73e75859e47beb00cb76e3d83572e704c3924e45bd9f6a7c818a1a1b2dd3bf7594864c9d9b2c5f |
36 |
-DIST ca-certificates_20110502+nmu1_all.deb 174242 SHA256 d44284ee9b733b9890a54516f66b68a382ac5fb2c0bdceafed4cf229aa3b05a1 SHA512 2ba33346689d21846632390ad55f2a6102a333cc32019a6e00d85c00970a6f744b4a4d548b68bf9b6369d0cfc2b06009db4b4be4ffafd3629bf05737fdc096d2 WHIRLPOOL 88ffbbc68e1299a2b3cc243e1b17160f9862c469279e8dca03841c45defb238c034c8d81abe811a3d32f9968d7754f6d8c64a697cbcba0c2eb4be9d513d527e9 |
37 |
-DIST ca-certificates_20110502_all.deb 175556 SHA256 fa14c729b48ed58f5c048b8721f09fded9824c1f450a656fb2cc396195935a98 SHA512 12b148987c292320e90b7124bf5d0194a3b7d8f1807b13b05461b18798e6a5346e205b065256d0bbdce7bf13d5db2b9c756b0f5a63a309d9164eff973179a363 WHIRLPOOL 79a8dd9c27f094dbe687d61f41d39c26229a21d02713134c71dd0878927eefcbe325cf801b63caf4421a6c97dd21731dd49862e931cef7a5895734039ad877b2 |
38 |
-DIST ca-certificates_20111025_all.deb 185800 SHA256 7d743b307ab31138176d6da4fff1f4c7f6bd246b42698662894bfb1b74e55647 SHA512 4be682158891110d32e8f065af64c597da09476263fdebb860d08387c873e7839b106b6f9ad6be7acfb4e0eb568274e2196377b4e0bbb61aafaeaecaeef88284 WHIRLPOOL 78568cc1b4f21ef7ca747dd9c60d43a98b15da9236c76ce928d416ad0875bd5ec2a1096d7e0551fada838d6ffbfe30366080f698ea4a35ef4748b9833c1550f8 |
39 |
-DIST ca-certificates_20120212_all.deb 176812 SHA256 7e4277a0a5a0ac42c370a93f986839b4e3ff82646581caa8c5135ad0a41d01d7 SHA512 c22cb3b3472deb7819bae6518b136a5af27e4cb29610b12713908ce7effbe5e39f9f1856efd75d071d70016462e66b34d5800ab061a2b3a213e4f2969330f8f0 WHIRLPOOL 306cbafa408ddb0444d5cb547ff201ca5709527db0ca5f4798db751d8ef8df147ef8ffe382adda3cefadd110197104af9bc8e45a6276a2d7739d59ffccd498c5 |
40 |
-DIST ca-certificates_20120623_all.deb 183022 SHA256 41f719a63b8cace12a6cd69dce3fea9720c2702511205c2bab20c5d05528ede7 SHA512 970478971f545919e15f1af7e774043113fee725c7dba89bff27969814d60e1187219fb7f87e250261c54bc0cb03098b69748c33b625f5e5061df65c6bbe019a WHIRLPOOL 07b693dabae839bde3c31548e11d8cb8b0940de6aa1838eab3834ad3a5206f4a32a3cd7d134c9722ce244ac5ed21c5a222b74899972be9f5ae59876c4b61fc22 |
41 |
-DIST ca-certificates_20121114_all.deb 192630 SHA256 f6991820d1c6431a7db42e92efa51f4058e921bdcc491a906dc1309e9ba35286 SHA512 b2810d1b728c71189100352706fda17c6d87f53b5c6fc2dfb78be13fcfb5758ddd7f5a4bb69742c18241bd05809cbbe67b7a4c179e678b8cf46e277b54d77869 WHIRLPOOL a75ef6c7cbb12ab24070ef7cc016dbd03509dc1cee95634281210fc45bd4a620b5854a76349e060f46f1f0844d774a5f53aeac5c34f73e025b890364b70be1ee |
42 |
-DIST ca-certificates_20130119_all.deb 185428 SHA256 08f8e5a1fab74a365c284ed4e353b4f14596f5ef533fced6395ead81fb3a76f7 SHA512 b93621e578dfa5ea224b3528839ca250fd9470dc28b17dd82e8669d64a631cb62218f1c53ebdb165ea3fffcaa8717210132215b5407ea0185e76ac2a11c0d157 WHIRLPOOL 9cedaba913d90f9f10ce7c97bcd248400b17c4fc3016e2fc3fca81333094f33ce60997da49144763fe86d705c458a273fd1e279a0237a1e855ae8ffe6d1e4c51 |
43 |
-DIST ca-certificates_20130610_all.deb 184342 SHA256 ab20ee409012c980725a6392d71ac0464bb87edd1645221d0eb4ecb32c2e00bd SHA512 6f5f3523d4f70b1a5f2ec45ee36ae2bd706fc713edfdcddab4bafe27c42c2c169f87852abfc7e9daf4d597b633bfcaea08cb0a36ea3a88b770a45c62c134e248 WHIRLPOOL 7dd5e5a0dc0c8a3bc1556aefea5d5544183af68fce234899e56678fcdba4ac988c07f8a76a4f05e4861ed086cc3c1d1c15601d3372bbc4431c8d8e7bb54f1c4a |
44 |
DIST ca-certificates_20130906_all.deb 185064 SHA256 b2326834479192de2298c607bc020715c949cbd4dc5dd6be28a1b3f348eb9b76 SHA512 0410d11843e36fb488698a5ce7e1eda473b91d476c99d8e3bd006705167c9f2ac9a554e7fce1595f3717f1781a1390af345b3e7e4bc1e58c055e0a11321ececa WHIRLPOOL b9cf04b0e080752567a82c8fecffd033d10f19e41c0ecb1e676246947a34d1380002f9860539611dd79b04c47d19f6631a126c5887cff7ee52ff866b36c50109 |
45 |
DIST ca-certificates_20140223.tar.xz 274768 SHA256 815b7cd97200b0d76450bb3e7d9b65997ac494ab6467b17369f65b2ef94bcb0c SHA512 14855eba51f90ab062b53a0d1986889de9ad7db4cb52bd4d764872b7c90eaaee62920543a4670ab45329469f76365d1e902219397b660034689159f13b8668d8 WHIRLPOOL f841d9a5fa2d4b3d46d06a2de947108ccb8bf7f19c99979822e22f043624656e789ba0340657b21a15560fd6593efa4256efc9f317974bdca8088a3647836e49 |
46 |
DIST ca-certificates_20140223_all.deb 190226 SHA256 13cb11144a97d95a8be130e4bcdd6c9ffc3df269bb194699bcd21ca377e01df2 SHA512 003b6fd2301eee3ca2119781ee75a1b195f142678d4570b598c4b93847de23c4f659152f834db1f0c8866767324d02b27807260cf43f6ae16207538fa419aa31 WHIRLPOOL 179a0bcf341e7de07d02f6574850614ef221851379945db00018d25f485cee6c11915322ee370e72321d81464d7d6bb96401b41029b8f7215a68e46971671deb |
47 |
|
48 |
diff --git a/app-misc/ca-certificates/ca-certificates-20090709.ebuild b/app-misc/ca-certificates/ca-certificates-20090709.ebuild |
49 |
deleted file mode 100644 |
50 |
index b569795..0000000 |
51 |
--- a/app-misc/ca-certificates/ca-certificates-20090709.ebuild |
52 |
+++ /dev/null |
53 |
@@ -1,72 +0,0 @@ |
54 |
-# Copyright 1999-2009 Gentoo Foundation |
55 |
-# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Id$ |
57 |
- |
58 |
-inherit eutils |
59 |
- |
60 |
-DESCRIPTION="Common CA Certificates PEM files" |
61 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
62 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" |
63 |
- |
64 |
-LICENSE="MPL-1.1" |
65 |
-SLOT="0" |
66 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" |
67 |
-IUSE="" |
68 |
- |
69 |
-DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" |
70 |
-RDEPEND="${DEPEND} |
71 |
- dev-libs/openssl |
72 |
- sys-apps/debianutils" |
73 |
- |
74 |
-S=${WORKDIR} |
75 |
- |
76 |
-src_unpack() { |
77 |
- unpack ${A} |
78 |
- unpack ./data.tar.gz |
79 |
- rm -f control.tar.gz data.tar.gz debian-binary |
80 |
-} |
81 |
- |
82 |
-pkg_setup() { |
83 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
84 |
- # we need to tell users about it once manually first. |
85 |
- [[ -f /etc/env.d/98ca-certificates ]] \ |
86 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- cp -pPR * "${D}"/ || die "installing data failed" |
91 |
- |
92 |
- ( |
93 |
- echo "# Automatically generated by ${CAT}/${PF}" |
94 |
- echo "# $(date -u)" |
95 |
- echo "# Do not edit." |
96 |
- cd "${D}"/usr/share/ca-certificates |
97 |
- find . -name '*.crt' | sort | cut -b3- |
98 |
- ) > "${D}"/etc/ca-certificates.conf |
99 |
- |
100 |
- mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die |
101 |
- prepalldocs |
102 |
- |
103 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
104 |
- doenvd 98ca-certificates |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- if [ "${ROOT}" = "/" ] ; then |
109 |
- # However it's too overzealous when the user has custom certs in place. |
110 |
- # --fresh is to clean up dangling symlinks |
111 |
- update-ca-certificates |
112 |
- fi |
113 |
- |
114 |
- local badcerts=0 |
115 |
- for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do |
116 |
- ewarn "Broken symlink for a certificate at $c" |
117 |
- badcerts=1 |
118 |
- done |
119 |
- if [ $badcerts -eq 1 ]; then |
120 |
- ewarn "You MUST remove the above broken symlinks" |
121 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
122 |
- ewarn "To batch-remove them, run:" |
123 |
- ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" |
124 |
- fi |
125 |
-} |
126 |
|
127 |
diff --git a/app-misc/ca-certificates/ca-certificates-20110421.ebuild b/app-misc/ca-certificates/ca-certificates-20110421.ebuild |
128 |
deleted file mode 100644 |
129 |
index 1e074c0..0000000 |
130 |
--- a/app-misc/ca-certificates/ca-certificates-20110421.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,72 +0,0 @@ |
133 |
-# Copyright 1999-2011 Gentoo Foundation |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
-# $Id$ |
136 |
- |
137 |
-inherit eutils |
138 |
- |
139 |
-DESCRIPTION="Common CA Certificates PEM files" |
140 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
141 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" |
142 |
- |
143 |
-LICENSE="MPL-1.1" |
144 |
-SLOT="0" |
145 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
146 |
-IUSE="" |
147 |
- |
148 |
-DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" |
149 |
-RDEPEND="${DEPEND} |
150 |
- dev-libs/openssl |
151 |
- sys-apps/debianutils" |
152 |
- |
153 |
-S=${WORKDIR} |
154 |
- |
155 |
-src_unpack() { |
156 |
- unpack ${A} |
157 |
- unpack ./data.tar.gz |
158 |
- rm -f control.tar.gz data.tar.gz debian-binary |
159 |
-} |
160 |
- |
161 |
-pkg_setup() { |
162 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
163 |
- # we need to tell users about it once manually first. |
164 |
- [[ -f /etc/env.d/98ca-certificates ]] \ |
165 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
166 |
-} |
167 |
- |
168 |
-src_install() { |
169 |
- cp -pPR * "${D}"/ || die |
170 |
- |
171 |
- ( |
172 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
173 |
- echo "# $(date -u)" |
174 |
- echo "# Do not edit." |
175 |
- cd "${D}"/usr/share/ca-certificates |
176 |
- find . -name '*.crt' | sort | cut -b3- |
177 |
- ) > "${D}"/etc/ca-certificates.conf |
178 |
- |
179 |
- mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die |
180 |
- prepalldocs |
181 |
- |
182 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
183 |
- doenvd 98ca-certificates |
184 |
-} |
185 |
- |
186 |
-pkg_postinst() { |
187 |
- if [ "${ROOT}" = "/" ] ; then |
188 |
- # However it's too overzealous when the user has custom certs in place. |
189 |
- # --fresh is to clean up dangling symlinks |
190 |
- update-ca-certificates |
191 |
- fi |
192 |
- |
193 |
- local c badcerts=0 |
194 |
- for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do |
195 |
- ewarn "Broken symlink for a certificate at $c" |
196 |
- badcerts=1 |
197 |
- done |
198 |
- if [ $badcerts -eq 1 ]; then |
199 |
- ewarn "You MUST remove the above broken symlinks" |
200 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
201 |
- ewarn "To batch-remove them, run:" |
202 |
- ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" |
203 |
- fi |
204 |
-} |
205 |
|
206 |
diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild |
207 |
deleted file mode 100644 |
208 |
index a38aae8..0000000 |
209 |
--- a/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild |
210 |
+++ /dev/null |
211 |
@@ -1,72 +0,0 @@ |
212 |
-# Copyright 1999-2011 Gentoo Foundation |
213 |
-# Distributed under the terms of the GNU General Public License v2 |
214 |
-# $Id$ |
215 |
- |
216 |
-inherit eutils |
217 |
- |
218 |
-DESCRIPTION="Common CA Certificates PEM files" |
219 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
220 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" |
221 |
- |
222 |
-LICENSE="MPL-1.1" |
223 |
-SLOT="0" |
224 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" |
225 |
-IUSE="" |
226 |
- |
227 |
-DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" |
228 |
-RDEPEND="${DEPEND} |
229 |
- dev-libs/openssl |
230 |
- sys-apps/debianutils" |
231 |
- |
232 |
-S=${WORKDIR} |
233 |
- |
234 |
-src_unpack() { |
235 |
- unpack ${A} |
236 |
- unpack ./data.tar.gz |
237 |
- rm -f control.tar.gz data.tar.gz debian-binary |
238 |
-} |
239 |
- |
240 |
-pkg_setup() { |
241 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
242 |
- # we need to tell users about it once manually first. |
243 |
- [[ -f /etc/env.d/98ca-certificates ]] \ |
244 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
245 |
-} |
246 |
- |
247 |
-src_install() { |
248 |
- cp -pPR * "${D}"/ || die |
249 |
- |
250 |
- ( |
251 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
252 |
- echo "# $(date -u)" |
253 |
- echo "# Do not edit." |
254 |
- cd "${D}"/usr/share/ca-certificates |
255 |
- find . -name '*.crt' | sort | cut -b3- |
256 |
- ) > "${D}"/etc/ca-certificates.conf |
257 |
- |
258 |
- mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die |
259 |
- prepalldocs |
260 |
- |
261 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
262 |
- doenvd 98ca-certificates |
263 |
-} |
264 |
- |
265 |
-pkg_postinst() { |
266 |
- if [ "${ROOT}" = "/" ] ; then |
267 |
- # However it's too overzealous when the user has custom certs in place. |
268 |
- # --fresh is to clean up dangling symlinks |
269 |
- update-ca-certificates |
270 |
- fi |
271 |
- |
272 |
- local c badcerts=0 |
273 |
- for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do |
274 |
- ewarn "Broken symlink for a certificate at $c" |
275 |
- badcerts=1 |
276 |
- done |
277 |
- if [ $badcerts -eq 1 ]; then |
278 |
- ewarn "You MUST remove the above broken symlinks" |
279 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
280 |
- ewarn "To batch-remove them, run:" |
281 |
- ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" |
282 |
- fi |
283 |
-} |
284 |
|
285 |
diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild |
286 |
deleted file mode 100644 |
287 |
index deb91a9..0000000 |
288 |
--- a/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild |
289 |
+++ /dev/null |
290 |
@@ -1,87 +0,0 @@ |
291 |
-# Copyright 1999-2011 Gentoo Foundation |
292 |
-# Distributed under the terms of the GNU General Public License v2 |
293 |
-# $Id$ |
294 |
- |
295 |
-EAPI="3" |
296 |
- |
297 |
-inherit eutils |
298 |
- |
299 |
-DESCRIPTION="Common CA Certificates PEM files" |
300 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
301 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" |
302 |
- |
303 |
-LICENSE="MPL-1.1" |
304 |
-SLOT="0" |
305 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
306 |
-IUSE="" |
307 |
- |
308 |
-DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" |
309 |
-RDEPEND="${DEPEND} |
310 |
- dev-libs/openssl |
311 |
- sys-apps/debianutils |
312 |
- kernel_AIX? ( app-arch/deb2targz )" # platforms like AIX don't have a good ar |
313 |
- |
314 |
-S=${WORKDIR} |
315 |
- |
316 |
-pkg_setup() { |
317 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
318 |
- # we need to tell users about it once manually first. |
319 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
320 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
321 |
-} |
322 |
- |
323 |
-src_unpack() { |
324 |
- unpack ${A} |
325 |
- unpack ./data.tar.gz |
326 |
- rm -f control.tar.gz data.tar.gz debian-binary |
327 |
-} |
328 |
- |
329 |
-src_prepare() { |
330 |
- epatch "${FILESDIR}"/${PN}-20090709-root.patch |
331 |
-} |
332 |
- |
333 |
-src_compile() { |
334 |
- ( |
335 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
336 |
- echo "# $(date -u)" |
337 |
- echo "# Do not edit." |
338 |
- cd "${S}"/usr/share/ca-certificates |
339 |
- find * -name '*.crt' | LC_ALL=C sort |
340 |
- ) > "${S}"/etc/ca-certificates.conf |
341 |
- |
342 |
- sed -i "/^ROOT=""/s:=.*:='${EPREFIX}':" "${S}"/usr/sbin/update-ca-certificates || die |
343 |
- "${S}"/usr/sbin/update-ca-certificates --root "${S}" |
344 |
-} |
345 |
- |
346 |
-src_install() { |
347 |
- mkdir -p "${ED}" |
348 |
- cp -pPR * "${ED}"/ || die |
349 |
- |
350 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
351 |
- prepalldocs |
352 |
- |
353 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
354 |
- doenvd 98ca-certificates |
355 |
-} |
356 |
- |
357 |
-pkg_postinst() { |
358 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
359 |
- # if the user has local certs, we need to rebuild again |
360 |
- # to include their stuff in the db. |
361 |
- # However it's too overzealous when the user has custom certs in place. |
362 |
- # --fresh is to clean up dangling symlinks |
363 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
364 |
- fi |
365 |
- |
366 |
- local c badcerts=0 |
367 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
368 |
- ewarn "Broken symlink for a certificate at $c" |
369 |
- badcerts=1 |
370 |
- done |
371 |
- if [ $badcerts -eq 1 ]; then |
372 |
- ewarn "You MUST remove the above broken symlinks" |
373 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
374 |
- ewarn "To batch-remove them, run:" |
375 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
376 |
- fi |
377 |
-} |
378 |
|
379 |
diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild |
380 |
deleted file mode 100644 |
381 |
index 4e47b1e..0000000 |
382 |
--- a/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild |
383 |
+++ /dev/null |
384 |
@@ -1,95 +0,0 @@ |
385 |
-# Copyright 1999-2011 Gentoo Foundation |
386 |
-# Distributed under the terms of the GNU General Public License v2 |
387 |
-# $Id$ |
388 |
- |
389 |
-EAPI="3" |
390 |
- |
391 |
-inherit eutils |
392 |
- |
393 |
-DESCRIPTION="Common CA Certificates PEM files" |
394 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
395 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" |
396 |
- |
397 |
-LICENSE="MPL-1.1" |
398 |
-SLOT="0" |
399 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
400 |
-IUSE="" |
401 |
- |
402 |
-# platforms like AIX don't have a good ar |
403 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz )" |
404 |
-# openssl: we run `c_rehash` |
405 |
-# debianutils: we run `run-parts` |
406 |
-RDEPEND="${DEPEND} |
407 |
- dev-libs/openssl |
408 |
- sys-apps/debianutils" |
409 |
- |
410 |
-S=${WORKDIR} |
411 |
- |
412 |
-pkg_setup() { |
413 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
414 |
- # we need to tell users about it once manually first. |
415 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
416 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
417 |
-} |
418 |
- |
419 |
-src_unpack() { |
420 |
- if [[ -n ${EPREFIX} ]] ; then |
421 |
- # need to perform everything in the offset, #381937 |
422 |
- mkdir -p "./${EPREFIX}" |
423 |
- cd "./${EPREFIX}" || die |
424 |
- fi |
425 |
- unpack ${A} |
426 |
- unpack ./data.tar.gz |
427 |
- rm -f control.tar.gz data.tar.gz debian-binary |
428 |
-} |
429 |
- |
430 |
-src_prepare() { |
431 |
- cd "./${EPREFIX}" || die |
432 |
- epatch "${FILESDIR}"/${PN}-20090709-root.patch |
433 |
- sed -i -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
434 |
- usr/sbin/update-ca-certificates || die |
435 |
-} |
436 |
- |
437 |
-src_compile() { |
438 |
- ( |
439 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
440 |
- echo "# $(date -u)" |
441 |
- echo "# Do not edit." |
442 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
443 |
- find * -name '*.crt' | LC_ALL=C sort |
444 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
445 |
- |
446 |
- "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" |
447 |
-} |
448 |
- |
449 |
-src_install() { |
450 |
- cp -pPR * "${D}"/ || die |
451 |
- |
452 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
453 |
- prepalldocs |
454 |
- |
455 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
456 |
- doenvd 98ca-certificates |
457 |
-} |
458 |
- |
459 |
-pkg_postinst() { |
460 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
461 |
- # if the user has local certs, we need to rebuild again |
462 |
- # to include their stuff in the db. |
463 |
- # However it's too overzealous when the user has custom certs in place. |
464 |
- # --fresh is to clean up dangling symlinks |
465 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
466 |
- fi |
467 |
- |
468 |
- local c badcerts=0 |
469 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
470 |
- ewarn "Broken symlink for a certificate at $c" |
471 |
- badcerts=1 |
472 |
- done |
473 |
- if [ $badcerts -eq 1 ]; then |
474 |
- ewarn "You MUST remove the above broken symlinks" |
475 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
476 |
- ewarn "To batch-remove them, run:" |
477 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
478 |
- fi |
479 |
-} |
480 |
|
481 |
diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild |
482 |
deleted file mode 100644 |
483 |
index 3aaa519..0000000 |
484 |
--- a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild |
485 |
+++ /dev/null |
486 |
@@ -1,98 +0,0 @@ |
487 |
-# Copyright 1999-2011 Gentoo Foundation |
488 |
-# Distributed under the terms of the GNU General Public License v2 |
489 |
-# $Id$ |
490 |
- |
491 |
-EAPI="3" |
492 |
- |
493 |
-inherit eutils |
494 |
- |
495 |
-DESCRIPTION="Common CA Certificates PEM files" |
496 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
497 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" |
498 |
- |
499 |
-LICENSE="MPL-1.1" |
500 |
-SLOT="0" |
501 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
502 |
-IUSE="" |
503 |
- |
504 |
-# platforms like AIX don't have a good ar |
505 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz )" |
506 |
-# openssl: we run `c_rehash` |
507 |
-# debianutils: we run `run-parts` |
508 |
-RDEPEND="${DEPEND} |
509 |
- dev-libs/openssl |
510 |
- sys-apps/debianutils" |
511 |
- |
512 |
-S=${WORKDIR} |
513 |
- |
514 |
-pkg_setup() { |
515 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
516 |
- # we need to tell users about it once manually first. |
517 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
518 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
519 |
-} |
520 |
- |
521 |
-src_unpack() { |
522 |
- if [[ -n ${EPREFIX} ]] ; then |
523 |
- # need to perform everything in the offset, #381937 |
524 |
- mkdir -p "./${EPREFIX}" |
525 |
- cd "./${EPREFIX}" || die |
526 |
- fi |
527 |
- unpack ${A} |
528 |
- unpack ./data.tar.gz |
529 |
- rm -f control.tar.gz data.tar.gz debian-binary |
530 |
-} |
531 |
- |
532 |
-src_prepare() { |
533 |
- cd "./${EPREFIX}" || die |
534 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
535 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
536 |
- sed -i \ |
537 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
538 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
539 |
- usr/sbin/update-ca-certificates || die |
540 |
-} |
541 |
- |
542 |
-src_compile() { |
543 |
- ( |
544 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
545 |
- echo "# $(date -u)" |
546 |
- echo "# Do not edit." |
547 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
548 |
- find * -name '*.crt' | LC_ALL=C sort |
549 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
550 |
- |
551 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
552 |
-} |
553 |
- |
554 |
-src_install() { |
555 |
- cp -pPR * "${D}"/ || die |
556 |
- |
557 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
558 |
- prepalldocs |
559 |
- |
560 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
561 |
- doenvd 98ca-certificates |
562 |
-} |
563 |
- |
564 |
-pkg_postinst() { |
565 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
566 |
- # if the user has local certs, we need to rebuild again |
567 |
- # to include their stuff in the db. |
568 |
- # However it's too overzealous when the user has custom certs in place. |
569 |
- # --fresh is to clean up dangling symlinks |
570 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
571 |
- fi |
572 |
- |
573 |
- local c badcerts=0 |
574 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
575 |
- ewarn "Broken symlink for a certificate at $c" |
576 |
- badcerts=1 |
577 |
- done |
578 |
- if [ $badcerts -eq 1 ]; then |
579 |
- ewarn "You MUST remove the above broken symlinks" |
580 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
581 |
- ewarn "To batch-remove them, run:" |
582 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
583 |
- fi |
584 |
-} |
585 |
|
586 |
diff --git a/app-misc/ca-certificates/ca-certificates-20110502.ebuild b/app-misc/ca-certificates/ca-certificates-20110502.ebuild |
587 |
deleted file mode 100644 |
588 |
index 1e074c0..0000000 |
589 |
--- a/app-misc/ca-certificates/ca-certificates-20110502.ebuild |
590 |
+++ /dev/null |
591 |
@@ -1,72 +0,0 @@ |
592 |
-# Copyright 1999-2011 Gentoo Foundation |
593 |
-# Distributed under the terms of the GNU General Public License v2 |
594 |
-# $Id$ |
595 |
- |
596 |
-inherit eutils |
597 |
- |
598 |
-DESCRIPTION="Common CA Certificates PEM files" |
599 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
600 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" |
601 |
- |
602 |
-LICENSE="MPL-1.1" |
603 |
-SLOT="0" |
604 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
605 |
-IUSE="" |
606 |
- |
607 |
-DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" |
608 |
-RDEPEND="${DEPEND} |
609 |
- dev-libs/openssl |
610 |
- sys-apps/debianutils" |
611 |
- |
612 |
-S=${WORKDIR} |
613 |
- |
614 |
-src_unpack() { |
615 |
- unpack ${A} |
616 |
- unpack ./data.tar.gz |
617 |
- rm -f control.tar.gz data.tar.gz debian-binary |
618 |
-} |
619 |
- |
620 |
-pkg_setup() { |
621 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
622 |
- # we need to tell users about it once manually first. |
623 |
- [[ -f /etc/env.d/98ca-certificates ]] \ |
624 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
625 |
-} |
626 |
- |
627 |
-src_install() { |
628 |
- cp -pPR * "${D}"/ || die |
629 |
- |
630 |
- ( |
631 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
632 |
- echo "# $(date -u)" |
633 |
- echo "# Do not edit." |
634 |
- cd "${D}"/usr/share/ca-certificates |
635 |
- find . -name '*.crt' | sort | cut -b3- |
636 |
- ) > "${D}"/etc/ca-certificates.conf |
637 |
- |
638 |
- mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die |
639 |
- prepalldocs |
640 |
- |
641 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
642 |
- doenvd 98ca-certificates |
643 |
-} |
644 |
- |
645 |
-pkg_postinst() { |
646 |
- if [ "${ROOT}" = "/" ] ; then |
647 |
- # However it's too overzealous when the user has custom certs in place. |
648 |
- # --fresh is to clean up dangling symlinks |
649 |
- update-ca-certificates |
650 |
- fi |
651 |
- |
652 |
- local c badcerts=0 |
653 |
- for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do |
654 |
- ewarn "Broken symlink for a certificate at $c" |
655 |
- badcerts=1 |
656 |
- done |
657 |
- if [ $badcerts -eq 1 ]; then |
658 |
- ewarn "You MUST remove the above broken symlinks" |
659 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
660 |
- ewarn "To batch-remove them, run:" |
661 |
- ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" |
662 |
- fi |
663 |
-} |
664 |
|
665 |
diff --git a/app-misc/ca-certificates/ca-certificates-20111025.ebuild b/app-misc/ca-certificates/ca-certificates-20111025.ebuild |
666 |
deleted file mode 100644 |
667 |
index 6934f8c..0000000 |
668 |
--- a/app-misc/ca-certificates/ca-certificates-20111025.ebuild |
669 |
+++ /dev/null |
670 |
@@ -1,100 +0,0 @@ |
671 |
-# Copyright 1999-2012 Gentoo Foundation |
672 |
-# Distributed under the terms of the GNU General Public License v2 |
673 |
-# $Id$ |
674 |
- |
675 |
-EAPI="3" |
676 |
- |
677 |
-inherit eutils |
678 |
- |
679 |
-DESCRIPTION="Common CA Certificates PEM files" |
680 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
681 |
-#NMU_PR="1" |
682 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" |
683 |
- |
684 |
-LICENSE="MPL-1.1" |
685 |
-SLOT="0" |
686 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
687 |
-IUSE="" |
688 |
- |
689 |
-# platforms like AIX don't have a good ar |
690 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz ) |
691 |
- !<sys-apps/portage-2.1.10.41" |
692 |
-# openssl: we run `c_rehash` |
693 |
-# debianutils: we run `run-parts` |
694 |
-RDEPEND="${DEPEND} |
695 |
- dev-libs/openssl |
696 |
- sys-apps/debianutils" |
697 |
- |
698 |
-S=${WORKDIR} |
699 |
- |
700 |
-pkg_setup() { |
701 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
702 |
- # we need to tell users about it once manually first. |
703 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
704 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
705 |
-} |
706 |
- |
707 |
-src_unpack() { |
708 |
- if [[ -n ${EPREFIX} ]] ; then |
709 |
- # need to perform everything in the offset, #381937 |
710 |
- mkdir -p "./${EPREFIX}" |
711 |
- cd "./${EPREFIX}" || die |
712 |
- fi |
713 |
- unpack ${A} |
714 |
- unpack ./data.tar.gz |
715 |
- rm -f control.tar.gz data.tar.gz debian-binary |
716 |
-} |
717 |
- |
718 |
-src_prepare() { |
719 |
- cd "./${EPREFIX}" || die |
720 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
721 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
722 |
- sed -i \ |
723 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
724 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
725 |
- usr/sbin/update-ca-certificates || die |
726 |
-} |
727 |
- |
728 |
-src_compile() { |
729 |
- ( |
730 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
731 |
- echo "# $(date -u)" |
732 |
- echo "# Do not edit." |
733 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
734 |
- find * -name '*.crt' | LC_ALL=C sort |
735 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
736 |
- |
737 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
738 |
-} |
739 |
- |
740 |
-src_install() { |
741 |
- cp -pPR * "${D}"/ || die |
742 |
- |
743 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
744 |
- prepalldocs |
745 |
- |
746 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
747 |
- doenvd 98ca-certificates |
748 |
-} |
749 |
- |
750 |
-pkg_postinst() { |
751 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
752 |
- # if the user has local certs, we need to rebuild again |
753 |
- # to include their stuff in the db. |
754 |
- # However it's too overzealous when the user has custom certs in place. |
755 |
- # --fresh is to clean up dangling symlinks |
756 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
757 |
- fi |
758 |
- |
759 |
- local c badcerts=0 |
760 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
761 |
- ewarn "Broken symlink for a certificate at $c" |
762 |
- badcerts=1 |
763 |
- done |
764 |
- if [ $badcerts -eq 1 ]; then |
765 |
- ewarn "You MUST remove the above broken symlinks" |
766 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
767 |
- ewarn "To batch-remove them, run:" |
768 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
769 |
- fi |
770 |
-} |
771 |
|
772 |
diff --git a/app-misc/ca-certificates/ca-certificates-20120212.ebuild b/app-misc/ca-certificates/ca-certificates-20120212.ebuild |
773 |
deleted file mode 100644 |
774 |
index 9b55707..0000000 |
775 |
--- a/app-misc/ca-certificates/ca-certificates-20120212.ebuild |
776 |
+++ /dev/null |
777 |
@@ -1,100 +0,0 @@ |
778 |
-# Copyright 1999-2012 Gentoo Foundation |
779 |
-# Distributed under the terms of the GNU General Public License v2 |
780 |
-# $Id$ |
781 |
- |
782 |
-EAPI="3" |
783 |
- |
784 |
-inherit eutils |
785 |
- |
786 |
-DESCRIPTION="Common CA Certificates PEM files" |
787 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
788 |
-#NMU_PR="1" |
789 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" |
790 |
- |
791 |
-LICENSE="MPL-1.1" |
792 |
-SLOT="0" |
793 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
794 |
-IUSE="" |
795 |
- |
796 |
-# platforms like AIX don't have a good ar |
797 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz ) |
798 |
- !<sys-apps/portage-2.1.10.41" |
799 |
-# openssl: we run `c_rehash` |
800 |
-# debianutils: we run `run-parts` |
801 |
-RDEPEND="${DEPEND} |
802 |
- dev-libs/openssl |
803 |
- sys-apps/debianutils" |
804 |
- |
805 |
-S=${WORKDIR} |
806 |
- |
807 |
-pkg_setup() { |
808 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
809 |
- # we need to tell users about it once manually first. |
810 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
811 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
812 |
-} |
813 |
- |
814 |
-src_unpack() { |
815 |
- if [[ -n ${EPREFIX} ]] ; then |
816 |
- # need to perform everything in the offset, #381937 |
817 |
- mkdir -p "./${EPREFIX}" |
818 |
- cd "./${EPREFIX}" || die |
819 |
- fi |
820 |
- unpack ${A} |
821 |
- unpack ./data.tar.gz |
822 |
- rm -f control.tar.gz data.tar.gz debian-binary |
823 |
-} |
824 |
- |
825 |
-src_prepare() { |
826 |
- cd "./${EPREFIX}" || die |
827 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
828 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
829 |
- sed -i \ |
830 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
831 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
832 |
- usr/sbin/update-ca-certificates || die |
833 |
-} |
834 |
- |
835 |
-src_compile() { |
836 |
- ( |
837 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
838 |
- echo "# $(date -u)" |
839 |
- echo "# Do not edit." |
840 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
841 |
- find * -name '*.crt' | LC_ALL=C sort |
842 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
843 |
- |
844 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
845 |
-} |
846 |
- |
847 |
-src_install() { |
848 |
- cp -pPR * "${D}"/ || die |
849 |
- |
850 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
851 |
- prepalldocs |
852 |
- |
853 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
854 |
- doenvd 98ca-certificates |
855 |
-} |
856 |
- |
857 |
-pkg_postinst() { |
858 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
859 |
- # if the user has local certs, we need to rebuild again |
860 |
- # to include their stuff in the db. |
861 |
- # However it's too overzealous when the user has custom certs in place. |
862 |
- # --fresh is to clean up dangling symlinks |
863 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
864 |
- fi |
865 |
- |
866 |
- local c badcerts=0 |
867 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
868 |
- ewarn "Broken symlink for a certificate at $c" |
869 |
- badcerts=1 |
870 |
- done |
871 |
- if [ $badcerts -eq 1 ]; then |
872 |
- ewarn "You MUST remove the above broken symlinks" |
873 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
874 |
- ewarn "To batch-remove them, run:" |
875 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
876 |
- fi |
877 |
-} |
878 |
|
879 |
diff --git a/app-misc/ca-certificates/ca-certificates-20120623.ebuild b/app-misc/ca-certificates/ca-certificates-20120623.ebuild |
880 |
deleted file mode 100644 |
881 |
index 9b55707..0000000 |
882 |
--- a/app-misc/ca-certificates/ca-certificates-20120623.ebuild |
883 |
+++ /dev/null |
884 |
@@ -1,100 +0,0 @@ |
885 |
-# Copyright 1999-2012 Gentoo Foundation |
886 |
-# Distributed under the terms of the GNU General Public License v2 |
887 |
-# $Id$ |
888 |
- |
889 |
-EAPI="3" |
890 |
- |
891 |
-inherit eutils |
892 |
- |
893 |
-DESCRIPTION="Common CA Certificates PEM files" |
894 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
895 |
-#NMU_PR="1" |
896 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" |
897 |
- |
898 |
-LICENSE="MPL-1.1" |
899 |
-SLOT="0" |
900 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
901 |
-IUSE="" |
902 |
- |
903 |
-# platforms like AIX don't have a good ar |
904 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz ) |
905 |
- !<sys-apps/portage-2.1.10.41" |
906 |
-# openssl: we run `c_rehash` |
907 |
-# debianutils: we run `run-parts` |
908 |
-RDEPEND="${DEPEND} |
909 |
- dev-libs/openssl |
910 |
- sys-apps/debianutils" |
911 |
- |
912 |
-S=${WORKDIR} |
913 |
- |
914 |
-pkg_setup() { |
915 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
916 |
- # we need to tell users about it once manually first. |
917 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
918 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
919 |
-} |
920 |
- |
921 |
-src_unpack() { |
922 |
- if [[ -n ${EPREFIX} ]] ; then |
923 |
- # need to perform everything in the offset, #381937 |
924 |
- mkdir -p "./${EPREFIX}" |
925 |
- cd "./${EPREFIX}" || die |
926 |
- fi |
927 |
- unpack ${A} |
928 |
- unpack ./data.tar.gz |
929 |
- rm -f control.tar.gz data.tar.gz debian-binary |
930 |
-} |
931 |
- |
932 |
-src_prepare() { |
933 |
- cd "./${EPREFIX}" || die |
934 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
935 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
936 |
- sed -i \ |
937 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
938 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
939 |
- usr/sbin/update-ca-certificates || die |
940 |
-} |
941 |
- |
942 |
-src_compile() { |
943 |
- ( |
944 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
945 |
- echo "# $(date -u)" |
946 |
- echo "# Do not edit." |
947 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
948 |
- find * -name '*.crt' | LC_ALL=C sort |
949 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
950 |
- |
951 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
952 |
-} |
953 |
- |
954 |
-src_install() { |
955 |
- cp -pPR * "${D}"/ || die |
956 |
- |
957 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
958 |
- prepalldocs |
959 |
- |
960 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
961 |
- doenvd 98ca-certificates |
962 |
-} |
963 |
- |
964 |
-pkg_postinst() { |
965 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
966 |
- # if the user has local certs, we need to rebuild again |
967 |
- # to include their stuff in the db. |
968 |
- # However it's too overzealous when the user has custom certs in place. |
969 |
- # --fresh is to clean up dangling symlinks |
970 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
971 |
- fi |
972 |
- |
973 |
- local c badcerts=0 |
974 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
975 |
- ewarn "Broken symlink for a certificate at $c" |
976 |
- badcerts=1 |
977 |
- done |
978 |
- if [ $badcerts -eq 1 ]; then |
979 |
- ewarn "You MUST remove the above broken symlinks" |
980 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
981 |
- ewarn "To batch-remove them, run:" |
982 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
983 |
- fi |
984 |
-} |
985 |
|
986 |
diff --git a/app-misc/ca-certificates/ca-certificates-20121114.ebuild b/app-misc/ca-certificates/ca-certificates-20121114.ebuild |
987 |
deleted file mode 100644 |
988 |
index 6c0e2c4..0000000 |
989 |
--- a/app-misc/ca-certificates/ca-certificates-20121114.ebuild |
990 |
+++ /dev/null |
991 |
@@ -1,100 +0,0 @@ |
992 |
-# Copyright 1999-2013 Gentoo Foundation |
993 |
-# Distributed under the terms of the GNU General Public License v2 |
994 |
-# $Id$ |
995 |
- |
996 |
-EAPI="3" |
997 |
- |
998 |
-inherit eutils |
999 |
- |
1000 |
-DESCRIPTION="Common CA Certificates PEM files" |
1001 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
1002 |
-#NMU_PR="1" |
1003 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" |
1004 |
- |
1005 |
-LICENSE="MPL-1.1" |
1006 |
-SLOT="0" |
1007 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
1008 |
-IUSE="" |
1009 |
- |
1010 |
-# platforms like AIX don't have a good ar |
1011 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz ) |
1012 |
- !<sys-apps/portage-2.1.10.41" |
1013 |
-# openssl: we run `c_rehash` |
1014 |
-# debianutils: we run `run-parts` |
1015 |
-RDEPEND="${DEPEND} |
1016 |
- dev-libs/openssl |
1017 |
- sys-apps/debianutils" |
1018 |
- |
1019 |
-S=${WORKDIR} |
1020 |
- |
1021 |
-pkg_setup() { |
1022 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
1023 |
- # we need to tell users about it once manually first. |
1024 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
1025 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
1026 |
-} |
1027 |
- |
1028 |
-src_unpack() { |
1029 |
- if [[ -n ${EPREFIX} ]] ; then |
1030 |
- # need to perform everything in the offset, #381937 |
1031 |
- mkdir -p "./${EPREFIX}" |
1032 |
- cd "./${EPREFIX}" || die |
1033 |
- fi |
1034 |
- unpack ${A} |
1035 |
- unpack ./data.tar.gz |
1036 |
- rm -f control.tar.gz data.tar.gz debian-binary |
1037 |
-} |
1038 |
- |
1039 |
-src_prepare() { |
1040 |
- cd "./${EPREFIX}" || die |
1041 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
1042 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
1043 |
- sed -i \ |
1044 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
1045 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
1046 |
- usr/sbin/update-ca-certificates || die |
1047 |
-} |
1048 |
- |
1049 |
-src_compile() { |
1050 |
- ( |
1051 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
1052 |
- echo "# $(date -u)" |
1053 |
- echo "# Do not edit." |
1054 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
1055 |
- find * -name '*.crt' | LC_ALL=C sort |
1056 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
1057 |
- |
1058 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
1059 |
-} |
1060 |
- |
1061 |
-src_install() { |
1062 |
- cp -pPR * "${D}"/ || die |
1063 |
- |
1064 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
1065 |
- prepalldocs |
1066 |
- |
1067 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
1068 |
- doenvd 98ca-certificates |
1069 |
-} |
1070 |
- |
1071 |
-pkg_postinst() { |
1072 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
1073 |
- # if the user has local certs, we need to rebuild again |
1074 |
- # to include their stuff in the db. |
1075 |
- # However it's too overzealous when the user has custom certs in place. |
1076 |
- # --fresh is to clean up dangling symlinks |
1077 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
1078 |
- fi |
1079 |
- |
1080 |
- local c badcerts=0 |
1081 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
1082 |
- ewarn "Broken symlink for a certificate at $c" |
1083 |
- badcerts=1 |
1084 |
- done |
1085 |
- if [ $badcerts -eq 1 ]; then |
1086 |
- ewarn "You MUST remove the above broken symlinks" |
1087 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
1088 |
- ewarn "To batch-remove them, run:" |
1089 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
1090 |
- fi |
1091 |
-} |
1092 |
|
1093 |
diff --git a/app-misc/ca-certificates/ca-certificates-20130119.ebuild b/app-misc/ca-certificates/ca-certificates-20130119.ebuild |
1094 |
deleted file mode 100644 |
1095 |
index 8e6e4f1..0000000 |
1096 |
--- a/app-misc/ca-certificates/ca-certificates-20130119.ebuild |
1097 |
+++ /dev/null |
1098 |
@@ -1,98 +0,0 @@ |
1099 |
-# Copyright 1999-2014 Gentoo Foundation |
1100 |
-# Distributed under the terms of the GNU General Public License v2 |
1101 |
-# $Id$ |
1102 |
- |
1103 |
-EAPI="3" |
1104 |
- |
1105 |
-inherit eutils unpacker |
1106 |
- |
1107 |
-DESCRIPTION="Common CA Certificates PEM files" |
1108 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
1109 |
-#NMU_PR="1" |
1110 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" |
1111 |
- |
1112 |
-LICENSE="MPL-1.1" |
1113 |
-SLOT="0" |
1114 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
1115 |
-IUSE="" |
1116 |
- |
1117 |
-# platforms like AIX don't have a good ar |
1118 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz ) |
1119 |
- !<sys-apps/portage-2.1.10.41" |
1120 |
-# openssl: we run `c_rehash` |
1121 |
-# debianutils: we run `run-parts` |
1122 |
-RDEPEND="${DEPEND} |
1123 |
- dev-libs/openssl |
1124 |
- sys-apps/debianutils" |
1125 |
- |
1126 |
-S=${WORKDIR} |
1127 |
- |
1128 |
-pkg_setup() { |
1129 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
1130 |
- # we need to tell users about it once manually first. |
1131 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
1132 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
1133 |
-} |
1134 |
- |
1135 |
-src_unpack() { |
1136 |
- if [[ -n ${EPREFIX} ]] ; then |
1137 |
- # need to perform everything in the offset, #381937 |
1138 |
- mkdir -p "./${EPREFIX}" |
1139 |
- cd "./${EPREFIX}" || die |
1140 |
- fi |
1141 |
- unpack_deb ${A} |
1142 |
-} |
1143 |
- |
1144 |
-src_prepare() { |
1145 |
- cd "./${EPREFIX}" || die |
1146 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
1147 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
1148 |
- sed -i \ |
1149 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
1150 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
1151 |
- usr/sbin/update-ca-certificates || die |
1152 |
-} |
1153 |
- |
1154 |
-src_compile() { |
1155 |
- ( |
1156 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
1157 |
- echo "# $(date -u)" |
1158 |
- echo "# Do not edit." |
1159 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
1160 |
- find * -name '*.crt' | LC_ALL=C sort |
1161 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
1162 |
- |
1163 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
1164 |
-} |
1165 |
- |
1166 |
-src_install() { |
1167 |
- cp -pPR . "${D}"/ || die |
1168 |
- |
1169 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
1170 |
- prepalldocs |
1171 |
- |
1172 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
1173 |
- doenvd 98ca-certificates |
1174 |
-} |
1175 |
- |
1176 |
-pkg_postinst() { |
1177 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
1178 |
- # if the user has local certs, we need to rebuild again |
1179 |
- # to include their stuff in the db. |
1180 |
- # However it's too overzealous when the user has custom certs in place. |
1181 |
- # --fresh is to clean up dangling symlinks |
1182 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
1183 |
- fi |
1184 |
- |
1185 |
- local c badcerts=0 |
1186 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
1187 |
- ewarn "Broken symlink for a certificate at $c" |
1188 |
- badcerts=1 |
1189 |
- done |
1190 |
- if [ $badcerts -eq 1 ]; then |
1191 |
- ewarn "You MUST remove the above broken symlinks" |
1192 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
1193 |
- ewarn "To batch-remove them, run:" |
1194 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
1195 |
- fi |
1196 |
-} |
1197 |
|
1198 |
diff --git a/app-misc/ca-certificates/ca-certificates-20130610.ebuild b/app-misc/ca-certificates/ca-certificates-20130610.ebuild |
1199 |
deleted file mode 100644 |
1200 |
index 8142937..0000000 |
1201 |
--- a/app-misc/ca-certificates/ca-certificates-20130610.ebuild |
1202 |
+++ /dev/null |
1203 |
@@ -1,97 +0,0 @@ |
1204 |
-# Copyright 1999-2014 Gentoo Foundation |
1205 |
-# Distributed under the terms of the GNU General Public License v2 |
1206 |
-# $Id$ |
1207 |
- |
1208 |
-EAPI="4" |
1209 |
- |
1210 |
-inherit eutils unpacker |
1211 |
- |
1212 |
-DESCRIPTION="Common CA Certificates PEM files" |
1213 |
-HOMEPAGE="http://packages.debian.org/sid/ca-certificates" |
1214 |
-#NMU_PR="1" |
1215 |
-SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" |
1216 |
- |
1217 |
-LICENSE="MPL-1.1" |
1218 |
-SLOT="0" |
1219 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
1220 |
-IUSE="" |
1221 |
- |
1222 |
-# platforms like AIX don't have a good ar |
1223 |
-DEPEND="kernel_AIX? ( app-arch/deb2targz ) |
1224 |
- !<sys-apps/portage-2.1.10.41" |
1225 |
-# openssl: we run `c_rehash` |
1226 |
-# debianutils: we run `run-parts` |
1227 |
-RDEPEND="${DEPEND} |
1228 |
- dev-libs/openssl |
1229 |
- sys-apps/debianutils" |
1230 |
- |
1231 |
-S=${WORKDIR} |
1232 |
- |
1233 |
-pkg_setup() { |
1234 |
- # For the conversion to having it in CONFIG_PROTECT_MASK, |
1235 |
- # we need to tell users about it once manually first. |
1236 |
- [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ |
1237 |
- || ewarn "You should run update-ca-certificates manually after etc-update" |
1238 |
-} |
1239 |
- |
1240 |
-src_unpack() { |
1241 |
- if [[ -n ${EPREFIX} ]] ; then |
1242 |
- # need to perform everything in the offset, #381937 |
1243 |
- mkdir -p "./${EPREFIX}" |
1244 |
- cd "./${EPREFIX}" || die |
1245 |
- fi |
1246 |
- unpack_deb ${A} |
1247 |
-} |
1248 |
- |
1249 |
-src_prepare() { |
1250 |
- cd "./${EPREFIX}" || die |
1251 |
- epatch "${FILESDIR}"/${PN}-20110502-root.patch |
1252 |
- local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') |
1253 |
- sed -i \ |
1254 |
- -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ |
1255 |
- -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ |
1256 |
- usr/sbin/update-ca-certificates || die |
1257 |
-} |
1258 |
- |
1259 |
-src_compile() { |
1260 |
- ( |
1261 |
- echo "# Automatically generated by ${CATEGORY}/${PF}" |
1262 |
- echo "# $(date -u)" |
1263 |
- echo "# Do not edit." |
1264 |
- cd "${S}${EPREFIX}"/usr/share/ca-certificates |
1265 |
- find * -name '*.crt' | LC_ALL=C sort |
1266 |
- ) > "${S}${EPREFIX}"/etc/ca-certificates.conf |
1267 |
- |
1268 |
- sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die |
1269 |
-} |
1270 |
- |
1271 |
-src_install() { |
1272 |
- cp -pPR . "${D}"/ || die |
1273 |
- |
1274 |
- mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die |
1275 |
- |
1276 |
- echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates |
1277 |
- doenvd 98ca-certificates |
1278 |
-} |
1279 |
- |
1280 |
-pkg_postinst() { |
1281 |
- if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then |
1282 |
- # if the user has local certs, we need to rebuild again |
1283 |
- # to include their stuff in the db. |
1284 |
- # However it's too overzealous when the user has custom certs in place. |
1285 |
- # --fresh is to clean up dangling symlinks |
1286 |
- "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" |
1287 |
- fi |
1288 |
- |
1289 |
- local c badcerts=0 |
1290 |
- for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do |
1291 |
- ewarn "Broken symlink for a certificate at $c" |
1292 |
- badcerts=1 |
1293 |
- done |
1294 |
- if [ $badcerts -eq 1 ]; then |
1295 |
- ewarn "You MUST remove the above broken symlinks" |
1296 |
- ewarn "Otherwise any SSL validation that use the directory may fail!" |
1297 |
- ewarn "To batch-remove them, run:" |
1298 |
- ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" |
1299 |
- fi |
1300 |
-} |
1301 |
|
1302 |
diff --git a/app-misc/ca-certificates/files/ca-certificates-20090709-root.patch b/app-misc/ca-certificates/files/ca-certificates-20090709-root.patch |
1303 |
deleted file mode 100644 |
1304 |
index 72a4ba1..0000000 |
1305 |
--- a/app-misc/ca-certificates/files/ca-certificates-20090709-root.patch |
1306 |
+++ /dev/null |
1307 |
@@ -1,107 +0,0 @@ |
1308 |
---- a/usr/sbin/update-ca-certificates |
1309 |
-+++ b/usr/sbin/update-ca-certificates |
1310 |
-@@ -23,6 +23,7 @@ |
1311 |
- |
1312 |
- verbose=0 |
1313 |
- fresh=0 |
1314 |
-+ROOT="" |
1315 |
- while [ $# -gt 0 ]; |
1316 |
- do |
1317 |
- case $1 in |
1318 |
-@@ -30,6 +31,9 @@ |
1319 |
- verbose=1;; |
1320 |
- --fresh|-f) |
1321 |
- fresh=1;; |
1322 |
-+ --root|-r) |
1323 |
-+ ROOT=$(readlink -f "$2") |
1324 |
-+ shift;; |
1325 |
- --help|-h|*) |
1326 |
-- echo "$0: [--verbose] [--fresh]" |
1327 |
-+ echo "$0: [--verbose] [--fresh] [--root <dir>]" |
1328 |
- exit;; |
1329 |
-@@ -37,11 +41,11 @@ |
1330 |
- shift |
1331 |
- done |
1332 |
- |
1333 |
--CERTSCONF=/etc/ca-certificates.conf |
1334 |
--CERTSDIR=/usr/share/ca-certificates |
1335 |
--LOCALCERTSDIR=/usr/local/share/ca-certificates |
1336 |
-+CERTSCONF="$ROOT/etc/ca-certificates.conf" |
1337 |
-+CERTSDIR="$ROOT/usr/share/ca-certificates" |
1338 |
-+LOCALCERTSDIR="$ROOT/usr/local/share/ca-certificates" |
1339 |
- CERTBUNDLE=ca-certificates.crt |
1340 |
--ETCCERTSDIR=/etc/ssl/certs |
1341 |
-+ETCCERTSDIR="$ROOT/etc/ssl/certs" |
1342 |
- |
1343 |
- cleanup() { |
1344 |
- rm -f "$TEMPBUNDLE" |
1345 |
-@@ -66,7 +70,7 @@ |
1346 |
- -e 's/,/_/g').pem" |
1347 |
- if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ] |
1348 |
- then |
1349 |
-- ln -sf "$CERT" "$PEM" |
1350 |
-+ ln -sf "${CERT#$ROOT}" "$PEM" |
1351 |
- echo +$PEM >> "$ADDED" |
1352 |
- fi |
1353 |
- cat "$CERT" >> "$TEMPBUNDLE" |
1354 |
-@@ -78,22 +82,22 @@ |
1355 |
- if test -L "$PEM" |
1356 |
- then |
1357 |
- rm -f "$PEM" |
1358 |
-- echo -$PEM >> "$REMOVED" |
1359 |
-+ echo "-$PEM" >> "$REMOVED" |
1360 |
- fi |
1361 |
- } |
1362 |
- |
1363 |
--cd $ETCCERTSDIR |
1364 |
-+cd "$ETCCERTSDIR" |
1365 |
- if [ "$fresh" = 1 ]; then |
1366 |
- echo -n "Clearing symlinks in $ETCCERTSDIR..." |
1367 |
- find . -type l -print | while read symlink |
1368 |
- do |
1369 |
-- case $(readlink $symlink) in |
1370 |
-- $CERTSDIR*) rm -f $symlink;; |
1371 |
-+ case $(readlink "$symlink") in |
1372 |
-+ "$CERTSDIR"*) rm -f "$symlink";; |
1373 |
- esac |
1374 |
- done |
1375 |
- find . -type l -print | while read symlink |
1376 |
- do |
1377 |
-- test -f $symlink || rm -f $symlink |
1378 |
-+ test -f "$symlink" || rm -f "$symlink" |
1379 |
- done |
1380 |
- echo "done." |
1381 |
- fi |
1382 |
-@@ -102,12 +106,12 @@ |
1383 |
- |
1384 |
- # Handle certificates that should be removed. This is an explicit act |
1385 |
- # by prefixing lines in the configuration files with exclamation marks (!). |
1386 |
--sed -n -e '/^$/d' -e 's/^!//p' $CERTSCONF | while read crt |
1387 |
-+sed -n -e '/^$/d' -e 's/^!//p' "$CERTSCONF" | while read crt |
1388 |
- do |
1389 |
- remove "$CERTSDIR/$crt" |
1390 |
- done |
1391 |
- |
1392 |
--sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt |
1393 |
-+sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt |
1394 |
- do |
1395 |
- if ! test -f "$CERTSDIR/$crt" |
1396 |
- then |
1397 |
-@@ -146,14 +150,14 @@ |
1398 |
- |
1399 |
- echo "$ADDED_CNT added, $REMOVED_CNT removed; done." |
1400 |
- |
1401 |
--HOOKSDIR=/etc/ca-certificates/update.d |
1402 |
-+HOOKSDIR="$ROOT/etc/ca-certificates/update.d" |
1403 |
- echo -n "Running hooks in $HOOKSDIR...." |
1404 |
- VERBOSE_ARG= |
1405 |
- [ "$verbose" = 0 ] || VERBOSE_ARG=--verbose |
1406 |
--eval run-parts $VERBOSE_ARG --test -- $HOOKSDIR | while read hook |
1407 |
-+eval run-parts $VERBOSE_ARG --test -- \""$HOOKSDIR"\" | while read hook |
1408 |
- do |
1409 |
- ( cat $ADDED |
1410 |
-- cat $REMOVED ) | $hook || echo E: $hook exited with code $?. |
1411 |
-+ cat $REMOVED ) | "$hook" || echo E: "$hook" exited with code $?. |
1412 |
- done |
1413 |
- echo "done." |
1414 |
- |