summaryrefslogtreecommitdiffstats
path: root/abs/core/netkit-telnet-ssl/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-08 21:04:21 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-08 21:04:21 (GMT)
commit8084aca8649eb7e20f638bfe2ba683647cea3141 (patch)
tree71d012ba2261fab33e45b59d641712ea1eeea68b /abs/core/netkit-telnet-ssl/PKGBUILD
parent95deb5093af2b3f89d83a7a9ecc4a0811db8eadc (diff)
downloadlinhes_pkgbuild-8084aca8649eb7e20f638bfe2ba683647cea3141.zip
linhes_pkgbuild-8084aca8649eb7e20f638bfe2ba683647cea3141.tar.gz
linhes_pkgbuild-8084aca8649eb7e20f638bfe2ba683647cea3141.tar.bz2
netkit-telnet-ssl: formerly netkit-telnet, upgrade
Diffstat (limited to 'abs/core/netkit-telnet-ssl/PKGBUILD')
-rw-r--r--abs/core/netkit-telnet-ssl/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/netkit-telnet-ssl/PKGBUILD b/abs/core/netkit-telnet-ssl/PKGBUILD
new file mode 100644
index 0000000..37fb577
--- /dev/null
+++ b/abs/core/netkit-telnet-ssl/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: <alexandre.becoulet@free.fr>
+# Contributor: <netbug@ftp.uk.linux.org>
+# Contributor: Fluke <fluke.l at gmail.com>
+pkgname=netkit-telnet-ssl
+pkgver=0.17.24+0.1
+pkgrel=2
+pkgdesc="telnet client and server with ssl enabled"
+arch=('i686' 'x86_64')
+license=('BSD')
+url=("http://www.hcs.harvard.edu/~dholland/computers/netkit.html")
+source=(http://ftp.de.debian.org/debian/pool/main/n/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
+ netkit-telnet-ssl-0.17.24+0.1_arch.diff
+ telnet.xinetd)
+depends=('glibc' 'openssl' 'ncurses')
+replaces=('netkit-telnet')
+md5sums=('43a402139ed6b86434fdb83256feaad8'
+ 'd51bf898269a79a2de77d1134516c209'
+ 'ca38af6f1346ae90b2cb1e160858b453')
+install=netkit-telnet-ssl.install
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}.orig
+ patch -p1 < ../netkit-telnet-ssl-0.17.24+0.1_arch.diff
+ ./configure --prefix=/usr --installroot=${pkgdir}
+ make || return 1
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}.orig
+ mkdir -p ${pkgdir}/usr/{bin,sbin,man/man1,man/man5,man/man8} ${pkgdir}/etc/xinetd.d
+
+ make install || return 1
+ install -m644 ${srcdir}/telnet.xinetd ${pkgdir}/etc/xinetd.d/telnet-ssl
+}