diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-09-13 02:01:11 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-09-13 02:01:11 +0000 |
commit | 02ef83da4074eea4ea595f4bdc80c7b7ebc56091 (patch) | |
tree | 47d1fab1c88e15a91f883f5ce9eb7c3ccf815a74 /security/portsentry | |
parent | dfd533edaacdf98679630eda21b8aa4fbcb798cd (diff) |
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
Notes
Notes:
svn path=/head/; revision=47780
Diffstat (limited to 'security/portsentry')
-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 |