milis/talimatname/genel/k/krb5/talimat

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ağ Kimlik Doğrulama İletişim Kuralı
2016-03-14 17:11:40 +01:00
# URL: http://web.mit.edu/kerberos
# Maintainer: Jose V Beneyto, sepen at crux dot nu
2017-10-27 20:46:27 +02:00
# Paketçi: Alan Mizrahi, alan at mizrahi dot com dot ve
# Gerekler: openldap e2fsprogs
2016-03-14 17:11:40 +01:00
2017-10-28 14:10:23 +02:00
isim=krb5
surum=1.14
devir=1
kaynak=(http://web.mit.edu/kerberos/dist/$isim/$surum/$isim-$surum.tar.gz \
$isim-config_LDFLAGS.patch)
2016-03-14 17:11:40 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum/src/build-tools
patch -p1 -i $SRC/$isim-config_LDFLAGS.patch
2016-03-14 17:11:40 +01:00
2017-10-28 14:10:23 +02:00
cd $SRC/$isim-$surum/src
2016-03-14 17:11:40 +01:00
sed -e '/KRB5ROOT=/ s/\/local//' -i util/ac_check_krb5.m4
export CFLAGS="${CFLAGS/-Os/-O2} -I/usr/include/et"
./configure --prefix=/usr \
--localstatedir=/var \
--enable-shared \
--disable-rpath \
--without-tcl \
--with-ldap \
--with-system-et \
--with-system-ss \
--without-system-verto
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share $PKG/usr/man/cat* $PKG/usr/man5/.*
# 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
}