1 # Contributor: Roberto Alsina <ralsina@kde.org>
5 pkgdesc="A set of internet protocol service daemons for Unix"
6 url="http://smarden.org/ipsvd/"
10 source=(http://smarden.org/ipsvd/$pkgname-$pkgver.tar.gz http://ftp.debian.org/debian/pool/main/m/matrixssl/matrixssl_1.8.5.orig.tar.gz LICENSE)
11 md5sums=('82c8710e4beec3e92f3d9a616290232b'
12 '8f02eb566368e79224ed9bab6abdf3db'
13 '1af57726fa420ca9d1038b9a37d8b5af')
17 cp $startdir/src/matrixssl-1.8.5.orig/matrixssl-1-8-5-open.tar.gz $startdir/src/net/$pkgname-$pkgver/src/matrixssl.tar.gz
18 cd $startdir/src/net/$pkgname-$pkgver/src
19 echo "${CC:-cc} ${CFLAGS:-Os -Wall}" > conf-cc
20 echo "${LD:-cc} ${LDFLAGS:--s}" > conf-ld
21 #patch -p3 < $startdir/src/ipsvd.patch
22 echo sslio sslsvd >command.ssl
24 install -d $startdir/pkg/sbin/
25 install -d $startdir/pkg/usr/man/man8
26 install -d $startdir/pkg/usr/man/man7
27 install -d $startdir/pkg/usr/man/man5
28 install -D $startdir/src/LICENSE $startdir/pkg/usr/share/licenses/ipsvd/COPYING
30 for i in tcpsvd udpsvd ipsvd-cdb sslio sslsvd ; do
31 install -m0755 $i $startdir/pkg/sbin/
34 install -m0644 ../man/*.8 $startdir/pkg/usr/man/man8
35 install -m0644 ../man/*.7 $startdir/pkg/usr/man/man7
36 install -m0644 ../man/*.5 $startdir/pkg/usr/man/man5