summaryrefslogtreecommitdiff
blob: 541d3da5908c712162742dcde9a76cb1e133392d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- DenyHosts-2.1/denyhosts.cfg-dist	2006-02-28 10:28:21.000000000 +0000
+++ DenyHosts-2.1-new/denyhosts.cfg-dist	2006-02-28 10:42:13.000000000 +0000
@@ -9,13 +9,16 @@
 # 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
+#
+# Metalog:
+#SECURE_LOG = /var/log/sshd/current
 #
 ########################################################################
 
@@ -126,7 +129,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
 #
 #######################################################################
 
@@ -168,11 +171,14 @@
 # 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
+LOCK_FILE = /var/run/denyhosts.pid
+#
 # Misc
 #LOCK_FILE = /tmp/denyhosts.lock
 #
diff -urN DenyHosts-2.1/setup.py DenyHosts-2.1-new/setup.py
--- DenyHosts-2.1/setup.py	2006-02-10 01:03:39.000000000 +0000
+++ DenyHosts-2.1-new/setup.py	2006-02-13 11:03:08.000000000 +0000
@@ -20,17 +20,17 @@
       author="Phil Schwartz",
       author_email="phil_schwartz@users.sourceforge.net",
       url="http://denyhosts.sourceforge.net",
-      scripts=['denyhosts.py'],
+##      scripts=['denyhosts.py'],
       package_dir={'DenyHosts': 'DenyHosts'},
       packages=["DenyHosts"],
-      data_files=[(libpath, glob("denyhosts.cfg-dist")),
-                  (libpath, glob("setup.py")),
-                  (libpath, glob("daemon-control-dist")),
-                  (libpath, glob("CHANGELOG.txt")),
-                  (libpath, glob("README.txt")),
-                  (scriptspath, glob("scripts/*")),
-                  (pluginspath, glob("plugins/*")),
-                  (libpath, glob("LICENSE.txt"))],
+##      data_files=[(libpath, glob("denyhosts.cfg-dist")),
+##                  (libpath, glob("setup.py")),
+##                  (libpath, glob("daemon-control-dist")),
+##                  (libpath, glob("CHANGELOG.txt")),
+##                  (libpath, glob("README.txt")),
+##                  (scriptspath, glob("scripts/*")),
+##                  (pluginspath, glob("plugins/*")),
+##                  (libpath, glob("LICENSE.txt"))],
       license="GPL v2",
       ##extra_path='denyhosts',
       long_description="""