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