diff options
author | lioux <lioux@FreeBSD.org> | 2001-09-13 10:01:11 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-09-13 10:01:11 +0800 |
commit | e5f2f214a789e0c55ed0490ba7f6178e7194a58b (patch) | |
tree | d39bb19f9207de97a583fea5b38cefca6a029ed2 | |
parent | 1c6592ff4b2ae51bdec578421a9fc8e8d90433fa (diff) | |
download | freebsd-ports-gnome-e5f2f214a789e0c55ed0490ba7f6178e7194a58b.tar.gz freebsd-ports-gnome-e5f2f214a789e0c55ed0490ba7f6178e7194a58b.tar.zst freebsd-ports-gnome-e5f2f214a789e0c55ed0490ba7f6178e7194a58b.zip |
o Update to 1.1
o Don't install ${PREFIX}/etc/portsentry.conf ever. Just let
${PREFIX}/etc/portsentry.conf.default be the way to go
PR: 30460
Submitted by: MAINTAINER
-rw-r--r-- | security/portsentry/Makefile | 5 | ||||
-rw-r--r-- | security/portsentry/distinfo | 2 | ||||
-rw-r--r-- | security/portsentry/files/patch-aa | 13 | ||||
-rw-r--r-- | security/portsentry/pkg-plist | 2 |
4 files changed, 9 insertions, 13 deletions
diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile index e5532c8a2456..65d6ab94bf41 100644 --- a/security/portsentry/Makefile +++ b/security/portsentry/Makefile @@ -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 @@ post-patch: ${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 --git a/security/portsentry/distinfo b/security/portsentry/distinfo index 89343f139eea..710dedfb67ec 100644 --- a/security/portsentry/distinfo +++ b/security/portsentry/distinfo @@ -1 +1 @@ -MD5 (portsentry-1.0.tar.gz) = d2d29e614f1604bd62a23e33d7a7564f +MD5 (portsentry-1.1.tar.gz) = 782839446b7eca554bb1880ef0882670 diff --git a/security/portsentry/files/patch-aa b/security/portsentry/files/patch-aa index a202fbc5c728..8497756dfcb4 100644 --- a/security/portsentry/files/patch-aa +++ b/security/portsentry/files/patch-aa @@ -1,17 +1,16 @@ ---- 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 16:57:27 2001 ++++ Makefile Wed Sep 12 22:25:13 2001 +@@ -20,13 +20,12 @@ # - - # 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 += -DPREFIX=\"${PREFIX}\" # Debug mode for portsentry diff --git a/security/portsentry/pkg-plist b/security/portsentry/pkg-plist index 5ecc8a262caf..126875101524 100644 --- a/security/portsentry/pkg-plist +++ b/security/portsentry/pkg-plist @@ -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 |