pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Import netpipes-4.2-export as net/netpipes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad52454e4e5e
branches:  trunk
changeset: 502578:ad52454e4e5e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Nov 06 23:58:34 2005 +0000

description:
Import netpipes-4.2-export as net/netpipes.

The netpipes package is a collection of utilities that makes TCP/IP
streams usable in shell scripts.

diffstat:

 doc/CHANGES                   |   3 +-
 net/netpipes/DESCR            |   2 +
 net/netpipes/Makefile         |  16 +++++++++
 net/netpipes/PLIST            |  15 +++++++++
 net/netpipes/distinfo         |   7 ++++
 net/netpipes/patches/patch-aa |  71 +++++++++++++++++++++++++++++++++++++++++++
 net/netpipes/patches/patch-ab |  13 +++++++
 7 files changed, 126 insertions(+), 1 deletions(-)

diffs (162 lines):

diff -r 398a743d8f86 -r ad52454e4e5e doc/CHANGES
--- a/doc/CHANGES       Sun Nov 06 23:58:05 2005 +0000
+++ b/doc/CHANGES       Sun Nov 06 23:58:34 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.11845 2005/11/06 16:57:56 joerg Exp $
+$NetBSD: CHANGES,v 1.11846 2005/11/06 23:58:45 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -5095,3 +5095,4 @@
        Updated devel/cpuflags to 0.96 [abs 2005-11-06]
        Updated net/nsd to 2.2.0nb2 [joerg 2005-11-06]
        Updated www/lighttpd to 1.4.7 [joerg 2005-11-06]
