1 |
commit: e1e1aa06401efde27f5fe55eed6cf7cbb7f168f2 |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 11:40:26 2015 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 23 11:43:39 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e1aa06 |
7 |
|
8 |
app-crypt/mit-krb5: remove vulnerable versions |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
|
12 |
app-crypt/mit-krb5/mit-krb5-1.13.2-r1.ebuild | 154 --------------------------- |
13 |
app-crypt/mit-krb5/mit-krb5-1.13.2.ebuild | 151 -------------------------- |
14 |
2 files changed, 305 deletions(-) |
15 |
|
16 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.13.2-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.13.2-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3b425e7..0000000 |
19 |
--- a/app-crypt/mit-krb5/mit-krb5-1.13.2-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,154 +0,0 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-PYTHON_COMPAT=( python2_7 ) |
29 |
- |
30 |
-inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
31 |
- |
32 |
-MY_P="${P/mit-}" |
33 |
-P_DIR=$(get_version_component_range 1-2) |
34 |
-DESCRIPTION="MIT Kerberos V" |
35 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
36 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar" |
37 |
- |
38 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
41 |
-IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd" |
42 |
- |
43 |
-CDEPEND=" |
44 |
- !!app-crypt/heimdal |
45 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
46 |
- || ( |
47 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
48 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
49 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
50 |
- ) |
51 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
52 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
53 |
- pkinit? ( |
54 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
55 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
56 |
- ) |
57 |
- xinetd? ( sys-apps/xinetd ) |
58 |
- abi_x86_32? ( |
59 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
60 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
61 |
- )" |
62 |
-DEPEND="${CDEPEND} |
63 |
- ${PYTHON_DEPS} |
64 |
- virtual/yacc |
65 |
- doc? ( virtual/latex-base ) |
66 |
- test? ( |
67 |
- ${PYTHON_DEPS} |
68 |
- dev-lang/tcl:0 |
69 |
- dev-util/dejagnu |
70 |
- )" |
71 |
-RDEPEND="${CDEPEND} |
72 |
- selinux? ( sec-policy/selinux-kerberos )" |
73 |
- |
74 |
-S=${WORKDIR}/${MY_P}/src |
75 |
- |
76 |
-MULTILIB_CHOST_TOOLS=( |
77 |
- /usr/bin/krb5-config |
78 |
-) |
79 |
- |
80 |
-src_unpack() { |
81 |
- unpack ${A} |
82 |
- unpack ./"${MY_P}".tar.gz |
83 |
-} |
84 |
- |
85 |
-src_prepare() { |
86 |
- epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
87 |
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
88 |
- |
89 |
- eautoreconf |
90 |
-} |
91 |
- |
92 |
-src_configure() { |
93 |
- append-cppflags "-I${EPREFIX}/usr/include/et" |
94 |
- # QA |
95 |
- append-flags -fno-strict-aliasing |
96 |
- append-flags -fno-strict-overflow |
97 |
- |
98 |
- multilib-minimal_src_configure |
99 |
-} |
100 |
- |
101 |
-multilib_src_configure() { |
102 |
- use keyutils || export ac_cv_header_keyutils_h=no |
103 |
- ECONF_SOURCE=${S} \ |
104 |
- WARN_CFLAGS="set" \ |
105 |
- econf \ |
106 |
- $(use_with openldap ldap) \ |
107 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
108 |
- $(use_enable pkinit) \ |
109 |
- $(use_enable threads thread-support) \ |
110 |
- --without-hesiod \ |
111 |
- --enable-shared \ |
112 |
- --with-system-et \ |
113 |
- --with-system-ss \ |
114 |
- --enable-dns-for-realm \ |
115 |
- --enable-kdc-lookaside-cache \ |
116 |
- --with-system-verto \ |
117 |
- --disable-rpath |
118 |
-} |
119 |
- |
120 |
-multilib_src_compile() { |
121 |
- emake -j1 |
122 |
-} |
123 |
- |
124 |
-multilib_src_test() { |
125 |
- multilib_is_native_abi && emake -j1 check |
126 |
-} |
127 |
- |
128 |
-multilib_src_install() { |
129 |
- emake \ |
130 |
- DESTDIR="${D}" \ |
131 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
132 |
- install |
133 |
-} |
134 |
- |
135 |
-multilib_src_install_all() { |
136 |
- # default database dir |
137 |
- keepdir /var/lib/krb5kdc |
138 |
- |
139 |
- cd .. |
140 |
- dodoc README |
141 |
- |
142 |
- if use doc; then |
143 |
- dohtml -r doc/html/* |
144 |
- docinto pdf |
145 |
- dodoc doc/pdf/*.pdf |
146 |
- fi |
147 |
- |
148 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind |
149 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc |
150 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd |
151 |
- |
152 |
- insinto /etc |
153 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
154 |
- insinto /var/lib/krb5kdc |
155 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
156 |
- |
157 |
- if use openldap ; then |
158 |
- insinto /etc/openldap/schema |
159 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
160 |
- fi |
161 |
- |
162 |
- if use xinetd ; then |
163 |
- insinto /etc/xinetd.d |
164 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
165 |
- fi |
166 |
-} |
167 |
- |
168 |
-pkg_preinst() { |
169 |
- if has_version "<${CATEGORY}/${PN}-1.8.0" ; then |
170 |
- elog "MIT split the Kerberos applications from the base Kerberos" |
171 |
- elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp," |
172 |
- elog "ftp clients and telnet, ftp deamons now live in" |
173 |
- elog "\"app-crypt/mit-krb5-appl\" package." |
174 |
- fi |
175 |
-} |
176 |
|
177 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.13.2.ebuild b/app-crypt/mit-krb5/mit-krb5-1.13.2.ebuild |
178 |
deleted file mode 100644 |
179 |
index bf128e0..0000000 |
180 |
--- a/app-crypt/mit-krb5/mit-krb5-1.13.2.ebuild |
181 |
+++ /dev/null |
182 |
@@ -1,151 +0,0 @@ |
183 |
-# Copyright 1999-2015 Gentoo Foundation |
184 |
-# Distributed under the terms of the GNU General Public License v2 |
185 |
-# $Id$ |
186 |
- |
187 |
-EAPI=5 |
188 |
- |
189 |
-PYTHON_COMPAT=( python2_7 ) |
190 |
- |
191 |
-inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
192 |
- |
193 |
-MY_P="${P/mit-}" |
194 |
-P_DIR=$(get_version_component_range 1-2) |
195 |
-DESCRIPTION="MIT Kerberos V" |
196 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
197 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar" |
198 |
- |
199 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
200 |
-SLOT="0" |
201 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" |
202 |
-IUSE="doc +keyutils openldap +pkinit selinux +threads test xinetd" |
203 |
- |
204 |
-CDEPEND=" |
205 |
- !!app-crypt/heimdal |
206 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
207 |
- || ( |
208 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
209 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
210 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
211 |
- ) |
212 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
213 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
214 |
- pkinit? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) |
215 |
- xinetd? ( sys-apps/xinetd ) |
216 |
- abi_x86_32? ( |
217 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
218 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
219 |
- )" |
220 |
-DEPEND="${CDEPEND} |
221 |
- ${PYTHON_DEPS} |
222 |
- virtual/yacc |
223 |
- doc? ( virtual/latex-base ) |
224 |
- test? ( |
225 |
- ${PYTHON_DEPS} |
226 |
- dev-lang/tcl:0 |
227 |
- dev-util/dejagnu |
228 |
- )" |
229 |
-RDEPEND="${CDEPEND} |
230 |
- selinux? ( sec-policy/selinux-kerberos )" |
231 |
- |
232 |
-S=${WORKDIR}/${MY_P}/src |
233 |
- |
234 |
-MULTILIB_CHOST_TOOLS=( |
235 |
- /usr/bin/krb5-config |
236 |
-) |
237 |
- |
238 |
-src_unpack() { |
239 |
- unpack ${A} |
240 |
- unpack ./"${MY_P}".tar.gz |
241 |
-} |
242 |
- |
243 |
-src_prepare() { |
244 |
- epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
245 |
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
246 |
- |
247 |
- eautoreconf |
248 |
-} |
249 |
- |
250 |
-src_configure() { |
251 |
- append-cppflags "-I${EPREFIX}/usr/include/et" |
252 |
- # QA |
253 |
- append-flags -fno-strict-aliasing |
254 |
- append-flags -fno-strict-overflow |
255 |
- |
256 |
- multilib-minimal_src_configure |
257 |
-} |
258 |
- |
259 |
-multilib_src_configure() { |
260 |
- use keyutils || export ac_cv_header_keyutils_h=no |
261 |
- ECONF_SOURCE=${S} \ |
262 |
- WARN_CFLAGS="set" \ |
263 |
- econf \ |
264 |
- $(use_with openldap ldap) \ |
265 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
266 |
- $(use_enable pkinit) \ |
267 |
- $(use_enable threads thread-support) \ |
268 |
- --without-hesiod \ |
269 |
- --enable-shared \ |
270 |
- --with-system-et \ |
271 |
- --with-system-ss \ |
272 |
- --enable-dns-for-realm \ |
273 |
- --enable-kdc-lookaside-cache \ |
274 |
- --with-system-verto \ |
275 |
- --disable-rpath |
276 |
-} |
277 |
- |
278 |
-multilib_src_compile() { |
279 |
- emake -j1 |
280 |
-} |
281 |
- |
282 |
-multilib_src_test() { |
283 |
- multilib_is_native_abi && emake -j1 check |
284 |
-} |
285 |
- |
286 |
-multilib_src_install() { |
287 |
- emake \ |
288 |
- DESTDIR="${D}" \ |
289 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
290 |
- install |
291 |
-} |
292 |
- |
293 |
-multilib_src_install_all() { |
294 |
- # default database dir |
295 |
- keepdir /var/lib/krb5kdc |
296 |
- |
297 |
- cd .. |
298 |
- dodoc README |
299 |
- |
300 |
- if use doc; then |
301 |
- dohtml -r doc/html/* |
302 |
- docinto pdf |
303 |
- dodoc doc/pdf/*.pdf |
304 |
- fi |
305 |
- |
306 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind |
307 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc |
308 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd |
309 |
- |
310 |
- insinto /etc |
311 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
312 |
- insinto /var/lib/krb5kdc |
313 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
314 |
- |
315 |
- if use openldap ; then |
316 |
- insinto /etc/openldap/schema |
317 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
318 |
- fi |
319 |
- |
320 |
- if use xinetd ; then |
321 |
- insinto /etc/xinetd.d |
322 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
323 |
- fi |
324 |
-} |
325 |
- |
326 |
-pkg_preinst() { |
327 |
- if has_version "<${CATEGORY}/${PN}-1.8.0" ; then |
328 |
- elog "MIT split the Kerberos applications from the base Kerberos" |
329 |
- elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp," |
330 |
- elog "ftp clients and telnet, ftp deamons now live in" |
331 |
- elog "\"app-crypt/mit-krb5-appl\" package." |
332 |
- fi |
333 |
-} |