source: trunk/dports/python/py25-denyhosts/files/patch-denyhosts.cfg-dist.diff @ 50395

Last change on this file since 50395 was 50395, checked in by snc@…, 11 years ago

removing accidental hardcoded prefix

File size: 1.4 KB
RevLine 
[50394]1--- denyhosts.cfg-dist.orig     2009-04-29 23:17:04.000000000 -0400
2+++ denyhosts.cfg-dist  2009-04-29 23:20:01.000000000 -0400
3@@ -9,7 +9,7 @@
4 # argument
5 #
6 # Redhat or Fedora Core:
7-SECURE_LOG = /var/log/secure
8+#SECURE_LOG = /var/log/secure
9 #
10 # Mandrake, FreeBSD or OpenBSD:
11 #SECURE_LOG = /var/log/auth.log
12@@ -19,7 +19,7 @@
13 #
14 # Mac OS X (v10.4 or greater -
15 #   also refer to:   http://www.denyhosts.net/faq.html#macos
16-#SECURE_LOG = /private/var/log/asl.log
17+SECURE_LOG = /private/var/log/secure.log
18 #
19 # Mac OS X (v10.3 or earlier):
20 #SECURE_LOG=/private/var/log/system.log
21@@ -150,7 +150,7 @@
22 # Note: it is recommended that you use an absolute pathname
23 # for this value (eg. /home/foo/denyhosts/data)
24 #
25-WORK_DIR = /usr/share/denyhosts/data
[50395]26+WORK_DIR = @PREFIX@/share/denyhosts/data
[50394]27 #
28 #######################################################################
29 
30@@ -192,10 +192,10 @@
31 # running at a time.
32 #
33 # Redhat/Fedora:
34-LOCK_FILE = /var/lock/subsys/denyhosts
35+#LOCK_FILE = /var/lock/subsys/denyhosts
36 #
37 # Debian
38-#LOCK_FILE = /var/run/denyhosts.pid
[50395]39+LOCK_FILE = @PREFIX@/var/run/denyhosts.pid
[50394]40 #
41 # Misc
42 #LOCK_FILE = /tmp/denyhosts.lock
43@@ -432,7 +432,7 @@
44 # this is the logfile that DenyHosts uses to report it's status.
45 # To disable logging, leave blank.  (default is: /var/log/denyhosts)
46 #
47-DAEMON_LOG = /var/log/denyhosts
[50395]48+DAEMON_LOG = @PREFIX@/var/log/denyhosts
[50394]49 #
50 # disable logging:
51 #DAEMON_LOG =
Note: See TracBrowser for help on using the repository browser.