Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/mit-krb5/
Date: Sun, 31 Jan 2021 22:03:50
Message-Id: 1612130590.5902b09271f23eeb78cc21466cb33bc700b113af.conikost@gentoo
1 commit: 5902b09271f23eeb78cc21466cb33bc700b113af
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 31 22:03:10 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 22:03:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5902b092
7
8 app-crypt/mit-krb5: drop old version
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 app-crypt/mit-krb5/mit-krb5-1.18.2-r2.ebuild | 168 ---------------------------
14 app-crypt/mit-krb5/mit-krb5-1.18.3.ebuild | 167 --------------------------
15 2 files changed, 335 deletions(-)
16
17 diff --git a/app-crypt/mit-krb5/mit-krb5-1.18.2-r2.ebuild b/app-crypt/mit-krb5/mit-krb5-1.18.2-r2.ebuild
18 deleted file mode 100644
19 index 1edf1c1527f..00000000000
20 --- a/app-crypt/mit-krb5/mit-krb5-1.18.2-r2.ebuild
21 +++ /dev/null
22 @@ -1,168 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -PYTHON_COMPAT=( python3_{7,8,9} )
29 -inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
30 -
31 -MY_P="${P/mit-}"
32 -P_DIR=$(ver_cut 1-2)
33 -DESCRIPTION="MIT Kerberos V"
34 -HOMEPAGE="https://web.mit.edu/kerberos/www/"
35 -SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
36 -
37 -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
38 -SLOT="0"
39 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
40 -IUSE="cpu_flags_x86_aes doc +keyutils libressl lmdb nls openldap +pkinit selinux +threads test xinetd"
41 -
42 -# Test suite requires network access
43 -RESTRICT="test"
44 -
45 -DEPEND="
46 - !!app-crypt/heimdal
47 - >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
48 - || (
49 - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
50 - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
51 - >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
52 - )
53 - keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
54 - lmdb? ( dev-db/lmdb )
55 - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
56 - openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
57 - pkinit? (
58 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
59 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
60 - )
61 - xinetd? ( sys-apps/xinetd )
62 - "
63 -BDEPEND="
64 - ${PYTHON_DEPS}
65 - virtual/yacc
66 - cpu_flags_x86_aes? (
67 - amd64? ( dev-lang/yasm )
68 - x86? ( dev-lang/yasm )
69 - )
70 - doc? ( virtual/latex-base )
71 - test? (
72 - ${PYTHON_DEPS}
73 - dev-lang/tcl:0
74 - dev-util/dejagnu
75 - dev-util/cmocka
76 - )"
77 -RDEPEND="${DEPEND}
78 - selinux? ( sec-policy/selinux-kerberos )"
79 -
80 -S=${WORKDIR}/${MY_P}/src
81 -
82 -PATCHES=(
83 - "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
84 - "${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
85 - "${FILESDIR}/${PN}-1.16.3-libressl-r1.patch"
86 - "${FILESDIR}/${PN}_dont_create_run.patch"
87 - "${FILESDIR}/${PN}-1.18-libressl.patch"
88 - "${FILESDIR}/CVE-2020-28196.patch"
89 -)
90 -
91 -MULTILIB_CHOST_TOOLS=(
92 - /usr/bin/krb5-config
93 -)
94 -
95 -src_prepare() {
96 - default
97 - # Make sure we always use the system copies.
98 - rm -rf util/{et,ss,verto}
99 - sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
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 - ECONF_SOURCE=${S} \
114 - WARN_CFLAGS="set" \
115 - econf \
116 - $(use_with openldap ldap) \
117 - "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
118 - $(use_enable nls) \
119 - $(use_enable pkinit) \
120 - $(use_enable threads thread-support) \
121 - $(use_with lmdb) \
122 - $(use_with keyutils) \
123 - --without-hesiod \
124 - --enable-shared \
125 - --with-system-et \
126 - --with-system-ss \
127 - --enable-dns-for-realm \
128 - --enable-kdc-lookaside-cache \
129 - --with-system-verto \
130 - --disable-rpath \
131 - \
132 - AR="$(tc-getAR)"
133 -}
134 -
135 -multilib_src_compile() {
136 - emake -j1
137 -}
138 -
139 -multilib_src_test() {
140 - multilib_is_native_abi && emake -j1 check
141 -}
142 -
143 -multilib_src_install() {
144 - emake \
145 - DESTDIR="${D}" \
146 - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
147 - install
148 -}
149 -
150 -multilib_src_install_all() {
151 - # default database dir
152 - keepdir /var/lib/krb5kdc
153 -
154 - cd ..
155 - dodoc README
156 -
157 - if use doc; then
158 - dodoc -r doc/html
159 - docinto pdf
160 - dodoc doc/pdf/*.pdf
161 - fi
162 -
163 - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
164 - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
165 - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
166 - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
167 - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
168 - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
169 -
170 - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
171 - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
172 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
173 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
174 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
175 -
176 - insinto /etc
177 - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
178 - insinto /var/lib/krb5kdc
179 - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
180 -
181 - if use openldap ; then
182 - insinto /etc/openldap/schema
183 - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
184 - fi
185 -
186 - if use xinetd ; then
187 - insinto /etc/xinetd.d
188 - newins "${FILESDIR}/kpropd.xinetd" kpropd
189 - fi
190 -}
191
192 diff --git a/app-crypt/mit-krb5/mit-krb5-1.18.3.ebuild b/app-crypt/mit-krb5/mit-krb5-1.18.3.ebuild
193 deleted file mode 100644
194 index 61ce1944b46..00000000000
195 --- a/app-crypt/mit-krb5/mit-krb5-1.18.3.ebuild
196 +++ /dev/null
197 @@ -1,167 +0,0 @@
198 -# Copyright 1999-2020 Gentoo Authors
199 -# Distributed under the terms of the GNU General Public License v2
200 -
201 -EAPI=7
202 -
203 -PYTHON_COMPAT=( python3_{7,8,9} )
204 -inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
205 -
206 -MY_P="${P/mit-}"
207 -P_DIR=$(ver_cut 1-2)
208 -DESCRIPTION="MIT Kerberos V"
209 -HOMEPAGE="https://web.mit.edu/kerberos/www/"
210 -SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
211 -
212 -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
213 -SLOT="0"
214 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
215 -IUSE="cpu_flags_x86_aes doc +keyutils libressl lmdb nls openldap +pkinit selinux +threads test xinetd"
216 -
217 -# Test suite requires network access
218 -RESTRICT="test"
219 -
220 -DEPEND="
221 - !!app-crypt/heimdal
222 - >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
223 - || (
224 - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
225 - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
226 - >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
227 - )
228 - keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
229 - lmdb? ( dev-db/lmdb )
230 - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
231 - openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
232 - pkinit? (
233 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
234 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
235 - )
236 - xinetd? ( sys-apps/xinetd )
237 - "
238 -BDEPEND="
239 - ${PYTHON_DEPS}
240 - virtual/yacc
241 - cpu_flags_x86_aes? (
242 - amd64? ( dev-lang/yasm )
243 - x86? ( dev-lang/yasm )
244 - )
245 - doc? ( virtual/latex-base )
246 - test? (
247 - ${PYTHON_DEPS}
248 - dev-lang/tcl:0
249 - dev-util/dejagnu
250 - dev-util/cmocka
251 - )"
252 -RDEPEND="${DEPEND}
253 - selinux? ( sec-policy/selinux-kerberos )"
254 -
255 -S=${WORKDIR}/${MY_P}/src
256 -
257 -PATCHES=(
258 - "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
259 - "${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
260 - "${FILESDIR}/${PN}-1.16.3-libressl-r1.patch"
261 - "${FILESDIR}/${PN}_dont_create_run.patch"
262 - "${FILESDIR}/${PN}-1.18-libressl.patch"
263 -)
264 -
265 -MULTILIB_CHOST_TOOLS=(
266 - /usr/bin/krb5-config
267 -)
268 -
269 -src_prepare() {
270 - default
271 - # Make sure we always use the system copies.
272 - rm -rf util/{et,ss,verto}
273 - sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
274 -
275 - eautoreconf
276 -}
277 -
278 -src_configure() {
279 - # QA
280 - append-flags -fno-strict-aliasing
281 - append-flags -fno-strict-overflow
282 -
283 - multilib-minimal_src_configure
284 -}
285 -
286 -multilib_src_configure() {
287 - ECONF_SOURCE=${S} \
288 - WARN_CFLAGS="set" \
289 - econf \
290 - $(use_with openldap ldap) \
291 - "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
292 - $(use_enable nls) \
293 - $(use_enable pkinit) \
294 - $(use_enable threads thread-support) \
295 - $(use_with lmdb) \
296 - $(use_with keyutils) \
297 - --without-hesiod \
298 - --enable-shared \
299 - --with-system-et \
300 - --with-system-ss \
301 - --enable-dns-for-realm \
302 - --enable-kdc-lookaside-cache \
303 - --with-system-verto \
304 - --disable-rpath \
305 - \
306 - AR="$(tc-getAR)"
307 -}
308 -
309 -multilib_src_compile() {
310 - emake -j1
311 -}
312 -
313 -multilib_src_test() {
314 - multilib_is_native_abi && emake -j1 check
315 -}
316 -
317 -multilib_src_install() {
318 - emake \
319 - DESTDIR="${D}" \
320 - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
321 - install
322 -}
323 -
324 -multilib_src_install_all() {
325 - # default database dir
326 - keepdir /var/lib/krb5kdc
327 -
328 - cd ..
329 - dodoc README
330 -
331 - if use doc; then
332 - dodoc -r doc/html
333 - docinto pdf
334 - dodoc doc/pdf/*.pdf
335 - fi
336 -
337 - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
338 - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
339 - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
340 - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
341 - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
342 - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
343 -
344 - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
345 - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
346 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
347 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
348 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
349 -
350 - insinto /etc
351 - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
352 - insinto /var/lib/krb5kdc
353 - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
354 -
355 - if use openldap ; then
356 - insinto /etc/openldap/schema
357 - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
358 - fi
359 -
360 - if use xinetd ; then
361 - insinto /etc/xinetd.d
362 - newins "${FILESDIR}/kpropd.xinetd" kpropd
363 - fi
364 -}