From doconnor@cain.gsoft.com.au  Sun May 11 04:20:53 2014
Return-Path: <doconnor@cain.gsoft.com.au>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 2EC24CE2
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 May 2014 04:20:53 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 790D72F57
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 May 2014 04:20:51 +0000 (UTC)
Received: from cain.gsoft.com.au (localhost [127.0.0.1])
	by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s4B47SpR074126
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 May 2014 13:37:34 +0930 (CST)
	(envelope-from doconnor@cain.gsoft.com.au)
Received: (from doconnor@localhost)
	by cain.gsoft.com.au (8.14.4/8.14.3/Submit) id s4B47QRo074113;
	Sun, 11 May 2014 13:37:26 +0930 (CST)
	(envelope-from doconnor)
Message-Id: <201405110407.s4B47QRo074113@cain.gsoft.com.au>
Date: Sun, 11 May 2014 13:37:26 +0930 (CST)
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Reply-To: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update net/netpipes for staging
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         189645
>Category:       ports
>Synopsis:       Update net/netpipes for staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 11 04:30:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Sun May 11 05:20:00 UTC 2014
>Originator:     Daniel O'Connor
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD midget.dons.net.au 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #10 r24
1435M: Thu Oct 11 15:03:22 CST 2012 darius@midget.dons.net.au:/usr/obj/usr/src/s
ys/MIDGET amd64

