1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Updated to netpipes-4.2

PR:		ports/10506
Submitted by:	Michael Haro mharo@area51.fremont.ca.us
This commit is contained in:
Satoshi Taoka 1999-03-18 06:52:59 +00:00
parent 7e7b6c424c
commit 42d57a80e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17275
4 changed files with 37 additions and 24 deletions

View File

@ -3,17 +3,18 @@
# Date created: 12th April 1997
# Whom: doconnor@gsoft.com.au
#
# $Id: Makefile,v 1.5 1998/08/10 12:04:38 steve Exp $
# $Id: Makefile,v 1.6 1998/11/23 01:05:55 flathill Exp $
#
DISTNAME= netpipes4.0
PKGNAME= netpipes-4.0
DISTNAME= netpipes-4.2-export
PKGNAME= netpipes-4.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.purplefrog.com/pub/netpipes/old/
MASTER_SITES= ftp://ftp.purplefrog.com/pub/netpipes/
MAINTAINER= doconnor@gsoft.com.au
NO_WRKSUBDIR= yes
MAN1= faucet.1 hose.1 sockdown.1 getpeername.1 encapsulate.1 \
timelimit.1
timelimit.1 netpipes.1
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (netpipes4.0.tar.gz) = 522bcf3653c63c19d6a9ec53b98fe2cd
MD5 (netpipes-4.2-export.tar.gz) = 36f7b3120e00c9c74cb6619334de419f

View File

@ -1,24 +1,24 @@
--- Makefile.orig Wed Apr 15 11:49:24 1998
+++ Makefile Wed Apr 15 11:50:42 1998
--- Makefile.orig Wed Oct 28 12:30:03 1998
+++ Makefile Tue Mar 9 03:10:00 1999
@@ -17,7 +17,7 @@
# You probably want to change this:
#INSTROOT = ${HOME}
-INSTROOT = /depot/collections0/netpipes4.0
-INSTROOT = /depot/collections0/netpipes4.1
+INSTROOT = ${PREFIX}
#INSTROOT = /usr/local
INSTBIN = ${INSTROOT}/bin
INSTMAN = ${INSTROOT}/man
@@ -59,7 +59,7 @@
#CFLAGS = -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
@@ -52,7 +52,7 @@
#CFLAGS = -DUSE_IOCTL -DNO_MEMMOVE -DNO_STRERROR $(CDEBUGFLAGS)
# Linux
# 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)
@@ -61,7 +61,7 @@
@@ -71,7 +71,7 @@
#CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
# FreeBSD
@ -27,21 +27,32 @@
# AIX 4.1.4 and 3.2.5
#CFLAGS = -DPOSIX_SIG -DAIX $(CDEBUGFLAGS)
@@ -103,14 +103,9 @@
${CC} ${CFLAGS} -o $@ ${EOBJS} ${LDLIBS}
@@ -104,8 +104,7 @@
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}
@@ -138,15 +137,9 @@
${CC} ${CFLAGS} ${SSLINC} -c $<
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
- - [ -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/
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
+ ln -f -s ${INSTBIN}/getpeername ${INSTBIN}/getsockname
clean :
rm -f ${FOBJS} ${HOBJS} ${SOBJS} ${GOBJS} ${TOBJS} ${EOBJS}
#

View File

@ -1,6 +1,7 @@
bin/encapsulate
bin/faucet
bin/getpeername
bin/getsockname
bin/hose
bin/sockdown
bin/getpeername
bin/encapsulate
bin/timelimit