1 # Maintainer: Abakus <java5@arcor.de>
2 # Contributor: Stefan J. Betz <info@stefan-betz.net>
6 pkgdesc="S/KEY Server utilities"
9 url="http://packages.debian.org/sid/opie-server"
10 backup=('etc/opiekeys')
11 source=("http://ftp.de.debian.org/debian/pool/main/o/opie/opie_$pkgver.dfsg.1.orig.tar.gz"
12 "http://ftp.de.debian.org/debian/pool/main/o/opie/opie_$pkgver.dfsg.1-0.2.diff.gz")
13 md5sums=('fc269281acbb567839589aa46bce3335'
14 '9c52858bd5d208bf983a6d0c16689f86')
18 mkdir -p $pkgdir/usr/share/man/man1
19 mkdir -p $pkgdir/usr/share/man/man5
20 cd $srcdir/opie-$pkgver.dfsg.1
21 patch -p1 < ../opie_$pkgver.dfsg.1-0.2.diff
22 ./configure --enable-retype --prefix=$pkgdir/usr
24 make server-install KEY_FILE=$pkgdir/etc/opiekeys LOCK_DIR=$pkgdir/etc/opielocks
25 gzip --best opiepasswd.1 opieinfo.1 opiekeys.5
26 install opieinfo.1.gz $pkgdir/usr/share/man/man1/opieinfo.1.gz
27 install opiepasswd.1.gz $pkgdir/usr/share/man/man1/opiepasswd.1.gz
28 install opiekeys.5.gz $pkgdir/usr/share/man/man5/opiekeys.5.gz