Date: Wed, 16 Nov 2005 21:52:25 +0000 (UTC) From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/89178: security/sancp update port Message-ID: <20051116215225.00935108836@buttercup2.utdallas.edu> Resent-Message-ID: <200511162200.jAGM0NtG052558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <pauls@utdallas.edu> >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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051116215225.00935108836>