>Description:
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	netpipes-stagedir.diff
#
echo x - netpipes-stagedir.diff
sed 's/^X//' >netpipes-stagedir.diff << '213277db8d00723c5f37ea8b900903bb'
Xdiff -uNr /usr/ports/net/netpipes/Makefile netpipes/Makefile
X--- /usr/ports/net/netpipes/Makefile	2014-01-23 03:30:46.000000000 +1030
X+++ netpipes/Makefile	2014-05-11 13:26:58.130502174 +0930
X@@ -14,8 +14,8 @@
X CONFLICTS=	timelimit-[0-9]*
X
X NO_WRKSUBDIR=	yes
X-MAN1=		faucet.1 hose.1 sockdown.1 getpeername.1 encapsulate.1 \
X-		timelimit.1 netpipes.1
X
X-NO_STAGE=	yes
X+do-install:
X+	${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKDIR} STAGEDIR=${STAGEDIR} install
X+
X .include <bsd.port.mk>
Xdiff -uNr /usr/ports/net/netpipes/files/patch-Makefile netpipes/files/patch-Makefile
X--- /usr/ports/net/netpipes/files/patch-Makefile	1970-01-01 09:30:00.000000000 +0930
X+++ netpipes/files/patch-Makefile	2014-05-11 13:28:42.966482771 +0930
X@@ -0,0 +1,67 @@
X+--- Makefile.orig	1998-10-29 07:00:03.000000000 +1030
X++++ Makefile	2014-05-11 13:28:21.742500328 +0930
X+@@ -17,7 +17,7 @@
X+
X+ # You probably want to change this:
X+ #INSTROOT = ${HOME}
X+-INSTROOT = /depot/collections0/netpipes4.1
X++INSTROOT = ${STAGEDIR}/${PREFIX}
X+ #INSTROOT = /usr/local
X+ INSTBIN = ${INSTROOT}/bin
X+ INSTMAN = ${INSTROOT}/man
X+@@ -59,7 +59,7 @@
X+ #CFLAGS = -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
X+
X+ # Linux (developed with RedHat 4.2, libc5)
X+-CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
X++#CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
X+
X+ # SGI
X+ #CFLAGS = -DSYSV $(CDEBUGFLAGS)
X+@@ -71,7 +71,7 @@
X+ #CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
X+
X+ # FreeBSD
X+-#CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
X++CFLAGS += -DPOSIX_SIG $(CDEBUGFLAGS)
X+
X+ # AIX 4.1.4 and 3.2.5
X+ #CFLAGS = -DPOSIX_SIG -DAIX $(CDEBUGFLAGS)
X+@@ -86,7 +86,7 @@
X+
X+ # gcc can handle both -O and -g at once
X+ #CDEBUGFLAGS = -g # -Wall -DDEBUG
X+-CDEBUGFLAGS = -O
X++#CDEBUGFLAGS = -O
X+
X+ ######################################################################
X+
X+@@ -104,8 +104,7 @@
X+ SSLLIB = -L../SSLeay-0.8.1 -lssl -lcrypto
X+
X+ MANPAGES = netpipes.1 faucet.1 hose.1 \
X+-	sockdown.1 getpeername.1 timelimit.1 encapsulate.1 \
X+-	ssl-auth.1
X++	sockdown.1 getpeername.1 timelimit.1 encapsulate.1
X+ PROGRAMS = faucet hose sockdown getpeername timelimit encapsulate
X+
X+ all	: ${PROGRAMS}
X+@@ -138,15 +137,9 @@
X+ 	${CC} ${CFLAGS} ${SSLINC} -c $<
X+
X+ install : all
X+-	test -d ${INSTROOT}  || mkdir ${INSTROOT}
X+-	test -d ${INSTBIN}  || mkdir ${INSTBIN}
X+-	cp ${PROGRAMS} ${INSTBIN}/
X+-	- rm -f ${INSTBIN}/getsockname
X+-	ln -s getpeername ${INSTBIN}/getsockname
X+-	- [ -x ssl-auth ] && cp ssl-auth ${INSTBIN}/
X+-	test -d ${INSTMAN}  || mkdir ${INSTMAN}
X+-	test -d ${INSTMAN}/man1  || mkdir ${INSTMAN}/man1
X+-	cp ${MANPAGES} ${INSTMAN}/man1/
X++	${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
X++	${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
X++	ln -f -s getpeername ${INSTBIN}/getsockname
X+
X+ #
X+
Xdiff -uNr /usr/ports/net/netpipes/files/patch-aa netpipes/files/patch-aa
X--- /usr/ports/net/netpipes/files/patch-aa	2014-01-23 04:10:44.000000000 +1030
X+++ netpipes/files/patch-aa	1970-01-01 09:30:00.000000000 +0930
X@@ -1,67 +0,0 @@
X---- Makefile.orig	Wed Oct 28 12:30:03 1998
X-+++ Makefile	Fri Jun  7 00:23:28 2002
X-@@ -17,7 +17,7 @@
X-
X- # You probably want to change this:
X- #INSTROOT = ${HOME}
X--INSTROOT = /depot/collections0/netpipes4.1
X-+INSTROOT = ${PREFIX}
X- #INSTROOT = /usr/local
X- INSTBIN = ${INSTROOT}/bin
X- INSTMAN = ${INSTROOT}/man
X-@@ -59,7 +59,7 @@
X- #CFLAGS = -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
X-
X- # Linux (developed with RedHat 4.2, libc5)
X--CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
X-+#CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
X-
X- # SGI
X- #CFLAGS = -DSYSV $(CDEBUGFLAGS)
X-@@ -71,7 +71,7 @@
X- #CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
X-
X- # FreeBSD
X--#CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
X-+CFLAGS += -DPOSIX_SIG $(CDEBUGFLAGS)
X-
X- # AIX 4.1.4 and 3.2.5
X- #CFLAGS = -DPOSIX_SIG -DAIX $(CDEBUGFLAGS)
X-@@ -86,7 +86,7 @@
X-
X- # gcc can handle both -O and -g at once
X- #CDEBUGFLAGS = -g # -Wall -DDEBUG
X--CDEBUGFLAGS = -O
X-+#CDEBUGFLAGS = -O
X-
X- ######################################################################
X-
X-@@ -104,8 +104,7 @@
X- SSLLIB = -L../SSLeay-0.8.1 -lssl -lcrypto
X-
X- MANPAGES = netpipes.1 faucet.1 hose.1 \
X--	sockdown.1 getpeername.1 timelimit.1 encapsulate.1 \
X--	ssl-auth.1
X-+	sockdown.1 getpeername.1 timelimit.1 encapsulate.1
X- PROGRAMS = faucet hose sockdown getpeername timelimit encapsulate
X-
X- all	: ${PROGRAMS}
X-@@ -138,15 +137,9 @@
X- 	${CC} ${CFLAGS} ${SSLINC} -c $<
X-
X- install : all
X--	test -d ${INSTROOT}  || mkdir ${INSTROOT}
X--	test -d ${INSTBIN}  || mkdir ${INSTBIN}
X--	cp ${PROGRAMS} ${INSTBIN}/
X--	- rm -f ${INSTBIN}/getsockname
X--	ln -s getpeername ${INSTBIN}/getsockname
X--	- [ -x ssl-auth ] && cp ssl-auth ${INSTBIN}/
X--	test -d ${INSTMAN}  || mkdir ${INSTMAN}
X--	test -d ${INSTMAN}/man1  || mkdir ${INSTMAN}/man1
X--	cp ${MANPAGES} ${INSTMAN}/man1/
X-+	${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
X-+	${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
X-+	ln -f -s ${INSTBIN}/getpeername ${INSTBIN}/getsockname
X-
X- #
X-
Xdiff -uNr /usr/ports/net/netpipes/pkg-plist netpipes/pkg-plist
X--- /usr/ports/net/netpipes/pkg-plist	2014-01-23 01:46:56.000000000 +1030
X+++ netpipes/pkg-plist	2014-05-11 13:13:34.492507751 +0930
X@@ -5,3 +5,11 @@
X bin/hose
X bin/sockdown
X bin/timelimit
X+man/man1/encapsulate.1.gz
X+man/man1/faucet.1.gz
X+man/man1/getpeername.1.gz
X+man/man1/hose.1.gz
X+man/man1/netpipes.1.gz
X+man/man1/sockdown.1.gz
X+man/man1/timelimit.1.gz
X+
213277db8d00723c5f37ea8b900903bb
exit

or http://www.dons.net.au/~darius/netpipes-stagedir.diff

>Release-Note:
>Audit-Trail:

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/189645: Update net/netpipes for staging
Date: Sun, 11 May 2014 14:47:47 +0930

 --Apple-Mail=_3C5DF590-53C8-4480-AEF4-124B07379E7B
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 
 On 11 May 2014, at 14:00, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/189645'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs.=20
 >=20
 > You can access the state of your problem report at any time
 > via this link:
 >=20
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D189645
 
 I have just realised the do-install target..
 X+do-install:
 X+	${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKDIR} =
 STAGEDIR=3D${STAGEDIR} install
 
 Should be replaced with
 MAKE_ENV+=3D	STAGEDIR=3D${STAGEDIR}
 
 (Although I don't understand why it isn't routinely available)
 
 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 "The nice thing about standards is that there
 are so many of them to choose from."
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
 
 
 
 
 
 
 
 --Apple-Mail=_3C5DF590-53C8-4480-AEF4-124B07379E7B
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP using GPGMail
 
 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org
 
 iD8DBQFTbwf75ZPcIHs/zowRAt8CAJ908Z5EFAFIEFSZyGhNFRz9+TNeJwCfQx/y
 JCa1gh2/1qKZ7rlNyJT4UeM=
 =33hb
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_3C5DF590-53C8-4480-AEF4-124B07379E7B--
>Unformatted:
