123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- # Tanım: Kerberos ağ kimlik doğrulama sistemi
- # URL: http://web.mit.edu/kerberos/
- # Paketçi: milisarge
- # Gerekler:
- # Grup: güvenlik
- isim=kerberos
- surum=1.14
- devir=1
- kaynak=(http://web.mit.edu/$isim/dist/krb5/1.14/krb5-$surum.tar.gz)
- derle() {
- cd krb5-$surum
- cd src
- sed -e "s@python2.5/Python.h@& python2.7/Python.h@g" \
- -e "s@-lpython2.5]@&,\n AC_CHECK_LIB(python2.7,main,[PYTHON_LIB=-lpython2.7])@g" \
- -i configure.in
- sed -e 's@\^u}@^u cols 300}@' \
- -i tests/dejagnu/config/default.exp
- autoconf
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --with-system-et \
- --with-system-ss \
- --with-system-verto=no \
- --enable-dns-for-realm
- make
- make DESTDIR=$PKG install
- for LIBRARY in gssapi_krb5 gssrpc k5crypto kadm5clnt_mit kadm5srv_mit kdb5 krb5 krb5support verto; do
- chmod -v 755 $PKG/usr/lib/lib$LIBRARY.so.*.*
- done
- unset LIBRARY
- mkdir -p $PKG/{bin,lib}
- mv -v $PKG/usr/lib/libkrb5.so.3* $PKG/lib
- mv -v $PKG/usr/lib/libk5crypto.so.3* $PKG/lib
- mv -v $PKG/usr/lib/libkrb5support.so.0* $PKG/lib
- ln -v -sf ../../lib/libkrb5.so.3.3 $PKG/usr/lib/libkrb5.so
- ln -v -sf ../../lib/libk5crypto.so.3.1 $PKG/usr/lib/libk5crypto.so
- ln -v -sf ../../lib/libkrb5support.so.0.1 $PKG/usr/lib/libkrb5support.so
- mv -v $PKG/usr/bin/ksu $PKG/bin
- chmod -v 755 $PKG/bin/ksu
- install -v -dm755 $PKG/usr/share/doc/krb5-$surum
- cp -vfr ../doc/* $PKG/usr/share/doc/krb5-$surum
- }
|