37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# Description: Network Authentication Protocol
|
|
# URL: http://web.mit.edu/kerberos
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: openldap
|
|
|
|
name=krb5
|
|
version=1.12.2
|
|
release=1
|
|
source=(http://web.mit.edu/kerberos/dist/$name/${version%.*}/$name-$version-signed.tar
|
|
mit-krb5-1.11_uninitialized.patch
|
|
mit-krb5_krb5-config_LDFLAGS.patch)
|
|
|
|
build() {
|
|
bsdtar -p -o -xf $SRC/$name-$version.tar.gz
|
|
|
|
cd $name-$version/src
|
|
|
|
#patch -p2 -i $SRC/mit-krb5-1.11_uninitialized.patch
|
|
#patch -p2 -i $SRC/mit-krb5_krb5-config_LDFLAGS.patch
|
|
#sed -e '/KRB5ROOT=/ s/\/local//' -i util/ac_check_krb5.m4
|
|
|
|
#export CFLAGS="$CFLAGS -I/usr/include/et"
|
|
|
|
./configure --prefix=/usr \
|
|
--with-system-et \
|
|
--with-system-ss \
|
|
--without-system-verto
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share
|
|
|
|
# Comment this if you want kerberized versions of ftp and telnet
|
|
rm -rf $PKG/usr/bin/{ftp,telnet} $PKG/usr/man/man1/{ftp,telnet}.1
|
|
}
|