update to version 4.1.1 (export)

This commit is contained in:
marc 1998-07-25 23:18:38 +00:00
parent 04ef6b8b7a
commit f3df131f6f
4 changed files with 35 additions and 42 deletions

View File

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

View File

@ -1 +1 @@
MD5 (netpipes3.2.tar.gz) = 52402e636772c32a37228e5349042d09
MD5 (netpipes-4.1.1-export.tar.gz) = 43db9c6045beeaec8720a7234ab4cb1e

View File

@ -1,43 +1,28 @@
--- Makefile.orig Fri Jun 28 00:03:45 1996
+++ Makefile Tue Jul 8 15:15:40 1997
--- Makefile.~1~ Tue Jul 7 10:13:07 1998
+++ Makefile Sat Jul 25 16:02:01 1998
@@ -17,7 +17,7 @@
# You probably want to change this:
#INSTROOT = ${HOME}
-INSTROOT = /depot/collections0/netpipes3.2
-INSTROOT = /depot/collections0/netpipes4.1
+INSTROOT = ${PREFIX}
#INSTROOT = /usr/local
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}
@@ -133,13 +133,13 @@
install : all
- [ -d ${INSTROOT} ] || mkdir ${INSTROOT}
- [ -d ${INSTBIN} ] || mkdir ${INSTBIN}
test -d ${INSTROOT} || mkdir ${INSTROOT}
test -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
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
- rm -f ${INSTBIN}/getsockname
ln -s getpeername ${INSTBIN}/getsockname
- - [ -x ssl-auth ] && cp ssl-auth ${INSTBIN}/
+ - [ -x ssl-auth ] && ${BSD_INSTALL_PROGRAM} 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/
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
+ ln -f -s ${INSTBIN}/getpeername ${INSTBIN}/getsockname
clean :
rm -f ${FOBJS} ${HOBJS} ${SOBJS} ${GOBJS}
#

View File

@ -1,8 +1,16 @@
@cwd /usr/local
@name netpipes-4.1.1-export
bin/faucet
bin/hose
bin/sockdown
bin/getpeername
bin/timelimit
bin/encapsulate
bin/getsockname
man/man1/netpipes.1
man/man1/faucet.1
man/man1/hose.1
man/man1/sockdown.1
man/man1/getpeername.1
man/man1/timelimit.1
man/man1/encapsulate.1