summaryrefslogtreecommitdiff
path: root/security/portsentry/files/patch-ac
blob: c0d1f04f67da99337b4fc5dfdd745d73a810a9ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- portsentry_config.h.orig	Sun May 16 21:52:00 1999
+++ portsentry_config.h	Sun May 16 21:52:54 1999
@@ -29,9 +29,14 @@
 /************************************************************************/
 
 
+/* Installation prefix */
+#ifndef PREFIX
+#define PREFIX "/usr/local"
+#endif
+
 /* 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 */
 #define WRAPPER_HOSTS_DENY "/etc/hosts.deny"