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, 12 Jul 2016 12:53:55
Message-Id: 1468328016.14af0646800b47b2942c2f18d5c9955d8d73717a.eras@gentoo
1 commit: 14af0646800b47b2942c2f18d5c9955d8d73717a
2 Author: Eray Aslan <eras <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 12 12:53:36 2016 +0000
4 Commit: Eray Aslan <eras <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 12 12:53:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14af0646
7
8 app-crypt/mit-krb5: remove old
9
10 Package-Manager: portage-2.3.0
11
12 app-crypt/mit-krb5/Manifest | 1 -
13 app-crypt/mit-krb5/mit-krb5-1.14.1.ebuild | 151 ------------------------------
14 2 files changed, 152 deletions(-)
15
16 diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest
17 index 89c6183..821ba17 100644
18 --- a/app-crypt/mit-krb5/Manifest
19 +++ b/app-crypt/mit-krb5/Manifest
20 @@ -1,2 +1 @@
21 -DIST krb5-1.14.1.tar.gz 12259025 SHA256 c8faa44574246f5bd0ce5a3dedc48c32db48a74cc4323949bf70f0ac2d6f1a99 SHA512 5d64bb30ecb9e267e2494cea4995d8cc314916d8f6a9318fb80067ae6389ad7468656400d996698b6dc0bdb4c1355c13701b570521a7c40008cf1f83df24847d WHIRLPOOL 2d4ab7e8e65d27ce207bd1d254586f95c8b219c01d2deb2fe60f8d5f84e13cd52881bbc2b51c1ee2d40a81570afa15d46c8446e5c6ec052e7621b76d34b72a7d
22 DIST krb5-1.14.2.tar.gz 12264762 SHA256 6bcad7e6778d1965e4ce4af21d2efdc15b274c5ce5c69031c58e4c954cda8b27 SHA512 8e0d8203740aac78b65a62c0f79998b56dae23725763f645ae13a92dc4263d193e7334f84e278ca873d2b72d425f47cd4b68b58690d029dccce41e8a157b16f0 WHIRLPOOL 18a3729f5bfb928318f5cc28c919cbc49ee9179199ee82445922a5f2e8afbf4ed5a31f7e710877f8c12ef75f326723e7410608ce538983ce1b811e16091d72a1
23
24 diff --git a/app-crypt/mit-krb5/mit-krb5-1.14.1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.14.1.ebuild
25 deleted file mode 100644
26 index 32e0a0a..0000000
27 --- a/app-crypt/mit-krb5/mit-krb5-1.14.1.ebuild
28 +++ /dev/null
29 @@ -1,151 +0,0 @@
30 -# Copyright 1999-2015 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=5
35 -
36 -PYTHON_COMPAT=( python2_7 )
37 -inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator
38 -
39 -MY_P="${P/mit-}"
40 -P_DIR=$(get_version_component_range 1-2)
41 -DESCRIPTION="MIT Kerberos V"
42 -HOMEPAGE="http://web.mit.edu/kerberos/www/"
43 -SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
44 -
45 -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
46 -SLOT="0"
47 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
48 -IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd"
49 -
50 -CDEPEND="
51 - !!app-crypt/heimdal
52 - >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
53 - || (
54 - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
55 - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
56 - >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
57 - )
58 - keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] )
59 - openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
60 - pkinit? (
61 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
62 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
63 - )
64 - xinetd? ( sys-apps/xinetd )
65 - abi_x86_32? (
66 - !<=app-emulation/emul-linux-x86-baselibs-20140508-r1
67 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
68 - )"
69 -DEPEND="${CDEPEND}
70 - ${PYTHON_DEPS}
71 - virtual/yacc
72 - doc? ( virtual/latex-base )
73 - test? (
74 - ${PYTHON_DEPS}
75 - dev-lang/tcl:0
76 - dev-util/dejagnu
77 - )"
78 -RDEPEND="${CDEPEND}
79 - selinux? ( sec-policy/selinux-kerberos )"
80 -
81 -S=${WORKDIR}/${MY_P}/src
82 -
83 -MULTILIB_CHOST_TOOLS=(
84 - /usr/bin/krb5-config
85 -)
86 -
87 -src_prepare() {
88 - epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
89 - epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch"
90 -
91 - eautoreconf
92 -}
93 -
94 -src_configure() {
95 - append-cppflags "-I${EPREFIX}/usr/include/et"
96 - # QA
97 - append-flags -fno-strict-aliasing
98 - append-flags -fno-strict-overflow
99 -
100 - multilib-minimal_src_configure
101 -}
102 -
103 -multilib_src_configure() {
104 - use keyutils || export ac_cv_header_keyutils_h=no
105 - ECONF_SOURCE=${S} \
106 - WARN_CFLAGS="set" \
107 - econf \
108 - $(use_with openldap ldap) \
109 - "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
110 - $(use_enable pkinit) \
111 - $(use_enable threads thread-support) \
112 - --without-hesiod \
113 - --enable-shared \
114 - --with-system-et \
115 - --with-system-ss \
116 - --enable-dns-for-realm \
117 - --enable-kdc-lookaside-cache \
118 - --with-system-verto \
119 - --disable-rpath
120 -}
121 -
122 -multilib_src_compile() {
123 - emake -j1
124 -}
125 -
126 -multilib_src_test() {
127 - multilib_is_native_abi && emake -j1 check
128 -}
129 -
130 -multilib_src_install() {
131 - emake \
132 - DESTDIR="${D}" \
133 - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
134 - install
135 -}
136 -
137 -multilib_src_install_all() {
138 - # default database dir
139 - keepdir /var/lib/krb5kdc
140 -
141 - cd ..
142 - dodoc README
143 -
144 - if use doc; then
145 - dohtml -r doc/html/*
146 - docinto pdf
147 - dodoc doc/pdf/*.pdf
148 - fi
149 -
150 - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
151 - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
152 - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
153 - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
154 - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
155 - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
156 -
157 - insinto /etc
158 - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
159 - insinto /var/lib/krb5kdc
160 - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
161 -
162 - if use openldap ; then
163 - insinto /etc/openldap/schema
164 - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
165 - fi
166 -
167 - if use xinetd ; then
168 - insinto /etc/xinetd.d
169 - newins "${FILESDIR}/kpropd.xinetd" kpropd
170 - fi
171 -}
172 -
173 -pkg_preinst() {
174 - if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
175 - elog "MIT split the Kerberos applications from the base Kerberos"
176 - elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
177 - elog "ftp clients and telnet, ftp deamons now live in"
178 - elog "\"app-crypt/mit-krb5-appl\" package."
179 - fi
180 -}