Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/mit-krb5: mit-krb5-1.8.5-r1.ebuild mit-krb5-1.9.2-r2.ebuild mit-krb5-1.8.3-r6.ebuild ChangeLog mit-krb5-1.8.4-r2.ebuild mit-krb5-1.8.3-r5.ebuild mit-krb5-1.9.2-r1.ebuild mit-krb5-1.8.4-r1.ebuild mit-krb5-1.8.5.ebuild
Date: Sat, 31 Dec 2011 20:01:40
Message-Id: 20111231200130.5A9CF2004B@flycatcher.gentoo.org
1 idl0r 11/12/31 20:01:30
2
3 Modified: ChangeLog
4 Added: mit-krb5-1.8.5-r1.ebuild mit-krb5-1.9.2-r2.ebuild
5 mit-krb5-1.8.3-r6.ebuild mit-krb5-1.8.4-r2.ebuild
6 Removed: mit-krb5-1.8.3-r5.ebuild mit-krb5-1.9.2-r1.ebuild
7 mit-krb5-1.8.4-r1.ebuild mit-krb5-1.8.5.ebuild
8 Log:
9 Revbump. Don't use deprecated start-stop-daemon options, bug 377843.
10
11 (Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)
12
13 Revision Changes Path
14 1.309 app-crypt/mit-krb5/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.309&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.309&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?r1=1.308&r2=1.309
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v
23 retrieving revision 1.308
24 retrieving revision 1.309
25 diff -u -r1.308 -r1.309
26 --- ChangeLog 23 Dec 2011 08:43:57 -0000 1.308
27 +++ ChangeLog 31 Dec 2011 20:01:30 -0000 1.309
28 @@ -1,6 +1,19 @@
29 # ChangeLog for app-crypt/mit-krb5
30 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.308 2011/12/23 08:43:57 eras Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.309 2011/12/31 20:01:30 idl0r Exp $
33 +
34 +*mit-krb5-1.9.2-r2 (31 Dec 2011)
35 +*mit-krb5-1.8.5-r1 (31 Dec 2011)
36 +*mit-krb5-1.8.4-r2 (31 Dec 2011)
37 +*mit-krb5-1.8.3-r6 (31 Dec 2011)
38 +
39 + 31 Dec 2011; Christian Ruppert <idl0r@g.o> -mit-krb5-1.8.3-r5.ebuild,
40 + +mit-krb5-1.8.3-r6.ebuild, -mit-krb5-1.8.4-r1.ebuild,
41 + +mit-krb5-1.8.4-r2.ebuild, -mit-krb5-1.8.5.ebuild, +mit-krb5-1.8.5-r1.ebuild,
42 + -mit-krb5-1.9.2-r1.ebuild, +mit-krb5-1.9.2-r2.ebuild,
43 + files/mit-krb5kadmind.initd, files/mit-krb5kdc.initd,
44 + files/mit-krb5kpropd.initd:
45 + Revbump. Don't use deprecated start-stop-daemon options, bug 377843.
46
47 23 Dec 2011; Eray Aslan <eras@g.o>
48 -mit-krb5-1.9.1-r2.ebuild, -files/mit-krb5-1.9.1-fd-leak.patch,
49
50
51
52 1.1 app-crypt/mit-krb5/mit-krb5-1.8.5-r1.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.5-r1.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.5-r1.ebuild?rev=1.1&content-type=text/plain
56
57 Index: mit-krb5-1.8.5-r1.ebuild
58 ===================================================================
59 # Copyright 1999-2011 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.5-r1.ebuild,v 1.1 2011/12/31 20:01:30 idl0r Exp $
62
63 EAPI=2
64
65 inherit eutils flag-o-matic versionator
66
67 MY_P=${P/mit-}
68 P_DIR=$(get_version_component_range 1-2)
69 DESCRIPTION="MIT Kerberos V"
70 HOMEPAGE="http://web.mit.edu/kerberos/www/"
71 SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
72
73 LICENSE="as-is"
74 SLOT="0"
75 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
76 IUSE="doc openldap test xinetd"
77
78 RDEPEND="!!app-crypt/heimdal
79 >=sys-libs/e2fsprogs-libs-1.41.0
80 sys-apps/keyutils
81 openldap? ( net-nds/openldap )
82 xinetd? ( sys-apps/xinetd )"
83 DEPEND="${RDEPEND}
84 doc? ( virtual/latex-base )
85 test? ( dev-lang/tcl
86 dev-lang/perl
87 dev-util/dejagnu )"
88
89 S=${WORKDIR}/${MY_P}/src
90
91 src_unpack() {
92 unpack ${A}
93 unpack ./"${MY_P}".tar.gz
94 }
95
96 src_configure() {
97 append-flags "-I/usr/include/et"
98 append-flags "-fno-strict-aliasing"
99 append-flags "-fno-strict-overflow"
100 econf \
101 $(use_with openldap ldap) \
102 $(use_with test tcl /usr) \
103 --enable-shared \
104 --with-system-et \
105 --with-system-ss \
106 --enable-dns-for-realm \
107 --enable-kdc-replay-cache \
108 --disable-rpath
109 }
110
111 src_compile() {
112 emake -j1 || die "emake failed"
113
114 if use doc ; then
115 cd ../doc
116 for dir in api implement ; do
117 emake -C "${dir}" || die "doc emake failed"
118 done
119 fi
120 }
121
122 src_install() {
123 emake \
124 DESTDIR="${D}" \
125 EXAMPLEDIR="/usr/share/doc/${PF}/examples" \
126 install || die "install failed"
127
128 # default database dir
129 keepdir /var/lib/krb5kdc
130
131 cd ..
132 dodoc README
133 dodoc doc/*.{ps,txt}
134 doinfo doc/*.info*
135 dohtml -r doc/*.html
136
137 # die if we cannot respect a USE flag
138 if use doc ; then
139 dodoc doc/{api,implement}/*.ps || die "dodoc failed"
140 fi
141
142 newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
143 newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
144
145 insinto /etc
146 newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
147 insinto /var/lib/krb5kdc
148 newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
149
150 if use openldap ; then
151 insinto /etc/openldap/schema
152 doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
153 fi
154
155 if use xinetd ; then
156 insinto /etc/xinetd.d
157 newins "${FILESDIR}/kpropd.xinetd" kpropd || die
158 fi
159 }
160
161 pkg_preinst() {
162 if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
163 elog "MIT split the Kerberos applications from the base Kerberos"
164 elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
165 elog "ftp clients and telnet, ftp deamons now live in"
166 elog "\"app-crypt/mit-krb5-appl\" package."
167 fi
168 }
169
170
171
172 1.1 app-crypt/mit-krb5/mit-krb5-1.9.2-r2.ebuild
173
174 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9.2-r2.ebuild?rev=1.1&view=markup
175 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9.2-r2.ebuild?rev=1.1&content-type=text/plain
176
177 Index: mit-krb5-1.9.2-r2.ebuild
178 ===================================================================
179 # Copyright 1999-2011 Gentoo Foundation
180 # Distributed under the terms of the GNU General Public License v2
181 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9.2-r2.ebuild,v 1.1 2011/12/31 20:01:30 idl0r Exp $
182
183 EAPI=3
184
185 inherit eutils flag-o-matic versionator
186
187 MY_P="${P/mit-}"
188 P_DIR=$(get_version_component_range 1-2)
189 DESCRIPTION="MIT Kerberos V"
190 HOMEPAGE="http://web.mit.edu/kerberos/www/"
191 SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
192
193 LICENSE="as-is"
194 SLOT="0"
195 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
196 IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
197
198 RDEPEND="!!app-crypt/heimdal
199 >=sys-libs/e2fsprogs-libs-1.41.0
200 keyutils? ( sys-apps/keyutils )
201 openldap? ( net-nds/openldap )
202 xinetd? ( sys-apps/xinetd )"
203 DEPEND="${RDEPEND}
204 virtual/yacc
205 doc? ( virtual/latex-base )
206 test? ( dev-lang/tcl
207 dev-lang/python
208 dev-util/dejagnu )"
209
210 S=${WORKDIR}/${MY_P}/src
211
212 src_unpack() {
213 unpack ${A}
214 unpack ./"${MY_P}".tar.gz
215 }
216
217 src_prepare() {
218 epatch "${FILESDIR}/${PN}-kprop_exit_on_error.patch"
219 epatch "${FILESDIR}/CVE-2011-1530.patch"
220 }
221
222 src_configure() {
223 append-flags "-I${EPREFIX}/usr/include/et"
224 # QA
225 append-flags -fno-strict-aliasing
226 append-flags -fno-strict-overflow
227 use keyutils || export ac_cv_header_keyutils_h=no
228 econf \
229 $(use_with openldap ldap) \
230 "$(use_with test tcl "${EPREFIX}/usr")" \
231 $(use_enable pkinit) \
232 $(use_enable threads thread-support) \
233 --without-hesiod \
234 --enable-shared \
235 --with-system-et \
236 --with-system-ss \
237 --enable-dns-for-realm \
238 --enable-kdc-lookaside-cache \
239 --disable-rpath
240 }
241
242 src_compile() {
243 emake -j1 || die "emake failed"
244
245 if use doc ; then
246 cd ../doc
247 for dir in api implement ; do
248 emake -C "${dir}" || die "doc emake failed"
249 done
250 fi
251 }
252
253 src_install() {
254 emake \
255 DESTDIR="${D}" \
256 EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
257 install || die "install failed"
258
259 # default database dir
260 keepdir /var/lib/krb5kdc
261
262 cd ..
263 dodoc NOTICE README
264 dodoc doc/*.{ps,txt}
265 doinfo doc/*.info*
266 dohtml -r doc/*.html
267
268 # die if we cannot respect a USE flag
269 if use doc ; then
270 dodoc doc/{api,implement}/*.ps || die "dodoc failed"
271 fi
272
273 newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
274 newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
275 newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd || die
276
277 insinto /etc
278 newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
279 insinto /var/lib/krb5kdc
280 newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
281
282 if use openldap ; then
283 insinto /etc/openldap/schema
284 doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
285 fi
286
287 if use xinetd ; then
288 insinto /etc/xinetd.d
289 newins "${FILESDIR}/kpropd.xinetd" kpropd || die
290 fi
291 }
292
293 pkg_preinst() {
294 if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
295 elog "MIT split the Kerberos applications from the base Kerberos"
296 elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
297 elog "ftp clients and telnet, ftp deamons now live in"
298 elog "\"app-crypt/mit-krb5-appl\" package."
299 fi
300 }
301
302
303
304 1.1 app-crypt/mit-krb5/mit-krb5-1.8.3-r6.ebuild
305
306 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.3-r6.ebuild?rev=1.1&view=markup
307 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.3-r6.ebuild?rev=1.1&content-type=text/plain
308
309 Index: mit-krb5-1.8.3-r6.ebuild
310 ===================================================================
311 # Copyright 1999-2011 Gentoo Foundation
312 # Distributed under the terms of the GNU General Public License v2
313 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.3-r6.ebuild,v 1.1 2011/12/31 20:01:30 idl0r Exp $
314
315 EAPI=2
316
317 inherit eutils flag-o-matic versionator
318
319 MY_P=${P/mit-}
320 P_DIR=$(get_version_component_range 1-2)
321 DESCRIPTION="MIT Kerberos V"
322 HOMEPAGE="http://web.mit.edu/kerberos/www/"
323 SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
324
325 LICENSE="as-is"
326 SLOT="0"
327 KEYWORDS="m68k"
328 IUSE="doc openldap test xinetd"
329
330 RDEPEND="!!app-crypt/heimdal
331 >=sys-libs/e2fsprogs-libs-1.41.0
332 sys-apps/keyutils
333 openldap? ( net-nds/openldap )
334 xinetd? ( sys-apps/xinetd )"
335 DEPEND="${RDEPEND}
336 doc? ( virtual/latex-base )
337 test? ( dev-lang/tcl
338 dev-lang/perl
339 dev-util/dejagnu )"
340
341 S=${WORKDIR}/${MY_P}/src
342
343 src_unpack() {
344 unpack ${A}
345 unpack ./"${MY_P}".tar.gz
346 }
347
348 src_prepare() {
349 epatch "${FILESDIR}/CVE-2010-1322.patch"
350 epatch "${FILESDIR}/CVE-2010-1323.1324.4020.patch"
351 epatch "${FILESDIR}/CVE-2010-4022.patch"
352 epatch "${FILESDIR}/${P}-CVE-2011-0281.0282.0283.patch"
353 epatch "${FILESDIR}/CVE-2011-0284.patch"
354 epatch "${FILESDIR}/${P}-CVE-2011-0285.patch"
355 epatch "${FILESDIR}/mit-krb5_testsuite.patch"
356 }
357
358 src_configure() {
359 append-flags "-I/usr/include/et"
360 econf \
361 $(use_with openldap ldap) \
362 $(use_with test tcl /usr) \
363 --without-krb4 \
364 --enable-shared \
365 --with-system-et \
366 --with-system-ss \
367 --enable-dns-for-realm \
368 --enable-kdc-replay-cache \
369 --disable-rpath
370 }
371
372 src_compile() {
373 emake -j1 || die "emake failed"
374
375 if use doc ; then
376 cd ../doc
377 for dir in api implement ; do
378 emake -C "${dir}" || die "doc emake failed"
379 done
380 fi
381 }
382
383 src_install() {
384 emake \
385 DESTDIR="${D}" \
386 EXAMPLEDIR="/usr/share/doc/${PF}/examples" \
387 install || die "install failed"
388
389 # default database dir
390 keepdir /var/lib/krb5kdc
391
392 cd ..
393 dodoc README
394 dodoc doc/*.{ps,txt}
395 doinfo doc/*.info*
396 dohtml -r doc/*.html
397
398 # die if we cannot respect a USE flag
399 if use doc ; then
400 dodoc doc/{api,implement}/*.ps || die "dodoc failed"
401 fi
402
403 newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
404 newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
405
406 insinto /etc
407 newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
408 insinto /var/lib/krb5kdc
409 newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
410
411 if use openldap ; then
412 insinto /etc/openldap/schema
413 doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
414 fi
415
416 if use xinetd ; then
417 insinto /etc/xinetd.d
418 newins "${FILESDIR}/kpropd.xinetd" kpropd || die
419 fi
420 }
421
422 pkg_preinst() {
423 if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
424 elog "MIT split the Kerberos applications from the base Kerberos"
425 elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
426 elog "ftp clients and telnet, ftp deamons now live in"
427 elog "\"app-crypt/mit-krb5-appl\" package."
428 fi
429 }
430
431
432
433 1.1 app-crypt/mit-krb5/mit-krb5-1.8.4-r2.ebuild
434
435 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.4-r2.ebuild?rev=1.1&view=markup
436 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.4-r2.ebuild?rev=1.1&content-type=text/plain
437
438 Index: mit-krb5-1.8.4-r2.ebuild
439 ===================================================================
440 # Copyright 1999-2011 Gentoo Foundation
441 # Distributed under the terms of the GNU General Public License v2
442 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.4-r2.ebuild,v 1.1 2011/12/31 20:01:30 idl0r Exp $
443
444 EAPI=2
445
446 inherit eutils flag-o-matic versionator
447
448 MY_P=${P/mit-}
449 P_DIR=$(get_version_component_range 1-2)
450 DESCRIPTION="MIT Kerberos V"
451 HOMEPAGE="http://web.mit.edu/kerberos/www/"
452 SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
453
454 LICENSE="as-is"
455 SLOT="0"
456 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
457 IUSE="doc openldap test xinetd"
458
459 RDEPEND="!!app-crypt/heimdal
460 >=sys-libs/e2fsprogs-libs-1.41.0
461 sys-apps/keyutils
462 openldap? ( net-nds/openldap )
463 xinetd? ( sys-apps/xinetd )"
464 DEPEND="${RDEPEND}
465 doc? ( virtual/latex-base )
466 test? ( dev-lang/tcl
467 dev-lang/perl
468 dev-util/dejagnu )"
469
470 S=${WORKDIR}/${MY_P}/src
471
472 src_unpack() {
473 unpack ${A}
474 unpack ./"${MY_P}".tar.gz
475 }
476
477 src_prepare() {
478 epatch "${FILESDIR}/mit-krb5_testsuite.patch"
479 epatch "${FILESDIR}/2011-006-patch-r18.patch"
480 }
481
482 src_configure() {
483 append-flags "-I/usr/include/et"
484 append-flags "-fno-strict-aliasing"
485 append-flags "-fno-strict-overflow"
486 econf \
487 $(use_with openldap ldap) \
488 $(use_with test tcl /usr) \
489 --without-krb4 \
490 --enable-shared \
491 --with-system-et \
492 --with-system-ss \
493 --enable-dns-for-realm \
494 --enable-kdc-replay-cache \
495 --disable-rpath
496 }
497
498 src_compile() {
499 emake -j1 || die "emake failed"
500
501 if use doc ; then
502 cd ../doc
503 for dir in api implement ; do
504 emake -C "${dir}" || die "doc emake failed"
505 done
506 fi
507 }
508
509 src_install() {
510 emake \
511 DESTDIR="${D}" \
512 EXAMPLEDIR="/usr/share/doc/${PF}/examples" \
513 install || die "install failed"
514
515 # default database dir
516 keepdir /var/lib/krb5kdc
517
518 cd ..
519 dodoc README
520 dodoc doc/*.{ps,txt}
521 doinfo doc/*.info*
522 dohtml -r doc/*.html
523
524 # die if we cannot respect a USE flag
525 if use doc ; then
526 dodoc doc/{api,implement}/*.ps || die "dodoc failed"
527 fi
528
529 newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
530 newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
531
532 insinto /etc
533 newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
534 insinto /var/lib/krb5kdc
535 newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
536
537 if use openldap ; then
538 insinto /etc/openldap/schema
539 doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
540 fi
541
542 if use xinetd ; then
543 insinto /etc/xinetd.d
544 newins "${FILESDIR}/kpropd.xinetd" kpropd || die
545 fi
546 }
547
548 pkg_preinst() {
549 if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
550 elog "MIT split the Kerberos applications from the base Kerberos"
551 elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
552 elog "ftp clients and telnet, ftp deamons now live in"
553 elog "\"app-crypt/mit-krb5-appl\" package."
554 fi
555 }