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