summaryrefslogtreecommitdiffstats
path: root/extra/kerberos/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:26:35 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:26:35 +0200
commit997639d705be6f757d8ae04768be600c3c606122 (patch)
treedccbb7ee96ae9b5b3df5bae92340963f87eb55cf /extra/kerberos/Pkgfile
parent225de4c7184b2ab407e9b58ecd684cba1e3e4760 (diff)
downloadnutyx-pakxe-997639d705be6f757d8ae04768be600c3c606122.tar.gz
nutyx-pakxe-997639d705be6f757d8ae04768be600c3c606122.tar.bz2
nutyx-pakxe-997639d705be6f757d8ae04768be600c3c606122.tar.xz
nutyx-pakxe-997639d705be6f757d8ae04768be600c3c606122.zip
Ajout de kerberos#1.6.3-1
Diffstat (limited to 'extra/kerberos/Pkgfile')
-rw-r--r--extra/kerberos/Pkgfile49
1 files changed, 49 insertions, 0 deletions
diff --git a/extra/kerberos/Pkgfile b/extra/kerberos/Pkgfile
new file mode 100644
index 000000000..83116da03
--- /dev/null
+++ b/extra/kerberos/Pkgfile
@@ -0,0 +1,49 @@
+# Description: Utilitaire et démon MIT Kerberos V5 client et serveur.
+# URL: http://web.mit.edu/kerberos/
+# Packager: thierryn1 at hispeed dot ch
+# Maintainer: thierryn1 at hispeed
+# Depends on: openssl
+
+name=kerberos
+version=1.6.3
+release=1
+source=(http://web.mit.edu/$name/www/dist/krb5/1.6/krb5-$version-signed.tar)
+build() {
+ tar xf krb5-${version}-signed.tar
+ tar xzf krb5-${version}.tar.gz
+# gpg - -verify krb5-$version.tar.gz.asc
+ cd krb5-$version/src
+ ./configure CPPFLAGS="-I/usr/include/et -I/usr/include/ss" \
+ --prefix=/usr \
+ --sysconfdir=/etc/krb5 \
+ --localstatedir=/var/lib \
+ --with-system-et \
+ --with-system-ss \
+ --enable-dns-for-realm \
+ --mandir=/usr/share/man
+
+ make -j3
+ make DESTDIR=$PKG install
+
+ for file in telnet ftp rcp rlogin rsh uuclient; do
+ mv ${PKG}/usr/bin/$file ${PKG}/usr/bin/k${file}
+ done
+ for file in ftpd telnetd uuserver; do
+ mv ${PKG}/usr/sbin/$file ${PKG}/usr/sbin/k${file}
+ done
+ for file in telnet.1 ftp.1 rcp.1 rsh.1 rlogin.1 telnetd.8 ftpd.8; do
+ mv ${PKG}/usr/share/man/man`echo $file | cut -f2 -d.`/$file \
+ ${PKG}/usr/share/man/man`echo $file | cut -f2 -d.`/k${file}
+ done
+
+ mkdir -p $PKG/{lib,bin}
+ mv -v $PKG/usr/bin/ksu $PKG/bin
+ chmod -v 755 $PKG/bin/ksu
+ 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
+}
+