+       Added net/netpipes version 4.2 [jlam 2005-11-06]
diff -r 398a743d8f86 -r ad52454e4e5e net/netpipes/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netpipes/DESCR        Sun Nov 06 23:58:34 2005 +0000
@@ -0,0 +1,2 @@
+The netpipes package is a collection of utilities that makes TCP/IP
+streams usable in shell scripts.
diff -r 398a743d8f86 -r ad52454e4e5e net/netpipes/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netpipes/Makefile     Sun Nov 06 23:58:34 2005 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
+
+DISTNAME=      netpipes-4.2-export
+PKGNAME=       ${DISTNAME:S/-export//}
+CATEGORIES=    net
+MASTER_SITES=  http://web.purplefrog.com/ftp/thoth/netpipes/
+
+MAINTAINER=    jlam%NetBSD.org@localhost
+HOMEPAGE=      http://web.purplefrog.com/~thoth/netpipes/netpipes.html
+COMMENT=       utilities for communicating via sockets
+
+WRKSRC=                ${WRKDIR}
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 398a743d8f86 -r ad52454e4e5e net/netpipes/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netpipes/PLIST        Sun Nov 06 23:58:34 2005 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
+bin/encapsulate
+bin/faucet
+bin/getpeername
+bin/getsockname
+bin/hose
+bin/sockdown
+bin/timelimit
+man/man1/encapsulate.1
+man/man1/faucet.1
+man/man1/getpeername.1
+man/man1/hose.1
+man/man1/netpipes.1
+man/man1/sockdown.1
+man/man1/timelimit.1
diff -r 398a743d8f86 -r ad52454e4e5e net/netpipes/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netpipes/distinfo     Sun Nov 06 23:58:34 2005 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
+
+SHA1 (netpipes-4.2-export.tar.gz) = e8a52168b2893a12d943cc31e5d3a7f0bb3502b0
+RMD160 (netpipes-4.2-export.tar.gz) = 26c982c0b9e4382d96335f10a5e54813f776db29
+Size (netpipes-4.2-export.tar.gz) = 74977 bytes
+SHA1 (patch-aa) = 08b395d0c47e4099461bd0c31f6bea600cab043e
+SHA1 (patch-ab) = e2ff692a1153687c5c42da9df06cdc3012c6989a
diff -r 398a743d8f86 -r ad52454e4e5e net/netpipes/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netpipes/patches/patch-aa     Sun Nov 06 23:58:34 2005 +0000
@@ -0,0 +1,71 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
+
+--- Makefile.orig      1998-10-28 15:30:03.000000000 -0500
++++ Makefile
+@@ -17,10 +17,10 @@
+ 
+ # You probably want to change this:
+ #INSTROOT = ${HOME}
+-INSTROOT = /depot/collections0/netpipes4.1
+-#INSTROOT = /usr/local
++#INSTROOT = /depot/collections0/netpipes4.1
++INSTROOT = ${PREFIX}
+ INSTBIN = ${INSTROOT}/bin
+-INSTMAN = ${INSTROOT}/man
++INSTMAN = ${INSTROOT}/${PKGMANDIR}
+ 
+ # For those who wish to use gcc instead of the vendor's compiler.
+ #CC=gcc -Wall
+@@ -35,6 +35,8 @@ INSTMAN = ${INSTROOT}/man
+ # Also necessary for SCO
+ #LDLIBS=-lsocket -lnsl
+ 
++LDLIBS=${LIBS}
++
+ ######################################################################
+ # CFLAGS
+ ######################################################################
+@@ -59,7 +61,7 @@ INSTMAN = ${INSTROOT}/man
+ #CFLAGS = -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
+ 
+ # Linux (developed with RedHat 4.2, libc5)
+-CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
++#CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
+ 
+ # SGI
+ #CFLAGS = -DSYSV $(CDEBUGFLAGS)
+@@ -86,7 +88,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_
+ 
+ # gcc can handle both -O and -g at once
+ #CDEBUGFLAGS = -g # -Wall -DDEBUG
+-CDEBUGFLAGS = -O
++#CDEBUGFLAGS = -O
+ 
+ ######################################################################
+ 
+@@ -104,8 +106,7 @@ SSLINC = -I${SSLDIR}/include
+ SSLLIB = -L../SSLeay-0.8.1 -lssl -lcrypto
+ 
+ MANPAGES = netpipes.1 faucet.1 hose.1 \
+-      sockdown.1 getpeername.1 timelimit.1 encapsulate.1 \
+-      ssl-auth.1
++      sockdown.1 getpeername.1 timelimit.1 encapsulate.1
+ PROGRAMS = faucet hose sockdown getpeername timelimit encapsulate
+ 
+ all   : ${PROGRAMS}
+@@ -140,13 +141,13 @@ ssl-criteria.o: ssl-criteria.c
+ install : all
+       test -d ${INSTROOT}  || mkdir ${INSTROOT}
+       test -d ${INSTBIN}  || mkdir ${INSTBIN}
+-      cp ${PROGRAMS} ${INSTBIN}/
++      ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
+       - rm -f ${INSTBIN}/getsockname
+       ln -s getpeername ${INSTBIN}/getsockname
+       - [ -x ssl-auth ] && cp ssl-auth ${INSTBIN}/
+       test -d ${INSTMAN}  || mkdir ${INSTMAN}
+       test -d ${INSTMAN}/man1  || mkdir ${INSTMAN}/man1
+-      cp ${MANPAGES} ${INSTMAN}/man1/
++      ${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
+ 
+ #
+ 
diff -r 398a743d8f86 -r ad52454e4e5e net/netpipes/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netpipes/patches/patch-ab     Sun Nov 06 23:58:34 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
+
+--- hose.1.orig        1998-10-28 15:30:26.000000000 -0500
++++ hose.1
+@@ -65,7 +65,7 @@ If successful
+ \fBhose\fP
+ redirects the socket to stdin, stdout, stderr, and/or arbitrary file
+ descriptors according to the
+-\fB\-\-in \-\-out \-\-err \-\-fd \fIn\fP\fP
++\fB\-\-in \-\-out \-\-err \-\-fd\fP \fIn\fP
+ flags.  \fBhose\fP also automagically shuts down the unused half of
+ the connection if only \fB\-\-in\fP is specified or if only
+ \fB\-\-out\fP and/or \fB\-\-err\fP are specified.  See the



Home | Main Index | Thread Index | Old Index