aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1996-11-22 08:16:51 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1996-11-22 08:16:51 +0000
commitc14bd1fe166eae4e38a8692c8cd655c07d7b4c3a (patch)
treee618537ddfcd006b631be5f9cb9c6153bec1795c /net
parent6f5febdbe2129e1a9536a1d2738b6cf0184f6a4f (diff)
downloadports-c14bd1fe166eae4e38a8692c8cd655c07d7b4c3a.tar.gz
ports-c14bd1fe166eae4e38a8692c8cd655c07d7b4c3a.zip
New port -- netcat is a simple utility which reads and writes data across
network connections. Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=4635
Diffstat (limited to 'net')
-rw-r--r--net/netcat/Makefile33
-rw-r--r--net/netcat/distinfo1
-rw-r--r--net/netcat/pkg-comment1
-rw-r--r--net/netcat/pkg-descr37
-rw-r--r--net/netcat/pkg-plist2
5 files changed, 74 insertions, 0 deletions
diff --git a/net/netcat/Makefile b/net/netcat/Makefile
new file mode 100644
index 000000000000..6c7427a1421d
--- /dev/null
+++ b/net/netcat/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# New ports collection makefile for: netcat
+# Version required: 1.10
+# Date created: Thur Nov 21, 1996
+# Whom: David O'Brien (obrien@cs.ucdavis.edu)
+#
+# $Id$
+#
+
+DISTNAME= nc110
+PKGNAME= netcat-1.10
+CATEGORIES= net
+MASTER_SITES= ftp://avian.org/src/hacks/ \
+ ftp://coast.cs.purdue.edu/pub/mirrors/avian.org/netcat/ \
+ ftp://zippy.telcom.arizona.edu:/pub/mirrors/avian.org/hacks/ \
+ ftp://ftp.sterling.com:/mirrors/avian.org/src/hacks/ \
+ ftp://ftp.rge.com:/pub/security/coast/mirrors/avian.org/netcat/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= obrien@cs.ucdavis.edu
+
+NO_WRKSUBDIR= yes
+ALL_TARGET= freebsd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/netcat \
+ && chmod a+rx ${PREFIX}/share/doc/netcat
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/netcat
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/netcat/distinfo b/net/netcat/distinfo
new file mode 100644
index 000000000000..222f400b089f
--- /dev/null
+++ b/net/netcat/distinfo
@@ -0,0 +1 @@
+MD5 (nc110.tgz) = 402632f2fe01c169ff19a0ad6e9d608c
diff --git a/net/netcat/pkg-comment b/net/netcat/pkg-comment
new file mode 100644
index 000000000000..a64ef5c84e43
--- /dev/null
+++ b/net/netcat/pkg-comment
@@ -0,0 +1 @@
+simple utility which reads and writes data across network connections
diff --git a/net/netcat/pkg-descr b/net/netcat/pkg-descr
new file mode 100644
index 000000000000..e4d6375ef43d
--- /dev/null
+++ b/net/netcat/pkg-descr
@@ -0,0 +1,37 @@
+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.
+
+Some of netcat's major features are:
+
+ Outbound or inbound connections, TCP or UDP, to or from any ports
+ Full DNS forward/reverse checking, with appropriate warnings
+ Ability to use any local source port
+ Ability to use any locally-configured network source address
+ Built-in port-scanning capabilities, with randomizer
+ Built-in loose source-routing capability
+ Can read command line arguments from standard input
+ Slow-send mode, one line every N seconds
+ Hex dump of transmitted and received data
+ Optional ability to let another program service established connections
+ Optional telnet-options responder
+
+A very short list of potential uses:
+
+ Script backends
+ Scanning ports and inventorying services, automated probes
+ Backup handlers
+ File transfers
+ Server testing, simulation, debugging, and hijacking
+ Firewall testing
+ Proxy gatewaying
+ Network performance testing
+ Address spoofing tests
+ Protecting X servers
+ 1001 other uses you'll likely come up with
+
+_H* 960320
diff --git a/net/netcat/pkg-plist b/net/netcat/pkg-plist
new file mode 100644
index 000000000000..ff55da7d1fc2
--- /dev/null
+++ b/net/netcat/pkg-plist
@@ -0,0 +1,2 @@
+bin/nc
+share/doc/netcat/README