summaryrefslogtreecommitdiff
path: root/app-admin/denyhosts/files/denyhosts-2.6-gentoo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/denyhosts/files/denyhosts-2.6-gentoo.patch')
-rw-r--r--app-admin/denyhosts/files/denyhosts-2.6-gentoo.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/denyhosts/files/denyhosts-2.6-gentoo.patch b/app-admin/denyhosts/files/denyhosts-2.6-gentoo.patch
new file mode 100644
index 00000000000..157b201aa26
--- /dev/null
+++ b/app-admin/denyhosts/files/denyhosts-2.6-gentoo.patch
@@ -0,0 +1,42 @@
+--- denyhosts.cfg-dist 2006-08-20 14:09:57.000000000 +0000
++++ denyhosts.cfg-new 2006-12-09 15:41:20.000000000 +0000
+@@ -9,13 +9,13 @@
+ # argument
+ #
+ # Redhat or Fedora Core:
+-SECURE_LOG = /var/log/secure
++#SECURE_LOG = /var/log/secure
+ #
+ # Mandrake, FreeBSD or OpenBSD:
+ #SECURE_LOG = /var/log/auth.log
+ #
+-# SuSE:
+-#SECURE_LOG = /var/log/messages
++# Gentoo/SuSE:
++SECURE_LOG = /var/log/messages
+ #
+ # Mac OS X (v10.4 or greater -
+ # also refer to: http://www.denyhosts.net/faq.html#macos
+@@ -150,7 +150,7 @@
+ # Note: it is recommended that you use an absolute pathname
+ # for this value (eg. /home/foo/denyhosts/data)
+ #
+-WORK_DIR = /usr/share/denyhosts/data
++WORK_DIR = /var/lib/denyhosts
+ #
+ #######################################################################
+
+@@ -192,10 +192,10 @@
+ # running at a time.
+ #
+ # Redhat/Fedora:
+-LOCK_FILE = /var/lock/subsys/denyhosts
++#LOCK_FILE = /var/lock/subsys/denyhosts
+ #
+-# Debian
+-#LOCK_FILE = /var/run/denyhosts.pid
++# Gentoo/Debian
++LOCK_FILE = /var/run/denyhosts.pid
+ #
+ # Misc
+ #LOCK_FILE = /tmp/denyhosts.lock