2011-11-10 17:16:40 +01:00
|
|
|
# Description: Network Authentication Protocol
|
2017-01-28 17:52:35 +11:00
|
|
|
# URL: https://web.mit.edu/kerberos
|
2018-07-17 19:26:04 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2017-01-28 17:52:35 +11:00
|
|
|
# Depends on: e2fsprogs openldap
|
2011-11-10 17:16:40 +01:00
|
|
|
|
|
|
|
name=krb5
|
2017-12-21 12:01:21 +11:00
|
|
|
version=1.16
|
2015-03-18 18:07:31 +01:00
|
|
|
release=1
|
2018-07-17 19:26:04 +02:00
|
|
|
source=(https://kerberos.org/dist/krb5/$version/krb5-$version.tar.gz
|
2015-01-05 00:53:51 +00:00
|
|
|
$name-config_LDFLAGS.patch)
|
2011-11-10 17:16:40 +01:00
|
|
|
|
|
|
|
build() {
|
2015-01-05 00:53:51 +00:00
|
|
|
cd $name-$version/src/build-tools
|
|
|
|
patch -p1 -i $SRC/$name-config_LDFLAGS.patch
|
2011-11-10 17:16:40 +01:00
|
|
|
|
2015-01-05 00:53:51 +00:00
|
|
|
cd $SRC/$name-$version/src
|
|
|
|
sed -e '/KRB5ROOT=/ s/\/local//' -i util/ac_check_krb5.m4
|
2012-08-01 12:51:24 +02:00
|
|
|
|
2015-01-05 05:39:43 +01:00
|
|
|
export CFLAGS="${CFLAGS/-Os/-O2} -I/usr/include/et"
|
2013-10-29 10:55:51 +01:00
|
|
|
|
2011-11-10 17:16:40 +01:00
|
|
|
./configure --prefix=/usr \
|
2015-01-05 05:39:43 +01:00
|
|
|
--localstatedir=/var \
|
2015-01-05 00:53:51 +00:00
|
|
|
--enable-shared \
|
|
|
|
--disable-rpath \
|
|
|
|
--without-tcl \
|
|
|
|
--with-ldap \
|
|
|
|
--with-system-et \
|
2012-08-01 12:51:24 +02:00
|
|
|
--with-system-ss \
|
|
|
|
--without-system-verto
|
2011-11-10 17:16:40 +01:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-01-05 05:39:43 +01:00
|
|
|
rm -rf $PKG/usr/share $PKG/usr/man/cat* $PKG/usr/man5/.*
|
2011-11-10 17:16:40 +01:00
|
|
|
|
2015-01-05 05:39:43 +01:00
|
|
|
# comment this if you want kerberized versions of ftp and telnet
|
2011-11-10 17:16:40 +01:00
|
|
|
rm -rf $PKG/usr/bin/{ftp,telnet} $PKG/usr/man/man1/{ftp,telnet}.1
|
|
|
|
}
|