diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2003-10-05 23:32:16 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2003-10-05 23:32:16 +0000 |
commit | b34019d712a72331f612f538526bbd466bebbce9 (patch) | |
tree | ec8d457370b3e70a76ffd7f965f9afd116b37919 /app-crypt | |
parent | Added a kludge to fix the library paths (diff) | |
download | historical-b34019d712a72331f612f538526bbd466bebbce9.tar.gz historical-b34019d712a72331f612f538526bbd466bebbce9.tar.bz2 historical-b34019d712a72331f612f538526bbd466bebbce9.zip |
Added a kludge to fix the library paths
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/kth-krb/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r1 | 1 | ||||
-rw-r--r-- | app-crypt/kth-krb/kth-krb-1.2.2-r1.ebuild | 62 | ||||
-rw-r--r-- | app-crypt/kth-krb/metadata.xml | 8 |
4 files changed, 74 insertions, 2 deletions
diff --git a/app-crypt/kth-krb/Manifest b/app-crypt/kth-krb/Manifest index 894ca4b4025c..7c39184e8b75 100644 --- a/app-crypt/kth-krb/Manifest +++ b/app-crypt/kth-krb/Manifest @@ -1,7 +1,8 @@ MD5 40c5c3794b6a5da86ddd5ae068c43582 kth-krb-1.2.ebuild 1228 -MD5 36b9a14f3d99df7eec17ccfd0669f878 kth-krb-1.2.2-r1.ebuild 1392 +MD5 485b37e1270b09772fa167e2404205dd kth-krb-1.2.2-r1.ebuild 1424 MD5 c3279d8211021886f9136f98304ba5a1 kth-krb-1.2.2.ebuild 1233 -MD5 492e564d5717f094cc28b10faae026f1 ChangeLog 1527 +MD5 811b265c172b54417ece706408478045 ChangeLog 1699 +MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 MD5 52d6c61f464a1dbbb09907a4d4a998d6 kth-krb-1.2.1.ebuild 1233 MD5 2884941e77f936011c4c56d9af159ae6 files/digest-kth-krb-1.2 61 MD5 38a19d9c77f2f822ae597ae120f34fc9 files/digest-kth-krb-1.2.1 63 diff --git a/app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r1 b/app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r1 new file mode 100644 index 000000000000..93e0994665b4 --- /dev/null +++ b/app-crypt/kth-krb/files/digest-kth-krb-1.2.2-r1 @@ -0,0 +1 @@ +MD5 e91fae1622a30a4e033092ef39c2b6b9 krb4-1.2.2.tar.gz 1876603 diff --git a/app-crypt/kth-krb/kth-krb-1.2.2-r1.ebuild b/app-crypt/kth-krb/kth-krb-1.2.2-r1.ebuild new file mode 100644 index 000000000000..afe5e53c8bf9 --- /dev/null +++ b/app-crypt/kth-krb/kth-krb-1.2.2-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 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-r1.ebuild,v 1.1 2003/10/05 23:31:57 rphillips Exp $ + +DESCRIPTION="Kerberos 4 implementation from KTH" +SRC_URI="ftp://ftp.pdc.kth.se/pub/krb/src/krb4-${PV}.tar.gz" +HOMEPAGE="http://www.pdc.kth.se/kth-krb/" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="x86 ppc" +IUSE="ssl afs" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b ) + afs? ( >=net-fs/openafs-1.2.2-r7 )" + +S=${WORKDIR}/krb4-${PV} + +src_compile() { + local myconf="" + echo ${PORTAGE_TMPDIR} + + epatch ${FILESDIR}/kth-gentoo.patch + + use ssl && myconf="${myconf} --with-openssl=/usr" + + use afs || myconf="${myconf} --without-afs-support" + + ./configure \ + --host=${CHOST} \ + --prefix=/usr/athena \ + --sysconfdir=/etc \ + ${myconf} || die + + make || die +} + +src_install() { + make prefix=${D}/usr/athena \ + 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 prefix=${D}/usr/athena \ + install || die + + cd ${S} + fi + + dodir /etc/env.d + cp ${FILESDIR}/02kth-krb ${D}/etc/env.d + + dodoc COPYRIGHT 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:/var/tmp/portage/kth-krb-.*/image/::g' *.la +} diff --git a/app-crypt/kth-krb/metadata.xml b/app-crypt/kth-krb/metadata.xml new file mode 100644 index 000000000000..fc52d7ba53dd --- /dev/null +++ b/app-crypt/kth-krb/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>rphillips@gentoo.org</email> +</maintainer> +</pkgmetadata> |