freebsd-ports/security/portsentry/files/patch-ac
1999-01-20 21:59:09 +00:00

16 lines
504 B
Text

--- 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"
+/* 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"