From owner-freebsd-ports Fri Mar 29 16:30:19 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 DC67437B419 for ; Fri, 29 Mar 2002 16:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U0U1r72771; Fri, 29 Mar 2002 16:30:01 -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 0ACA837B41B for ; Fri, 29 Mar 2002 16:26:10 -0800 (PST) Received: from mail2.inside.servers (mail2.INSIDE.servers [10.1.0.6]) by emout1.wish.nl (Postfix) with SMTP id AEB67148CCF for ; Sat, 30 Mar 2002 01:58:26 +0100 (CET) Received: (qmail 73240 invoked from network); 30 Mar 2002 00:26:07 -0000 Received: from p13816.nl.wish.net ([212.123.191.248]) (envelope-sender ) by mail2.outside.servers (qmail-ldap-1.03) with SMTP for ; 30 Mar 2002 00:26:07 -0000 Received: (qmail 64430 invoked by uid 1000); 30 Mar 2002 00:24:35 -0000 Message-Id: <20020330002435.64429.qmail@mandark.attica.home> Date: 30 Mar 2002 00:24:35 -0000 From: "ago" Reply-To: a.go@wish.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36514: Additional patch for 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: 36514 >Category: ports >Synopsis: Additional patch for 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: Fri Mar 29 16:30: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: Enable the "Jumbo" patch kit for Fwtk as an optional distribution patch. The patch kit contains several (security related) fixes. For info about the patch: www.fwtk.org/patches Modified: Makefile Take over maintainer-ship, if that's ok. Add the patch, a message, and a switch to enable it. Installation of the config sample file in post-install. This makes files/patch-ac obsolete, please remove it. Remove .old files in ${PREFIX}/libexec. Bump revision because of new patch. distinfo Add the patch. Delete: files/patch-ac >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ago/etc/cvsroot/ports/security/fwtk/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 29 Mar 2002 23:05:38 -0000 1.1.1.1 +++ Makefile 30 Mar 2002 00:03:54 -0000 @@ -1,4 +1,3 @@ -# ex:ts=8 # Ports collection makefile for: fwtk # Date created: 15th June 1996 # Whom: gpalmer @@ -8,12 +7,19 @@ PORTNAME= fwtk PORTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= security DISTNAME= ${PORTNAME}${PORTVERSION} EXTRACT_SUFX= .tar.Z DISTFILES= fwtk2.1${EXTRACT_SUFX} fwtk-doc-only${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +.if defined(WITH_JUMBO_PATCH) +PATCHFILES= trg-jumbo-20001114.diff +PATCH_SITES= http://www.fwtk.org/fwtk/patches/ +PATCH_DIST_STRIP= -p1. +.endif + +MAINTAINER= a.go@wish.net RESTRICTED= "No form of redistribution is allowed" @@ -43,6 +49,14 @@ IGNORE='Please read http://www.tis.com/research/software/fwtk_readme.html for details of how to obtain the FTWK source. Put the files fwtk2.1${EXTRACT_SUFX} and fwtk-doc-only${EXTRACT_SUFX} into the directory ${DISTDIR} and run make again.' .endif +pre-patch: +.if !defined(WITH_JUMBO_PATCH) + @${ECHO} "*****************************************************************************" + @${ECHO} "**** To enable the \"Jumbo\" patch kit, run 'make -DWITH_JUMBO_PATCH'" + @${ECHO} "**** For information about patches, read http://www.fwtk.org/patches" + @${ECHO} "*****************************************************************************" +.endif + pre-configure: @${MV} ${WRKSRC}/Makefile.config ${WRKSRC}/Makefile.config.in @${SED} -e s:%%FWTKSRCDIR%%:${WRKSRC}: \ @@ -56,10 +70,15 @@ post-install: cd ${PREFIX}/libexec ; strip ${SBIN_BINS} ${LIBEXEC_BINS} cd ${PREFIX}/libexec ; ${MV} ${SBIN_BINS} mqueue ../sbin + ${INSTALL_DATA} ${WRKSRC}/config/netperm-table \ + ${PREFIX}/etc/netperm-table.sample if [ ! -f ${PREFIX}/etc/netperm-table ]; then \ ${INSTALL_DATA} ${WRKSRC}/config/netperm-table \ ${PREFIX}/etc/netperm-table;\ fi +.for file in ${LIBEXEC_BINS} + @${RM} -f ${PREFIX}/libexec/${file}.old +.endfor .for man in ${MAN3} @${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man3 .endfor Index: distinfo =================================================================== RCS file: /home/ago/etc/cvsroot/ports/security/fwtk/distinfo,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 distinfo --- distinfo 29 Mar 2002 23:05:38 -0000 1.1.1.1 +++ distinfo 29 Mar 2002 21:23:50 -0000 @@ -1,2 +1,3 @@ MD5 (fwtk2.1.tar.Z) = 936bf217fc271c54ef4b5ffca1e642db MD5 (fwtk-doc-only.tar.Z) = 74ab67a3d224ba7ce0cfc2a39cb038cf +MD5 (trg-jumbo-20001114.diff) = 32d8139ffc8826f451c4df80c5640d5a >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message