summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@gentoo.org>2006-05-05 04:23:58 +0000
committerEmanuele Giaquinta <exg@gentoo.org>2006-05-05 04:23:58 +0000
commitb512ce48496f20249820a7def9f46b5497c1d857 (patch)
treed543ed6320a5c3e19f6952a5dfccfbd830aeaf17 /app-crypt
parentFixed #117768. (diff)
downloadgentoo-2-b512ce48496f20249820a7def9f46b5497c1d857.tar.gz
gentoo-2-b512ce48496f20249820a7def9f46b5497c1d857.tar.bz2
gentoo-2-b512ce48496f20249820a7def9f46b5497c1d857.zip
Version bump. Add patch for bug #113341.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/kth-krb/ChangeLog9
-rw-r--r--app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r22
-rw-r--r--app-crypt/kth-krb/files/digest-kth-krb-1.3_rc13
-rw-r--r--app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch20
-rw-r--r--app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild3
-rw-r--r--app-crypt/kth-krb/kth-krb-1.3_rc1.ebuild66
6 files changed, 101 insertions, 2 deletions
diff --git a/app-crypt/kth-krb/ChangeLog b/app-crypt/kth-krb/ChangeLog
index 9562a468c279..8cade99481d0 100644
--- a/app-crypt/kth-krb/ChangeLog
+++ b/app-crypt/kth-krb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-crypt/kth-krb
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/ChangeLog,v 1.32 2006/01/13 11:23:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/ChangeLog,v 1.33 2006/05/05 04:23:58 exg Exp $
+
+*kth-krb-1.3_rc1 (05 May 2006)
+
+ 05 May 2006; Emanuele Giaquinta <exg@gentoo.org>
+ +files/kth-krb-1.2.2-revoke.patch, kth-krb-1.2.2-r2.ebuild,
+ +kth-krb-1.3_rc1.ebuild:
+ Version bump. Add patch for bug #113341.
13 Jan 2006; Mike Frysinger <vapier@gentoo.org>
+files/kth-krb-1.2.2-gcc.patch, kth-krb-1.2.2-r2.ebuild:
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
index 93e0994665b4..431a20c763b7 100644
--- 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
@@ -1 +1,3 @@
MD5 e91fae1622a30a4e033092ef39c2b6b9 krb4-1.2.2.tar.gz 1876603
+RMD160 585f19767c610c31ca5be59d8cf61724739969f1 krb4-1.2.2.tar.gz 1876603
+SHA256 3b500fa13d2685512efa37fce510c3d55ba6ecb964ebb06bc9f1649d48aac155 krb4-1.2.2.tar.gz 1876603
diff --git a/app-crypt/kth-krb/files/digest-kth-krb-1.3_rc1 b/app-crypt/kth-krb/files/digest-kth-krb-1.3_rc1
new file mode 100644
index 000000000000..16fee235b3a5
--- /dev/null
+++ b/app-crypt/kth-krb/files/digest-kth-krb-1.3_rc1
@@ -0,0 +1,3 @@
+MD5 2e95719f9f1fc9c6fd219ac7acdff635 krb4-1.3rc1.tar.gz 1948352
+RMD160 bf8a0904c0c99c2d99a92431fc28802618e77526 krb4-1.3rc1.tar.gz 1948352
+SHA256 208472c8bef1126bd2ebec0042fb691baea1769bada8af2d9e4eb6ce765aac16 krb4-1.3rc1.tar.gz 1948352
diff --git a/app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch b/app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch
new file mode 100644
index 000000000000..22435a921cdc
--- /dev/null
+++ b/app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch
@@ -0,0 +1,20 @@
+--- appl/bsd/forkpty.c.old 2006-05-04 18:06:40.000000000 +0200
++++ appl/bsd/forkpty.c 2006-05-04 18:07:05.000000000 +0200
+@@ -70,7 +70,7 @@
+ #ifndef HAVE_REVOKE
+ static
+ int
+-revoke(const char *line)
++_revoke(const char *line)
+ {
+ int slave;
+ RETSIGTYPE (*ofun)(int);
+@@ -403,7 +403,7 @@
+ if (setsid() < 0)
+ fatal(0, "setsid() failure", errno);
+
+- revoke(slave_name);
++ _revoke(slave_name);
+
+ #if defined(NeXT) || defined(ultrix)
+ /* The NeXT is severely broken, this makes things slightly
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
index b4a77b26787d..f8c4345767a1 100644
--- a/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild
+++ b/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# 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.10 2006/01/13 11:23:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/kth-krb-1.2.2-r2.ebuild,v 1.11 2006/05/05 04:23:58 exg Exp $
inherit eutils
@@ -29,6 +29,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-fPIC.patch
epatch "${FILESDIR}"/${P}-no_libedit.patch
epatch "${FILESDIR}"/${P}-gcc.patch
+ epatch "${FILESDIR}"/${P}-revoke.patch
libtoolize --copy --force || die
autoreconf || die
diff --git a/app-crypt/kth-krb/kth-krb-1.3_rc1.ebuild b/app-crypt/kth-krb/kth-krb-1.3_rc1.ebuild
new file mode 100644
index 000000000000..dbe463307e7a
--- /dev/null
+++ b/app-crypt/kth-krb/kth-krb-1.3_rc1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/kth-krb/kth-krb-1.3_rc1.ebuild,v 1.1 2006/05/05 04:23:58 exg Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Kerberos 4 implementation from KTH"
+HOMEPAGE="http://www.pdc.kth.se/kth-krb/"
+SRC_URI="ftp://ftp.pdc.kth.se/pub/krb/src/snapshots/krb4-${PV/_/}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
+IUSE="ssl afs"
+
+DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
+ afs? ( >=net-fs/openafs-1.2.2-r7 )"
+
+S=${WORKDIR}/krb4-${PV/_/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-1.2.2-berkdb.patch
+ epatch "${FILESDIR}"/${PN}-1.2.2-fPIC.patch
+ epatch "${FILESDIR}"/${PN}-1.2.2-no_libedit.patch
+ epatch "${FILESDIR}"/${PN}-1.2.2-gcc.patch
+ epatch "${FILESDIR}"/${PN}-1.2.2-revoke.patch
+
+ AT_M4DIR="cf" eautoreconf
+}
+
+src_compile() {
+ 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
+
+ doenvd "${FILESDIR}"/02kth-krb
+
+ 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
+}