Date: 30 Mar 2002 00:24:35 -0000 From: "ago" <a.go@wish.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36514: Additional patch for security/fwtk Message-ID: <20020330002435.64429.qmail@mandark.attica.home>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020330002435.64429.qmail>