diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-05-10 11:43:56 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-05-10 11:43:56 +0000 |
commit | 5f3b1270426305f40a4ad3281a38b28f7c3f0c15 (patch) | |
tree | 6b8bea4018a7a67ed6f2a25eb36a42c566fc3d37 /app-crypt/kth-krb | |
parent | version bump (Manifest recommit) (diff) | |
download | gentoo-2-5f3b1270426305f40a4ad3281a38b28f7c3f0c15.tar.gz gentoo-2-5f3b1270426305f40a4ad3281a38b28f7c3f0c15.tar.bz2 gentoo-2-5f3b1270426305f40a4ad3281a38b28f7c3f0c15.zip |
Fixes to allow heimdal to link.
Diffstat (limited to 'app-crypt/kth-krb')
-rw-r--r-- | app-crypt/kth-krb/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/kth-krb/Manifest | 18 | ||||
-rw-r--r-- | app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r2 | 1 | ||||
-rw-r--r-- | app-crypt/kth-krb/files/kth-krb-1.2.2-berkdb.patch | 22 | ||||
-rw-r--r-- | app-crypt/kth-krb/files/kth-krb-1.2.2-fPIC.patch | 24 | ||||
-rw-r--r-- | app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild | 65 |
6 files changed, 130 insertions, 8 deletions
diff --git a/app-crypt/kth-krb/ChangeLog b/app-crypt/kth-krb/ChangeLog index 7bf4f0643f91..64b97029ab45 100644 --- a/app-crypt/kth-krb/ChangeLog +++ b/app-crypt/kth-krb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/kth-krb # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/ChangeLog,v 1.21 2004/05/01 00:14:41 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/ChangeLog,v 1.22 2004/05/10 11:43:56 aliz Exp $ + +*kth-krb-1.2.2-r2 (10 May 2004) + + 10 May 2004; Daniel Ahlberg <aliz@gentoo.org> kth-krb-1.2.2-r2.ebuild: + + Added fPIC patch to allow heimdal to link to kth-krb libs. + + Added berkdb patch for newer versions of berkdb. 30 Apr 2004; Ryan Phillips <rphillips@gentoo.org> kth-krb-1.2.2-r1.ebuild: Added Weeve's patch for a sandbox violation diff --git a/app-crypt/kth-krb/Manifest b/app-crypt/kth-krb/Manifest index 4da50fb01b9e..184aed2bfa9b 100644 --- a/app-crypt/kth-krb/Manifest +++ b/app-crypt/kth-krb/Manifest @@ -1,13 +1,17 @@ -MD5 8d9a567ceb3453663473a3be73b43992 ChangeLog 2395 -MD5 5f62e2a99e462ec87ec05412a3b50806 kth-krb-1.2.1.ebuild 1246 -MD5 1eb03ded1a14c0d284c09af27b698612 kth-krb-1.2.2.ebuild 1246 +MD5 d0a269cc75f7fe8a10fd456f41bc4b41 kth-krb-1.2.2-r2.ebuild 1484 MD5 9f2a1a92792508433f529d4409f3c42f kth-krb-1.2.ebuild 1241 -MD5 6b1d8fe9677213372cea52972c918289 kth-krb-1.2.2-r1.ebuild 1410 +MD5 2524f5a92f44cd75cf7151486eee3963 kth-krb-1.2.2-r1.ebuild 1485 +MD5 1eb03ded1a14c0d284c09af27b698612 kth-krb-1.2.2.ebuild 1246 +MD5 69d5358083fb219bf843140121f3f14e ChangeLog 2491 MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 -MD5 be7f2f326e6022797dca6608b6248b7e files/02kth-krb 118 +MD5 5f62e2a99e462ec87ec05412a3b50806 kth-krb-1.2.1.ebuild 1246 +MD5 07b6dbec67c5ed1139f0db9a08ea043c files/kth-krb-1.2.2-fPIC.patch 348 MD5 2884941e77f936011c4c56d9af159ae6 files/digest-kth-krb-1.2 61 +MD5 55f56de790181ad8a1df5176a53551dd files/kth-gentoo-ssl.patch 6873 MD5 38a19d9c77f2f822ae597ae120f34fc9 files/digest-kth-krb-1.2.1 63 MD5 daffa490e9b86f52a9fe5b88559d00e2 files/digest-kth-krb-1.2.2 63 -MD5 c6ac0230ef8dc2b0476517e265a1bc4c files/kth-gentoo.patch 426 +MD5 35eed8dc7a9b322e4ed6220ef29cd1bc files/kth-krb-1.2.2-berkdb.patch 542 MD5 daffa490e9b86f52a9fe5b88559d00e2 files/digest-kth-krb-1.2.2-r1 63 -MD5 55f56de790181ad8a1df5176a53551dd files/kth-gentoo-ssl.patch 6873 +MD5 daffa490e9b86f52a9fe5b88559d00e2 files/digest-kth-krb-1.2.2-r2 63 +MD5 be7f2f326e6022797dca6608b6248b7e files/02kth-krb 118 +MD5 c6ac0230ef8dc2b0476517e265a1bc4c files/kth-gentoo.patch 426 diff --git a/app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r2 b/app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r2 new file mode 100644 index 000000000000..93e0994665b4 --- /dev/null +++ b/app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r2 @@ -0,0 +1 @@ +MD5 e91fae1622a30a4e033092ef39c2b6b9 krb4-1.2.2.tar.gz 1876603 diff --git a/app-crypt/kth-krb/files/kth-krb-1.2.2-berkdb.patch b/app-crypt/kth-krb/files/kth-krb-1.2.2-berkdb.patch new file mode 100644 index 000000000000..4b4ab86ca082 --- /dev/null +++ b/app-crypt/kth-krb/files/kth-krb-1.2.2-berkdb.patch @@ -0,0 +1,22 @@ +--- cf/db.m4 2004-03-30 09:00:23.315562886 +0000 ++++ cf/db.m4 2004-03-30 09:00:47.278672201 +0000 +@@ -14,6 +14,8 @@ + if test "$enable_berkeley_db" != no; then + + AC_CHECK_HEADERS([ \ ++ db4.2/db.h \ ++ db4.1/db.h \ + db4/db.h \ + db3/db.h \ + db.h \ +@@ -24,6 +26,10 @@ + + AC_FIND_FUNC_NO_LIBS(db_create, db4 db3 db, [ + #include <stdio.h> ++ #ifdef HAVE_DB4_2_DB_H ++ #include <db4.2/db.h> ++ #ifdef HAVE_DB4_1_DB_H ++ #include <db4.1/db.h> + #ifdef HAVE_DB4_DB_H + #include <db4/db.h> + #elif defined(HAVE_DB3_DB_H) diff --git a/app-crypt/kth-krb/files/kth-krb-1.2.2-fPIC.patch b/app-crypt/kth-krb/files/kth-krb-1.2.2-fPIC.patch new file mode 100644 index 000000000000..50bed7543b90 --- /dev/null +++ b/app-crypt/kth-krb/files/kth-krb-1.2.2-fPIC.patch @@ -0,0 +1,24 @@ +--- lib/krb/Makefile.in 2004-05-10 10:34:23.417620023 +0000 ++++ lib/krb/Makefile.in 2004-05-10 10:34:38.720867551 +0000 +@@ -444,6 +444,9 @@ + distclean-compile: + -rm -f *.tab.c + ++$(am_libkrb_la_OBJECTS): %.lo: %.c ++ $(LTCOMPILE) -fPIC -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< ++ + .c.o: + $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< + +--- lib/roken/Makefile.in 2004-05-10 11:26:19.101133205 +0000 ++++ lib/roken/Makefile.in 2004-05-10 11:27:01.150777015 +0000 +@@ -572,6 +572,9 @@ + distclean-compile: + -rm -f *.tab.c + ++$(am_libroken_la_OBJECTS): %.lo: %.c ++ $(LTCOMPILE) -fPIC -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< ++ + .c.o: + $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< + diff --git a/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild b/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild new file mode 100644 index 000000000000..353d0607513e --- /dev/null +++ b/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild,v 1.1 2004/05/10 11:43:56 aliz Exp $ + +inherit eutils + +DESCRIPTION="Kerberos 4 implementation from KTH" +HOMEPAGE="http://www.pdc.kth.se/kth-krb/" +SRC_URI="ftp://ftp.pdc.kth.se/pub/krb/src/krb4-${PV}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ppc sparc alpha ia64 amd64" +IUSE="ssl afs" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b ) + !amd64? ( afs? ( >=net-fs/openafs-1.2.2-r7 ) )" + +S=${WORKDIR}/krb4-${PV} + +src_compile() { + local myconf="" + echo ${PORTAGE_TMPDIR} + + epatch ${FILESDIR}/kth-gentoo.patch + epatch ${FILESDIR}/kth-gentoo-ssl.patch + epatch ${FILESDIR}/${P}-berkdb.patch + epatch ${FILESDIR}/${P}-fPIC.patch + + use ssl && myconf="${myconf} --with-openssl=/usr" + + use afs || myconf="${myconf} --without-afs-support" + + econf \ + --prefix=/usr/athena \ + ${myconf} || die + + make || die +} + +src_install() { + + make DESTDIR=${D} sysconfdir=${D}/etc \ + install || die + + # Doesn't get install otherwise (for some reason, look into this). + if use ssl ; then + cd ${S}/lib/des + + make DESTDIR=${D}/usr/athena \ + install || die + + cd ${S} + fi + + dodir /etc/env.d + cp ${FILESDIR}/02kth-krb ${D}/etc/env.d + + dodoc ChangeLog README NEWS PROBLEMS TODO + + # rphillips: cludge to fix the paths + einfo "Fixing /usr/athena/lib library paths" + cd ${D}/usr/athena/lib + sed -i 's:${D}/::g' *.la +} |