[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: New package: denyhosts
- From: Aaron Kurtz <a kurtz hardsun net>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: New package: denyhosts
- Date: Tue, 17 May 2005 13:16:33 -0700
On Tue, 2005-05-17 at 13:06 -0700, Aaron Kurtz wrote:
> The other rpmlints errors are either not that important or dealt with in
> the diff.
Try this one actually.
--
Aaron Kurtz <a kurtz hardsun net GPG Key ID: ED588CF2
--- denyhosts.spec 2005-05-13 12:54:58.000000000 -0700
+++ denyhosts2.spec 2005-05-17 13:01:37.000000000 -0700
@@ -6,7 +6,7 @@
Group: Applications/System
License: GPL
URL: http://denyhosts.sourceforge.net/
-Source0: http://prdownloads.sourceforge.net/denyhosts/DenyHosts-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/denyhosts/DenyHosts-%{version}.tar.gz
Source1: denyhosts.cron
Source2: denyhosts.init
Source3: denyhosts-allowed-hosts
@@ -45,7 +45,7 @@
install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/denyhosts
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_localstatedir}/lib/denyhosts/allowed-hosts
-for i in hosts offset suspicious-logins users-hosts users-invalid users-valid; do
+for i in hosts allowed-warned-hosts offset suspicious-logins users-hosts users-invalid users-valid; do
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/denyhosts/$i
done
@@ -54,7 +54,6 @@
%post
/sbin/chkconfig --add denyhosts
-/sbin/chkconfig denyhosts on
/sbin/service denyhosts condrestart >> /dev/null
exit 0
@@ -73,7 +72,8 @@
%config(noreplace) %{_localstatedir}/lib/denyhosts/allowed-hosts
%config %{_initrddir}/denyhosts
%dir %{_localstatedir}/lib/denyhosts
-%{_localstatedir}/lib/denyhosts/[b-z]*
+%ghost %{_localstatedir}/lib/denyhosts/allowed-warned-hosts
+%ghost %{_localstatedir}/lib/denyhosts/[b-z]*
%{_bindir}/denyhosts.py
%changelog
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]