milis/talimatname/genel/k/krb5/talimat

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Ağ Kimlik Doğrulama İletişim Kuralı
# URL: http://web.mit.edu/kerberos
2018-08-08 14:24:17 +02:00
# Paketçi: milisarge
2018-06-09 00:06:58 +02:00
# Gerekler: openldap e2fsprogs
2018-08-08 14:24:17 +02:00
# Grup: güvenlik ağ
2018-06-09 00:06:58 +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)
derle() {
cd $isim-$surum/src/build-tools
patch -p1 -i $SRC/$isim-config_LDFLAGS.patch
cd $SRC/$isim-$surum/src
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
}