1 |
unnilennium |
1.7 |
# $Id: smeserver-denyhosts.spec,v 1.6 2016/11/23 22:39:07 unnilennium Exp $ |
2 |
slords |
1.1 |
# Authority: unnilennium |
3 |
|
|
# Name: Jean-Philippe Pialasse |
4 |
|
|
|
5 |
|
|
Summary: smeserver-denyhosts |
6 |
|
|
%define name smeserver-denyhosts |
7 |
unnilennium |
1.3 |
%define version 2.8 |
8 |
unnilennium |
1.7 |
%define release 5 |
9 |
slords |
1.1 |
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Applications/System |
14 |
|
|
Source: %{name}-%{version}.tgz |
15 |
unnilennium |
1.4 |
Patch0: smeserver-denyhosts-2.8-regexpatch.patch |
16 |
unnilennium |
1.7 |
Patch1: smeserver-denyhosts-2.8-bz10076-wrongIPremovedfromWL.patch |
17 |
unnilennium |
1.3 |
#REM contribs9 Patch0: smeserver-denyhosts-2.8-locale-2013-07-14.patch |
18 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
BuildArch: noarch |
20 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
|
|
Requires: smeserver-release >= 8.0 |
22 |
|
|
Requires: denyhosts >= 2.6 |
23 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
Integration package to mesh denyhosts with SME Server. |
27 |
|
|
|
28 |
|
|
%prep |
29 |
|
|
%setup |
30 |
unnilennium |
1.4 |
%patch0 -p1 |
31 |
unnilennium |
1.7 |
%patch1 -p1 |
32 |
slords |
1.1 |
|
33 |
|
|
%build |
34 |
|
|
/usr/bin/perl createlinks |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
38 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
39 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
40 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
41 |
|
|
|
42 |
|
|
%files -f %{name}-%{version}-filelist |
43 |
|
|
%defattr(-,root,root,-) |
44 |
|
|
|
45 |
|
|
%clean |
46 |
|
|
rm -rf $RPM_BUILD_ROOT |
47 |
|
|
|
48 |
|
|
%post |
49 |
|
|
touch /etc/hosts.deny_ssh |
50 |
|
|
|
51 |
|
|
%changelog |
52 |
unnilennium |
1.7 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8-5.sme |
53 |
|
|
- fix removing from whitelist does not remove the desired IP but a random one [SME: 10076] |
54 |
|
|
|
55 |
unnilennium |
1.6 |
* Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8-4.sme |
56 |
unnilennium |
1.4 |
- fix [SME: 9877] |
57 |
|
|
- fix regex issue import from SME9 |
58 |
|
|
|
59 |
unnilennium |
1.3 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.8-1.sme |
60 |
unnilennium |
1.4 |
- new version preparing for SME9 contribs |
61 |
unnilennium |
1.3 |
|
62 |
unnilennium |
1.2 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.7-2.sme |
63 |
|
|
- apply locale 2013-07-14 patch |
64 |
|
|
|
65 |
slords |
1.1 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme |
66 |
|
|
- Initial version |