Date: 28 Mar 2002 22:47:19 -0000 From: "ago" <a.go@wish.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36442: Patch security/fwtk Message-ID: <20020328224719.54372.qmail@mandark.attica.home>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328224719.54372.qmail>