summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-09-17 22:55:39 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-09-17 22:55:39 +0000
commite27878239540eee5ae3fd491d2e581d1976b92ed (patch)
tree8dfe4be437985b1c471ae5eed39df473f1e096bf /app-crypt
parent.CVS: (diff)
downloadhistorical-e27878239540eee5ae3fd491d2e581d1976b92ed.tar.gz
historical-e27878239540eee5ae3fd491d2e581d1976b92ed.tar.bz2
historical-e27878239540eee5ae3fd491d2e581d1976b92ed.zip
Misc fixes
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/heimdal/ChangeLog22
-rw-r--r--app-crypt/heimdal/files/heimdal-0.6.3.all.patch62
-rw-r--r--app-crypt/heimdal/heimdal-0.6.2-r1.ebuild9
-rw-r--r--app-crypt/heimdal/heimdal-0.6.2.ebuild8
-rw-r--r--app-crypt/heimdal/heimdal-0.6.3-r1.ebuild120
-rw-r--r--app-crypt/heimdal/heimdal-0.6.3.ebuild4
6 files changed, 214 insertions, 11 deletions
diff --git a/app-crypt/heimdal/ChangeLog b/app-crypt/heimdal/ChangeLog
index 8a7f7d680f5f..812cc6f9f224 100644
--- a/app-crypt/heimdal/ChangeLog
+++ b/app-crypt/heimdal/ChangeLog
@@ -1,6 +1,26 @@
# ChangeLog for app-crypt/heimdal
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.53 2004/09/15 22:40:44 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.54 2004/09/17 22:55:39 aliz Exp $
+
+*heimdal-0.6.3-r1 (17 Sep 2004)
+
+ 17 Sep 2004; Daniel Ahlberg <aliz@gentoo.org> heimdal-0.6.2-r1.ebuild,
+ heimdal-0.6.2.ebuild, heimdal-0.6.3-r1.ebuild,
+ files/heimdal-0.6-berkdb.patch, files/heimdal-0.6-berkdb.patch.bz2,
+ files/heimdal-0.6-gcc3.patch, files/heimdal-0.6-gcc3.patch.bz2,
+ files/heimdal-0.6-rxapps.patch, files/heimdal-0.6-rxapps.patch.bz2,
+ files/heimdal-0.6.1-fPIC.patch, files/heimdal-0.6.1-fPIC.patch.bz2,
+ files/heimdal-0.6.2-fPIC.patch, files/heimdal-0.6.2-fPIC.patch.bz2,
+ files/heimdal-0.6.3-berkdb.patch.bz2, files/heimdal-0.6.3-fPIC.patch.bz2,
+ files/heimdal-0.6.3-ldap-subtree.patch,
+ files/heimdal-0.6.3-ldap-subtree.patch.bz2,
+ files/heimdal-0.6.3-no_libedit.patch.bz2,
+ files/heimdal-0.6.3-rxapps.patch.bz2, files/heimdal-0.6.3.all.patch:
+
+ + Don't check for el_init in -ledit, thanks to Jason Wever <wever@gentoo.org> for finding the bug.
+ + Split heimdal-0.6.3.all.patch.
+ + Added suid fix patch instead of appending flags to ldflags globally.
+ + Compressed patches.
16 Sep 2004; Bryan Østergaard,,, <kloeri@gentoo.org> heimdal-0.6.3.ebuild:
Stable on alpha, bug 61412.
diff --git a/app-crypt/heimdal/files/heimdal-0.6.3.all.patch b/app-crypt/heimdal/files/heimdal-0.6.3.all.patch
new file mode 100644
index 000000000000..9f898af0727d
--- /dev/null
+++ b/app-crypt/heimdal/files/heimdal-0.6.3.all.patch
@@ -0,0 +1,62 @@
+diff -ru heimdal-0.6.3.orig/appl/kx/rxtelnet.in heimdal-0.6.3/appl/kx/rxtelnet.in
+--- heimdal-0.6.3.orig/appl/kx/rxtelnet.in 2002-03-19 03:07:34.000000000 +0930
++++ heimdal-0.6.3/appl/kx/rxtelnet.in 2004-09-13 23:34:02.154228824 +0930
+@@ -2,7 +2,7 @@
+ # $Id: heimdal-0.6.3.all.patch,v 1.3 2004/09/17 22:55:39 aliz Exp $
+ #
+ usage="Usage: $0 [-l username] [-k] [-f] [-t args_to_telnet] [-x args_to_xterm] [-K args_to_kx] [-w term_emulator] [-b telnet_binary] [-n] [-v] [-h | --help] [--version] host [port]"
+-binary=telnet
++binary=ktelnet
+ term=
+ kx_args=-P
+ while true
+Only in heimdal-0.6.3/appl/kx: rxtelnet.in.orig
+diff -ru heimdal-0.6.3.orig/appl/kx/rxterm.in heimdal-0.6.3/appl/kx/rxterm.in
+--- heimdal-0.6.3.orig/appl/kx/rxterm.in 2002-03-19 03:07:34.000000000 +0930
++++ heimdal-0.6.3/appl/kx/rxterm.in 2004-09-13 23:34:02.155227672 +0930
+@@ -2,7 +2,7 @@
+ # $Id: heimdal-0.6.3.all.patch,v 1.3 2004/09/17 22:55:39 aliz Exp $
+ #
+ usage="Usage: $0 [-l username] [-k] [-f] [-r rsh_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b rsh_binary][-v] [-h | --help] [--version] host"
+-binary=rsh
++binary=krsh
+ term=xterm
+ while true
+ do
+Only in heimdal-0.6.3/appl/kx: rxterm.in.orig
+diff -ru heimdal-0.6.3.orig/cf/db.m4 heimdal-0.6.3/cf/db.m4
+--- heimdal-0.6.3.orig/cf/db.m4 2002-09-10 23:59:47.000000000 +0930
++++ heimdal-0.6.3/cf/db.m4 2004-09-13 23:37:13.174919192 +0930
+@@ -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 -ru heimdal-0.6.3.orig/lib/editline/Makefile.am heimdal-0.6.3/lib/editline/Makefile.am
+--- heimdal-0.6.3.orig/lib/editline/Makefile.am 2002-08-13 23:18:15.000000000 +0930
++++ heimdal-0.6.3/lib/editline/Makefile.am 2004-09-13 23:30:53.917327832 +0930
+@@ -47,6 +47,9 @@
+
+ EXTRA_DIST = $(man_MANS)
+
++$(libeditline_la_OBJECTS): %.lo: %.c
++ $(LTCOMPILE) -fPIC -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
++
+ snprintf.c:
+ $(LN_S) $(srcdir)/../roken/snprintf.c .
+ strdup.c:
diff --git a/app-crypt/heimdal/heimdal-0.6.2-r1.ebuild b/app-crypt/heimdal/heimdal-0.6.2-r1.ebuild
index 690d05698a29..9c77f3018c8d 100644
--- a/app-crypt/heimdal/heimdal-0.6.2-r1.ebuild
+++ b/app-crypt/heimdal/heimdal-0.6.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.2-r1.ebuild,v 1.2 2004/09/15 00:27:38 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.2-r1.ebuild,v 1.3 2004/09/17 22:55:39 aliz Exp $
inherit libtool eutils
@@ -32,9 +32,9 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A} ; cd ${S}
- epatch ${FILESDIR}/${PN}-${PV:0:3}-rxapps.patch
- epatch ${FILESDIR}/${PN}-${PV:0:3}-berkdb.patch
- epatch ${FILESDIR}/${P}-fPIC.patch
+ epatch ${FILESDIR}/${PN}-${PV:0:3}-rxapps.patch.bz2
+ epatch ${FILESDIR}/${PN}-${PV:0:3}-berkdb.patch.bz2
+ epatch ${FILESDIR}/${P}-fPIC.patch.bz2
# Um, I don't think the below is doing anything since automake is
# run in src_compile(), but I'll leave it alone since this ebuild
@@ -83,6 +83,7 @@ src_install() {
datadir=${D}/usr/share \
localstatedir=${D}/var/lib \
includedir=${D}/usr/include/heimdal \
+ DESTDIR=${D} \
install || die
#dodir /etc/env.d
diff --git a/app-crypt/heimdal/heimdal-0.6.2.ebuild b/app-crypt/heimdal/heimdal-0.6.2.ebuild
index df90a48d4c5c..16ac53a41b06 100644
--- a/app-crypt/heimdal/heimdal-0.6.2.ebuild
+++ b/app-crypt/heimdal/heimdal-0.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.2.ebuild,v 1.11 2004/06/24 21:32:53 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.2.ebuild,v 1.12 2004/09/17 22:55:39 aliz Exp $
inherit libtool eutils
@@ -32,9 +32,9 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A} ; cd ${S}
- epatch ${FILESDIR}/${PN}-${PV:0:3}-rxapps.patch
- epatch ${FILESDIR}/${PN}-${PV:0:3}-berkdb.patch
- epatch ${FILESDIR}/${P}-fPIC.patch
+ epatch ${FILESDIR}/${PN}-${PV:0:3}-rxapps.patch.bz2
+ epatch ${FILESDIR}/${PN}-${PV:0:3}-berkdb.patch.bz2
+ epatch ${FILESDIR}/${P}-fPIC.patch.bz2
# Um, I don't think the below is doing anything since automake is
# run in src_compile(), but I'll leave it alone since this ebuild
diff --git a/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild b/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..80618ab424a6
--- /dev/null
+++ b/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.3-r1.ebuild,v 1.1 2004/09/17 22:55:39 aliz Exp $
+
+inherit libtool eutils
+
+DESCRIPTION="Kerberos 5 implementation from KTH"
+SRC_URI="ftp://ftp.pdc.kth.se/pub/heimdal/src/${P}.tar.gz"
+HOMEPAGE="http://www.pdc.kth.se/heimdal/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 sparc ppc alpha ~ia64 amd64 hppa ~mips"
+IUSE="ssl berkdb ipv6 krb4 ldap"
+PROVIDE="virtual/krb5"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ berkdb? ( sys-libs/db )
+ krb4? ( >=app-crypt/kth-krb-1.2.2-r2 )
+ ldap? ( net-nds/openldap )
+ !virtual/krb5"
+
+ # With this enabled, we create a multiple stage
+ # circular dependency with USE="ldap kerberos"
+ # -- Kain <kain@kain.org> 05 Dec 2002
+
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ sys-devel/automake
+ sys-devel/gcc
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-ldap-subtree.patch.bz2
+ epatch ${FILESDIR}/${P}-no_libedit.patch.bz2
+ epatch ${FILESDIR}/${P}-fPIC.patch.bz2
+ epatch ${FILESDIR}/${P}-rxapps.patch.bz2
+ epatch ${FILESDIR}/${P}-berkdb.patch.bz2
+ epatch ${FILESDIR}/${P}-suid_fix.patch.bz2
+}
+
+src_compile() {
+ elibtoolize
+
+ aclocal -I cf || die "configure problem"
+ autoheader || die "configure problem"
+ automake -a || die "configure problem"
+ autoconf || die "configure problem"
+
+ local myconf="
+ $(use_with ipv6)
+ $(use_with berkdb berkeley-db)
+ $(use_with ssl openssl)
+ --enable-shared
+ --includedir=/usr/include/heimdal
+ --libexecdir=/usr/sbin"
+
+ use krb4 \
+ && myconf="${myconf} --with-krb4 --with-krb4-config=/usr/athena/bin/krb4-config" \
+ || myconf="${myconf} --without-krb4"
+
+ use ldap && myconf="${myconf} --with-openldap=/usr"
+
+ econf ${myconf} || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} \
+ install || die
+
+ dodoc ChangeLog README NEWS TODO
+
+ # Begin client rename and install
+ 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
+
+ # Create symlinks for the includes
+ cd ${D}/usr/include/ && \
+ ln -s heimdal gssapi && \
+ ln -s heimdal/krb5-types.h krb5-types.h && \
+ ln -s heimdal/krb5.h krb5.h && \
+ ln -s heimdal/asn1_err.h asn1_err.h && \
+ ln -s heimdal/krb5_asn1.h krb5_asn1.h && \
+ ln -s heimdal/krb5_err.h krb5_err.h && \
+ ln -s heimdal/heim_err.h heim_err.h && \
+ ln -s heimdal/k524_err.h k524_err.h && \
+ ln -s heimdal/krb5-protos.h krb5-protos.h \
+ || die "Creation of include symlinks failed."
+
+ dodir /etc/init.d
+ exeinto /etc/init.d
+
+ doexe ${FILESDIR}/heimdal-kdc \
+ ${FILESDIR}/heimdal-kadmind \
+ ${FILESDIR}/heimdal-kpasswdd
+
+ insinto /etc
+ newins ${FILESDIR}/krb5.conf krb5.conf
+
+ if use ldap;
+ then
+ insinto /etc/openldap/schema
+ newins ${FILESDIR}/krb5-kdc.schema krb5-kdc.schema
+ fi
+
+
+ # default database dir
+ dodir /var/heimdal
+}
diff --git a/app-crypt/heimdal/heimdal-0.6.3.ebuild b/app-crypt/heimdal/heimdal-0.6.3.ebuild
index e0d4ef389846..8f2df5fb08b7 100644
--- a/app-crypt/heimdal/heimdal-0.6.3.ebuild
+++ b/app-crypt/heimdal/heimdal-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.3.ebuild,v 1.8 2004/09/15 22:40:44 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.6.3.ebuild,v 1.9 2004/09/17 22:55:39 aliz Exp $
inherit libtool eutils flag-o-matic
@@ -35,7 +35,7 @@ src_unpack() {
epatch ${FILESDIR}/${P}.all.patch
cd ${S}
- epatch ${FILESDIR}/${P}-ldap-subtree.patch
+ epatch ${FILESDIR}/${P}-ldap-subtree.patch.bz2
}
src_compile() {