summaryrefslogtreecommitdiff
path: root/net/netcat
diff options
context:
space:
mode:
authorkim <kim>1998-09-29 23:11:12 +0000
committerkim <kim>1998-09-29 23:11:12 +0000
commitc4c347734996d401087a3107eeb171e658d1c109 (patch)
tree5f34969fde6d594fe2eb0ee43bbac6c261923ff5 /net/netcat
parent901fd3c2539fcca94bd46578dd2453b569fe1cb8 (diff)
downloadpkgsrc-c4c347734996d401087a3107eeb171e658d1c109.tar.gz
Import of netcat (1.10)
Diffstat (limited to 'net/netcat')
-rw-r--r--net/netcat/Makefile46
-rw-r--r--net/netcat/files/md53
-rw-r--r--net/netcat/pkg/COMMENT1
-rw-r--r--net/netcat/pkg/DESCR7
-rw-r--r--net/netcat/pkg/PLIST5
5 files changed, 62 insertions, 0 deletions
diff --git a/net/netcat/Makefile b/net/netcat/Makefile
new file mode 100644
index 00000000000..72020fb7a69
--- /dev/null
+++ b/net/netcat/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/09/29 23:11:12 kim Exp $
+
+PKGNAME= netcat-1.10
+CATEGORIES= net
+DISTNAME!= echo ${PKGNAME} | sed -e 's/netcat-/nc/' -e 's/\.//'
+DISTFILES= ${DISTNAME}.tgz
+MASTER_SITES= ftp://zippy.telcom.arizona.edu/pub/mirrors/avian.org/hacks/ \
+ ftp://ftp.sterling.com/mirrors/avian.org/src/hacks/ \
+ ftp://coast.cs.purdue.edu/pub/tools/unix/netcat/ \
+ ftp://ftp.rge.com/pub/security/coast/mirrors/avian.org/netcat/ \
+ ftp://ftp.gw.com/pub/unix/netcat/ \
+ ftp://avian.org/src/hacks/
+WRKSRC= ${WRKDIR}
+
+MAINTAINER= kim@tac.nyc.ny.us
+HOMEPAGE= http://www.avian.org/web1/hak/netcat.html
+
+MAKE_ENV+= DFLAGS="-DGAPING_SECURITY_HOLE -DTELNET"
+ALL_TARGET= netbsd
+
+EXTRA_PROGS= data rservice xor
+EXAMPLE_DIR= share/examples/nc
+
+PLIST_SRC= ${PKGDIR}/PLIST ${WRKSRC}/data/PLIST.data
+
+post-build:
+ cd ${WRKSRC}/data; ${MAKE} ${EXTRA_PROGS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/sbin
+.for i in ${EXTRA_PROGS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/data/$i ${PREFIX}/sbin/nc-$i
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLE_DIR}
+ @( \
+ cd ${WRKSRC}/data; \
+ rm -f PLIST.data; \
+ for i in README Makefile *.c *.d; \
+ do \
+ ${INSTALL_DATA} $$i ${PREFIX}/${EXAMPLE_DIR}; \
+ ${ECHO} ${EXAMPLE_DIR}/$$i >> PLIST.data; \
+ done; \
+ ${ECHO} "@dirrm ${EXAMPLE_DIR}" >> PLIST.data; \
+ )
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/netcat/files/md5 b/net/netcat/files/md5
new file mode 100644
index 00000000000..ada464f86aa
--- /dev/null
+++ b/net/netcat/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/09/29 23:11:12 kim Exp $
+
+MD5 (nc110.tgz) = 402632f2fe01c169ff19a0ad6e9d608c
diff --git a/net/netcat/pkg/COMMENT b/net/netcat/pkg/COMMENT
new file mode 100644
index 00000000000..5520b2abcaf
--- /dev/null
+++ b/net/netcat/pkg/COMMENT
@@ -0,0 +1 @@
+Read and write data across network connections
diff --git a/net/netcat/pkg/DESCR b/net/netcat/pkg/DESCR
new file mode 100644
index 00000000000..d0c614af975
--- /dev/null
+++ b/net/netcat/pkg/DESCR
@@ -0,0 +1,7 @@
+Netcat is a simple Unix utility which reads and writes data across
+network connections, using TCP or UDP protocol. It is designed to
+be a reliable "back-end" tool that can be used directly or easily
+driven by other programs and scripts. At the same time, it is a
+feature-rich network debugging and exploration tool, since it can
+create almost any kind of connection you would need and has several
+interesting built-in capabilities.
diff --git a/net/netcat/pkg/PLIST b/net/netcat/pkg/PLIST
new file mode 100644
index 00000000000..8affb56e727
--- /dev/null
+++ b/net/netcat/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/09/29 23:11:12 kim Exp $
+sbin/nc
+sbin/nc-data
+sbin/nc-rservice
+sbin/nc-xor