summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2004-10-14 22:32:22 +0000
committerRyan Phillips <rphillips@gentoo.org>2004-10-14 22:32:22 +0000
commitaac20b3120c3043c6fbda6995b1ac45e2b8fc0b9 (patch)
tree1d5f16ab13297c852690aa5451b1a67f10625d9d /app-crypt
parentFix use invocation (diff)
downloadhistorical-aac20b3120c3043c6fbda6995b1ac45e2b8fc0b9.tar.gz
historical-aac20b3120c3043c6fbda6995b1ac45e2b8fc0b9.tar.bz2
historical-aac20b3120c3043c6fbda6995b1ac45e2b8fc0b9.zip
added tempfile patch for glsa
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/mit-krb5/ChangeLog8
-rw-r--r--app-crypt/mit-krb5/Manifest41
-rw-r--r--app-crypt/mit-krb5/files/digest-mit-krb5-1.3.4-r11
-rw-r--r--app-crypt/mit-krb5/files/digest-mit-krb5-1.3.5-r11
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5-1.3.4-tempfile.patch.bz2bin0 -> 791 bytes
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.3.4-r1.ebuild166
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.3.5-r1.ebuild165
7 files changed, 363 insertions, 19 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog
index b25d6d1684b6..01019d2bfa5f 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-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.45 2004/10/09 19:14:14 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.46 2004/10/14 22:32:22 rphillips Exp $
+
+*mit-krb5-1.3.5-r1 (14 Oct 2004)
+
+ 14 Oct 2004; <rphillips@gentoo.org> mit-krb5-1.3.4-r1.ebuild,
+ mit-krb5-1.3.5-r1.ebuild, files/mit-krb5-1.3.4-tempfile.patch.bz2:
+ Added tempfile patch to fix GLSA and bug #66539
09 Oct 2004; Tom Gall <tgall@gentoo.org> mit-krb5-1.3.4.ebuild:
stable on ppc64, bug #62417
diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest
index 8db4f12c8860..eb6ff4d2af64 100644
--- a/app-crypt/mit-krb5/Manifest
+++ b/app-crypt/mit-krb5/Manifest
@@ -1,31 +1,36 @@
-MD5 ab176db14c5d20cc58c21cca98e6c1a5 ChangeLog 8396
-MD5 43c3a7a1974ef9610bb9458e1a3a4d87 metadata.xml 353
+MD5 973a633c7f812aa79e83a5c82c5b75e1 mit-krb5-1.3.4.ebuild 4332
+MD5 679ff451b45c63eb436f39d3351f6a88 mit-krb5-1.3.5-r1.ebuild 4354
MD5 b44e7aba0b12d5f8ee680ed75a65a15b mit-krb5-1.3.1-r1.ebuild 4209
MD5 25c6e801e8e65ed06eb6995545b7f9a6 mit-krb5-1.3.1.ebuild 4176
-MD5 ca478361a3fb4943c5f0d6a13d380d50 mit-krb5-1.3.3-r1.ebuild 4310
+MD5 52e190815d18d84fd0ca989cee877bc8 mit-krb5-1.3.4-r1.ebuild 4393
MD5 0c1b0790ee360b15d69f2570f90c3bef mit-krb5-1.3.3.ebuild 4204
-MD5 973a633c7f812aa79e83a5c82c5b75e1 mit-krb5-1.3.4.ebuild 4332
MD5 73e725dcff1255556054a6b8fc6477a7 mit-krb5-1.3.5.ebuild 4298
+MD5 ca478361a3fb4943c5f0d6a13d380d50 mit-krb5-1.3.3-r1.ebuild 4310
+MD5 ee609b399e876956feb64fcabb449ef4 ChangeLog 8618
+MD5 43c3a7a1974ef9610bb9458e1a3a4d87 metadata.xml 353
+MD5 435b8a123e8849fa5f92c9a7c53c514d files/mit-krb5-1.3.4-autoheader.patch.bz2 379
+MD5 1300b7bf5dff7e1b837041f55c565081 files/mit-krb5-1.3.5-suid_fix.patch.bz2 269
+MD5 c451148d1b3e182a19a8f9084d0b55b8 files/krb5.confd 233
+MD5 d7dcbbab51ce1849c77c083b8d363c15 files/krb5.initd 1486
+MD5 fbb2a86038ab98ca0c7493ad9d55ace9 files/krb5.conf 541
MD5 7b9b25de3cffdafa3d572dee9644f83e files/2004-002-patch_1.3.4.txt 7196
+MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.5-res_search.patch.bz2 1992
+MD5 65a524c259b87b884c0f77739cc686e1 files/mit-krb5-1.3.4-tempfile.patch.bz2 791
+MD5 435b8a123e8849fa5f92c9a7c53c514d files/mit-krb5-1.3.5-autoheader.patch.bz2 379
+MD5 186bd4cbeff944079f44105d4c962c80 files/kdc.conf 438
+MD5 2c4ba0f8f9513fb2f285a9224f063ad8 files/digest-mit-krb5-1.3.1-r1 63
+MD5 596ab1238ca3a14926eb5fd3947ab4ce files/digest-mit-krb5-1.3.3-r1 60
+MD5 1f5afce6458d8ca364f153965cd992ca files/digest-mit-krb5-1.3.4-r1 60
+MD5 8f275083c0b04344cbb068d883cda623 files/digest-mit-krb5-1.3.5-r1 60
MD5 6ddd962c015b6986004819321295aecd files/2004-003-patch_1.3.4.txt 592
+MD5 c214030264300e2d84375d23d7c1f892 files/mit-krb5kdc.initd 656
+MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.3-res_search.patch.bz2 1992
MD5 2c4ba0f8f9513fb2f285a9224f063ad8 files/digest-mit-krb5-1.3.1 63
-MD5 2c4ba0f8f9513fb2f285a9224f063ad8 files/digest-mit-krb5-1.3.1-r1 63
MD5 596ab1238ca3a14926eb5fd3947ab4ce files/digest-mit-krb5-1.3.3 60
-MD5 596ab1238ca3a14926eb5fd3947ab4ce files/digest-mit-krb5-1.3.3-r1 60
MD5 1f5afce6458d8ca364f153965cd992ca files/digest-mit-krb5-1.3.4 60
MD5 8f275083c0b04344cbb068d883cda623 files/digest-mit-krb5-1.3.5 60
-MD5 186bd4cbeff944079f44105d4c962c80 files/kdc.conf 438
-MD5 fbb2a86038ab98ca0c7493ad9d55ace9 files/krb5.conf 541
-MD5 c451148d1b3e182a19a8f9084d0b55b8 files/krb5.confd 233
-MD5 d7dcbbab51ce1849c77c083b8d363c15 files/krb5.initd 1486
+MD5 435b8a123e8849fa5f92c9a7c53c514d files/mit-krb5-1.3.3-autoheader.patch.bz2 379
MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.1-res_search.patch.bz2 1992
MD5 95cba23977319310f6cf67be1f97a65f files/mit-krb5-1.3.3-aname.patch.bz2 1829
-MD5 435b8a123e8849fa5f92c9a7c53c514d files/mit-krb5-1.3.3-autoheader.patch.bz2 379
-MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.3-res_search.patch.bz2 1992
-MD5 435b8a123e8849fa5f92c9a7c53c514d files/mit-krb5-1.3.4-autoheader.patch.bz2 379
-MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.4-res_search.patch.bz2 1992
-MD5 435b8a123e8849fa5f92c9a7c53c514d files/mit-krb5-1.3.5-autoheader.patch.bz2 379
-MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.5-res_search.patch.bz2 1992
-MD5 1300b7bf5dff7e1b837041f55c565081 files/mit-krb5-1.3.5-suid_fix.patch.bz2 269
MD5 61a61d22565605924a06789f9da352bf files/mit-krb5kadmind.initd 687
-MD5 c214030264300e2d84375d23d7c1f892 files/mit-krb5kdc.initd 656
+MD5 4ddffa1df5b9fe9ad84da7f73526774c files/mit-krb5-1.3.4-res_search.patch.bz2 1992
diff --git a/app-crypt/mit-krb5/files/digest-mit-krb5-1.3.4-r1 b/app-crypt/mit-krb5/files/digest-mit-krb5-1.3.4-r1
new file mode 100644
index 000000000000..91d69f09cf19
--- /dev/null
+++ b/app-crypt/mit-krb5/files/digest-mit-krb5-1.3.4-r1
@@ -0,0 +1 @@
+MD5 33fdee0c5e78f67a18a781dee31e3e19 krb5-1.3.4.tar 6369280
diff --git a/app-crypt/mit-krb5/files/digest-mit-krb5-1.3.5-r1 b/app-crypt/mit-krb5/files/digest-mit-krb5-1.3.5-r1
new file mode 100644
index 000000000000..6f4616f34d51
--- /dev/null
+++ b/app-crypt/mit-krb5/files/digest-mit-krb5-1.3.5-r1
@@ -0,0 +1 @@
+MD5 8da4179bfd929eebc9f005fb427db1a0 krb5-1.3.5.tar 6522880
diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.3.4-tempfile.patch.bz2 b/app-crypt/mit-krb5/files/mit-krb5-1.3.4-tempfile.patch.bz2
new file mode 100644
index 000000000000..295074034638
--- /dev/null
+++ b/app-crypt/mit-krb5/files/mit-krb5-1.3.4-tempfile.patch.bz2
Binary files differ
diff --git a/app-crypt/mit-krb5/mit-krb5-1.3.4-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.3.4-r1.ebuild
new file mode 100644
index 000000000000..4b9dda53e1a9
--- /dev/null
+++ b/app-crypt/mit-krb5/mit-krb5-1.3.4-r1.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2004 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.3.4-r1.ebuild,v 1.1 2004/10/14 22:32:22 rphillips Exp $
+
+inherit eutils
+
+MY_P=${PN/mit-}-${PV}
+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/1.3/${MY_P}.tar"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~arm ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="krb4 static"
+
+DEPEND="virtual/libc
+ sys-devel/autoconf
+ !virtual/krb5"
+RDEPEND="virtual/libc
+ !virtual/krb5"
+PROVIDE="virtual/krb5"
+
+src_unpack() {
+ unpack ${A}
+ tar -zxf ${MY_P}.tar.gz
+ cd ${S}
+ epatch ${FILESDIR}/2004-002-patch_${PV}.txt
+ epatch ${FILESDIR}/2004-003-patch_${PV}.txt
+
+ epatch ${FILESDIR}/${P}-res_search.patch.bz2
+ epatch ${FILESDIR}/${P}-autoheader.patch.bz2
+ epatch ${FILESDIR}/${P}-tempfile.patch.bz2
+}
+
+src_compile() {
+ ebegin "Updating configure"
+ autoconf
+ cd ${S}/util/et
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/ss
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/profile
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/pty
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/db2
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/include
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/lib/crypto
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/krb5
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/des425
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/kdb
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/gssapi
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/rpc
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/rpc/unit-test
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/lib/kadm5
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/kdc
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/kadmin
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/slave
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/clients
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/appl
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/appl/bsd
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/appl/gssftp
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/appl/telnet
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/appl/telnet/libtelnet
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/appl/telnet/telnet
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/appl/telnet/telnetd
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/tests
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/lib/krb4
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/krb524
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}
+ eend $?
+
+ 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 ""
+}
diff --git a/app-crypt/mit-krb5/mit-krb5-1.3.5-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.3.5-r1.ebuild
new file mode 100644
index 000000000000..0d4c284b7aac
--- /dev/null
+++ b/app-crypt/mit-krb5/mit-krb5-1.3.5-r1.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2004 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.3.5-r1.ebuild,v 1.1 2004/10/14 22:32:22 rphillips Exp $
+
+inherit eutils
+
+MY_P=${PN/mit-}-${PV}
+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/1.3/${MY_P}.tar"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~arm ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="krb4 static"
+
+DEPEND="virtual/libc
+ sys-devel/autoconf
+ !virtual/krb5"
+RDEPEND="virtual/libc
+ !virtual/krb5"
+PROVIDE="virtual/krb5"
+
+src_unpack() {
+ unpack ${A}
+ tar -zxf ${MY_P}.tar.gz
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-res_search.patch.bz2
+ epatch ${FILESDIR}/${P}-autoheader.patch.bz2
+ epatch ${FILESDIR}/${P}-suid_fix.patch.bz2
+ epatch ${FILESDIR}/${PN}-1.3.4-tempfile.patch.bz2
+}
+
+src_compile() {
+ ebegin "Updating configure"
+ autoconf
+ cd ${S}/util/et
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/ss
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/profile
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/pty
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/util/db2
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/include
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/lib/crypto
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/krb5
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/des425
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/kdb
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/gssapi
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/rpc
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/lib/rpc/unit-test
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/lib/kadm5
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/kdc
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/kadmin
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/slave
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/clients
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/appl
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/appl/bsd
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/appl/gssftp
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/appl/telnet
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/appl/telnet/libtelnet
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/appl/telnet/telnet
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/appl/telnet/telnetd
+ WANT_AUTOCONF=2.5 autoconf -I ../../../
+ cd ${S}/tests
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}/lib/krb4
+ WANT_AUTOCONF=2.5 autoconf -I ../../
+ cd ${S}/krb524
+ WANT_AUTOCONF=2.5 autoconf -I ../
+ cd ${S}
+ eend $?
+
+ 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 ""
+}