diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-07-12 21:03:18 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-07-12 21:03:18 +0000 |
commit | 2c14a370fe9ac094262c8dfe9a968bc0d826ea34 (patch) | |
tree | 3bd76e53e0dd5ec4aa4f8cef8722ae3c84fbd23c /app-crypt | |
parent | Stable on hppa (diff) | |
download | gentoo-2-2c14a370fe9ac094262c8dfe9a968bc0d826ea34.tar.gz gentoo-2-2c14a370fe9ac094262c8dfe9a968bc0d826ea34.tar.bz2 gentoo-2-2c14a370fe9ac094262c8dfe9a968bc0d826ea34.zip |
Flake me. localstatedir is supposed to be /etc, not /var/lib -- and use the system db ONLY with berkdb in USE
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/mit-krb5/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/mit-krb5/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/digest-mit-krb5-1.4.1-r2 | 3 | ||||
-rw-r--r-- | app-crypt/mit-krb5/mit-krb5-1.4.1-r2.ebuild | 138 |
4 files changed, 152 insertions, 2 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog index 3d3fc40b8e2c..99bd78551939 100644 --- a/app-crypt/mit-krb5/ChangeLog +++ b/app-crypt/mit-krb5/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-crypt/mit-krb5 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.94 2005/07/12 18:26:33 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.95 2005/07/12 21:03:18 seemant Exp $ + +*mit-krb5-1.4.1-r2 (12 Jul 2005) + + 12 Jul 2005; Seemant Kulleen <seemant@gentoo.org> + +mit-krb5-1.4.1-r2.ebuild: + Flake me. localstatedir is supposed to be /etc, not /var/lib -- and use the + system db ONLY with berkdb in USE *mit-krb5-1.4.1-r1 (12 Jul 2005) diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest index 28577e138f63..ebbcff5c1eaa 100644 --- a/app-crypt/mit-krb5/Manifest +++ b/app-crypt/mit-krb5/Manifest @@ -1,5 +1,6 @@ -MD5 c2991daa42fbf0330feaf0a921da0a22 ChangeLog 16232 +MD5 8bcb94ca8628015514cdce0bf9d3fd80 ChangeLog 16462 MD5 f3ea9dd1d52f37139fbc4d101044f821 metadata.xml 241 +MD5 86e92b0e52c52f36c553856ee8e4612b mit-krb5-1.4.1-r2.ebuild 3073 MD5 3ca34bf11a2a02335b5b7e1cd156889b mit-krb5-1.4.1-r1.ebuild 3014 MD5 186bd4cbeff944079f44105d4c962c80 files/kdc.conf 438 MD5 fbb2a86038ab98ca0c7493ad9d55ace9 files/krb5.conf 541 @@ -9,3 +10,4 @@ MD5 ae7e2bde0b20e580f49d5a3c524b445b files/mit-krb5-1.4.1-lazyldflags.patch 509 MD5 61a61d22565605924a06789f9da352bf files/mit-krb5kadmind.initd 687 MD5 c214030264300e2d84375d23d7c1f892 files/mit-krb5kdc.initd 656 MD5 bd5b2d0e988dc8f634c70e965d75cb3a files/digest-mit-krb5-1.4.1-r1 200 +MD5 bd5b2d0e988dc8f634c70e965d75cb3a files/digest-mit-krb5-1.4.1-r2 200 diff --git a/app-crypt/mit-krb5/files/digest-mit-krb5-1.4.1-r2 b/app-crypt/mit-krb5/files/digest-mit-krb5-1.4.1-r2 new file mode 100644 index 000000000000..b8a0edd02887 --- /dev/null +++ b/app-crypt/mit-krb5/files/digest-mit-krb5-1.4.1-r2 @@ -0,0 +1,3 @@ +MD5 617e0071fa5b74ab4116f064678af551 krb5-1.4.1-signed.tar 6666240 +MD5 c00d48c6425ab6a40d7a0a9377a5a1da 2005-002-patch_1.4.1.txt 2482 +MD5 520eb464c5171563818ec9e3b82b0117 2005-003-patch_1.4.1.txt 885 diff --git a/app-crypt/mit-krb5/mit-krb5-1.4.1-r2.ebuild b/app-crypt/mit-krb5/mit-krb5-1.4.1-r2.ebuild new file mode 100644 index 000000000000..1baefcdb6815 --- /dev/null +++ b/app-crypt/mit-krb5/mit-krb5-1.4.1-r2.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2005 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.4.1-r2.ebuild,v 1.1 2005/07/12 21:03:18 seemant Exp $ + +inherit eutils flag-o-matic versionator + +MY_P=${P/mit-} +P_DIR=$(get_version_component_range 1-2) +S=${WORKDIR}/${MY_P}/src +DESCRIPTION="MIT Kerberos V" +HOMEPAGE="http://web.mit.edu/kerberos/www/" +SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar + http://web.mit.edu/kerberos/advisories/2005-002-patch_${PV}.txt + http://web.mit.edu/kerberos/advisories/2005-003-patch_${PV}.txt" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" +IUSE="krb4 static tcltk ipv6 doc tetex berkdb" + +RDEPEND="virtual/libc + !virtual/krb5" + +DEPEND="${RDEPEND} + sys-libs/com_err + sys-libs/ss + sys-devel/autoconf + berkdb? ( >=sys-libs/db-4 )" + +PROVIDE="virtual/krb5" + +src_unpack() { + unpack ${MY_P}-signed.tar; tar zxf ${MY_P}.tar.gz; cd ${S} + epatch ${FILESDIR}/${P}-lazyldflags.patch + + EPATCH_SUFFIX="txt" \ + epatch ${DISTDIR}/2005-002-patch_${PV}.txt + EPATCH_SUFFIX="txt" \ + epatch ${DISTDIR}/2005-003-patch_${PV}.txt +} + +src_compile() { + if use berkdb ; then + export DB_HEADER="/usr/include/db_185.h" + export DB_LIB="/usr/$(get_libdir)/libdb.so" + fi + + econf \ + $(use_with krb4) \ + $(use_with tcltk tcl) \ + $(use_enable ipv6) \ + $(use_enable static) \ + $(use_with berkdb system-db) \ + --localstatedir=/etc \ + --enable-shared \ + --with-system-et --with-system-ss \ + --enable-dns-for-realm || die + + MAKEOPTS=-j1 emake || die + + if use doc ; then + cd ../doc + rm man2html && ln -sf ${ROOT}/usr/bin/man2html + + make || die + + if use tetex ; then + cd api + make || die + fi + fi +} + +src_test() { + einfo "Testing is being debugged, disabled for now" +} + +src_install() { + make \ + DESTDIR=${D} \ + EXAMPLEDIR=/usr/share/doc/${PF}/examples \ + install || die + + cd .. + dodoc README + doinfo doc/*.texinfo + + if use doc + then + dohtml -r doc + use tetex \ + && dodoc doc/api/*.{tex,sty} \ + || dodoc doc/api/*.ps + + fi + + for i in {telnetd,ftpd} + do + mv ${D}/usr/share/man/man8/${i}.8 ${D}/usr/share/man/man8/k${i}.8 + mv ${D}/usr/sbin/${i} ${D}/usr/sbin/k${i} + done + + for i in {rcp,rsh,telnet,ftp} + do + mv ${D}/usr/share/man/man1/${i}.1 ${D}/usr/share/man/man1/k${i}.1 + mv ${D}/usr/bin/${i} ${D}/usr/bin/k${i} + done + + + + + + newinitd ${FILESDIR}/mit-krb5kadmind.initd mit-krb5kadmind + newinitd ${FILESDIR}/mit-krb5kdc.initd mit-krb5kdc + + insinto /etc + doins ${FILESDIR}/k{rb5,dc}.conf +} + +pkg_postinst() { + + if use doc + then + einfo "See /usr/share/doc/${PF}/html/admin.html for documentation." + echo "" + fi + einfo "The client apps are installed with the mit- prefix" + einfo "(ie. mit-ftp, mit-ftpd, mit-telnet, mit-telnetd, etc...)" + echo "" + ewarn "PLEASE READ THIS" + einfo "This release of mit-krb5 now depends on an external version" + einfo "of the com_err library. Please make sure to run revdep-rebuild" + einfo "to ensure the integrity of the linking on your system" + echo "" + epause 10 + ebeep + +} |