diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-09 18:41:37 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-09 18:41:37 (GMT) |
commit | 1c4b59e5d379ba44c9ba9e27750ebec49a597c0d (patch) | |
tree | 25fca8e6b7b683065d364d64865b60c6bb33bd2b /abs/core-testing/netkit-telnet | |
parent | fbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf (diff) | |
download | linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.zip linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.tar.gz linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.tar.bz2 |
gdb,telnet,patch,make,vte
Diffstat (limited to 'abs/core-testing/netkit-telnet')
-rw-r--r-- | abs/core-testing/netkit-telnet/PKGBUILD | 22 | ||||
-rw-r--r-- | abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch | 36 | ||||
-rw-r--r-- | abs/core-testing/netkit-telnet/telnet.xinetd | 10 |
3 files changed, 68 insertions, 0 deletions
diff --git a/abs/core-testing/netkit-telnet/PKGBUILD b/abs/core-testing/netkit-telnet/PKGBUILD new file mode 100644 index 0000000..5afd1a1 --- /dev/null +++ b/abs/core-testing/netkit-telnet/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 9079 2008-08-17 03:28:25Z allan $ +# Maintainer: dorphell <dorphell@archlinux.org> +pkgname=netkit-telnet +pkgver=0.17 +pkgrel=8 +pkgdesc="A telnet client (and server)" +arch=(i686 x86_64) +depends=('ncurses') +license=('GPL2' 'GPL3') # parts are GPL2, others GPL3 +source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz $pkgname-$pkgver.patch telnet.xinetd) +md5sums=('d6beabaaf53fe6e382c42ce3faa05a36' 'd56497f2c6b96e8909ed57f1be19411d' \ + 'c6e6ca4ba8e084be8ce2a170bebc17cc') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -Np1 -i ../$pkgname-$pkgver.patch + ./configure --prefix=/usr --installroot=$startdir/pkg + make || return 1 + mkdir -p $startdir/pkg/usr/{bin,sbin,share/{man/man1,man/man5,man/man8}} $startdir/pkg/etc/xinetd.d + make MANDIR=/usr/share/man install + install -m644 $startdir/src/telnet.xinetd $startdir/pkg/etc/xinetd.d/telnet +} diff --git a/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch b/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch new file mode 100644 index 0000000..77919e1 --- /dev/null +++ b/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch @@ -0,0 +1,36 @@ +diff -Naur netkit-telnet-0.17-orig/telnet/proto.h netkit-telnet-0.17/telnet/proto.h +--- netkit-telnet-0.17-orig/telnet/proto.h 1997-05-19 09:32:36.000000000 +0000 ++++ netkit-telnet-0.17/telnet/proto.h 2002-09-05 01:17:24.000000000 +0000 +@@ -3,6 +3,9 @@ + void auth_encrypt_init(void); + #endif + ++#include <stdlib.h> ++#include <string.h> ++ + void Exit(int); + void ExitString(const char *, int); + int TerminalAutoFlush(void); +diff -Naur netkit-telnet-0.17-orig/telnetd/telnetd.h netkit-telnet-0.17/telnetd/telnetd.h +--- netkit-telnet-0.17-orig/telnetd/telnetd.h 1999-03-27 07:46:21.000000000 +0000 ++++ netkit-telnet-0.17/telnetd/telnetd.h 2002-09-05 01:17:34.000000000 +0000 +@@ -38,6 +38,7 @@ + #include "defs.h" + #include "ext.h" + #include <errno.h> ++#include <stdlib.h> + + #ifdef DIAGNOSTICS + #define DIAG(a,b) if (diagnostic & (a)) b +diff -Naur netkit-telnet-0.17-orig/configure netkit-telnet-0.17/configure +--- netkit-telnet-0.17-orig/configure 2003-11-04 13:10:07.000000000 -0500 ++++ netkit-telnet-0.17/configure 2003-11-04 13:10:49.000000000 -0500 +@@ -252,7 +252,7 @@ + fi + + +-LDFLAGS= ++LDFLAGS=-lstdc++ + LIBS= + + rm -f __conftest* diff --git a/abs/core-testing/netkit-telnet/telnet.xinetd b/abs/core-testing/netkit-telnet/telnet.xinetd new file mode 100644 index 0000000..1a1f4ed --- /dev/null +++ b/abs/core-testing/netkit-telnet/telnet.xinetd @@ -0,0 +1,10 @@ +service telnet +{ + flags = REUSE + socket_type = stream + wait = no + user = root + server = /usr/sbin/in.telnetd + log_on_failure += USERID + disable = yes +} |