summaryrefslogtreecommitdiff
blob: 86b409fc4d137362c02dfc3ffb4142bdca07fe93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/krb5-1.2.5-r1.ebuild,v 1.4 2002/08/16 02:36:53 murphy Exp $ 

S=${WORKDIR}/${P}/src
SRC_URI="http://www.crypto-publish.org/dist/mit-kerberos5/${P}.tar.gz"
DESCRIPTION="MIT Kerberos V (set up for pam)"
HOMEPAGE="http://crypto-publish.org"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 sparc sparc64"

DEPEND="virtual/glibc"

src_compile() {

	patch -p0 < ${FILESDIR}/${PN}-1.2.2-gentoo.diff || die

	econf \
		--with-krb4 \
		--enable-shared \
		--enable-dns || die
	mv Makefile Makefile.orig
	#Don't install the ftp, telnet, r* apps; use pam instead
	sed -e 's/ appl / /' Makefile.orig > Makefile
	make || die
}

src_install () {
	make DESTDIR=${D} install || die
	cd ..
	dodoc README
	echo 'NOTE: ftp, telnet, r* apps not installed.  Install pam-krb5!'
}