summaryrefslogtreecommitdiff
path: root/security/portsentry/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/portsentry/patches/patch-aa')
-rw-r--r--security/portsentry/patches/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/portsentry/patches/patch-aa b/security/portsentry/patches/patch-aa
new file mode 100644
index 00000000000..a8c12d38334
--- /dev/null
+++ b/security/portsentry/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/02/07 16:20:19 agc Exp $
+
+--- portsentry_config.h 1999/10/26 14:59:29 1.3
++++ portsentry_config.h 2000/02/07 15:08:57
+@@ -31,10 +31,14 @@
+
+ /* These are probably ok. Be sure you change the Makefile if you */
+ /* change the path */
+-#define CONFIG_FILE "/usr/local/psionic/portsentry/portsentry.conf"
++#define CONFIG_FILE "@PREFIX@/etc/portsentry.conf"
+
+ /* The location of Wietse Venema's TCP Wrapper hosts.deny file */
++#if defined(__svr4__) && defined(__sun__)
++#define WRAPPER_HOSTS_DENY "@PREFIX@/etc/hosts.deny"
++#else
+ #define WRAPPER_HOSTS_DENY "/etc/hosts.deny"
++#endif
+
+ /* The default syslog is as daemon.notice. You can also use */
+ /* any of the facilities from syslog.h to send messages to (LOCAL0, etc) */