1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 # Maintainer: TJ Vanderpoel <tj@rubyists.com>
8 pkgdesc="A set of internet protocol service daemons for Unix, with ssl provided by matrixssl. Compiled with dietlibc"
9 url="http://smarden.org/ipsvd/"
11 makedepends=('dietlibc')
12 arch=('i686' 'x86_64')
13 source=(http://smarden.org/ipsvd/ipsvd-$pkgver.tar.gz http://ftp.debian.org/debian/pool/main/m/matrixssl/matrixssl_1.8.5.orig.tar.gz LICENSE)
14 md5sums=('82c8710e4beec3e92f3d9a616290232b'
15 '8f02eb566368e79224ed9bab6abdf3db'
16 '1af57726fa420ca9d1038b9a37d8b5af')
20 cp "$srcdir/matrixssl-1.8.5.orig/matrixssl-1-8-5-open.tar.gz" "$srcdir/net/ipsvd-$pkgver/src/matrixssl.tar.gz"
21 cd "$srcdir/net/ipsvd-$pkgver/src"
22 echo "/opt/diet/bin/diet -Os ${CC:-cc} ${CFLAGS:-Os -Wall}" > conf-cc
23 echo "/opt/diet/bin/diet -Os ${LD:-cc} ${LDFLAGS:--s}" > conf-ld
24 #patch -p3 < $startdir/src/ipsvd.patch
25 echo sslio sslsvd >command.ssl
27 install -d "$pkgdir/sbin/"
28 install -d "$pkgdir/usr/man/man8"
29 install -d "$pkgdir/usr/man/man7"
30 install -d "$pkgdir/usr/man/man5"
31 install -D "$pkgdir/../LICENSE" "$pkgdir/usr/share/licenses/ipsvd/COPYING"
33 for i in tcpsvd udpsvd ipsvd-cdb sslio sslsvd ; do
34 install -m0755 $i "$pkgdir/sbin/"
37 install -m0644 ../man/*.8 "$pkgdir/usr/man/man8"
38 install -m0644 ../man/*.7 "$pkgdir/usr/man/man7"
39 install -m0644 ../man/*.5 "$pkgdir/usr/man/man5"