summaryrefslogtreecommitdiffstats
path: root/extra/kerberos/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 16:23:16 +0200
committertnut <tnut at nutyx dot com>2011-10-15 16:23:16 +0200
commit0a19d2b6f40db67314ca7106dca2de5c2406f43a (patch)
tree8d36fc94cd1a556e38264d5c398a6378fbfe3a5f /extra/kerberos/Pkgfile
parent26c6bc82058978d468ad65ca374b1b7672d92ae7 (diff)
downloadnutyx-extra-0a19d2b6f40db67314ca7106dca2de5c2406f43a.tar.gz
nutyx-extra-0a19d2b6f40db67314ca7106dca2de5c2406f43a.tar.bz2
nutyx-extra-0a19d2b6f40db67314ca7106dca2de5c2406f43a.tar.xz
nutyx-extra-0a19d2b6f40db67314ca7106dca2de5c2406f43a.zip
kerberos dans extra
Diffstat (limited to 'extra/kerberos/Pkgfile')
-rw-r--r--extra/kerberos/Pkgfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/kerberos/Pkgfile b/extra/kerberos/Pkgfile
new file mode 100644
index 000000000..a9c676062
--- /dev/null
+++ b/extra/kerberos/Pkgfile
@@ -0,0 +1,38 @@
+# 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
+
+name=kerberos
+version=1.9
+release=1
+source=(http://web.mit.edu/$name/www/dist/krb5/1.9/krb5-$version-signed.tar)
+build() {
+ tar xf krb5-${version}-signed.tar
+ tar xzf krb5-${version}.tar.gz
+ 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
+ make DESTDIR=$PKG install
+
+ mv ${PKG}/usr/bin/uuclient ${PKG}/usr/bin/kuucclient
+
+ 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
+}
+