Gentoo Archives: gentoo-commits

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