krb5-1.7-1-i686
authorMichel Hermier <hermier@frugalware.org>
Tue, 1 Dec 2009 20:34:23 +0000 (21:34 +0100)
committerMichel Hermier <hermier@frugalware.org>
Tue, 1 Dec 2009 20:34:23 +0000 (21:34 +0100)
* New package.
  (Wakfu users have fun ;)

source/lib-extra/krb5/FrugalBuild [new file with mode: 0644]

diff --git a/source/lib-extra/krb5/FrugalBuild b/source/lib-extra/krb5/FrugalBuild
new file mode 100644 (file)
index 0000000..95aa096
--- /dev/null
@@ -0,0 +1,53 @@
+# Compiling time: 0.93 SBU
+# Maintainer: Michel Hermier <janny@frugalware.org>
+
+pkgname=krb5
+pkgver=1.7
+pkgrel=1
+pkgdesc="Kerberos: The Network Authentication Protocol"
+url="http://web.mit.edu/kerberos/"
+license="MIT licence"
+depends=('e2fsprogs' 'db')
+makedepends=('perl')
+#makedepends=('postgresql>=8.2.1' 'mysql>=5.1.34')
+rodepends=("libkrb5=$pkgver")
+archs=('i686')
+groups=('lib-extra')
+up2date="echo $pkgver"
+source=(http://web.mit.edu/kerberos/dist/$pkgname/$pkgver/$pkgname-$pkgver-signed.tar)
+sha1sums=('0fe1b1cf9f8d4f5f5d7fdaf89326baf5c5adbc66')
+#signature=($source.asc)
+#signatures=(http://web.mit.edu/kerberos/www/$pkgname-$pkgver/$pkgname-$pkgver.sig)
+
+subpkgs=('libkrb5')
+subdescs=('krb5 libraries files.')
+subdepends=('e2fsprogs db libgssglue')
+subgroups=('lib-extra')
+subarchs=('i686')
+
+build() {
+       Fextract $pkgname-$pkgver.tar.gz
+       Fcd $pkgname-$pkgver/src
+       export CPPFLAGS="$CPPFLAGS -I/usr/include/et"
+       Fbuild --with-system-et --with-system-ss
+       # --with-system-db
+
+       for i in ftp rcp rlogin rsh telnet; do
+               Fmv usr/bin/$i usr/bin/k$i
+               Fmv usr/share/man/man1/$i.1 usr/share/man/man1/k$i.1
+       done
+
+       for i in ftpd telnetd; do
+               Fmv usr/sbin/$i usr/sbin/k$i
+               Fmv usr/share/man/man8/$i.8 usr/share/man/man8/k$i.8
+       done
+
+       Fsplit libkrb5 usr/lib/libgssapi_krb5.so*
+       Fsplit libkrb5 usr/lib/libk5*
+       Fsplit libkrb5 usr/lib/libkrb5.so.3*
+       Fsplit libkrb5 usr/lib/libkrb5support*
+#      Fsplit libkrb5 usr/include
+       Fsplit libkrb5 usr/share/examples/krb5
+}
+
+# optimization OK