summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-02-20 18:16:10 +0000
committerEray Aslan <eras@gentoo.org>2011-02-20 18:16:10 +0000
commit1b8b3575c2a6733741b912096b36fd87999e52f8 (patch)
tree0184a05cb33eeb2d8eef4c97a2c0a77192f889e1 /app-crypt/heimdal
parentFix building with libpng-1.5, convert to EAPI=2, disable unneeded configure w... (diff)
downloadhistorical-1b8b3575c2a6733741b912096b36fd87999e52f8.tar.gz
historical-1b8b3575c2a6733741b912096b36fd87999e52f8.tar.bz2
historical-1b8b3575c2a6733741b912096b36fd87999e52f8.zip
Correct -berkdb option to configure script. Thanks to Jan Psota. Remove old.
Package-Manager: portage-2.1.9.40/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/heimdal')
-rw-r--r--app-crypt/heimdal/ChangeLog7
-rw-r--r--app-crypt/heimdal/Manifest5
-rw-r--r--app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild13
-rw-r--r--app-crypt/heimdal/heimdal-1.4.1_pre20110216.ebuild137
4 files changed, 17 insertions, 145 deletions
diff --git a/app-crypt/heimdal/ChangeLog b/app-crypt/heimdal/ChangeLog
index 73d8041debe6..b3884ce3b586 100644
--- a/app-crypt/heimdal/ChangeLog
+++ b/app-crypt/heimdal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/heimdal
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.169 2011/02/20 10:22:40 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.170 2011/02/20 18:16:10 eras Exp $
+
+ 20 Feb 2011; Eray Aslan <eras@gentoo.org>
+ -heimdal-1.4.1_pre20110216.ebuild, heimdal-1.4.1_pre20110216-r1.ebuild:
+ Correct -berkdb option to configure script. Thanks to Jan Psota. Remove
+ old.
*heimdal-1.4.1_pre20110216-r1 (20 Feb 2011)
diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest
index a9bf19aeeb08..75ae8b7bf5e1 100644
--- a/app-crypt/heimdal/Manifest
+++ b/app-crypt/heimdal/Manifest
@@ -20,7 +20,6 @@ AUX krb5.conf 424 RMD160 80a0159824b8a44698d97d911c701bb05f2f0688 SHA1 7602cc725
DIST heimdal-1.3.3.tar.gz 5744155 RMD160 ce97ac415e7c27912ba148b81c46e756dc54ba3e SHA1 a385d959e3edd144aee79e9df585e44347342049 SHA256 8c8d2b272529c87ae9800825e2f266821b696ae6b56837edf0d19e17fc2a8630
DIST heimdal-1.4.1_pre20110216.tar.bz2 10322710 RMD160 2ab82fa99d13dc91f8c28377b02ed40dd98d5ae5 SHA1 2fd61808398c956f152b809e50dc1d56781280f7 SHA256 e733e248479c36b1b9f7ce4e1cbc925efa05c514d40b44395e56932761e18cfc
EBUILD heimdal-1.3.3-r1.ebuild 3136 RMD160 a77f4854f9cd988bad15a587af8fae3fc6e8de6a SHA1 7c5afecbdfcd43c8691fc4af0c7e33e0b5239ac5 SHA256 6984607ec24083cef23e8af14922516997d214885abccc32b42b0c9a2044b989
-EBUILD heimdal-1.4.1_pre20110216-r1.ebuild 3957 RMD160 01c58630aa39b812f4d7ea005a842240def1228f SHA1 411b9a56fa4d4a959e0728c296cf8b5b16a4a46d SHA256 8fd61b96e1037433a987247a66a3e3e25bb683517557afd1530da612158b54fa
-EBUILD heimdal-1.4.1_pre20110216.ebuild 3584 RMD160 97c5c8bb1397322c6276baa24368f52bf0913b7a SHA1 11482648759a5528362c202c9404a1a6565e66c0 SHA256 cc4b23fdaf4d15746d32cec9e474ef36cc71820dd945102c2f067c5fec1ee92a
-MISC ChangeLog 27926 RMD160 493b725e9aa6ec42de29521bffdae2e20ac6246e SHA1 2566037c54bbde61573283c174fbeefa7c272dfe SHA256 84c0ad38bd46d1d709fa69ab64dcbce427ab9df662c906df84801badc107b48e
+EBUILD heimdal-1.4.1_pre20110216-r1.ebuild 4031 RMD160 304365f5f500bc702f9a4fd7c0408e6212c191b8 SHA1 1459ce6c7c6b0274c71e936daa81b5bc11497cc8 SHA256 8b904e9aa5fe8695c66b39b5b4b4bef21e2291d9b4308e94b649a0273afe4caf
+MISC ChangeLog 28126 RMD160 3700a606a04b3bfd2b987a4b81decafdcf10799b SHA1 1be51d8527f4e79b9b2d73d01d9a5a3a0f686ec8 SHA256 467a92e210e8afb4c9dfccb337522cc2fedd960d1ad67cd8421591969a05502b
MISC metadata.xml 469 RMD160 2dc8ebb842bdde2d766a1d35335d97581686cccc SHA1 f87ee646d52dc65e1c232b5ca15f7cfeef213304 SHA256 8d648750dfc00c8726d98166f672d9d35396cdad6f1ebed89e0ee4a29045abad
diff --git a/app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild b/app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild
index 2436c9b613b2..9d866cfd377c 100644
--- a/app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild
+++ b/app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild,v 1.1 2011/02/20 10:22:40 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.4.1_pre20110216-r1.ebuild,v 1.2 2011/02/20 18:16:10 eras Exp $
EAPI=2
# PYTHON_BDEPEND="2"
@@ -51,6 +51,12 @@ src_prepare() {
}
src_configure() {
+ 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 \
@@ -64,13 +70,12 @@ src_configure() {
$(use_enable pkinit kx509) \
$(use_enable pkinit pk-init) \
$(use_enable threads pthread-support) \
- $(use_with berkdb berkeley-db) \
- $(use_with berkdb berkeley-db-include=$(db_includedir)) \
$(use_with caps capng) \
$(use_with hdb-ldap openldap /usr) \
$(use_with ipv6) \
$(use_with ssl openssl /usr) \
- $(use_with X x)
+ $(use_with X x) \
+ ${myconf}
}
src_compile() {
diff --git a/app-crypt/heimdal/heimdal-1.4.1_pre20110216.ebuild b/app-crypt/heimdal/heimdal-1.4.1_pre20110216.ebuild
deleted file mode 100644
index 1b2f59854027..000000000000
--- a/app-crypt/heimdal/heimdal-1.4.1_pre20110216.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.4.1_pre20110216.ebuild,v 1.2 2011/02/17 17:06:20 arfrever Exp $
-
-EAPI=2
-# PYTHON_BDEPEND="2"
-VIRTUALX_REQUIRED="manual"
-
-inherit autotools db-use eutils libtool python toolchain-funcs virtualx
-
-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.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl threads test X"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- 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
- afs? ( net-fs/openafs )
- hdb-ldap? ( >=net-nds/openldap-2.3.0 )
- !!app-crypt/mit-krb5"
-
-DEPEND="${RDEPEND}
- =dev-lang/python-2*
- dev-util/pkgconfig
- >=sys-devel/autoconf-2.62
- test? ( X? ( ${VIRTUALX_DEPEND} ) )"
-
-PROVIDE="virtual/krb5"
-
-S="${WORKDIR}/${PN}"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}/heimdal_db5.patch"
- epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
- epatch "${FILESDIR}/heimdal_link_order.patch"
- eautoreconf
-}
-
-src_configure() {
- 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 threads pthread-support) \
- $(use_with berkdb berkeley-db) \
- $(use_with berkdb berkeley-db-include=$(db_includedir)) \
- $(use_with caps capng) \
- $(use_with hdb-ldap openldap /usr) \
- $(use_with ipv6) \
- $(use_with ssl openssl /usr) \
- $(use_with X x)
-}
-
-src_compile() {
- emake -j1 || die "emake failed"
-}
-
-src_test() {
- einfo "Disabled check-iprop which is known to fail. Other tests should work."
- default_src_test
-}
-
-src_install() {
- INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
-
- 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-r1 heimdal-kdc
- newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind
- newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 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
-
- # default database dir
- keepdir /var/heimdal
-}
-
-pkg_preinst() {
-
- if has_version "=${CATEGORY}/${PN}-1.3.2*" ; then
- if use hdb-ldap ; then
- ewarn "Schema name changed to hdb.schema to follow upstream."
- ewarn "Please check your slapd conf file to make sure"
- ewarn "that the correct schema file is included."
- fi
- fi
-}