1 # Maintainer: <alexandre.becoulet@free.fr>
2 # Contributor: <netbug@ftp.uk.linux.org>
3 # Contributor: Fluke <fluke.l at gmail.com>
4 pkgname=netkit-telnet-ssl
7 pkgdesc="telnet client and server with ssl enabled"
10 url=("http://www.hcs.harvard.edu/~dholland/computers/netkit.html")
11 source=(http://ftp.de.debian.org/debian/pool/main/n/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
12 netkit-telnet-ssl-0.17.24+0.1_arch.diff
14 depends=('glibc' 'openssl' 'ncurses')
15 md5sums=('43a402139ed6b86434fdb83256feaad8'
16 'd51bf898269a79a2de77d1134516c209'
17 'ca38af6f1346ae90b2cb1e160858b453')
18 install=netkit-telnet-ssl.install
21 cd ${startdir}/src/$pkgname-$pkgver.orig
22 patch -p1 < ../netkit-telnet-ssl-0.17.24+0.1_arch.diff
23 ./configure --prefix=/usr --installroot=$startdir/pkg
25 mkdir -p $startdir/pkg/usr/{bin,sbin,man/man1,man/man5,man/man8} $startdir/pkg/etc/xinetd.d
27 make install || return 1
28 install -m644 $startdir/src/telnet.xinetd $startdir/pkg/etc/xinetd.d/telnet-ssl