1 |
# $Id: smeserver-denyhosts.spec,v 1.7 2008/04/23 23:37:02 unnilennium Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-denyhosts |
6 |
%define name smeserver-denyhosts |
7 |
%define version 2.6 |
8 |
%define release 7 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-denyhosts-2.6-locale-2008-04-22.patch |
16 |
Patch1: smeserver-denyhosts-2.6-locale-2008-04-23.patch |
17 |
Patch2: smeserver-denyhosts-2.6-patch2.patch |
18 |
Patch3: smeserver-denyhosts-2.6-patch3.patch |
19 |
Url: http://smeserver.pialasse.com/ |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArch: noarch |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
Requires: smeserver-release >= 7.0 |
24 |
Requires: denyhosts >= 2.6 |
25 |
|
26 |
%description |
27 |
Integration package to mesh denyhosts with SME Server. |
28 |
|
29 |
%prep |
30 |
%setup |
31 |
%patch0 -p1 |
32 |
%patch1 -p1 |
33 |
%patch2 -p1 |
34 |
%patch3 -p1 |
35 |
|
36 |
%build |
37 |
/usr/bin/perl createlinks |
38 |
|
39 |
%install |
40 |
/bin/rm -rf $RPM_BUILD_ROOT |
41 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
42 |
/bin/rm -f %{name}-%{version}-filelist |
43 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
44 |
|
45 |
%files -f %{name}-%{version}-filelist |
46 |
%defattr(-,root,root,-) |
47 |
|
48 |
%clean |
49 |
rm -rf $RPM_BUILD_ROOT |
50 |
|
51 |
%post |
52 |
touch /etc/hosts.deny_ssh |
53 |
|
54 |
%changelog |
55 |
* Tue Apr 24 2008 JP PIALASSE <tests@pialasse.Com> 2.6-7 |
56 |
- stop when disable service [SME 4528] |
57 |
- adding local |
58 |
|
59 |
* Wed Apr 23 2008 JP PIALASSE <tests@pialasse.com> 2.6-6 |
60 |
- Added 23 APril 2008 local patch |
61 |
- changed fragment SMTP_FROM to add domain name |
62 |
- changed fragment ADMIN_EMAIL |
63 |
- added some FM in local to translate |
64 |
|
65 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-5 |
66 |
- Added 22 April 2008 locale patch |
67 |
|
68 |
* Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 2.6-4.sme |
69 |
- Pull out all denyhosts stuff |
70 |
- Template needed files |
71 |
- Add database defaults |
72 |
- Split panel to use correct FormMagick style |
73 |
|
74 |
* Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3 |
75 |
- bug in install scriptlet corrected |
76 |
- bug about XML error on install corrected |
77 |
|
78 |
* Sun Mar 30 2008 JP PIALASSE tests@pialasse.com 2.6-0.2 |
79 |
- incorrect template name for hosts.allow corrected |
80 |
|
81 |
* Sat Mar 29 2008 JP PIALASSE tests@pialasse.com 2.6-0.1 |
82 |
- first package for SME from denyhosts src rpm for fedora core 4 |
83 |
- panel for server-manager |