This commit is contained in:
joey 1997-11-18 03:28:20 +00:00
parent 3168e028b4
commit e66e26589e
6 changed files with 76 additions and 0 deletions

18
net/netpipe/Makefile Normal file
View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: netpipes3.2
# Version required: 3.2
# Date created: 17 Nov 1997
# Whom: ejovi
#
# $Id: Makefile,v 1.1.1.1 1997/11/18 03:28:20 joey Exp $
#
DISTNAME= netpipes3.2
PKGNAME= netpipes-3.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.cis.ufl.edu/pub/staff/thoth/
MAINTAINER= joey@OpenBSD.ORG
MAN1= faucet.1 hose.1 sockdown.1 getpeername.1
.include <bsd.port.mk>

1
net/netpipe/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (netpipes3.2.tar.gz) = 52402e636772c32a37228e5349042d09

View File

@ -0,0 +1,43 @@
--- Makefile.orig Fri Jun 28 00:03:45 1996
+++ Makefile Tue Jul 8 15:15:40 1997
@@ -17,7 +17,7 @@
# You probably want to change this:
#INSTROOT = ${HOME}
-INSTROOT = /depot/collections0/netpipes3.2
+INSTROOT = ${PREFIX}
INSTBIN = ${INSTROOT}/bin
INSTMAN = ${INSTROOT}/man
@@ -46,8 +46,12 @@
# (that system call is used by the -daemon argument to detach faucet from
# the controlling terminal)
+# FreeBSD 2.1.0
+CFLAGS += -DUSE_IOCTL $(CDEBUGFLAGS)
+CC = gcc
+
# SunOS 4.1.4
-CFLAGS = -DUSE_IOCTL -DNO_MEMMOVE $(CDEBUGFLAGS)
+#CFLAGS = -DUSE_IOCTL -DNO_MEMMOVE $(CDEBUGFLAGS)
# Linux
#CFLAGS = -DUSE_IOCTL -DSYSV $(CDEBUGFLAGS)
@@ -83,14 +87,9 @@
${CC} ${CFLAGS} -o $@ ${GOBJS} ${LDLIBS}
install : all
- [ -d ${INSTROOT} ] || mkdir ${INSTROOT}
- [ -d ${INSTBIN} ] || mkdir ${INSTBIN}
- cp ${PROGRAMS} ${INSTBIN}/
- - rm -f ${INSTBIN}/getsockname
- ln -s getpeername ${INSTBIN}/getsockname
- [ -d ${INSTMAN} ] || mkdir ${INSTMAN}
- [ -d ${INSTMAN}/man1 ] || mkdir ${INSTMAN}/man1
- cp ${MANPAGES} ${INSTMAN}/man1/
+ ${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
+ ln -f -s ${INSTBIN}/getpeername ${INSTBIN}/getsockname
clean :
rm -f ${FOBJS} ${HOBJS} ${SOBJS} ${GOBJS}

1
net/netpipe/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A group of shell utilities to connect programs to sockets

5
net/netpipe/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Netpipes is a collection of utilities which attempts to provide the
functionality of pipes over a network.
- Daniel O'Connor
doconnor@ist.flinders.edu.au

8
net/netpipe/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
bin/faucet
bin/hose
bin/sockdown
bin/getpeername
man/man1/faucet.1.gz
man/man1/hose.1.gz
man/man1/sockdown.1.gz
man/man1/getpeername.1.gz