contrib/denyhosts/denyhosts-2.5-config.patch
2006-11-21 23:43:30 +11:00

51 lines
1.5 KiB
Diff

--- daemon-control-dist 2006-06-03 00:22:37.000000000 +1000
+++ daemon-control-dist-modifyed 2006-06-03 00:28:13.000000000 +1000
@@ -12,8 +12,8 @@
###############################################
DENYHOSTS_BIN = "/usr/bin/denyhosts.py"
-DENYHOSTS_LOCK = "/var/lock/subsys/denyhosts"
-DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg"
+DENYHOSTS_LOCK = "/var/run/denyhosts.pid"
+DENYHOSTS_CFG = "/etc/denyhosts/denyhosts.conf"
###############################################
--- denyhosts.cfg-dist 2006-04-09 23:37:46.000000000 +1000
+++ denyhosts.cfg-dist-modifyed 2006-06-03 01:20:19.000000000 +1000
@@ -8,8 +8,11 @@
# The file to process can be overridden with the --file command line
# argument
#
+# CRUX
+SECURE_LOG = /var/log/auth
+#
# Redhat or Fedora Core:
-SECURE_LOG = /var/log/secure
+#SECURE_LOG = /var/log/secure
#
# Mandrake, FreeBSD or OpenBSD:
#SECURE_LOG = /var/log/auth.log
@@ -22,7 +25,7 @@
#SECURE_LOG = /private/var/log/asl.log
#
# Mac OS X (v10.3 or earlier):
-SECURE_LOG=/private/var/log/system.log
+#SECURE_LOG=/private/var/log/system.log
#
########################################################################
@@ -191,8 +194,11 @@
# and deleted upon exit. This ensures that only one instance is
# running at a time.
#
+# CRUX
+LOCK_FILE = /var/run/denyhosts.pid
+#
# Redhat/Fedora:
-LOCK_FILE = /var/lock/subsys/denyhosts
+#LOCK_FILE = /var/lock/subsys/denyhosts
#
# Debian
#LOCK_FILE = /var/run/denyhosts.pid