1 |
brianr |
1.8 |
# $Id: smeserver-denyhosts.spec,v 1.7 2022/07/22 05:41:26 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 |
brianr |
1.8 |
%define release 18 |
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.5 |
|
24 |
brianr |
1.1 |
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 |
jpp |
1.2 |
Requires: e-smith-openssh >= 2.6.0-4 |
31 |
brianr |
1.1 |
|
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 |
jpp |
1.2 |
%patch4 -p1 |
42 |
terryfage |
1.5 |
%patch5 -p1 |
43 |
jpp |
1.6 |
%patch6 -p1 |
44 |
jpp |
1.7 |
%patch7 -p1 |
45 |
brianr |
1.1 |
|
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 |
brianr |
1.8 |
* 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 |
jpp |
1.7 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-17.sme |
69 |
|
|
- add to core backup [SME: 12003] |
70 |
|
|
|
71 |
jpp |
1.6 |
* Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-16.sme |
72 |
brianr |
1.8 |
- 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 |
jpp |
1.6 |
|
75 |
terryfage |
1.5 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.9-15.sme |
76 |
|
|
- apply locale 2021-08-21 patch |
77 |
|
|
|
78 |
jpp |
1.4 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-14.sme |
79 |
jpp |
1.3 |
- change pid file reference [SME: 11254] |
80 |
jpp |
1.4 |
- increase timeout for the service file and restart always |
81 |
jpp |
1.3 |
|
82 |
jpp |
1.2 |
* 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 |
brianr |
1.1 |
* 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 |
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] |
94 |
brianr |
1.1 |
|
95 |
|
|
* Mon Mar 30 2015 JP Pialasse <tests@pialasse.com> 2.9-6.sme |
96 |
brianr |
1.8 |
- 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 |
brianr |
1.1 |
|
99 |
|
|
* Sun Mar 29 2015 JP Pialasse <tests@pialasse.com> 2.9-1.sme |
100 |
brianr |
1.8 |
- Re-build and link to latest devtoolsed path to perl modules |
101 |
brianr |
1.1 |
|
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 |