1 |
# $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 $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
11 |
|
|
12 |
Name: %{name} |
Name: %{name} |
13 |
%define version 2.6 |
%define version 2.6 |
14 |
%define release 0.4 |
%define release 0.5 |
15 |
Version: %{version} |
Version: %{version} |
16 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
17 |
License: GPL |
License: GPL |
20 |
Url: http://smeserver.pialasse.com/ |
Url: http://smeserver.pialasse.com/ |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArch: noarch |
BuildArch: noarch |
23 |
|
Patch1: smeserver-denyhosts-2.6-patch1.patch |
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
26 |
|
|
36 |
%prep |
%prep |
37 |
%setup |
%setup |
38 |
|
|
39 |
|
%patch1 -p1 |
40 |
|
|
41 |
|
%build |
42 |
|
perl createlinks |
43 |
|
|
44 |
|
mkdir -p root/share/denyhosts/data |
45 |
|
mkdir -p root/etc/e-smith/db/configuration/defaults/denyhosts |
46 |
|
echo "service" > root/etc/e-smith/db/configuration/defaults/denyhosts/type |
47 |
|
echo "disabled" > root/etc/e-smith/db/configuration/defaults/denyhosts/status |
48 |
|
|
49 |
|
|
50 |
%install |
%install |
51 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
52 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
55 |
|
|
56 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
57 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
58 |
|
%defattr(-,root,root) |
59 |
|
%attr(0644,root,root) %config(noreplace) /etc/hosts.evil |
60 |
|
%attr(0644,root,root) %config(noreplace) /usr/share/denyhosts/data/allowed-hosts |
61 |
%{installdir_denyhosts}/denyhosts |
%{installdir_denyhosts}/denyhosts |
62 |
|
|
63 |
%clean |
%clean |
64 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
65 |
|
|
66 |
|
|
67 |
%changelog |
%changelog |
68 |
|
* Mon Apr 21 2008 JP PIALASSE tests@pialasse.com 2.6-05 |
69 |
|
- corrections to be added on contribs.org |
70 |
|
- bug for whiteliste, file is moved to /usr/share/denyhosts/data/ [SME 4200] |
71 |
|
- HTML bug corrected in the server-manager |
72 |
|
|
73 |
|
* Wed Apr 02 2008 JP PIALASSE tests@pialasse.com 2.6-04 |
74 |
|
- minor bug changes |
75 |
|
|
76 |
* Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3 |
* Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3 |
77 |
- bug in install scriptlet corrected |
- bug in install scriptlet corrected |
78 |
- bug about XML error on install corrected |
- bug about XML error on install corrected |