diff options
author | Jonathan Callen <abcd@gentoo.org> | 2011-03-12 18:45:00 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2011-03-12 18:45:00 +0000 |
commit | accd8171be43df11a02705feeff52acfc381d7b0 (patch) | |
tree | 871566e5913a36dbcda02f9fe0e873e1d7312def /app-crypt | |
parent | Clean old. (diff) | |
download | gentoo-2-accd8171be43df11a02705feeff52acfc381d7b0.tar.gz gentoo-2-accd8171be43df11a02705feeff52acfc381d7b0.tar.bz2 gentoo-2-accd8171be43df11a02705feeff52acfc381d7b0.zip |
Add prefix support from prefix overlay. Bump to EAPI 3. Add prefix keywords.
(Portage version: 2.2.0_alpha23_p5/cvs/Linux i686)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/mit-krb5/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/mit-krb5/metadata.xml | 1 | ||||
-rw-r--r-- | app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild | 21 |
3 files changed, 17 insertions, 11 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog index a24182631026..82d4a1358895 100644 --- a/app-crypt/mit-krb5/ChangeLog +++ b/app-crypt/mit-krb5/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/mit-krb5 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.261 2011/03/12 15:46:14 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.262 2011/03/12 18:45:00 abcd Exp $ + + 12 Mar 2011; Jonathan Callen <abcd@gentoo.org> mit-krb5-1.9-r1.ebuild, + metadata.xml: + Add prefix support from prefix overlay. Bump to EAPI 3. Add prefix keywords. 12 Mar 2011; Eray Aslan <eras@gentoo.org> mit-krb5-1.9-r1.ebuild, metadata.xml: diff --git a/app-crypt/mit-krb5/metadata.xml b/app-crypt/mit-krb5/metadata.xml index 09d4d31de2ce..2609e96c2f9d 100644 --- a/app-crypt/mit-krb5/metadata.xml +++ b/app-crypt/mit-krb5/metadata.xml @@ -9,6 +9,7 @@ documentation. This is only useful if you want to develop software which depends on kerberos. </flag> + <flag name="keyutils">Enable for the keyring ccache using keyutils.</flag> <flag name="pkinit">Enable pkinit support for the initial ticket.</flag> <flag name="openldap">Enable support for ldap as a database backend.</flag> </use> diff --git a/app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild index 7487fec1a8bd..9f2d1155647f 100644 --- a/app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild +++ b/app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild,v 1.2 2011/03/12 15:46:14 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9-r1.ebuild,v 1.3 2011/03/12 18:45:00 abcd Exp $ -EAPI=2 +EAPI=3 inherit eutils flag-o-matic versionator @@ -14,12 +14,12 @@ SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar" LICENSE="as-is" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="doc openldap +pkinit +threads test xinetd" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc +keyutils openldap +pkinit +threads test xinetd" RDEPEND="!!app-crypt/heimdal >=sys-libs/e2fsprogs-libs-1.41.0 - sys-apps/keyutils + keyutils? ( sys-apps/keyutils ) openldap? ( net-nds/openldap ) xinetd? ( sys-apps/xinetd )" DEPEND="${RDEPEND} @@ -43,10 +43,11 @@ src_prepare() { } src_configure() { - append-flags "-I/usr/include/et" + append-flags "-I${EPREFIX}/usr/include/et" + use keyutils || export ac_cv_header_keyutils_h=no econf \ $(use_with openldap ldap) \ - $(use_with test tcl /usr) \ + "$(use_with test tcl "${EPREFIX}/usr")" \ $(use_enable pkinit) \ $(use_enable threads thread-support) \ --without-krb4 \ @@ -73,7 +74,7 @@ src_compile() { src_install() { emake \ DESTDIR="${D}" \ - EXAMPLEDIR="/usr/share/doc/${PF}/examples" \ + EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ install || die "install failed" # default database dir @@ -94,9 +95,9 @@ src_install() { newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die insinto /etc - newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example + newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example insinto /var/lib/krb5kdc - newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example + newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example if use openldap ; then insinto /etc/openldap/schema |