1 |
commit: abce8fab626bee09457c653889090cb2d59853ea |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 20 08:07:48 2017 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 20 08:07:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abce8fab |
7 |
|
8 |
app-crypt/mit-krb5: remove vulnerable versions |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
app-crypt/mit-krb5/Manifest | 6 -- |
13 |
app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild | 150 ------------------------------ |
14 |
app-crypt/mit-krb5/mit-krb5-1.14.3.ebuild | 141 ---------------------------- |
15 |
app-crypt/mit-krb5/mit-krb5-1.14.4.ebuild | 147 ----------------------------- |
16 |
app-crypt/mit-krb5/mit-krb5-1.14.5.ebuild | 147 ----------------------------- |
17 |
app-crypt/mit-krb5/mit-krb5-1.15.1.ebuild | 148 ----------------------------- |
18 |
app-crypt/mit-krb5/mit-krb5-1.15.ebuild | 148 ----------------------------- |
19 |
7 files changed, 887 deletions(-) |
20 |
|
21 |
diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest |
22 |
index 41cf988ac48..576d260c76b 100644 |
23 |
--- a/app-crypt/mit-krb5/Manifest |
24 |
+++ b/app-crypt/mit-krb5/Manifest |
25 |
@@ -1,7 +1 @@ |
26 |
-DIST krb5-1.14.2.tar.gz 12264762 SHA256 6bcad7e6778d1965e4ce4af21d2efdc15b274c5ce5c69031c58e4c954cda8b27 SHA512 8e0d8203740aac78b65a62c0f79998b56dae23725763f645ae13a92dc4263d193e7334f84e278ca873d2b72d425f47cd4b68b58690d029dccce41e8a157b16f0 WHIRLPOOL 18a3729f5bfb928318f5cc28c919cbc49ee9179199ee82445922a5f2e8afbf4ed5a31f7e710877f8c12ef75f326723e7410608ce538983ce1b811e16091d72a1 |
27 |
-DIST krb5-1.14.3.tar.gz 12279888 SHA256 cd4620d520cf0df0dd8791309912df2bb20fcba76790b9fba4e25c1da08ff2c9 SHA512 97f42bb7e0f69e337b949b451bf925f604e7ef9336c32bd4d62224a8c4a37e631f5a6fc01016bbdf268bbb60fa58712e244e00a1ab5a8bceede6a676482235aa WHIRLPOOL 30803fbd74f90c1b0e16783d36b7a648f4bf2fd8391f722589cdcbea28a7e826789fd7da3ed984f4555b18e72aa7f4e3096299f0edc7a9165c98eb078f5efe07 |
28 |
-DIST krb5-1.14.4.tar.gz 12283989 SHA256 03a61a4280c9161771fb39019085dbe6a57aa602080515ff93b43cd6137e0b95 SHA512 5eb16b909d69143bfa8b2a7ba4c0deb74408462a5ec1241e97f37e30d29e259767be91a4533119e2c5e92d1fcbcab97038b2e45ad3361b5a61c3dc562c6d0d67 WHIRLPOOL 9a4ed044fd96fef4875ba9d281a94b5ee9d393e9f2c92c3bc65600fb447928358918389aef2d1f371e4726213b9497d63719b981a819cdacf791eb1385f5b850 |
29 |
-DIST krb5-1.14.5.tar.gz 12322802 SHA256 262485c15af1208b69b55bef39cd246a892b5f41adf1956055ba52884a4dc7bf SHA512 2484f9581b5e0b99cc49ba7f8770ea3a8751e756c98cc552d92ca223575eac58f6f1a9c268254ead4435d2d49b50ccf3181eb7bdbd56874c43f91bcfc2a66d3b WHIRLPOOL 638c046cf257cdb0f5b940681790ab779f103b4488413979ac3072b3117f251710a284910dbcb8806d965c3a97ea2f62965050de0e07356208b23786cebfde08 |
30 |
-DIST krb5-1.15.1.tar.gz 9375538 SHA256 437c8831ddd5fde2a993fef425dedb48468109bb3d3261ef838295045a89eb45 SHA512 068b4c012722d8c232049d2a617f7ee28ceeaba6be94a78439e69e37b66cfdc49085641e42cfb03b2fbb72d21517b537e437061ec4dd2bf864f31e55e05fe918 WHIRLPOOL 1415295882eccbaf550d05d4b5bcae77c3c6fde1f5354b2ffac09f73148f22a223c38d73d80eb4c0e3b7e9fd528891645e114713e11a5eaa14520cdbe6b097c6 |
31 |
DIST krb5-1.15.2.tar.gz 9380755 SHA256 1639e392edf25e3b6cfec2ae68f97eb53e07c2dbe74bfeede0108465d5d1c87e SHA512 e5814bb66384b13637c37918df694c6b9933c29c2d952da0ed0dcd2e623b269060b4c16b6c02162039dadebdab99ff1085e37e7621ae4748dafb036424e612c2 WHIRLPOOL 5b798a677cef9b32ef9320fab142f33cd1f420264cd29299a15834955a0f323001fc9fc5054eb41ef23bd33709ce47aad6436f8c54ee9e6e8c85327db6f0adeb |
32 |
-DIST krb5-1.15.tar.gz 9327157 SHA256 fd34752774c808ab4f6f864f935c49945f5a56b62240b1ad4ab1af7b4ded127c SHA512 e71008ac3055a511ecbe6adfb9b328f0a01b33e8a73276d75b80d5db783f7bde63987c855584fb6075a6f5c88135d9871f51b2469e34ac8ee3d89b9add22d8f1 WHIRLPOOL 77572929805f2db35b46e6cf5d83058376025c7a924c1f5034ffaa18c209ecd9078c9ff5142f7848f76e6d586db8ec4c985dba32bbbe27d439c3cd8288ef59e8 |
33 |
|
34 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild b/app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild |
35 |
deleted file mode 100644 |
36 |
index 4cc21167281..00000000000 |
37 |
--- a/app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,150 +0,0 @@ |
40 |
-# Copyright 1999-2016 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=5 |
44 |
- |
45 |
-PYTHON_COMPAT=( python2_7 ) |
46 |
-inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
47 |
- |
48 |
-MY_P="${P/mit-}" |
49 |
-P_DIR=$(get_version_component_range 1-2) |
50 |
-DESCRIPTION="MIT Kerberos V" |
51 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
52 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" |
53 |
- |
54 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" |
57 |
-IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd" |
58 |
- |
59 |
-CDEPEND=" |
60 |
- !!app-crypt/heimdal |
61 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
62 |
- || ( |
63 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
64 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
65 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
66 |
- ) |
67 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
68 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
69 |
- pkinit? ( |
70 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
71 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
72 |
- ) |
73 |
- xinetd? ( sys-apps/xinetd ) |
74 |
- abi_x86_32? ( |
75 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
76 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
77 |
- )" |
78 |
-DEPEND="${CDEPEND} |
79 |
- ${PYTHON_DEPS} |
80 |
- virtual/yacc |
81 |
- doc? ( virtual/latex-base ) |
82 |
- test? ( |
83 |
- ${PYTHON_DEPS} |
84 |
- dev-lang/tcl:0 |
85 |
- dev-util/dejagnu |
86 |
- )" |
87 |
-RDEPEND="${CDEPEND} |
88 |
- selinux? ( sec-policy/selinux-kerberos )" |
89 |
- |
90 |
-S=${WORKDIR}/${MY_P}/src |
91 |
- |
92 |
-MULTILIB_CHOST_TOOLS=( |
93 |
- /usr/bin/krb5-config |
94 |
-) |
95 |
- |
96 |
-src_prepare() { |
97 |
- epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
98 |
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
99 |
- epatch "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch" |
100 |
- |
101 |
- eautoreconf |
102 |
-} |
103 |
- |
104 |
-src_configure() { |
105 |
- # QA |
106 |
- append-flags -fno-strict-aliasing |
107 |
- append-flags -fno-strict-overflow |
108 |
- |
109 |
- multilib-minimal_src_configure |
110 |
-} |
111 |
- |
112 |
-multilib_src_configure() { |
113 |
- use keyutils || export ac_cv_header_keyutils_h=no |
114 |
- ECONF_SOURCE=${S} \ |
115 |
- WARN_CFLAGS="set" \ |
116 |
- econf \ |
117 |
- $(use_with openldap ldap) \ |
118 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
119 |
- $(use_enable pkinit) \ |
120 |
- $(use_enable threads thread-support) \ |
121 |
- --without-hesiod \ |
122 |
- --enable-shared \ |
123 |
- --with-system-et \ |
124 |
- --with-system-ss \ |
125 |
- --enable-dns-for-realm \ |
126 |
- --enable-kdc-lookaside-cache \ |
127 |
- --with-system-verto \ |
128 |
- --disable-rpath |
129 |
-} |
130 |
- |
131 |
-multilib_src_compile() { |
132 |
- emake -j1 |
133 |
-} |
134 |
- |
135 |
-multilib_src_test() { |
136 |
- multilib_is_native_abi && emake -j1 check |
137 |
-} |
138 |
- |
139 |
-multilib_src_install() { |
140 |
- emake \ |
141 |
- DESTDIR="${D}" \ |
142 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
143 |
- install |
144 |
-} |
145 |
- |
146 |
-multilib_src_install_all() { |
147 |
- # default database dir |
148 |
- keepdir /var/lib/krb5kdc |
149 |
- |
150 |
- cd .. |
151 |
- dodoc README |
152 |
- |
153 |
- if use doc; then |
154 |
- dohtml -r doc/html/* |
155 |
- docinto pdf |
156 |
- dodoc doc/pdf/*.pdf |
157 |
- fi |
158 |
- |
159 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind |
160 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc |
161 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd |
162 |
- newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind |
163 |
- newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
164 |
- newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd |
165 |
- |
166 |
- insinto /etc |
167 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
168 |
- insinto /var/lib/krb5kdc |
169 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
170 |
- |
171 |
- if use openldap ; then |
172 |
- insinto /etc/openldap/schema |
173 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
174 |
- fi |
175 |
- |
176 |
- if use xinetd ; then |
177 |
- insinto /etc/xinetd.d |
178 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
179 |
- fi |
180 |
-} |
181 |
- |
182 |
-pkg_preinst() { |
183 |
- if has_version "<${CATEGORY}/${PN}-1.8.0" ; then |
184 |
- elog "MIT split the Kerberos applications from the base Kerberos" |
185 |
- elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp," |
186 |
- elog "ftp clients and telnet, ftp deamons now live in" |
187 |
- elog "\"app-crypt/mit-krb5-appl\" package." |
188 |
- fi |
189 |
-} |
190 |
|
191 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.14.3.ebuild b/app-crypt/mit-krb5/mit-krb5-1.14.3.ebuild |
192 |
deleted file mode 100644 |
193 |
index 05e7ee3e071..00000000000 |
194 |
--- a/app-crypt/mit-krb5/mit-krb5-1.14.3.ebuild |
195 |
+++ /dev/null |
196 |
@@ -1,141 +0,0 @@ |
197 |
-# Copyright 1999-2016 Gentoo Foundation |
198 |
-# Distributed under the terms of the GNU General Public License v2 |
199 |
- |
200 |
-EAPI=5 |
201 |
- |
202 |
-PYTHON_COMPAT=( python2_7 ) |
203 |
-inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
204 |
- |
205 |
-MY_P="${P/mit-}" |
206 |
-P_DIR=$(get_version_component_range 1-2) |
207 |
-DESCRIPTION="MIT Kerberos V" |
208 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
209 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" |
210 |
- |
211 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
212 |
-SLOT="0" |
213 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
214 |
-IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd" |
215 |
- |
216 |
-CDEPEND=" |
217 |
- !!app-crypt/heimdal |
218 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
219 |
- || ( |
220 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
221 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
222 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
223 |
- ) |
224 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
225 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
226 |
- pkinit? ( |
227 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
228 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
229 |
- ) |
230 |
- xinetd? ( sys-apps/xinetd ) |
231 |
- abi_x86_32? ( |
232 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
233 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
234 |
- )" |
235 |
-DEPEND="${CDEPEND} |
236 |
- ${PYTHON_DEPS} |
237 |
- virtual/yacc |
238 |
- doc? ( virtual/latex-base ) |
239 |
- test? ( |
240 |
- ${PYTHON_DEPS} |
241 |
- dev-lang/tcl:0 |
242 |
- dev-util/dejagnu |
243 |
- )" |
244 |
-RDEPEND="${CDEPEND} |
245 |
- selinux? ( sec-policy/selinux-kerberos )" |
246 |
- |
247 |
-S=${WORKDIR}/${MY_P}/src |
248 |
- |
249 |
-MULTILIB_CHOST_TOOLS=( |
250 |
- /usr/bin/krb5-config |
251 |
-) |
252 |
- |
253 |
-src_prepare() { |
254 |
- epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
255 |
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
256 |
- epatch "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch" |
257 |
- |
258 |
- eautoreconf |
259 |
-} |
260 |
- |
261 |
-src_configure() { |
262 |
- # QA |
263 |
- append-flags -fno-strict-aliasing |
264 |
- append-flags -fno-strict-overflow |
265 |
- |
266 |
- multilib-minimal_src_configure |
267 |
-} |
268 |
- |
269 |
-multilib_src_configure() { |
270 |
- use keyutils || export ac_cv_header_keyutils_h=no |
271 |
- ECONF_SOURCE=${S} \ |
272 |
- WARN_CFLAGS="set" \ |
273 |
- econf \ |
274 |
- $(use_with openldap ldap) \ |
275 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
276 |
- $(use_enable pkinit) \ |
277 |
- $(use_enable threads thread-support) \ |
278 |
- --without-hesiod \ |
279 |
- --enable-shared \ |
280 |
- --with-system-et \ |
281 |
- --with-system-ss \ |
282 |
- --enable-dns-for-realm \ |
283 |
- --enable-kdc-lookaside-cache \ |
284 |
- --with-system-verto \ |
285 |
- --disable-rpath |
286 |
-} |
287 |
- |
288 |
-multilib_src_compile() { |
289 |
- emake -j1 |
290 |
-} |
291 |
- |
292 |
-multilib_src_test() { |
293 |
- multilib_is_native_abi && emake -j1 check |
294 |
-} |
295 |
- |
296 |
-multilib_src_install() { |
297 |
- emake \ |
298 |
- DESTDIR="${D}" \ |
299 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
300 |
- install |
301 |
-} |
302 |
- |
303 |
-multilib_src_install_all() { |
304 |
- # default database dir |
305 |
- keepdir /var/lib/krb5kdc |
306 |
- |
307 |
- cd .. |
308 |
- dodoc README |
309 |
- |
310 |
- if use doc; then |
311 |
- dohtml -r doc/html/* |
312 |
- docinto pdf |
313 |
- dodoc doc/pdf/*.pdf |
314 |
- fi |
315 |
- |
316 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind |
317 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc |
318 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd |
319 |
- newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind |
320 |
- newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
321 |
- newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd |
322 |
- |
323 |
- insinto /etc |
324 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
325 |
- insinto /var/lib/krb5kdc |
326 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
327 |
- |
328 |
- if use openldap ; then |
329 |
- insinto /etc/openldap/schema |
330 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
331 |
- fi |
332 |
- |
333 |
- if use xinetd ; then |
334 |
- insinto /etc/xinetd.d |
335 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
336 |
- fi |
337 |
-} |
338 |
|
339 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.14.4.ebuild b/app-crypt/mit-krb5/mit-krb5-1.14.4.ebuild |
340 |
deleted file mode 100644 |
341 |
index 1c5115ab62c..00000000000 |
342 |
--- a/app-crypt/mit-krb5/mit-krb5-1.14.4.ebuild |
343 |
+++ /dev/null |
344 |
@@ -1,147 +0,0 @@ |
345 |
-# Copyright 1999-2016 Gentoo Foundation |
346 |
-# Distributed under the terms of the GNU General Public License v2 |
347 |
- |
348 |
-EAPI=5 |
349 |
- |
350 |
-PYTHON_COMPAT=( python2_7 ) |
351 |
-inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
352 |
- |
353 |
-MY_P="${P/mit-}" |
354 |
-P_DIR=$(get_version_component_range 1-2) |
355 |
-DESCRIPTION="MIT Kerberos V" |
356 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
357 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" |
358 |
- |
359 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
360 |
-SLOT="0" |
361 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
362 |
-IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd" |
363 |
- |
364 |
-CDEPEND=" |
365 |
- !!app-crypt/heimdal |
366 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
367 |
- || ( |
368 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
369 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
370 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
371 |
- ) |
372 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
373 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
374 |
- pkinit? ( |
375 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
376 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
377 |
- ) |
378 |
- xinetd? ( sys-apps/xinetd ) |
379 |
- abi_x86_32? ( |
380 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
381 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
382 |
- )" |
383 |
-DEPEND="${CDEPEND} |
384 |
- ${PYTHON_DEPS} |
385 |
- virtual/yacc |
386 |
- doc? ( virtual/latex-base ) |
387 |
- test? ( |
388 |
- ${PYTHON_DEPS} |
389 |
- dev-lang/tcl:0 |
390 |
- dev-util/dejagnu |
391 |
- )" |
392 |
-RDEPEND="${CDEPEND} |
393 |
- selinux? ( sec-policy/selinux-kerberos )" |
394 |
- |
395 |
-S=${WORKDIR}/${MY_P}/src |
396 |
- |
397 |
-MULTILIB_CHOST_TOOLS=( |
398 |
- /usr/bin/krb5-config |
399 |
-) |
400 |
- |
401 |
-src_prepare() { |
402 |
- epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
403 |
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
404 |
- epatch "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch" |
405 |
- epatch "${FILESDIR}/${PN}-1.14.4-disable-nls.patch" |
406 |
- |
407 |
- # Make sure we always use the system copies. |
408 |
- rm -rf util/{et,ss,verto} |
409 |
- sed -i 's:^[[:space:]]*util/verto$::' configure.in || die |
410 |
- |
411 |
- eautoreconf |
412 |
-} |
413 |
- |
414 |
-src_configure() { |
415 |
- # QA |
416 |
- append-flags -fno-strict-aliasing |
417 |
- append-flags -fno-strict-overflow |
418 |
- |
419 |
- multilib-minimal_src_configure |
420 |
-} |
421 |
- |
422 |
-multilib_src_configure() { |
423 |
- use keyutils || export ac_cv_header_keyutils_h=no |
424 |
- ECONF_SOURCE=${S} \ |
425 |
- WARN_CFLAGS="set" \ |
426 |
- econf \ |
427 |
- $(use_with openldap ldap) \ |
428 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
429 |
- $(use_enable nls) \ |
430 |
- $(use_enable pkinit) \ |
431 |
- $(use_enable threads thread-support) \ |
432 |
- --without-hesiod \ |
433 |
- --enable-shared \ |
434 |
- --with-system-et \ |
435 |
- --with-system-ss \ |
436 |
- --enable-dns-for-realm \ |
437 |
- --enable-kdc-lookaside-cache \ |
438 |
- --with-system-verto \ |
439 |
- --disable-rpath |
440 |
-} |
441 |
- |
442 |
-multilib_src_compile() { |
443 |
- emake -j1 |
444 |
-} |
445 |
- |
446 |
-multilib_src_test() { |
447 |
- multilib_is_native_abi && emake -j1 check |
448 |
-} |
449 |
- |
450 |
-multilib_src_install() { |
451 |
- emake \ |
452 |
- DESTDIR="${D}" \ |
453 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
454 |
- install |
455 |
-} |
456 |
- |
457 |
-multilib_src_install_all() { |
458 |
- # default database dir |
459 |
- keepdir /var/lib/krb5kdc |
460 |
- |
461 |
- cd .. |
462 |
- dodoc README |
463 |
- |
464 |
- if use doc; then |
465 |
- dohtml -r doc/html/* |
466 |
- docinto pdf |
467 |
- dodoc doc/pdf/*.pdf |
468 |
- fi |
469 |
- |
470 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind |
471 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc |
472 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd |
473 |
- newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind |
474 |
- newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
475 |
- newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd |
476 |
- |
477 |
- insinto /etc |
478 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
479 |
- insinto /var/lib/krb5kdc |
480 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
481 |
- |
482 |
- if use openldap ; then |
483 |
- insinto /etc/openldap/schema |
484 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
485 |
- fi |
486 |
- |
487 |
- if use xinetd ; then |
488 |
- insinto /etc/xinetd.d |
489 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
490 |
- fi |
491 |
-} |
492 |
|
493 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.14.5.ebuild b/app-crypt/mit-krb5/mit-krb5-1.14.5.ebuild |
494 |
deleted file mode 100644 |
495 |
index c4ebe7f83b2..00000000000 |
496 |
--- a/app-crypt/mit-krb5/mit-krb5-1.14.5.ebuild |
497 |
+++ /dev/null |
498 |
@@ -1,147 +0,0 @@ |
499 |
-# Copyright 1999-2017 Gentoo Foundation |
500 |
-# Distributed under the terms of the GNU General Public License v2 |
501 |
- |
502 |
-EAPI=5 |
503 |
- |
504 |
-PYTHON_COMPAT=( python2_7 ) |
505 |
-inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
506 |
- |
507 |
-MY_P="${P/mit-}" |
508 |
-P_DIR=$(get_version_component_range 1-2) |
509 |
-DESCRIPTION="MIT Kerberos V" |
510 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
511 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" |
512 |
- |
513 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
514 |
-SLOT="0" |
515 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
516 |
-IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd" |
517 |
- |
518 |
-CDEPEND=" |
519 |
- !!app-crypt/heimdal |
520 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
521 |
- || ( |
522 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
523 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
524 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
525 |
- ) |
526 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
527 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
528 |
- pkinit? ( |
529 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
530 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
531 |
- ) |
532 |
- xinetd? ( sys-apps/xinetd ) |
533 |
- abi_x86_32? ( |
534 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
535 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
536 |
- )" |
537 |
-DEPEND="${CDEPEND} |
538 |
- ${PYTHON_DEPS} |
539 |
- virtual/yacc |
540 |
- doc? ( virtual/latex-base ) |
541 |
- test? ( |
542 |
- ${PYTHON_DEPS} |
543 |
- dev-lang/tcl:0 |
544 |
- dev-util/dejagnu |
545 |
- )" |
546 |
-RDEPEND="${CDEPEND} |
547 |
- selinux? ( sec-policy/selinux-kerberos )" |
548 |
- |
549 |
-S=${WORKDIR}/${MY_P}/src |
550 |
- |
551 |
-MULTILIB_CHOST_TOOLS=( |
552 |
- /usr/bin/krb5-config |
553 |
-) |
554 |
- |
555 |
-src_prepare() { |
556 |
- epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
557 |
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
558 |
- epatch "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch" |
559 |
- epatch "${FILESDIR}/${PN}-1.14.4-disable-nls.patch" |
560 |
- |
561 |
- # Make sure we always use the system copies. |
562 |
- rm -rf util/{et,ss,verto} |
563 |
- sed -i 's:^[[:space:]]*util/verto$::' configure.in || die |
564 |
- |
565 |
- eautoreconf |
566 |
-} |
567 |
- |
568 |
-src_configure() { |
569 |
- # QA |
570 |
- append-flags -fno-strict-aliasing |
571 |
- append-flags -fno-strict-overflow |
572 |
- |
573 |
- multilib-minimal_src_configure |
574 |
-} |
575 |
- |
576 |
-multilib_src_configure() { |
577 |
- use keyutils || export ac_cv_header_keyutils_h=no |
578 |
- ECONF_SOURCE=${S} \ |
579 |
- WARN_CFLAGS="set" \ |
580 |
- econf \ |
581 |
- $(use_with openldap ldap) \ |
582 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
583 |
- $(use_enable nls) \ |
584 |
- $(use_enable pkinit) \ |
585 |
- $(use_enable threads thread-support) \ |
586 |
- --without-hesiod \ |
587 |
- --enable-shared \ |
588 |
- --with-system-et \ |
589 |
- --with-system-ss \ |
590 |
- --enable-dns-for-realm \ |
591 |
- --enable-kdc-lookaside-cache \ |
592 |
- --with-system-verto \ |
593 |
- --disable-rpath |
594 |
-} |
595 |
- |
596 |
-multilib_src_compile() { |
597 |
- emake -j1 |
598 |
-} |
599 |
- |
600 |
-multilib_src_test() { |
601 |
- multilib_is_native_abi && emake -j1 check |
602 |
-} |
603 |
- |
604 |
-multilib_src_install() { |
605 |
- emake \ |
606 |
- DESTDIR="${D}" \ |
607 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
608 |
- install |
609 |
-} |
610 |
- |
611 |
-multilib_src_install_all() { |
612 |
- # default database dir |
613 |
- keepdir /var/lib/krb5kdc |
614 |
- |
615 |
- cd .. |
616 |
- dodoc README |
617 |
- |
618 |
- if use doc; then |
619 |
- dohtml -r doc/html/* |
620 |
- docinto pdf |
621 |
- dodoc doc/pdf/*.pdf |
622 |
- fi |
623 |
- |
624 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind |
625 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc |
626 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd |
627 |
- newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind |
628 |
- newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
629 |
- newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd |
630 |
- |
631 |
- insinto /etc |
632 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
633 |
- insinto /var/lib/krb5kdc |
634 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
635 |
- |
636 |
- if use openldap ; then |
637 |
- insinto /etc/openldap/schema |
638 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
639 |
- fi |
640 |
- |
641 |
- if use xinetd ; then |
642 |
- insinto /etc/xinetd.d |
643 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
644 |
- fi |
645 |
-} |
646 |
|
647 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.15.1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.15.1.ebuild |
648 |
deleted file mode 100644 |
649 |
index 43d73e44629..00000000000 |
650 |
--- a/app-crypt/mit-krb5/mit-krb5-1.15.1.ebuild |
651 |
+++ /dev/null |
652 |
@@ -1,148 +0,0 @@ |
653 |
-# Copyright 1999-2017 Gentoo Foundation |
654 |
-# Distributed under the terms of the GNU General Public License v2 |
655 |
- |
656 |
-EAPI=6 |
657 |
- |
658 |
-PYTHON_COMPAT=( python2_7 ) |
659 |
-inherit autotools flag-o-matic multilib-minimal python-any-r1 versionator |
660 |
- |
661 |
-MY_P="${P/mit-}" |
662 |
-P_DIR=$(get_version_component_range 1-2) |
663 |
-DESCRIPTION="MIT Kerberos V" |
664 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
665 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" |
666 |
- |
667 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
668 |
-SLOT="0" |
669 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
670 |
-IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd" |
671 |
- |
672 |
-CDEPEND=" |
673 |
- !!app-crypt/heimdal |
674 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
675 |
- || ( |
676 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
677 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
678 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
679 |
- ) |
680 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
681 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
682 |
- pkinit? ( |
683 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
684 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
685 |
- ) |
686 |
- xinetd? ( sys-apps/xinetd ) |
687 |
- abi_x86_32? ( |
688 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
689 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
690 |
- )" |
691 |
-DEPEND="${CDEPEND} |
692 |
- ${PYTHON_DEPS} |
693 |
- virtual/yacc |
694 |
- doc? ( virtual/latex-base ) |
695 |
- test? ( |
696 |
- ${PYTHON_DEPS} |
697 |
- dev-lang/tcl:0 |
698 |
- dev-util/dejagnu |
699 |
- )" |
700 |
-RDEPEND="${CDEPEND} |
701 |
- selinux? ( sec-policy/selinux-kerberos )" |
702 |
- |
703 |
-S=${WORKDIR}/${MY_P}/src |
704 |
- |
705 |
-MULTILIB_CHOST_TOOLS=( |
706 |
- /usr/bin/krb5-config |
707 |
-) |
708 |
- |
709 |
-src_prepare() { |
710 |
- eapply "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
711 |
- eapply -p2 "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
712 |
- eapply -p0 "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch" |
713 |
- eapply "${FILESDIR}/${PN}-1.14.4-disable-nls.patch" |
714 |
- |
715 |
- # Make sure we always use the system copies. |
716 |
- rm -rf util/{et,ss,verto} |
717 |
- sed -i 's:^[[:space:]]*util/verto$::' configure.in || die |
718 |
- |
719 |
- eapply_user |
720 |
- eautoreconf |
721 |
-} |
722 |
- |
723 |
-src_configure() { |
724 |
- # QA |
725 |
- append-flags -fno-strict-aliasing |
726 |
- append-flags -fno-strict-overflow |
727 |
- |
728 |
- multilib-minimal_src_configure |
729 |
-} |
730 |
- |
731 |
-multilib_src_configure() { |
732 |
- use keyutils || export ac_cv_header_keyutils_h=no |
733 |
- ECONF_SOURCE=${S} \ |
734 |
- WARN_CFLAGS="set" \ |
735 |
- econf \ |
736 |
- $(use_with openldap ldap) \ |
737 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
738 |
- $(use_enable nls) \ |
739 |
- $(use_enable pkinit) \ |
740 |
- $(use_enable threads thread-support) \ |
741 |
- --without-hesiod \ |
742 |
- --enable-shared \ |
743 |
- --with-system-et \ |
744 |
- --with-system-ss \ |
745 |
- --enable-dns-for-realm \ |
746 |
- --enable-kdc-lookaside-cache \ |
747 |
- --with-system-verto \ |
748 |
- --disable-rpath |
749 |
-} |
750 |
- |
751 |
-multilib_src_compile() { |
752 |
- emake -j1 |
753 |
-} |
754 |
- |
755 |
-multilib_src_test() { |
756 |
- multilib_is_native_abi && emake -j1 check |
757 |
-} |
758 |
- |
759 |
-multilib_src_install() { |
760 |
- emake \ |
761 |
- DESTDIR="${D}" \ |
762 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
763 |
- install |
764 |
-} |
765 |
- |
766 |
-multilib_src_install_all() { |
767 |
- # default database dir |
768 |
- keepdir /var/lib/krb5kdc |
769 |
- |
770 |
- cd .. |
771 |
- dodoc README |
772 |
- |
773 |
- if use doc; then |
774 |
- dodoc -r doc/html |
775 |
- docinto pdf |
776 |
- dodoc doc/pdf/*.pdf |
777 |
- fi |
778 |
- |
779 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind |
780 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc |
781 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd |
782 |
- newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind |
783 |
- newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
784 |
- newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd |
785 |
- |
786 |
- insinto /etc |
787 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
788 |
- insinto /var/lib/krb5kdc |
789 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
790 |
- |
791 |
- if use openldap ; then |
792 |
- insinto /etc/openldap/schema |
793 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
794 |
- fi |
795 |
- |
796 |
- if use xinetd ; then |
797 |
- insinto /etc/xinetd.d |
798 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
799 |
- fi |
800 |
-} |
801 |
|
802 |
diff --git a/app-crypt/mit-krb5/mit-krb5-1.15.ebuild b/app-crypt/mit-krb5/mit-krb5-1.15.ebuild |
803 |
deleted file mode 100644 |
804 |
index 530c7a37380..00000000000 |
805 |
--- a/app-crypt/mit-krb5/mit-krb5-1.15.ebuild |
806 |
+++ /dev/null |
807 |
@@ -1,148 +0,0 @@ |
808 |
-# Copyright 1999-2016 Gentoo Foundation |
809 |
-# Distributed under the terms of the GNU General Public License v2 |
810 |
- |
811 |
-EAPI=6 |
812 |
- |
813 |
-PYTHON_COMPAT=( python2_7 ) |
814 |
-inherit autotools flag-o-matic multilib-minimal python-any-r1 versionator |
815 |
- |
816 |
-MY_P="${P/mit-}" |
817 |
-P_DIR=$(get_version_component_range 1-2) |
818 |
-DESCRIPTION="MIT Kerberos V" |
819 |
-HOMEPAGE="http://web.mit.edu/kerberos/www/" |
820 |
-SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" |
821 |
- |
822 |
-LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
823 |
-SLOT="0" |
824 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
825 |
-IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd" |
826 |
- |
827 |
-CDEPEND=" |
828 |
- !!app-crypt/heimdal |
829 |
- >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
830 |
- || ( |
831 |
- >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
832 |
- >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
833 |
- >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] |
834 |
- ) |
835 |
- keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
836 |
- openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
837 |
- pkinit? ( |
838 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
839 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
840 |
- ) |
841 |
- xinetd? ( sys-apps/xinetd ) |
842 |
- abi_x86_32? ( |
843 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
844 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
845 |
- )" |
846 |
-DEPEND="${CDEPEND} |
847 |
- ${PYTHON_DEPS} |
848 |
- virtual/yacc |
849 |
- doc? ( virtual/latex-base ) |
850 |
- test? ( |
851 |
- ${PYTHON_DEPS} |
852 |
- dev-lang/tcl:0 |
853 |
- dev-util/dejagnu |
854 |
- )" |
855 |
-RDEPEND="${CDEPEND} |
856 |
- selinux? ( sec-policy/selinux-kerberos )" |
857 |
- |
858 |
-S=${WORKDIR}/${MY_P}/src |
859 |
- |
860 |
-MULTILIB_CHOST_TOOLS=( |
861 |
- /usr/bin/krb5-config |
862 |
-) |
863 |
- |
864 |
-src_prepare() { |
865 |
- eapply "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
866 |
- eapply -p2 "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
867 |
- eapply -p0 "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch" |
868 |
- eapply "${FILESDIR}/${PN}-1.14.4-disable-nls.patch" |
869 |
- |
870 |
- # Make sure we always use the system copies. |
871 |
- rm -rf util/{et,ss,verto} |
872 |
- sed -i 's:^[[:space:]]*util/verto$::' configure.in || die |
873 |
- |
874 |
- eapply_user |
875 |
- eautoreconf |
876 |
-} |
877 |
- |
878 |
-src_configure() { |
879 |
- # QA |
880 |
- append-flags -fno-strict-aliasing |
881 |
- append-flags -fno-strict-overflow |
882 |
- |
883 |
- multilib-minimal_src_configure |
884 |
-} |
885 |
- |
886 |
-multilib_src_configure() { |
887 |
- use keyutils || export ac_cv_header_keyutils_h=no |
888 |
- ECONF_SOURCE=${S} \ |
889 |
- WARN_CFLAGS="set" \ |
890 |
- econf \ |
891 |
- $(use_with openldap ldap) \ |
892 |
- "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
893 |
- $(use_enable nls) \ |
894 |
- $(use_enable pkinit) \ |
895 |
- $(use_enable threads thread-support) \ |
896 |
- --without-hesiod \ |
897 |
- --enable-shared \ |
898 |
- --with-system-et \ |
899 |
- --with-system-ss \ |
900 |
- --enable-dns-for-realm \ |
901 |
- --enable-kdc-lookaside-cache \ |
902 |
- --with-system-verto \ |
903 |
- --disable-rpath |
904 |
-} |
905 |
- |
906 |
-multilib_src_compile() { |
907 |
- emake -j1 |
908 |
-} |
909 |
- |
910 |
-multilib_src_test() { |
911 |
- multilib_is_native_abi && emake -j1 check |
912 |
-} |
913 |
- |
914 |
-multilib_src_install() { |
915 |
- emake \ |
916 |
- DESTDIR="${D}" \ |
917 |
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
918 |
- install |
919 |
-} |
920 |
- |
921 |
-multilib_src_install_all() { |
922 |
- # default database dir |
923 |
- keepdir /var/lib/krb5kdc |
924 |
- |
925 |
- cd .. |
926 |
- dodoc README |
927 |
- |
928 |
- if use doc; then |
929 |
- dodoc -r doc/html |
930 |
- docinto pdf |
931 |
- dodoc doc/pdf/*.pdf |
932 |
- fi |
933 |
- |
934 |
- newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind |
935 |
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc |
936 |
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd |
937 |
- newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind |
938 |
- newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
939 |
- newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd |
940 |
- |
941 |
- insinto /etc |
942 |
- newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
943 |
- insinto /var/lib/krb5kdc |
944 |
- newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
945 |
- |
946 |
- if use openldap ; then |
947 |
- insinto /etc/openldap/schema |
948 |
- doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
949 |
- fi |
950 |
- |
951 |
- if use xinetd ; then |
952 |
- insinto /etc/xinetd.d |
953 |
- newins "${FILESDIR}/kpropd.xinetd" kpropd |
954 |
- fi |
955 |
-} |