--- denyhosts.conf.orig	2020-05-09 00:20:42
+++ denyhosts.conf	2024-03-04 01:23:08
@@ -19,13 +19,13 @@
 #
 # Mac OS X (v10.4 or greater - 
 #   also refer to:   http://www.denyhost.net/faq.html#macos
-#SECURE_LOG = /private/var/log/asl.log
+SECURE_LOG = /private/var/log/secure.log
 #
 # Mac OS X (v10.3 or earlier):
 #SECURE_LOG=/private/var/log/system.log
 #
 # Debian and Ubuntu
-SECURE_LOG = /var/log/auth.log
+#SECURE_LOG = /var/log/auth.log
 ########################################################################
 
 ########################################################################
@@ -162,7 +162,7 @@ WORK_DIR = /var/lib/denyhosts
 # Note: it is recommended that you use an absolute pathname
 # for this value (eg. /home/foo/denyhost/data)
 #
-WORK_DIR = /var/lib/denyhosts
+WORK_DIR = @PREFIX@/var/denyhosts/data
 #
 #######################################################################
 
@@ -174,7 +174,7 @@ ETC_DIR = /etc
 # Note: it is recommended that you use an absolute pathname
 # for this value (eg. /etc or /usr/local/etc)
 #
-ETC_DIR = /etc
+ETC_DIR = @PREFIX@/etc
 #
 #######################################################################
 
@@ -221,11 +221,12 @@ LOCK_FILE = /run/denyhosts.pid
 #LOCK_FILE = /var/lock/subsys/denyhosts
 #
 # Debian or Gentoo
-LOCK_FILE = /run/denyhosts.pid
+#LOCK_FILE = /run/denyhosts.pid
 #
 # Misc
 #LOCK_FILE = /tmp/denyhosts.lock
 #
+LOCK_FILE = @PREFIX@/var/run/denyhosts.pid
 ######################################################################
 
 
@@ -525,7 +526,7 @@ DAEMON_LOG = /var/log/denyhosts
 # this is the logfile that DenyHosts uses to report its status.
 # To disable logging, leave blank.  (default is: /var/log/denyhosts)
 #
-DAEMON_LOG = /var/log/denyhosts
+DAEMON_LOG = @PREFIX@/var/log/denyhosts
 #
 # disable logging:
 #DAEMON_LOG =