opnsense-ports/security/denyhosts/files/patch-setup.py
Franco Fichtner cb55b1b0aa */*: sync with upstream
Taken from: HardenedBSD
2020-08-31 05:02:30 +02:00

24 lines
752 B
Python

--- setup.py.orig 2020-05-08 14:20:42 UTC
+++ setup.py
@@ -13,8 +13,8 @@ from DenyHosts.util import normalize_whitespace
from DenyHosts.version import VERSION
etcpath = "/etc"
-manpath = "/usr/share/man/man8"
-libpath = "/usr/share/denyhosts"
+manpath = "%%PREFIX%%/share/man/man8"
+libpath = "%%PREFIX%%/share/denyhosts"
scriptspath = ospj("scripts", libpath)
pluginspath = ospj("plugins", libpath)
denyhostsman = 'denyhosts.8'
@@ -50,10 +50,6 @@ setup(
package_dir={'DenyHosts': 'DenyHosts'},
packages=["DenyHosts"],
requires=["ipaddr"],
- data_files=[
- (etcpath, glob("denyhosts.conf")),
- (manpath, glob(denyhostsman)),
- ],
license="GPL v2",
long_description=normalize_whitespace(
"""