1 |
commit: 1b98dde34b467e21da052fb689851e87f0702e43 |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 12:50:17 2016 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 12:50:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b98dde3 |
7 |
|
8 |
app-crypt/heimdal: version bump to heimdal-7.0.1 |
9 |
|
10 |
Upstream version numbering change: heimdal-7.0.1 is release candidate |
11 |
for heimdal-7.1 and is therefore p.masked |
12 |
|
13 |
Package-Manager: portage-2.3.2 |
14 |
|
15 |
app-crypt/heimdal/Manifest | 1 + |
16 |
app-crypt/heimdal/heimdal-7.0.1.ebuild | 170 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 171 insertions(+) |
18 |
|
19 |
diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest |
20 |
index e8322ee..20cd241 100644 |
21 |
--- a/app-crypt/heimdal/Manifest |
22 |
+++ b/app-crypt/heimdal/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST heimdal-1.5.3.tar.gz 6798305 SHA256 aac27bedb33c341b6aed202af07ccc816146a893148721f8123abbbf93bbfea5 SHA512 5c7890f60d6fe6b5034fca204eb7cdb33fdc397fe09b169212b6267310b83bb0b3b06a4c2888841be34c92cbd701bd95734b4019c33c147459c4a449861c4431 WHIRLPOOL 8202b1bdf76e84b4a0fea1aa89935dfb3fbcceca38c84ffb3e3e8454691398c9a7cecfad40c6661426be5e82f4e3f43b6d6494cf287900ff958e06603b602e19 |
25 |
+DIST heimdal-7.0.1.tar.gz 8030155 SHA256 85971537cd439082437234172ec2da11f6601730233b204724d9d8c0a3b42af7 SHA512 f711f8d29d843286a2a513587c17eb8dabae5e3068a0181f33e4133e3f756d01d534add4e33e82e73d27628a13d7625dc87e5bea5b4068d205d13da926380508 WHIRLPOOL e3aed7536c104288898d1506928ff263ba00f9c33110b2af7243a2fc632217c0da672050d8fb20e1947cf87c371efda8b8da0a74d1f73f3085621472d5a024df |
26 |
|
27 |
diff --git a/app-crypt/heimdal/heimdal-7.0.1.ebuild b/app-crypt/heimdal/heimdal-7.0.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000..3738eaf |
30 |
--- /dev/null |
31 |
+++ b/app-crypt/heimdal/heimdal-7.0.1.ebuild |
32 |
@@ -0,0 +1,170 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=6 |
38 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
39 |
+VIRTUALX_REQUIRED="manual" |
40 |
+ |
41 |
+inherit autotools db-use eutils multilib multilib-minimal python-any-r1 virtualx flag-o-matic |
42 |
+ |
43 |
+MY_P="${P}" |
44 |
+DESCRIPTION="Kerberos 5 implementation from KTH" |
45 |
+HOMEPAGE="http://www.h5l.org/" |
46 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" |
51 |
+IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit selinux ssl static-libs test X" |
52 |
+ |
53 |
+CDEPEND="ssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) |
54 |
+ berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] ) |
55 |
+ !berkdb? ( >=sys-libs/gdbm-1.10-r1[${MULTILIB_USEDEP}] ) |
56 |
+ caps? ( sys-libs/libcap-ng ) |
57 |
+ >=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] |
58 |
+ >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
59 |
+ sys-libs/ncurses:0= |
60 |
+ >=sys-libs/readline-6.2_p5-r1[${MULTILIB_USEDEP}] |
61 |
+ afs? ( net-fs/openafs ) |
62 |
+ hdb-ldap? ( >=net-nds/openldap-2.3.0 ) |
63 |
+ X? ( x11-libs/libX11 |
64 |
+ x11-libs/libXau |
65 |
+ x11-libs/libXt ) |
66 |
+ abi_x86_32? ( |
67 |
+ !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 |
68 |
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
69 |
+ ) |
70 |
+ !!app-crypt/mit-krb5 |
71 |
+ !!app-crypt/mit-krb5-appl" |
72 |
+ |
73 |
+DEPEND="${CDEPEND} |
74 |
+ ${PYTHON_DEPS} |
75 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
76 |
+ >=sys-devel/autoconf-2.62 |
77 |
+ test? ( X? ( ${VIRTUALX_DEPEND} ) )" |
78 |
+ |
79 |
+RDEPEND="${CDEPEND} |
80 |
+ selinux? ( sec-policy/selinux-kerberos )" |
81 |
+ |
82 |
+MULTILIB_WRAPPED_HEADERS=( |
83 |
+ /usr/include/krb5-types.h |
84 |
+ /usr/include/cms_asn1.h |
85 |
+ /usr/include/digest_asn1.h |
86 |
+ /usr/include/hdb_asn1.h |
87 |
+ /usr/include/krb5_asn1.h |
88 |
+ /usr/include/pkcs12_asn1.h |
89 |
+ /usr/include/pkinit_asn1.h |
90 |
+ /usr/include/rfc2459_asn1.h |
91 |
+) |
92 |
+ |
93 |
+MULTILIB_CHOST_TOOLS=( |
94 |
+ /usr/bin/krb5-config |
95 |
+) |
96 |
+ |
97 |
+src_prepare() { |
98 |
+ eapply "${FILESDIR}/heimdal_disable-check-iprop.patch" |
99 |
+ eapply "${FILESDIR}/heimdal_tinfo.patch" |
100 |
+ eautoreconf |
101 |
+ eapply_user |
102 |
+} |
103 |
+ |
104 |
+src_configure() { |
105 |
+ # QA |
106 |
+ append-flags -fno-strict-aliasing |
107 |
+ |
108 |
+ multilib-minimal_src_configure |
109 |
+} |
110 |
+ |
111 |
+multilib_src_configure() { |
112 |
+ local myconf=() |
113 |
+ if use berkdb; then |
114 |
+ myconf+=( |
115 |
+ --with-berkeley-db |
116 |
+ --with-berkeley-db-include="$(db_includedir)" |
117 |
+ ) |
118 |
+ else |
119 |
+ myconf+=( |
120 |
+ --without-berkeley-db |
121 |
+ ) |
122 |
+ fi |
123 |
+ |
124 |
+ ECONF_SOURCE=${S} \ |
125 |
+ econf \ |
126 |
+ --enable-kcm \ |
127 |
+ --disable-osfc2 \ |
128 |
+ --enable-shared \ |
129 |
+ --with-libintl=/usr \ |
130 |
+ --with-readline=/usr \ |
131 |
+ --with-sqlite3=/usr \ |
132 |
+ --libexecdir=/usr/sbin \ |
133 |
+ --enable-pthread-support \ |
134 |
+ $(use_enable afs afs-support) \ |
135 |
+ $(use_enable otp) \ |
136 |
+ $(use_enable pkinit kx509) \ |
137 |
+ $(use_enable pkinit pk-init) \ |
138 |
+ $(use_enable static-libs static) \ |
139 |
+ $(multilib_native_use_with caps capng) \ |
140 |
+ $(multilib_native_use_with hdb-ldap openldap /usr) \ |
141 |
+ $(use_with ipv6) \ |
142 |
+ $(use_with ssl openssl /usr) \ |
143 |
+ $(multilib_native_use_with X x) \ |
144 |
+ "${myconf[@]}" |
145 |
+} |
146 |
+ |
147 |
+multilib_src_compile() { |
148 |
+ if multilib_is_native_abi; then |
149 |
+ emake -j1 |
150 |
+ else |
151 |
+ emake -C include -j1 |
152 |
+ emake -C base -j1 |
153 |
+ emake -C lib -j1 |
154 |
+ emake -C kdc -j1 |
155 |
+ emake -C tools -j1 |
156 |
+ emake -C tests/plugin -j1 |
157 |
+ fi |
158 |
+} |
159 |
+ |
160 |
+multilib_src_test() { |
161 |
+ multilib_is_native_abi && emake -j1 check |
162 |
+} |
163 |
+ |
164 |
+multilib_src_install() { |
165 |
+ if multilib_is_native_abi; then |
166 |
+ INSTALL_CATPAGES="no" emake DESTDIR="${D}" install |
167 |
+ else |
168 |
+ emake -C include DESTDIR="${D}" install |
169 |
+ emake -C base DESTDIR="${D}" install |
170 |
+ emake -C lib DESTDIR="${D}" install |
171 |
+ emake -C kdc DESTDIR="${D}" install |
172 |
+ emake -C tools DESTDIR="${D}" install |
173 |
+ emake -C tests/plugin DESTDIR="${D}" install |
174 |
+ fi |
175 |
+} |
176 |
+ |
177 |
+multilib_src_install_all() { |
178 |
+ dodoc ChangeLog* README NEWS TODO |
179 |
+ |
180 |
+ newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc |
181 |
+ newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind |
182 |
+ newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd |
183 |
+ newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm |
184 |
+ |
185 |
+ newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc |
186 |
+ newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind |
187 |
+ newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd |
188 |
+ newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm |
189 |
+ |
190 |
+ insinto /etc |
191 |
+ newins "${S}"/krb5.conf krb5.conf.example |
192 |
+ |
193 |
+ if use hdb-ldap; then |
194 |
+ insinto /etc/openldap/schema |
195 |
+ doins "${S}/lib/hdb/hdb.schema" |
196 |
+ fi |
197 |
+ |
198 |
+ prune_libtool_files |
199 |
+ |
200 |
+ # default database dir |
201 |
+ keepdir /var/heimdal |
202 |
+} |