From owner-freebsd-ports Thu Mar 28 14:50:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1BCCB37B405 for ; Thu, 28 Mar 2002 14:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SMo2515975; Thu, 28 Mar 2002 14:50:02 -0800 (PST) (envelope-from gnats) Received: from emout1.wish.nl (emout1.wish.nl [212.123.129.74]) by hub.freebsd.org (Postfix) with ESMTP id 627EE37B433 for ; Thu, 28 Mar 2002 14:47:56 -0800 (PST) Received: from mail3.inside.servers (mail3.INSIDE.servers [10.1.0.7]) by emout1.wish.nl (Postfix) with SMTP id 8BDFE148BE5 for ; Fri, 29 Mar 2002 00:20:08 +0100 (CET) Received: (qmail 16808 invoked from network); 28 Mar 2002 22:47:53 -0000 Received: from p13730.nl.wish.net ([212.123.191.162]) (envelope-sender ) by mail3.outside.servers (qmail-ldap-1.03) with SMTP for ; 28 Mar 2002 22:47:53 -0000 Received: (qmail 54373 invoked by uid 1000); 28 Mar 2002 22:47:19 -0000 Message-Id: <20020328224719.54372.qmail@mandark.attica.home> Date: 28 Mar 2002 22:47:19 -0000 From: "ago" Reply-To: a.go@wish.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36442: Patch security/fwtk Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36442 >Category: ports >Synopsis: Patch security/fwtk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 14:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: ago >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD mandark.attica.home 4.5-STABLE FreeBSD 4.5-STABLE #2: Wed Mar 27 23:46:01 CET 2002 toor@mandark.attica.home:/usr/obj/usr/src/sys/CUSTOM i386 >Description: Do not overwrite an existing netperm-table when (re)installing security/fwtk, install the netperm-table as .sample. Modified: files/patch-ac Rename netperm-table to netperm-table.sample Makefile Add installing the default netperm-table when no netperm-table exists in ${PREFIX}/etc pkg-plist Rename netperm-table to netperm-table.sample >How-To-Repeat: Install fwtk Edit the netperm-table Re-install fwtk Changes in netperm-table are gone:( >Fix: --- ./files/patch-ac.orig Fri Mar 7 13:33:43 1997 +++ ./files/patch-ac Thu Mar 28 23:16:50 2002 @@ -15,7 +15,7 @@ - if [ ! -f $(DEST)/netperm-table ]; then \ - $(CP) netperm-table $(DEST); \ - chmod 644 $(DEST)/netperm-table; \ -+ if [ ! -f $(DEST)/../etc/netperm-table ]; then \ -+ $(CP) netperm-table $(DEST)/../etc/; \ -+ chmod 644 $(DEST)/../etc/netperm-table; \ ++ if [ ! -f $(DEST)/../etc/netperm-table.sample ]; then \ ++ $(CP) netperm-table $(DEST)/../etc/netperm-table.sample; \ ++ chmod 644 $(DEST)/../etc/netperm-table.sample; \ fi --- ./Makefile.orig Mon Dec 24 06:58:45 2001 +++ ./Makefile Thu Mar 28 23:22:16 2002 @@ -56,6 +56,10 @@ post-install: cd ${PREFIX}/libexec ; strip ${SBIN_BINS} ${LIBEXEC_BINS} cd ${PREFIX}/libexec ; ${MV} ${SBIN_BINS} mqueue ../sbin + if [ ! -f ${PREFIX}/etc/netperm-table ]; then \ + ${INSTALL_DATA} ${WRKSRC}/config/netperm-table \ + ${PREFIX}/etc/netperm-table;\ + fi .for man in ${MAN3} @${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man3 .endfor --- ./pkg-plist.orig Mon Dec 24 06:58:45 2001 +++ ./pkg-plist Thu Mar 28 23:26:02 2002 @@ -1,4 +1,4 @@ -etc/netperm-table +etc/netperm-table.sample libexec/authsrv libexec/ftp-gw libexec/http-gw >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message