Date: Sun, 9 Sep 2001 13:37:28 -0400 (EDT) From: dan@freebsddiary.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/30460: security/portsentry - update to v1.1 Message-ID: <200109091737.f89HbSA95746@xeon.unixathome.org>
next in thread | raw e-mail | index | archive | help
>Number: 30460 >Category: ports >Synopsis: upgrade port to latest version of portsentry >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Sep 09 10:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Dan Langille >Release: FreeBSD 4.3-STABLE i386 >Organization: The FreeBSD Diary >Environment: System: FreeBSD xeon.unixathome.org 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Aug 6 23:07:49 EDT 2001 root@xeon.unixathome.org:/usr/src/sys/compile/XEON i386 >Description: - PortSentry is now available in v1.1, update the port to use it. - Don't install ${PREFIX}/etc/portsentry.conf ever. Just let ${PREFIX}/etc/portsentry.conf.default be the way to go. >How-To-Repeat: >Fix: diff -ruN portsentry.old/Makefile portsentry/Makefile --- portsentry.old/Makefile Tue May 22 12:55:32 2001 +++ portsentry/Makefile Sat Sep 8 18:06:41 2001 @@ -6,7 +6,7 @@ # PORTNAME= portsentry -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= security MASTER_SITES= http://www.psionic.com/tools/ @@ -19,9 +19,6 @@ ${WRKSRC}/portsentry.conf ${WRKSRC}/portsentry_config.h do-install: -.if !exists($(PREFIX)/etc/portsentry.conf) - ${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc -.endif ${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc/portsentry.conf.default ${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc ${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin diff -ruN portsentry.old/distinfo portsentry/distinfo --- portsentry.old/distinfo Wed Dec 22 09:26:41 1999 +++ portsentry/distinfo Sat Sep 8 17:02:37 2001 @@ -1 +1 @@ -MD5 (portsentry-1.0.tar.gz) = d2d29e614f1604bd62a23e33d7a7564f +MD5 (portsentry-1.1.tar.gz) = 782839446b7eca554bb1880ef0882670 diff -ruN portsentry.old/files/patch-aa portsentry/files/patch-aa --- portsentry.old/files/patch-aa Mon May 17 01:21:21 1999 +++ portsentry/files/patch-aa Sat Sep 8 17:08:46 2001 @@ -1,16 +1,17 @@ ---- Makefile.orig Sun May 16 21:55:26 1999 -+++ Makefile Sun May 16 21:55:46 1999 -@@ -13,12 +13,13 @@ +--- Makefile.orig Wed Jul 11 12:57:49 2001 ++++ Makefile Sat Sep 8 17:07:01 2001 +@@ -20,13 +20,15 @@ # - - # Generic compiler + # + # Generic compiler (usually linked to gcc on most platforms) -CC = cc +CC ?= cc + # GNU.. #CC = gcc # Normal systems flags --CFLAGS = -O -Wall + CFLAGS = -O -Wall +CFLAGS ?= -O -Wall +CFLAGS += -DPREFIX=\"${PREFIX}\" diff -ruN portsentry.old/pkg-plist portsentry/pkg-plist --- portsentry.old/pkg-plist Fri Dec 22 16:28:43 2000 +++ portsentry/pkg-plist Sat Sep 8 18:03:15 2001 @@ -1,7 +1,7 @@ bin/portsentry @unexec if cmp -s %D/etc/portsentry.conf %D/etc/portsentry.conf.default; then rm -f %D/etc/portsentry.conf; fi etc/portsentry.conf.default -@exec if [ ! -f %D/etc/portsentry.conf ] ; then cp -p %D/%F %B/portsentry.conf; fi +@exec if [ ! -f %D/etc/portsentry.conf ] ; then cp -p %B/portsentry.conf %D/etc/portsentry.conf ; fi etc/portsentry.ignore share/doc/portsentry/README.install share/doc/portsentry/README.methods >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?200109091737.f89HbSA95746>