diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/socat/DESCR | 7 | ||||
-rw-r--r-- | net/socat/Makefile | 27 | ||||
-rw-r--r-- | net/socat/PLIST | 5 | ||||
-rw-r--r-- | net/socat/distinfo | 5 | ||||
-rw-r--r-- | net/socat/patches/patch-aa | 18 |
5 files changed, 62 insertions, 0 deletions
diff --git a/net/socat/DESCR b/net/socat/DESCR new file mode 100644 index 00000000000..eb350ac66d3 --- /dev/null +++ b/net/socat/DESCR @@ -0,0 +1,7 @@ +socat is a relay for bidirectional data transfer between two +independent data channels. Each of these data channels may be a file, +pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, +IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a +file descriptor (stdin etc.), the GNU line editor, a program, or a +combination of two of these. These modes include generation of +"listening" sockets, pipes and pseudo terminals. diff --git a/net/socat/Makefile b/net/socat/Makefile new file mode 100644 index 00000000000..5338293ee1b --- /dev/null +++ b/net/socat/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/14 22:43:38 minskim Exp $ + +DISTNAME= socat-1.3.2.2 +CATEGORIES= net +MASTER_SITES= http://www.dest-unreach.org/socat/download/ + +MAINTAINER= adrianp@stindustries.net +HOMEPAGE= http://www.dest-unreach.org/socat/ +COMMENT= "netcat++" (extended design, new implementation) + +WRKSRC= ${WRKDIR}/socat-1.3 +GNU_CONFIGURE= YES +USE_BUILDLINK3= YES +USE_GNU_READLINE= YES + +CONFIGURE_ARGS+= --disable-libwrap +CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} + +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= "Fixing hardcoded paths." +SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= socat.1 +SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g' + +.include "../../security/openssl/buildlink3.mk" +.include "../../devel/readline/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/socat/PLIST b/net/socat/PLIST new file mode 100644 index 00000000000..e4ac8828295 --- /dev/null +++ b/net/socat/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/14 22:43:38 minskim Exp $ +bin/filan +bin/procan +bin/socat +man/man1/socat.1 diff --git a/net/socat/distinfo b/net/socat/distinfo new file mode 100644 index 00000000000..6280a97a392 --- /dev/null +++ b/net/socat/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/14 22:43:38 minskim Exp $ + +SHA1 (socat-1.3.2.2.tar.gz) = 5026fdc2f65af4a7c711d08fc3cbace5123465ec +Size (socat-1.3.2.2.tar.gz) = 285280 bytes +SHA1 (patch-aa) = fae16d2affc6d821f51675cd8f456d41efb0cff9 diff --git a/net/socat/patches/patch-aa b/net/socat/patches/patch-aa new file mode 100644 index 00000000000..a8bb4bceb97 --- /dev/null +++ b/net/socat/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/14 22:43:38 minskim Exp $ + +--- Makefile.in.orig 2003-10-19 03:01:41.000000000 -0500 ++++ Makefile.in +@@ -21,11 +21,11 @@ srcdir = @srcdir@ + VPATH = @srcdir@ + + CC = @CC@ +-CCOPTS = $(CCOPT) -Wall -Wno-parentheses ++CCOPTS = $(CCOPT) + + INCLS = -I. @V_INCL@ + DEFS = @DEFS@ +-LIBS = @LIBS@ ++LIBS = @LDFLAGS@ @LIBS@ + + INSTALL = @INSTALL@ + |