Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/mit-krb5: mit-krb5-1.11-r1.ebuild ChangeLog
Date: Fri, 28 Dec 2012 07:30:10
Message-Id: 20121228072959.F13BD2171E@flycatcher.gentoo.org
1 eras 12/12/28 07:29:59
2
3 Modified: ChangeLog
4 Added: mit-krb5-1.11-r1.ebuild
5 Log:
6 Do not output LDFLAGS in krb5-config --libs output - bug #448778
7
8 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
9
10 Revision Changes Path
11 1.348 app-crypt/mit-krb5/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.348&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.348&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?r1=1.347&r2=1.348
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v
20 retrieving revision 1.347
21 retrieving revision 1.348
22 diff -u -r1.347 -r1.348
23 --- ChangeLog 24 Dec 2012 17:43:24 -0000 1.347
24 +++ ChangeLog 28 Dec 2012 07:29:59 -0000 1.348
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-crypt/mit-krb5
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.347 2012/12/24 17:43:24 eras Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.348 2012/12/28 07:29:59 eras Exp $
30 +
31 +*mit-krb5-1.11-r1 (28 Dec 2012)
32 +
33 + 28 Dec 2012; Eray Aslan <eras@g.o>
34 + +files/mit-krb5_krb5-config_LDFLAGS.patch, +mit-krb5-1.11-r1.ebuild:
35 + Do not output LDFLAGS in krb5-config --libs output - bug #448778
36
37 24 Dec 2012; Eray Aslan <eras@g.o> -files/2011-006-patch-r18.patch,
38 -files/CVE-2010-1322.patch, -files/CVE-2010-1323.1324.4020.patch,
39
40
41
42 1.1 app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mit-krb5-1.11-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild,v 1.1 2012/12/28 07:29:59 eras Exp $
52
53 EAPI="4"
54 inherit eutils flag-o-matic versionator
55
56 MY_P="${P/mit-}"
57 P_DIR=$(get_version_component_range 1-2)
58 DESCRIPTION="MIT Kerberos V"
59 HOMEPAGE="http://web.mit.edu/kerberos/www/"
60 SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
61
62 LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CCPL-Attribution-ShareAlike-3.0 || ( BSD-2 GPL-2+ )"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~x86"
65 IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
66
67 RDEPEND="!!app-crypt/heimdal
68 >=sys-libs/e2fsprogs-libs-1.41.0
69 dev-libs/libverto
70 keyutils? ( sys-apps/keyutils )
71 openldap? ( net-nds/openldap )
72 pkinit? ( dev-libs/openssl )
73 xinetd? ( sys-apps/xinetd )"
74 DEPEND="${RDEPEND}
75 virtual/yacc
76 doc? ( virtual/latex-base )
77 test? ( dev-lang/tcl
78 dev-lang/python
79 dev-util/dejagnu )"
80
81 S=${WORKDIR}/${MY_P}/src
82
83 src_unpack() {
84 unpack ${A}
85 unpack ./"${MY_P}".tar.gz
86 }
87
88 src_prepare() {
89 epatch "${FILESDIR}/${PN}-1.11_uninitialized.patch"
90 epatch "${FILESDIR}/${PN}_krb5-config_LDFLAGS.patch"
91 }
92
93 src_configure() {
94 append-cppflags "-I${EPREFIX}/usr/include/et"
95 # QA
96 append-flags -fno-strict-aliasing
97 append-flags -fno-strict-overflow
98
99 use keyutils || export ac_cv_header_keyutils_h=no
100 econf \
101 $(use_with openldap ldap) \
102 "$(use_with test tcl "${EPREFIX}/usr")" \
103 $(use_enable pkinit) \
104 $(use_enable threads thread-support) \
105 --without-hesiod \
106 --enable-shared \
107 --with-system-et \
108 --with-system-ss \
109 --enable-dns-for-realm \
110 --enable-kdc-lookaside-cache \
111 --with-system-verto \
112 --disable-rpath
113 }
114
115 src_compile() {
116 emake -j1
117 }
118
119 src_install() {
120 emake \
121 DESTDIR="${D}" \
122 EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
123 install
124
125 # default database dir
126 keepdir /var/lib/krb5kdc
127
128 cd ..
129 dodoc README
130
131 if use doc; then
132 dohtml -r doc/html/*
133 docinto pdf
134 dodoc doc/pdf/*.pdf
135 fi
136
137 newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind
138 newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc
139 newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd
140
141 insinto /etc
142 newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
143 insinto /var/lib/krb5kdc
144 newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
145
146 if use openldap ; then
147 insinto /etc/openldap/schema
148 doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
149 fi
150
151 if use xinetd ; then
152 insinto /etc/xinetd.d
153 newins "${FILESDIR}/kpropd.xinetd" kpropd
154 fi
155 }
156
157 pkg_preinst() {
158 if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
159 elog "MIT split the Kerberos applications from the base Kerberos"
160 elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
161 elog "ftp clients and telnet, ftp deamons now live in"
162 elog "\"app-crypt/mit-krb5-appl\" package."
163 fi
164 }