From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 16 22:00:24 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F4D416A41F for ; Wed, 16 Nov 2005 22:00:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF8C243D46 for ; Wed, 16 Nov 2005 22:00:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAGM0NOJ052559 for ; Wed, 16 Nov 2005 22:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAGM0NtG052558; Wed, 16 Nov 2005 22:00:23 GMT (envelope-from gnats) Resent-Date: Wed, 16 Nov 2005 22:00:23 GMT Resent-Message-Id: <200511162200.jAGM0NtG052558@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Schmehl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E58C016A41F for ; Wed, 16 Nov 2005 21:51:45 +0000 (GMT) (envelope-from root+buttercup2@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 495E543D5A for ; Wed, 16 Nov 2005 21:51:45 +0000 (GMT) (envelope-from root+buttercup2@utdallas.edu) Received: from buttercup2.utdallas.edu (buttercup2.utdallas.edu [10.110.3.83]) by smtp1.utdallas.edu (Postfix) with ESMTP id 7A8DE388F6B for ; Wed, 16 Nov 2005 15:51:44 -0600 (CST) Received: by buttercup2.utdallas.edu (Postfix, from userid 0) id 00935108836; Wed, 16 Nov 2005 21:52:25 +0000 (UTC) Message-Id: <20051116215225.00935108836@buttercup2.utdallas.edu> Date: Wed, 16 Nov 2005 21:52:25 +0000 (UTC) From: Paul Schmehl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/89178: security/sancp update port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 22:00:24 -0000 >Number: 89178 >Category: ports >Synopsis: security/sancp update port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 16 22:00:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Paul Schmehl >Release: FreeBSD 5.4-SECURITY i386 >Organization: University of Texas at Dallas >Environment: System: FreeBSD hostname.utdallas.edu 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Wed Jul 20 08:57:11 UTC 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 i386 >Description: updated port Makefile to new location (sourceforge) and added two patches, changed sample file to dist, corrected the pkg-plist and the pkg-deinstall files >How-To-Repeat: >Fix: --- Makefile.patch begins here --- --- Makefile.orig Wed Nov 16 19:50:15 2005 +++ Makefile Wed Nov 16 19:36:20 2005 @@ -8,7 +8,13 @@ PORTNAME= sancp PORTVERSION= 1.6.1 CATEGORIES= security -MASTER_SITES= http://www.metre.net/files/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= sancp + +PATCH_SITES= http://sancp.sourceforge.net/ +PATCHFILES= sancp-1.6.1.fix200511.a.patch \ + sancp-1.6.1.fix200511.b.patch +PATCH_DIST_STRIP=-p1 MAINTAINER= pauls@utdallas.edu COMMENT= A network connection profiler @@ -31,7 +37,7 @@ ${INSTALL_PROGRAM} ${WRKSRC}/sancp ${PREFIX}/bin ${INSTALL_SCRIPT} -m 755 ${WRKDIR}/sancp.sh ${PREFIX}/etc/rc.d/sancp.sh .for f in sancp.conf - ${INSTALL_DATA} ${WRKSRC}/etc/sancp/${f} ${PREFIX}/etc/${f}-sample + ${INSTALL_DATA} ${WRKSRC}/etc/sancp/${f} ${PREFIX}/etc/${f}-dist [ -f ${PREFIX}/etc/${f} ] || \ ${INSTALL_DATA} ${WRKSRC}/etc/sancp/${f} ${PREFIX}/etc/${f} .endfor --- Makefile.patch ends here --- --- distinfo.patch begins here --- --- distinfo.orig Wed Nov 16 19:50:25 2005 +++ distinfo Wed Nov 16 18:59:08 2005 @@ -1,2 +1,6 @@ MD5 (sancp-1.6.1.tar.gz) = b83e2f4abb2bf7b10fd874aa58f6324c SIZE (sancp-1.6.1.tar.gz) = 69986 +MD5 (sancp-1.6.1.fix200511.a.patch) = 7b357ec3371fc399c7589261f0d8d11b +SIZE (sancp-1.6.1.fix200511.a.patch) = 662 +MD5 (sancp-1.6.1.fix200511.b.patch) = 747aa31c477d726ce6a9b233e3e5f4ee +SIZE (sancp-1.6.1.fix200511.b.patch) = 870 --- distinfo.patch ends here --- --- pkg-deinstall.patch begins here --- --- pkg-deinstall.orig Wed Nov 16 19:50:44 2005 +++ pkg-deinstall Wed Nov 16 19:37:54 2005 @@ -25,4 +25,3 @@ echo "Unable to remove group: ${GROUP}, remove it manually" fi fi - --- pkg-deinstall.patch ends here --- --- pkg-plist.patch begins here --- --- pkg-plist.orig Wed Nov 16 19:50:59 2005 +++ pkg-plist Wed Nov 16 19:37:03 2005 @@ -1,7 +1,5 @@ bin/sancp -etc/sancp.conf-sample +etc/sancp.conf-dist etc/rc.d/sancp.sh %%DOCSDIR%%/LICENSE -@unexec if [ -f %D/etc/sancp.conf ] && ! cmp -s %D/etc/sancp.conf %D/etc/sancp.conf-sample; then rm -f %D/etc/sancp.conf; fi -@unexec if [ -d /var/log/sancp/ ] && ! rmdir /var/log/sancp/ >/dev/null 2>&1; then echo "WARNING: Unable to remove log dir '/var/log/sancp/', its probably not empty" ; fi -@unexec if [ -f %D/etc/sancp.conf ]; then echo "WARNING: The %D/etc/sancp.conf file was not removed!"; fi +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- pkg-plist.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: