--- rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts.spec 2008/04/21 17:25:59 1.1 +++ rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts.spec 2008/04/22 02:07:45 1.2 @@ -1,4 +1,4 @@ -# $Id: smeserver-denyhosts-2.6.spec,v 1.2 2008/04/15 15:18:07 slords Exp $ +# $Id: smeserver-denyhosts.spec,v 1.1 2008/04/21 17:25:59 slords Exp $ # Authority: unnilennium # Name: Jean-Philippe Pialasse @@ -11,7 +11,7 @@ Summary: smeserver-denyhosts Name: %{name} %define version 2.6 -%define release 0.4 +%define release 0.5 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -20,6 +20,7 @@ Source: %{name}-%{version}.tgz Url: http://smeserver.pialasse.com/ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch +Patch1: smeserver-denyhosts-2.6-patch1.patch BuildRequires: e-smith-devtools >= 1.13.1-03 Requires: smeserver-release >= 7.0 @@ -35,6 +36,17 @@ be sent to a system admin. http://denyho %prep %setup +%patch1 -p1 + +%build +perl createlinks + +mkdir -p root/share/denyhosts/data +mkdir -p root/etc/e-smith/db/configuration/defaults/denyhosts +echo "service" > root/etc/e-smith/db/configuration/defaults/denyhosts/type +echo "disabled" > root/etc/e-smith/db/configuration/defaults/denyhosts/status + + %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) @@ -43,12 +55,24 @@ be sent to a system admin. http://denyho %files -f %{name}-%{version}-filelist %defattr(-,root,root,-) +%defattr(-,root,root) +%attr(0644,root,root) %config(noreplace) /etc/hosts.evil +%attr(0644,root,root) %config(noreplace) /usr/share/denyhosts/data/allowed-hosts %{installdir_denyhosts}/denyhosts %clean rm -rf $RPM_BUILD_ROOT + %changelog +* Mon Apr 21 2008 JP PIALASSE tests@pialasse.com 2.6-05 +- corrections to be added on contribs.org +- bug for whiteliste, file is moved to /usr/share/denyhosts/data/ [SME 4200] +- HTML bug corrected in the server-manager + +* Wed Apr 02 2008 JP PIALASSE tests@pialasse.com 2.6-04 +- minor bug changes + * Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3 - bug in install scriptlet corrected - bug about XML error on install corrected