]> git.pld-linux.org Git - packages/DenyHosts.git/commitdiff
- fixed path to config file in denyhosts.py file
authordarekr <darekr@pld-linux.org>
Thu, 12 May 2005 19:30:22 +0000 (19:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DenyHosts.spec -> 1.5

DenyHosts.spec

index 27e89445807b09cbcd7cde55acba8f235e81aa2d..142c76ca01d2b27955d8a93c894274fc0a6f1e69 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Script to help thwart SSH server attacks
 Summary(pl):   Skrypt do blokowania ataków na serwery SSH
 Name:          DenyHosts
 Version:       0.5.5
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/System
 Source0:       http://dl.sourceforge.net/denyhosts/%{name}-%{version}.tar.gz
@@ -51,6 +51,8 @@ python setup.py install \
        --root=$RPM_BUILD_ROOT \
        --optimize=2
 
+sed -i 's@CONFIG_FILE = \"denyhosts.cfg\"@CONFIG_FILE = \"/etc/DenyHosts.cfg\"@' $RPM_BUILD_ROOT%{_bindir}/denyhosts.py
+
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}
 
This page took 0.110774 seconds and 4 git commands to generate.