1 |
# $Id: smeserver-denyhosts.spec,v 1.7 2022/07/22 05:41:26 jpp Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-denyhosts |
6 |
%define name smeserver-denyhosts |
7 |
%define version 2.9 |
8 |
%define release 18 |
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.9-regexpatch.patch |
16 |
Patch1: smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch |
17 |
Patch2: smeserver-denyhosts-2.9-bz9458-ease_to_deban.patch |
18 |
Patch3: smeserver-denyhosts-2.9-locale-2019-12-07.patch |
19 |
Patch4: smeserver-denyhosts-2.9-sme10Initial.patch |
20 |
Patch5: smeserver-denyhosts-2.9-locale-2021-08-21.patch |
21 |
Patch6: smeserver-denyhosts-2.9-bz11804.patch |
22 |
Patch7: smeserver-denyhosts-2.9-bz12003-backup.patch |
23 |
|
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArch: noarch |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
Requires: smeserver-release >= 8.0 |
28 |
Requires: denyhosts >= 2.6-20 |
29 |
Requires: e-smith-formmagick >= 1.4.0-12 |
30 |
Requires: e-smith-openssh >= 2.6.0-4 |
31 |
|
32 |
%description |
33 |
Integration package to mesh denyhosts with SME Server. |
34 |
|
35 |
%prep |
36 |
%setup |
37 |
%patch0 -p1 |
38 |
%patch1 -p1 |
39 |
%patch2 -p1 |
40 |
%patch3 -p1 |
41 |
%patch4 -p1 |
42 |
%patch5 -p1 |
43 |
%patch6 -p1 |
44 |
%patch7 -p1 |
45 |
|
46 |
%build |
47 |
/usr/bin/perl createlinks |
48 |
|
49 |
%install |
50 |
/bin/rm -rf $RPM_BUILD_ROOT |
51 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
52 |
/bin/rm -f %{name}-%{version}-filelist |
53 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
54 |
|
55 |
%files -f %{name}-%{version}-filelist |
56 |
%defattr(-,root,root,-) |
57 |
|
58 |
%clean |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
|
61 |
%post |
62 |
touch /etc/hosts.deny_ssh |
63 |
|
64 |
%changelog |
65 |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.9-18.sme |
66 |
- Re-build and link to latest devtools [SME: 11997] |
67 |
|
68 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-17.sme |
69 |
- add to core backup [SME: 12003] |
70 |
|
71 |
* Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-16.sme |
72 |
- Re-build and link to latest devtools log path [SME: 11804] |
73 |
- Re-build and link to latest devtools multiple rpm owner [SME: 11677] |
74 |
|
75 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.9-15.sme |
76 |
- apply locale 2021-08-21 patch |
77 |
|
78 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-14.sme |
79 |
- change pid file reference [SME: 11254] |
80 |
- increase timeout for the service file and restart always |
81 |
|
82 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-12.sme |
83 |
- import to SME10 [SME: 11459] |
84 |
- remove template-custom as integrated in core [SME: 11254] |
85 |
|
86 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.9-11.sme |
87 |
- apply locale 2019-12-07 patch |
88 |
|
89 |
* Sun Mar 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-10.sme |
90 |
- ease unban [SME: 9458] |
91 |
|
92 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme |
93 |
- Re-build and link to latest devtools removing from whitelist does not remove the desired IP but a random one [SME: 10076] |
94 |
|
95 |
* Mon Mar 30 2015 JP Pialasse <tests@pialasse.com> 2.9-6.sme |
96 |
- Re-build and link to latest devtoolsed non working REGEX [SME: 8894] |
97 |
- Re-build and link to latest devtoolsed should isntall epel version not repoforge [SME: 8892] |
98 |
|
99 |
* Sun Mar 29 2015 JP Pialasse <tests@pialasse.com> 2.9-1.sme |
100 |
- Re-build and link to latest devtoolsed path to perl modules |
101 |
|
102 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.8-1.sme |
103 |
- initial import to SME9 contribs |
104 |
|
105 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.7-2.sme |
106 |
- apply locale 2013-07-14 patch |
107 |
|
108 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme |
109 |
- Initial version |