pkgsrc/security/portsentry/patches/patch-aa
agc 84af64ad7d Initial import of portsentry into the NetBSD packages collection.
PortSentry is a utility which detects and respond to port scans
against a target host in real-time.
2000-02-07 16:20:19 +00:00

20 lines
756 B
Text

$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) */