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