1 |
eras 14/07/25 13:40:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mit-krb5-1.12.1-r2.ebuild |
5 |
Log: |
6 |
Security bump - bug #517936 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F) |
9 |
|
10 |
Revision Changes Path |
11 |
1.407 app-crypt/mit-krb5/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.407&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.407&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/ChangeLog?r1=1.406&r2=1.407 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v |
20 |
retrieving revision 1.406 |
21 |
retrieving revision 1.407 |
22 |
diff -u -r1.406 -r1.407 |
23 |
--- ChangeLog 23 Jul 2014 15:13:07 -0000 1.406 |
24 |
+++ ChangeLog 25 Jul 2014 13:40:34 -0000 1.407 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-crypt/mit-krb5 |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.406 2014/07/23 15:13:07 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.407 2014/07/25 13:40:34 eras Exp $ |
30 |
+ |
31 |
+*mit-krb5-1.12.1-r2 (25 Jul 2014) |
32 |
+ |
33 |
+ 25 Jul 2014; Eray Aslan <eras@g.o> +files/CVE-2014-4343.patch, |
34 |
+ +files/CVE-2014-4344.patch, +mit-krb5-1.12.1-r2.ebuild: |
35 |
+ Security bump - bug #517936 |
36 |
|
37 |
23 Jul 2014; Agostino Sarubbo <ago@g.o> mit-krb5-1.12.1-r1.ebuild: |
38 |
Stable for x86, wrt bug #512012 |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-crypt/mit-krb5/mit-krb5-1.12.1-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.12.1-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.12.1-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mit-krb5-1.12.1-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 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.12.1-r2.ebuild,v 1.1 2014/07/25 13:40:34 eras Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator |
57 |
|
58 |
MY_P="${P/mit-}" |
59 |
P_DIR=$(get_version_component_range 1-2) |
60 |
DESCRIPTION="MIT Kerberos V" |
61 |
HOMEPAGE="http://web.mit.edu/kerberos/www/" |
62 |
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar" |
63 |
|
64 |
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
67 |
IUSE="doc +keyutils openldap +pkinit selinux +threads test xinetd" |
68 |
|
69 |
RDEPEND="!!app-crypt/heimdal |
70 |
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
71 |
|| ( >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] |
72 |
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] |
73 |
>=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] ) |
74 |
keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] ) |
75 |
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) |
76 |
pkinit? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) |
77 |
selinux? ( sec-policy/selinux-kerberos ) |
78 |
xinetd? ( sys-apps/xinetd ) |
79 |
abi_x86_32? ( |
80 |
!<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
81 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
82 |
)" |
83 |
DEPEND="${RDEPEND} |
84 |
${PYTHON_DEPS} |
85 |
virtual/yacc |
86 |
doc? ( virtual/latex-base ) |
87 |
test? ( ${PYTHON_DEPS} |
88 |
dev-lang/tcl |
89 |
dev-util/dejagnu )" |
90 |
|
91 |
S=${WORKDIR}/${MY_P}/src |
92 |
|
93 |
MULTILIB_CHOST_TOOLS=( |
94 |
/usr/bin/krb5-config |
95 |
) |
96 |
|
97 |
src_unpack() { |
98 |
unpack ${A} |
99 |
unpack ./"${MY_P}".tar.gz |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch" |
104 |
epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch" |
105 |
epatch "${FILESDIR}/CVE-2014-4343.patch" |
106 |
epatch "${FILESDIR}/CVE-2014-4344.patch" |
107 |
|
108 |
# tcl-8.6 compatibility |
109 |
sed -i -e 's/interp->result/Tcl_GetStringResult(interp)/' \ |
110 |
kadmin/testing/util/tcl_kadm5.c || die |
111 |
|
112 |
eautoreconf |
113 |
} |
114 |
|
115 |
src_configure() { |
116 |
append-cppflags "-I${EPREFIX}/usr/include/et" |
117 |
# QA |
118 |
append-flags -fno-strict-aliasing |
119 |
append-flags -fno-strict-overflow |
120 |
|
121 |
multilib-minimal_src_configure |
122 |
} |
123 |
|
124 |
multilib_src_configure() { |
125 |
use keyutils || export ac_cv_header_keyutils_h=no |
126 |
ECONF_SOURCE=${S} \ |
127 |
WARN_CFLAGS="set" \ |
128 |
econf \ |
129 |
$(use_with openldap ldap) \ |
130 |
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \ |
131 |
$(use_enable pkinit) \ |
132 |
$(use_enable threads thread-support) \ |
133 |
--without-hesiod \ |
134 |
--enable-shared \ |
135 |
--with-system-et \ |
136 |
--with-system-ss \ |
137 |
--enable-dns-for-realm \ |
138 |
--enable-kdc-lookaside-cache \ |
139 |
--with-system-verto \ |
140 |
--disable-rpath |
141 |
} |
142 |
|
143 |
multilib_src_compile() { |
144 |
emake -j1 |
145 |
} |
146 |
|
147 |
multilib_src_test() { |
148 |
multilib_is_native_abi && emake -j1 check |
149 |
} |
150 |
|
151 |
multilib_src_install() { |
152 |
emake \ |
153 |
DESTDIR="${D}" \ |
154 |
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
155 |
install |
156 |
} |
157 |
|
158 |
multilib_src_install_all() { |
159 |
# default database dir |
160 |
keepdir /var/lib/krb5kdc |
161 |
|
162 |
cd .. |
163 |
dodoc README |
164 |
|
165 |
if use doc; then |
166 |
dohtml -r doc/html/* |
167 |
docinto pdf |
168 |
dodoc doc/pdf/*.pdf |
169 |
fi |
170 |
|
171 |
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind |
172 |
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc |
173 |
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd |
174 |
|
175 |
insinto /etc |
176 |
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
177 |
insinto /var/lib/krb5kdc |
178 |
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
179 |
|
180 |
if use openldap ; then |
181 |
insinto /etc/openldap/schema |
182 |
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" |
183 |
fi |
184 |
|
185 |
if use xinetd ; then |
186 |
insinto /etc/xinetd.d |
187 |
newins "${FILESDIR}/kpropd.xinetd" kpropd |
188 |
fi |
189 |
} |
190 |
|
191 |
pkg_preinst() { |
192 |
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then |
193 |
elog "MIT split the Kerberos applications from the base Kerberos" |
194 |
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp," |
195 |
elog "ftp clients and telnet, ftp deamons now live in" |
196 |
elog "\"app-crypt/mit-krb5-appl\" package." |
197 |
fi |
198 |
} |