Gentoo Archives: gentoo-commits

From: Eray Aslan <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/mit-krb5/
Date: Tue, 29 May 2018 05:35:44
Message-Id: 1527572110.f8add4b0c136d36326c4fd0b4bd9652d2f6c82b1.eras@gentoo
1 commit: f8add4b0c136d36326c4fd0b4bd9652d2f6c82b1
2 Author: Eray Aslan <eras <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 29 05:35:10 2018 +0000
4 Commit: Eray Aslan <eras <AT> gentoo <DOT> org>
5 CommitDate: Tue May 29 05:35:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8add4b0
7
8 app-crypt/mit-krb5: remove vulnerable
9
10 Bug: https://bugs.gentoo.org/649610
11 Package-Manager: Portage-2.3.40, Repoman-2.3.9
12
13 app-crypt/mit-krb5/mit-krb5-1.16.ebuild | 151 --------------------------------
14 1 file changed, 151 deletions(-)
15
16 diff --git a/app-crypt/mit-krb5/mit-krb5-1.16.ebuild b/app-crypt/mit-krb5/mit-krb5-1.16.ebuild
17 deleted file mode 100644
18 index f267ea8e5c4..00000000000
19 --- a/app-crypt/mit-krb5/mit-krb5-1.16.ebuild
20 +++ /dev/null
21 @@ -1,151 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -PYTHON_COMPAT=( python2_7 )
28 -inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd versionator
29 -
30 -MY_P="${P/mit-}"
31 -P_DIR=$(get_version_component_range 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 ~sh ~sparc x86"
39 -IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd"
40 -
41 -# Test suite require network access
42 -RESTRICT="test"
43 -
44 -CDEPEND="
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 - openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
54 - pkinit? (
55 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
56 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
57 - )
58 - xinetd? ( sys-apps/xinetd )"
59 -DEPEND="${CDEPEND}
60 - ${PYTHON_DEPS}
61 - virtual/yacc
62 - doc? ( virtual/latex-base )
63 - test? (
64 - ${PYTHON_DEPS}
65 - dev-lang/tcl:0
66 - dev-util/dejagnu
67 - )"
68 -RDEPEND="${CDEPEND}
69 - selinux? ( sec-policy/selinux-kerberos )"
70 -
71 -S=${WORKDIR}/${MY_P}/src
72 -
73 -MULTILIB_CHOST_TOOLS=(
74 - /usr/bin/krb5-config
75 -)
76 -
77 -src_prepare() {
78 - eapply "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
79 - eapply -p2 "${FILESDIR}/${PN}-config_LDFLAGS.patch"
80 -
81 - # Make sure we always use the system copies.
82 - rm -rf util/{et,ss,verto}
83 - sed -i 's:^[[:space:]]*util/verto$::' configure.in || die
84 -
85 - eapply_user
86 - eautoreconf
87 -}
88 -
89 -src_configure() {
90 - # QA
91 - append-flags -fno-strict-aliasing
92 - append-flags -fno-strict-overflow
93 -
94 - multilib-minimal_src_configure
95 -}
96 -
97 -multilib_src_configure() {
98 - use keyutils || export ac_cv_header_keyutils_h=no
99 - ECONF_SOURCE=${S} \
100 - WARN_CFLAGS="set" \
101 - econf \
102 - $(use_with openldap ldap) \
103 - "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
104 - $(use_enable nls) \
105 - $(use_enable pkinit) \
106 - $(use_enable threads thread-support) \
107 - --without-hesiod \
108 - --enable-shared \
109 - --with-system-et \
110 - --with-system-ss \
111 - --enable-dns-for-realm \
112 - --enable-kdc-lookaside-cache \
113 - --with-system-verto \
114 - --disable-rpath
115 -}
116 -
117 -multilib_src_compile() {
118 - emake -j1
119 -}
120 -
121 -multilib_src_test() {
122 - multilib_is_native_abi && emake -j1 check
123 -}
124 -
125 -multilib_src_install() {
126 - emake \
127 - DESTDIR="${D}" \
128 - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
129 - install
130 -}
131 -
132 -multilib_src_install_all() {
133 - # default database dir
134 - keepdir /var/lib/krb5kdc
135 -
136 - cd ..
137 - dodoc README
138 -
139 - if use doc; then
140 - dodoc -r doc/html
141 - docinto pdf
142 - dodoc doc/pdf/*.pdf
143 - fi
144 -
145 - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
146 - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
147 - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
148 - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
149 - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
150 - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
151 -
152 - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
153 - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
154 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
155 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
156 - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
157 -
158 - insinto /etc
159 - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
160 - insinto /var/lib/krb5kdc
161 - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
162 -
163 - if use openldap ; then
164 - insinto /etc/openldap/schema
165 - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
166 - fi
167 -
168 - if use xinetd ; then
169 - insinto /etc/xinetd.d
170 - newins "${FILESDIR}/kpropd.xinetd" kpropd
171 - fi
172 -}