summaryrefslogtreecommitdiff
path: root/net/tn5250
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-08-04 17:00:26 +0000
committerrh <rh@pkgsrc.org>1999-08-04 17:00:26 +0000
commitad9c945b991a744d82093798f2c50dc8185d6ffe (patch)
tree9f705c9b26191d3cde010111afc02d4b48392042 /net/tn5250
parent4171c2b4e6d6d87ab7f32e47983300ca248bb32f (diff)
downloadpkgsrc-ad9c945b991a744d82093798f2c50dc8185d6ffe.tar.gz
Import of tn5250-0.12.51, an implementation of the IBM 5250 telnet protocol
Diffstat (limited to 'net/tn5250')
-rw-r--r--net/tn5250/Makefile16
-rw-r--r--net/tn5250/files/md53
-rw-r--r--net/tn5250/patches/patch-aa16
-rw-r--r--net/tn5250/patches/patch-ab17
-rw-r--r--net/tn5250/pkg/COMMENT1
-rw-r--r--net/tn5250/pkg/DESCR5
-rw-r--r--net/tn5250/pkg/PLIST6
7 files changed, 64 insertions, 0 deletions
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
new file mode 100644
index 00000000000..f182523fa28
--- /dev/null
+++ b/net/tn5250/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/08/04 17:00:26 rh Exp $
+#
+
+DISTNAME= tn5250-0.12.51
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.blarg.net/users/mmadore/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.blarg.net/~mmadore/5250.html
+
+DEPENDS+= ncurses-4.2:../../devel/ncurses
+
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/tn5250/files/md5 b/net/tn5250/files/md5
new file mode 100644
index 00000000000..a0ec1d15afa
--- /dev/null
+++ b/net/tn5250/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/08/04 17:00:27 rh Exp $
+
+MD5 (tn5250-0.12.51.tar.gz) = 2a6856c06fa19f593e2852df560f8e2d
diff --git a/net/tn5250/patches/patch-aa b/net/tn5250/patches/patch-aa
new file mode 100644
index 00000000000..7d409fb5fa8
--- /dev/null
+++ b/net/tn5250/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/04 17:00:27 rh Exp $
+
+--- cursesterm.cc.orig Mon Apr 5 18:25:45 1999
++++ cursesterm.cc Wed Aug 4 15:15:30 1999
+@@ -19,7 +19,11 @@
+ #include "config.h"
+ #include <assert.h>
+ #include <sys/time.h>
++#ifdef __NetBSD__
++#include <ncurses.h>
++#else
+ #include <curses.h>
++#endif
+ #include <string.h>
+ #include <ctype.h>
+ #include "utility.h"
diff --git a/net/tn5250/patches/patch-ab b/net/tn5250/patches/patch-ab
new file mode 100644
index 00000000000..59a41667559
--- /dev/null
+++ b/net/tn5250/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/08/04 17:00:27 rh Exp $
+
+--- tn5250.cc.orig Mon Apr 5 18:25:45 1999
++++ tn5250.cc Wed Aug 4 15:20:55 1999
+@@ -18,7 +18,12 @@
+
+ #include "config.h"
+ #include <stdlib.h>
++#include <sys/param.h>
++#if (defined(BSD) && BSD >= 199306)
++#include <unistd.h>
++#else
+ #include <getopt.h>
++#endif
+ #include <errno.h>
+
+ #include "buffer.h"
diff --git a/net/tn5250/pkg/COMMENT b/net/tn5250/pkg/COMMENT
new file mode 100644
index 00000000000..7b2d89e586b
--- /dev/null
+++ b/net/tn5250/pkg/COMMENT
@@ -0,0 +1 @@
+An implementation of the IBM 5250 telnet protocol
diff --git a/net/tn5250/pkg/DESCR b/net/tn5250/pkg/DESCR
new file mode 100644
index 00000000000..f880caed999
--- /dev/null
+++ b/net/tn5250/pkg/DESCR
@@ -0,0 +1,5 @@
+ This is the implementation of a 5250 emulator. The 5250 is most commonly
+used for connected to IBM's AS/400. While one can connect to an AS/400 with
+a VT100 emulator, its not ideal. The problem is that the 5250 is a screen at
+a time terminal, whereas the VT100 is a character at a time device. The
+emulator uses the binary mode of telnet to transfer the 5250 data stream.
diff --git a/net/tn5250/pkg/PLIST b/net/tn5250/pkg/PLIST
new file mode 100644
index 00000000000..4ce55043099
--- /dev/null
+++ b/net/tn5250/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/04 17:00:26 rh Exp $
+bin/tn5250
+bin/scs2ascii
+bin/xt5250
+man/man1/tn5250.1
+man/man1/scs2ascii.1