summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2014-10-31 16:03:30 +0000
committerEray Aslan <eras@gentoo.org>2014-10-31 16:03:30 +0000
commitff225c5f180d0deea73525637d8603d34f7cbd9e (patch)
tree46977da46ea66734b4f5c6615cde75c2fec2a372 /app-crypt/heimdal
parentStable for ppc64, wrt bug #527182 (diff)
downloadhistorical-ff225c5f180d0deea73525637d8603d34f7cbd9e.tar.gz
historical-ff225c5f180d0deea73525637d8603d34f7cbd9e.tar.bz2
historical-ff225c5f180d0deea73525637d8603d34f7cbd9e.zip
Remove old
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'app-crypt/heimdal')
-rw-r--r--app-crypt/heimdal/ChangeLog6
-rw-r--r--app-crypt/heimdal/Manifest31
-rw-r--r--app-crypt/heimdal/files/heimdal_db5.patch22
-rw-r--r--app-crypt/heimdal/heimdal-1.5.3-r1.ebuild137
-rw-r--r--app-crypt/heimdal/heimdal-1.5.3.ebuild142
5 files changed, 19 insertions, 319 deletions
diff --git a/app-crypt/heimdal/ChangeLog b/app-crypt/heimdal/ChangeLog
index f54a13e85db0..512dcff9bb5d 100644
--- a/app-crypt/heimdal/ChangeLog
+++ b/app-crypt/heimdal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/heimdal
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.229 2014/09/15 08:28:41 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.230 2014/10/31 16:03:20 eras Exp $
+
+ 31 Oct 2014; Eray Aslan <eras@gentoo.org> -files/heimdal_db5.patch,
+ -heimdal-1.5.3-r1.ebuild, -heimdal-1.5.3.ebuild:
+ Remove old
15 Sep 2014; Agostino Sarubbo <ago@gentoo.org> heimdal-1.5.3-r2.ebuild:
Stable for sparc, wrt bug #518006
diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest
index 2b6ce7e299c8..a1e04166b139 100644
--- a/app-crypt/heimdal/Manifest
+++ b/app-crypt/heimdal/Manifest
@@ -9,7 +9,6 @@ AUX heimdal-kdc.confd 130 SHA256 c96bedd8c989378cc427da77862353a879bdbfdfd9c9e4b
AUX heimdal-kdc.initd-r2 550 SHA256 17dfab0e7d56e0c0b27c258838c34c0adfd17e75be40bacfe1d68ba26f8c2604 SHA512 9fef56b7e0c79c2b8496f8786101ce48c030169a0103cb21d1ea002c0a0619ec043f33df064e3ebb00be3d692074dbf546d4029a326c9c47e989d19348203f5c WHIRLPOOL 4c6e999e05c085ffe1ef5887208ccbfd61e8d07192be23bd22717e9df484a58837b8fc76a3f0ef1a41e35232c66163fddc358d835cc083cba66298d752bd1c6f
AUX heimdal-kpasswdd.confd 148 SHA256 ee533af2cb109038108649bf3f44988fbb63d5a7fd2bacfd9842140790116003 SHA512 198d8f219abdd349213d26119e7cc343956981a5cb7d031186c81cb1a0b3f017097f4a429481089787b1cde6f8f013a8ee3909f6807f44b51531ac19a7a3a17e WHIRLPOOL bca32249a033919dd8b00ce94010408b8d2e259a11653372bd02f52a044a216146fe488ca91165095880cdc19bdc7a74fb9b9ce16ff803eeff760b6c39b70444
AUX heimdal-kpasswdd.initd-r2 569 SHA256 4dbadcf17cd41807c0c470b3b81f8f1be0eafa72a888a49433c534ae179d1d47 SHA512 6244e81248f3a70b68b58de3c8164798b9774bc80ae34a3b4fc27d204a4f32c69640be38376f436eb3edaab341e0ea0d05fe03b90a2416b43b2d84bb8364a2a7 WHIRLPOOL bcbea16e319f153042d7000972623f0c399d6b432f813c5dca6de61e47b99382f6374c408e0cd087c13c6c97f588a98c124b675ff847e78497275e9b3384a423
-AUX heimdal_db5.patch 923 SHA256 5dac2109683705b2ade8962abfd88f1d989a371b811bc17176c5b360a67bcbe3 SHA512 63fc130ed68b4b39dbb828d25da5eeafaa04a5aa659c14c03fd2312dc78715bba681cff9b43992f4e4735b1a2267453b89b5c606c8a854bc92b04958788273c3 WHIRLPOOL b15abd5698aa7e8a8d5d828f8bc6d2c6aa9ea5c2400bbc696884f83301f68ea12802cb116122d1be0730c2411d8face9c0a2f115146feb9353cd682b8458048a
AUX heimdal_db6.patch 1241 SHA256 a8b4385ce097b02317786f7227e55431253ea319bcf6364aff6bd17b484e84bc SHA512 923f045852ddfab6b1102ae69dff66775ae417384833afc36ff96c480f2809bca01e72a3d4f0b4bde6b3269cfcdf719ab8bdc9a0639d316ee384e7d1614724f0 WHIRLPOOL 4575687c8902b97b2ed23dc28c213aa38f792c70f29a10ca094d8b608f91b48fa491e6869e340d26514ad7bf9899d6c544db643fec26cb4b537888bafc73ef74
AUX heimdal_disable-check-iprop.patch 577 SHA256 b2ab6f335b5a756856a5df635df82488f9dcdb3ed02a7114f90b4a34911f9721 SHA512 c3a337d7683dba271df13cad9d5ea716449a0a8ed2b178e15ee1e8caf53f28774f96cff92b652af952a9d1b45c0afc6607fa16c115b80c87e90db9b974bb9f9e WHIRLPOOL 115bcf67b370a24aa911bfcaba5c9eee3015d02e14dd5522f9038bb31cdd968f046225eef064fca9134db885719e00499cba48ea43248f6793c4b3d477f6c52d
AUX heimdal_link_order.patch 1164 SHA256 794560047c549a996d03140ebcbd0476646f4a8e9e36d0cfe6cbaddba611e754 SHA512 f3e411592a87ef49695641ccc30d2ff9d08310df6a157dfc4c366f0a909340a7a5c2667b57dc5f736e8b0e76d13461770191dbe826fdf179023547d15fcb30cf WHIRLPOOL e2e66bd92ca5e5e1a53372c5bf542cebea665bd32a3d281cb858a36bda98932cc1506c32d874cf9126d156d06f1bf481cda13ebad8853c121676cf6dde792f6d
@@ -19,25 +18,23 @@ AUX heimdal_texinfo-5.patch 617 SHA256 4010cb2f6d09585aba071b9c9891c77704b62468d
AUX heimdal_tinfo.patch 711 SHA256 1d68c036d1f375417f52a8d79812e2e717b2ac178b6bc20bd294eea270740157 SHA512 b4c63c9e945b914009569e62fd53229032ffaecde11dc4d02a89d5ba65f2c28020d43af8f2c26d87e2b383ba6dd3c3f4c4b69529471bc1928b45a9b5c437958d WHIRLPOOL 945e032c0e7deabe0346f22b396eda86e9ba3267af285331ab98df4782a2fea7fc869abc319e3dc274561ea075c0af9a13f6b3d63a001d6724dd906b3f331243
AUX krb5.conf 424 SHA256 3acbae7a561b0a76c90ab53f41d5ffb5b811a39049c5ed15b1e7a34e8c889c6e SHA512 4dad6837344e30c6988355551b5b82bce748dad7aa7648204ba7852540ad3a546b5344926789d60e78d57ff20dff87b680b790dc8d86c8dec1008feb0d809e38 WHIRLPOOL 43526f52aee4dfb456058001bc553a81e478edd315c7c7ce8e639958afdb3049ccaa686234066b17b2edfc5aee0b4af95596e0fbebd0e66455ff0599de1af5f4
DIST heimdal-1.5.3.tar.gz 6798305 SHA256 aac27bedb33c341b6aed202af07ccc816146a893148721f8123abbbf93bbfea5 SHA512 5c7890f60d6fe6b5034fca204eb7cdb33fdc397fe09b169212b6267310b83bb0b3b06a4c2888841be34c92cbd701bd95734b4019c33c147459c4a449861c4431 WHIRLPOOL 8202b1bdf76e84b4a0fea1aa89935dfb3fbcceca38c84ffb3e3e8454691398c9a7cecfad40c6661426be5e82f4e3f43b6d6494cf287900ff958e06603b602e19
-EBUILD heimdal-1.5.3-r1.ebuild 3753 SHA256 d68f13dba6e9ec51db650aea35d46d57f36e95347381a808689e61039982f956 SHA512 da04532abcc957b16ce93f96aa36150870a1ec08c2707d8ff5874961ef9228ba60d4b03fbf097b9002c58fe8f4f0e6851bd87c9d1f816a962f78f3effff47a10 WHIRLPOOL 67c1e5453dd422db44633c52f3b6ffb8868a031116916bbd0a2afd80f42f608188b21eb1a53608d50f15337429bb64147084c78596c95d8e0aa720bf2f92afab
EBUILD heimdal-1.5.3-r2.ebuild 5110 SHA256 a8c93d704e880d8a082a9a740b05f5e2a03f297093c6cd39a43257fbe1a93bba SHA512 6aa2920851a03156c31f381b672e91582e6e05eef1bcdde0c4edb8cff4de3b61050989cbd6ef6be105b7e1762a7a3f96f2bc15819d39fe759c70ee0bdb18d098 WHIRLPOOL 596f222c795a04cbd4dd5f6ea3dd3b59f6b3f5964ea2dceda0efc013d0a08f7dd2f9778ec8eb49bbb7e10a0ce3ff2414ffb7830c0491d6fe9efb2e65dfe732f9
-EBUILD heimdal-1.5.3.ebuild 3781 SHA256 459f9acbf5c4bee161b949f6afa0d471edf4378ed615783dcad8582e6950c9e4 SHA512 4913183c7824c7442407a23d4b2b764fa8152f217cf9a65dbe4d6797b50890f35e8a1d2fd2add7514b4224a703c6afac20a5362df9b1d62e6bded869ae0caa6b WHIRLPOOL 014a5818e84781f35d58fd59b5b75274561e2b906564ef0cd15d0bc890145627444bce20fd5e66ea9adbd687b6055466c8043db5454a44f4f2282a2a7476b9c5
-MISC ChangeLog 36186 SHA256 67aabb3d4097eda3bcf3facf68651bed86ca10f600bcbe4e28d3126a52d43153 SHA512 fcfb0c8597e0defd75145093007ec845a9ff7944e092514722d96735118400d9830b763072f8dc5a42c3acaa8016036990d602c7e0a635ba459fdab20851607e WHIRLPOOL 3cc5b2dc911a1233064356d9b7d97ec81e0ef3dda777ce566d1d480a5a970c802c84f010ad661fb2466af5e08ff1dc384ca01f28555990e2350b4a997c471a98
+MISC ChangeLog 36322 SHA256 b9cebd58f83876fd68ee6ab6fa38a53ea7ab499212ee60875e5155ba8413447f SHA512 7c07c523769c79d7765ccf9ccea6dc12556aa8ee5ed121f470dd3bb5c165532b3a5d35f71971b77ab301430ab4bee52c8e232b55f1d42e2710cbd2e3cc3d4c44 WHIRLPOOL f468663e1dc94d58d3cc874ed0cfe6ac5e4687330b54cea9ca548eeae5a417f1a0e20b3d5352f5d4fdd228906e4224d077ad6f3c8af2c78768639408e260042a
MISC metadata.xml 469 SHA256 8d648750dfc00c8726d98166f672d9d35396cdad6f1ebed89e0ee4a29045abad SHA512 726af6834fd00706fceef63690c5605bd9d80930d707e6186bc19b7b0b325fe5edb8c71792c555d128efe7e95d4b9319d4f85cebe98261995b2d8280cf3735d3 WHIRLPOOL a873152dd611446f88202324526de306f5d6be8a6224aa9f28a4af963f9cecd4ba9c08b317ce51653e579dfe51c2ecca12b3f5ace910be83ada0cf6ae493669b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJUFqM6AAoJELp701BxlEWfjywP/iLL8Xdyu0jP+xghvY3Mq6T9
-xiExyOD+A2oml5Y6i+d0fN3180gblWI+z8S87X5JMOMBSOhD3ohhLJHzybsNW1HV
-5RTt1ZjeGTd4fPVRW+uZjuIPI0bKjAHO6rmBeP4GKxj7kESxC4tGFoTFS3fZ2U4B
-qf9mgKXQIUBIwAa4P+B//ulY8+odau9bt/hbg+9Uv1LButDwj2riOPavUtzKVyTf
-F3uUF9SM9NKKtm2qSPztfDfKvrx5GtVsKJ3Tp9rOVWnwpngMV9NQF/aubZuJL1UZ
-6KIJnBVzPbieqb6BHo8IQA9IzIzh50knkzpqgMEvsPqPfRRpPMvQs4mtbRNh/ARK
-vpzvKHP7ZdFpDMRwX8W+rvCN88uJHW8RE2x0avrGir0loLvCO7h82GvIsbrP4rlr
-TL0cvZ994u6rS55OwkrbSjtg8brbh8u/BdnLyHRBziR1eWwfLa32F1r527Mh5QAj
-38wIHDphEwEmXXL7sZ/87gNq+cHyUnDIfgloeE8t9hoPQxnUuHaIg150yxwbZRfI
-3yyI3zSXMkOfX3A6p36GQnPgOZxpqBabfrcM46UN2i2WOGGvQm6eluu26/MBY2Ps
-LaeU6Kv9pwCThXlZRt/LSMi/aglSSb9OFa3D+Wep62dOXUa4HdIrMoCgSZhKhbIE
-TQHwXBEZvsLpzXB/NWk4
-=XE32
+iQIcBAEBCAAGBQJUU7LSAAoJEHfx8XVYajsfCVcP/A1+qwfQRNMkipFxcYYvezO9
+12sDBBxzukCW4Se0qIWCACOGPeqisDOInulD+2qcOOTdrwK+d3Eeu6KjyI5COjxD
+Ktvt+GTpmWCMcQ6h0QTQ/3SBfGavw5DM03I+nKrgRAf1PG2UGbsY7uUvKWcIe7TJ
+E3AuQ1Z5wHDKynmLYbzHBiH4DUY4qGGV2ejwREX2Jq1Dap7lRKUdrJco+z+b/8CA
+T2qdHaado2kRzWLl7Q5D7yYi5nTGWlwWeD+T+QkqDhHkNVrOEWfFCkRWPhLqZ1QS
+11QlKiZ9OIMjHf8Fh5uN2k/jlzyCdYF9TnV6jGZQcs5RnDQGQug2SO/oDji7eamV
+u/08D2NgS5VrOS0lWLZ6HofkZ3KxkHfOPDVO2PCdOuraOqLz5u7/ifrxk2wXAcuR
+rril3ZXUsoIT2ihhixtO2dTDZDoL0vJ2nwHKzMz6GvT6lZl6XmkDpgfgWE5d2skz
+WXgBt3gnV6QrnKQZKsc2Q8wqGBQDMt4uSCwqiYeZ9qFm+Tomgabfj1lTyFbaLeNM
+g06Oiu4X+xqYK3EFGdxztAcTPLBxZiIK7ZmOLay1Bk1auzwPRex4b9x536ZJm8eY
+Qqv/xqWtag4WBKpopE4iMBk63potLNZyS/awE6DekA0JP5lI0gi9+eRryOdEFIb+
+PJTi/fMlgedZaFww+YPN
+=DA1c
-----END PGP SIGNATURE-----
diff --git a/app-crypt/heimdal/files/heimdal_db5.patch b/app-crypt/heimdal/files/heimdal_db5.patch
deleted file mode 100644
index 957a3169b29d..000000000000
--- a/app-crypt/heimdal/files/heimdal_db5.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/lib/hdb/db3.c b/lib/hdb/db3.c
-index 3b22c2e..a7bae76 100644
---- a/lib/hdb/db3.c
-+++ b/lib/hdb/db3.c
-@@ -268,7 +268,7 @@ DB_open(krb5_context context, HDB *db, int flags, mode_t mode)
- db_create(&d, NULL, 0);
- db->hdb_db = d;
-
--#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1)
-+#if (DB_VERSION_MAJOR == 5) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
- ret = (*d->open)(db->hdb_db, NULL, fn, NULL, DB_BTREE, myflags, mode);
- #else
- ret = (*d->open)(db->hdb_db, fn, NULL, DB_BTREE, myflags, mode);
-@@ -276,7 +276,7 @@ DB_open(krb5_context context, HDB *db, int flags, mode_t mode)
-
- if (ret == ENOENT) {
- /* try to open without .db extension */
--#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1)
-+#if (DB_VERSION_MAJOR == 5) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
- ret = (*d->open)(db->hdb_db, NULL, db->hdb_name, NULL, DB_BTREE,
- myflags, mode);
- #else
diff --git a/app-crypt/heimdal/heimdal-1.5.3-r1.ebuild b/app-crypt/heimdal/heimdal-1.5.3-r1.ebuild
deleted file mode 100644
index 00f6c35f8d75..000000000000
--- a/app-crypt/heimdal/heimdal-1.5.3-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.3-r1.ebuild,v 1.4 2014/05/18 19:51:35 swift Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-VIRTUALX_REQUIRED="manual"
-
-inherit autotools db-use eutils multilib python-any-r1 toolchain-funcs virtualx flag-o-matic
-
-MY_P="${P}"
-DESCRIPTION="Kerberos 5 implementation from KTH"
-HOMEPAGE="http://www.h5l.org/"
-SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
-IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit selinux ssl static-libs threads test X"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- selinux? ( sec-policy/selinux-kerberos )
- berkdb? ( sys-libs/db )
- !berkdb? ( sys-libs/gdbm )
- caps? ( sys-libs/libcap-ng )
- >=dev-db/sqlite-3.5.7
- >=sys-libs/e2fsprogs-libs-1.41.11
- sys-libs/ncurses
- sys-libs/readline
- afs? ( net-fs/openafs )
- hdb-ldap? ( >=net-nds/openldap-2.3.0 )
- X? ( x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXt )
- !!app-crypt/mit-krb5
- !!app-crypt/mit-krb5-appl"
-
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
- virtual/pkgconfig
- >=sys-devel/autoconf-2.62
- test? ( X? ( ${VIRTUALX_DEPEND} ) )"
-
-src_prepare() {
- epatch "${FILESDIR}/heimdal_missing-include.patch"
- epatch "${FILESDIR}/heimdal_db6.patch"
- epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
- epatch "${FILESDIR}/heimdal_link_order.patch"
- epatch "${FILESDIR}/heimdal_missing_symbols.patch"
- epatch "${FILESDIR}/heimdal_texinfo-5.patch"
- eautoreconf
-}
-
-src_configure() {
- # QA
- append-flags -fno-strict-aliasing
-
- local myconf=""
- if use berkdb; then
- myconf="--with-berkeley-db --with-berkeley-db-include=$(db_includedir)"
- else
- myconf="--without-berkeley-db"
- fi
- econf \
- --enable-kcm \
- --disable-osfc2 \
- --enable-shared \
- --with-libintl=/usr \
- --with-readline=/usr \
- --with-sqlite3=/usr \
- --libexecdir=/usr/sbin \
- $(use_enable afs afs-support) \
- $(use_enable otp) \
- $(use_enable pkinit kx509) \
- $(use_enable pkinit pk-init) \
- $(use_enable static-libs static) \
- $(use_enable threads pthread-support) \
- $(use_with caps capng) \
- $(use_with hdb-ldap openldap /usr) \
- $(use_with ipv6) \
- $(use_with ssl openssl /usr) \
- $(use_with X x) \
- ${myconf}
-}
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
-
- dodoc ChangeLog README NEWS TODO
-
- # Begin client rename and install
- for i in {telnetd,ftpd,rshd,popper}
- do
- mv "${D}"/usr/share/man/man8/{,k}${i}.8
- mv "${D}"/usr/sbin/{,k}${i}
- done
-
- for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
- do
- mv "${D}"/usr/share/man/man1/{,k}${i}.1
- mv "${D}"/usr/bin/{,k}${i}
- done
-
- mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
- mv "${D}"/usr/share/man/man5/{,k}login.access.5
-
- newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
- newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
- newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
- newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
-
- newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
- newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
- newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
- newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
-
- insinto /etc
- newins "${FILESDIR}"/krb5.conf krb5.conf.example
-
- if use hdb-ldap; then
- insinto /etc/openldap/schema
- doins "${S}/lib/hdb/hdb.schema"
- fi
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-
- # default database dir
- keepdir /var/heimdal
-
- # Ugly hack for broken symlink - bug #417081
- rm "${D}"/usr/share/man/man5/qop.5 || die
- dosym mech.5 /usr/share/man/man5/qop.5
-}
diff --git a/app-crypt/heimdal/heimdal-1.5.3.ebuild b/app-crypt/heimdal/heimdal-1.5.3.ebuild
deleted file mode 100644
index c9e46a2934c7..000000000000
--- a/app-crypt/heimdal/heimdal-1.5.3.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.3.ebuild,v 1.16 2014/05/18 19:51:35 swift Exp $
-
-EAPI=4
-# PYTHON_BDEPEND="2"
-VIRTUALX_REQUIRED="manual"
-
-inherit autotools db-use eutils multilib python toolchain-funcs virtualx flag-o-matic
-
-MY_P="${P}"
-DESCRIPTION="Kerberos 5 implementation from KTH"
-HOMEPAGE="http://www.h5l.org/"
-SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd"
-IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit selinux ssl static-libs threads test X"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- selinux? ( sec-policy/selinux-kerberos )
- berkdb? ( sys-libs/db )
- !berkdb? ( sys-libs/gdbm )
- caps? ( sys-libs/libcap-ng )
- >=dev-db/sqlite-3.5.7
- >=sys-libs/e2fsprogs-libs-1.41.11
- sys-libs/ncurses
- sys-libs/readline
- afs? ( net-fs/openafs )
- hdb-ldap? ( >=net-nds/openldap-2.3.0 )
- X? ( x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXt )
- !!app-crypt/mit-krb5
- !!app-crypt/mit-krb5-appl"
-
-DEPEND="${RDEPEND}
- =dev-lang/python-2*
- virtual/pkgconfig
- >=sys-devel/autoconf-2.62
- test? ( X? ( ${VIRTUALX_DEPEND} ) )"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}/heimdal_missing-include.patch"
- epatch "${FILESDIR}/heimdal_db5.patch"
- epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
- epatch "${FILESDIR}/heimdal_link_order.patch"
- epatch "${FILESDIR}/heimdal_missing_symbols.patch"
- epatch "${FILESDIR}/heimdal_texinfo-5.patch"
- eautoreconf
-}
-
-src_configure() {
- # QA
- append-flags -fno-strict-aliasing
-
- local myconf=""
- if use berkdb; then
- myconf="--with-berkeley-db --with-berkeley-db-include=$(db_includedir)"
- else
- myconf="--without-berkeley-db"
- fi
- econf \
- --enable-kcm \
- --disable-osfc2 \
- --enable-shared \
- --with-libintl=/usr \
- --with-readline=/usr \
- --with-sqlite3=/usr \
- --libexecdir=/usr/sbin \
- $(use_enable afs afs-support) \
- $(use_enable otp) \
- $(use_enable pkinit kx509) \
- $(use_enable pkinit pk-init) \
- $(use_enable static-libs static) \
- $(use_enable threads pthread-support) \
- $(use_with caps capng) \
- $(use_with hdb-ldap openldap /usr) \
- $(use_with ipv6) \
- $(use_with ssl openssl /usr) \
- $(use_with X x) \
- ${myconf}
-}
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
-
- dodoc ChangeLog README NEWS TODO
-
- # Begin client rename and install
- for i in {telnetd,ftpd,rshd,popper}
- do
- mv "${D}"/usr/share/man/man8/{,k}${i}.8
- mv "${D}"/usr/sbin/{,k}${i}
- done
-
- for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
- do
- mv "${D}"/usr/share/man/man1/{,k}${i}.1
- mv "${D}"/usr/bin/{,k}${i}
- done
-
- mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
- mv "${D}"/usr/share/man/man5/{,k}login.access.5
-
- newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
- newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
- newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
- newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
-
- newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
- newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
- newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
- newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
-
- insinto /etc
- newins "${FILESDIR}"/krb5.conf krb5.conf.example
-
- if use hdb-ldap; then
- insinto /etc/openldap/schema
- doins "${S}/lib/hdb/hdb.schema"
- fi
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-
- # default database dir
- keepdir /var/heimdal
-
- # Ugly hack for broken symlink - bug #417081
- rm "${D}"/usr/share/man/man5/qop.5 || die
- dosym mech.5 /usr/share/man/man5/qop.5
-}