summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2003-06-17 04:24:59 +0000
committerDonny Davies <woodchip@gentoo.org>2003-06-17 04:24:59 +0000
commita989e43cb5c43453b6754653eca08ee4c2664c30 (patch)
treebfc5ec06602b3576174cd21058902bd6ba61090f /app-crypt/mit-krb5
parentAdd initial 1.3.x series. (diff)
downloadgentoo-2-a989e43cb5c43453b6754653eca08ee4c2664c30.tar.gz
gentoo-2-a989e43cb5c43453b6754653eca08ee4c2664c30.tar.bz2
gentoo-2-a989e43cb5c43453b6754653eca08ee4c2664c30.zip
Add initial 1.3.x series.
Diffstat (limited to 'app-crypt/mit-krb5')
-rw-r--r--app-crypt/mit-krb5/ChangeLog8
-rw-r--r--app-crypt/mit-krb5/Manifest4
-rw-r--r--app-crypt/mit-krb5/files/digest-mit-krb5-1.3_alpha11
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.3_alpha1.ebuild102
4 files changed, 112 insertions, 3 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog
index 42d61b7be5e1..e72945910c7d 100644
--- a/app-crypt/mit-krb5/ChangeLog
+++ b/app-crypt/mit-krb5/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/mit-krb5
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.8 2003/06/14 00:33:23 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.9 2003/06/17 04:24:47 woodchip Exp $
+
+*mit-krb5-1.3_alpha1 (17 Jun 2003)
+
+ 17 Jun 2003; Donny Davies <woodchip@gentoo.org> mit-krb5-1.3_alpha1.ebuild:
+ Add new 1.3.x series. This is in package.mask for a while. Hey it builds
+ with gcc-3.3 even!
*mit-krb5-1.2.8 (6 Jun 2003)
diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest
index dd0f6c0d8d37..2fff9d98860f 100644
--- a/app-crypt/mit-krb5/Manifest
+++ b/app-crypt/mit-krb5/Manifest
@@ -1,9 +1,9 @@
-MD5 0de6dff5eb18543c7511c7cec6f2a2a5 ChangeLog 3360
+MD5 3008b4c32f2d4463dc7ff5e6dacabb08 ChangeLog 3362
MD5 ea61c4da2338b8d04d284693b4b0e0fd mit-krb5-1.2.6-r2.ebuild 1895
MD5 bd50c0dafbfa7813abb8ec4552087d89 mit-krb5-1.2.6-r3.ebuild 1978
MD5 16ed0de83bce1d29e4e290a40ed98460 mit-krb5-1.2.7.ebuild 2779
MD5 3dc95e70ce7e30c27b89e59bf4104b1a mit-krb5-1.2.8.ebuild 2583
-MD5 62b7bc794f6643a5c03e429b18934187 mit-krb5-1.3_alpha1.ebuild 2639
+MD5 7dafd6b6daebb10450312fb0ba2e189c mit-krb5-1.3_alpha1.ebuild 2749
MD5 8b096b4ab22aec502c59b29325cd04ac files/digest-mit-krb5-1.2.6-r2 63
MD5 8b096b4ab22aec502c59b29325cd04ac files/digest-mit-krb5-1.2.6-r3 63
MD5 589599adcbf4b8a7ce986449eef97428 files/digest-mit-krb5-1.2.7 136
diff --git a/app-crypt/mit-krb5/files/digest-mit-krb5-1.3_alpha1 b/app-crypt/mit-krb5/files/digest-mit-krb5-1.3_alpha1
new file mode 100644
index 000000000000..86bc670829d7
--- /dev/null
+++ b/app-crypt/mit-krb5/files/digest-mit-krb5-1.3_alpha1
@@ -0,0 +1 @@
+MD5 93efaa0fc1914424016ac874328d76df krb5-1.3-alpha1.tar.gz 5595282
diff --git a/app-crypt/mit-krb5/mit-krb5-1.3_alpha1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.3_alpha1.ebuild
new file mode 100644
index 000000000000..07c41fbd87d7
--- /dev/null
+++ b/app-crypt/mit-krb5/mit-krb5-1.3_alpha1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.3_alpha1.ebuild,v 1.1 2003/06/17 04:24:47 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="MIT Kerberos V"
+HOMEPAGE="http://web.mit.edu/kerberos/www/"
+
+MY_P=${PN/mit-}-${PV}
+S=${WORKDIR}/${MY_P/_/-}/src
+SRC_URI="http://www.mirrors.wiretapped.net/security/cryptography/apps/kerberos/krb5-mit/unix/beta/${MY_P/_/-}.tar.gz"
+
+IUSE="krb4 static"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha ~hppa"
+PROVIDE="virtual/krb5"
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+
+ # Fix bad errno definitions (bug #16450 and #16267)
+ ebegin Fixing errno definitions
+ find . -name '*.[ch]' | xargs grep -l 'extern.*int.*errno' \
+ | xargs -n1 perl -pi.orig -e '
+ $.==1 && s/^/#include <errno.h>\n/;
+ s/extern\s+int\s+errno\s*\;//;'
+ eend $?
+}
+
+src_compile() {
+ local myconf
+
+ use krb4 && myconf="${myconf} --with-krb4 --enable-krb4" \
+ || myconf="${myconf} --without-krb4 --disable-krb4"
+
+ use static && myconf="${myconf} --disable-shared --enable-static" \
+ || myconf="${myconf} --enable-shared --disable-static"
+
+ CFLAGS=`echo ${CFLAGS} | xargs`
+ CXXFLAGS=`echo ${CXXFLAGS} | xargs`
+ LDFLAGS=`echo ${LDFLAGS} | xargs`
+
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ econf \
+ --mandir=/usr/share/man \
+ --localstatedir=/etc \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --enable-dns \
+ ${myconf} || die
+
+ if [ "${ARCH}" = "hppa" ]
+ then
+ einfo "Fixating Makefiles ..."
+ for i in `find ${S} -name Makefile`; \
+ do cp $i $i.old; sed -e 's/LDCOMBINE=ld -shared -h lib/LDCOMBINE=gcc -shared -h lib/' $i.old > $i; done
+ fi
+
+ make || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ cd ..
+ dodoc README
+ dohtml doc/*.html
+
+ # 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,rlogin}
+ 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
+
+ insinto /etc
+ newins ${FILESDIR}/krb5.conf krb5.conf
+ insinto /etc/krb5kdc
+ newins ${FILESDIR}/kdc.conf kdc.conf
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/mit-krb5kadmind.initd mit-krb5kadmind
+ newexe ${FILESDIR}/mit-krb5kdc.initd mit-krb5kdc
+}
+
+pkg_postinst() {
+ einfo "See /usr/share/doc/${PF}/html/admin.html for documentation."
+ echo ""
+ einfo "The client apps are installed with the k prefix"
+ einfo "(ie. kftp, kftpd, ktelnet, ktelnetd, etc...)"
+ echo ""
+}