summaryrefslogtreecommitdiff
path: root/security/portsentry
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1999-01-20 21:59:09 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1999-01-20 21:59:09 +0000
commitc615c436b34d8da10cd8c7e54046a87ddae6e813 (patch)
treeacf60c4847af280a55fa318c2492a29584c27b62 /security/portsentry
parentOops, double-quotes need to be escaped in Makefiles. (diff)
Respect the value of ${PREFIX}.
Notes
Notes: svn path=/head/; revision=16214
Diffstat (limited to 'security/portsentry')
-rw-r--r--security/portsentry/files/patch-ac13
1 files changed, 9 insertions, 4 deletions
diff --git a/security/portsentry/files/patch-ac b/security/portsentry/files/patch-ac
index 58d6dcaa4aa5..954c7f399943 100644
--- a/security/portsentry/files/patch-ac
+++ b/security/portsentry/files/patch-ac
@@ -1,11 +1,16 @@
---- sentry_config.h.orig Sat Dec 19 11:05:40 1998
-+++ sentry_config.h Sat Dec 19 11:05:52 1998
-@@ -32,7 +32,7 @@
+--- sentry_config.h.orig Thu May 28 22:24:11 1998
++++ sentry_config.h Thu Jan 21 06:05:33 1999
+@@ -32,7 +32,12 @@
/* These are probably ok. Be sure you change the Makefile if you */
/* change the path */
-#define CONFIG_FILE "/usr/local/abacus/sentry.conf"
-+#define CONFIG_FILE "/usr/local/etc/sentry.conf"
++/* Installation prefix */
++#ifndef PREFIX
++#define PREFIX "/usr/local"
++#endif
++
++#define CONFIG_FILE PREFIX"/etc/sentry.conf"
/* The location of Wietse Venema's TCP Wrapper hosts.deny file */
#define WRAPPER_HOSTS_DENY "/etc/hosts.deny"