summaryrefslogtreecommitdiff
path: root/security/denyhosts/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'security/denyhosts/files/patch-setup.py')
-rw-r--r--security/denyhosts/files/patch-setup.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/security/denyhosts/files/patch-setup.py b/security/denyhosts/files/patch-setup.py
new file mode 100644
index 000000000000..0e959b394b81
--- /dev/null
+++ b/security/denyhosts/files/patch-setup.py
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- setup.py.orig
++++ setup.py
+@@ -7,7 +7,7 @@
+ from glob import glob
+
+
+-libpath = "/usr/share/denyhosts"
++libpath = "%%PREFIX%%/share/denyhosts"
+
+ #########################################################################
+
+@@ -24,10 +24,7 @@
+ data_files=[(libpath, glob("denyhosts.cfg-dist")),
+ (libpath, glob("denyhosts-daemon-initscript")),
+ (libpath, glob("setup.py")),
+- (libpath, glob("daemon-control-dist")),
+- (libpath, glob("CHANGELOG.txt")),
+- (libpath, glob("README.txt")),
+- (libpath, glob("LICENSE.txt"))],
++ (libpath, glob("daemon-control-dist"))],
+ license="GPL",
+ ##extra_path='denyhosts',
+ long_description="""