/[smecontribs]/rpms/smeserver-denyhosts/contribs10/smeserver-denyhosts.spec
ViewVC logotype

Contents of /rpms/smeserver-denyhosts/contribs10/smeserver-denyhosts.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Mon Mar 15 21:26:42 2021 UTC (3 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-denyhosts-2_9-14_el7_sme
Changes since 1.3: +4 -3 lines
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-14.sme
- change pid file reference [SME: 11254]
- increase timeout  for the service file and restart always

1 # $Id: smeserver-denyhosts.spec,v 1.3 2021/03/15 20:02:05 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 14
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 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21 BuildArch: noarch
22 BuildRequires: e-smith-devtools >= 1.13.1-03
23 Requires: smeserver-release >= 8.0
24 Requires: denyhosts >= 2.6-20
25 Requires: e-smith-formmagick >= 1.4.0-12
26 Requires: e-smith-openssh >= 2.6.0-4
27
28 %description
29 Integration package to mesh denyhosts with SME Server.
30
31 %prep
32 %setup
33 %patch0 -p1
34 %patch1 -p1
35 %patch2 -p1
36 %patch3 -p1
37 %patch4 -p1
38
39 %build
40 /usr/bin/perl createlinks
41
42 %install
43 /bin/rm -rf $RPM_BUILD_ROOT
44 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
45 /bin/rm -f %{name}-%{version}-filelist
46 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
47
48 %files -f %{name}-%{version}-filelist
49 %defattr(-,root,root,-)
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post
55 touch /etc/hosts.deny_ssh
56
57 %changelog
58 * Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-14.sme
59 - change pid file reference [SME: 11254]
60 - increase timeout for the service file and restart always
61
62 * Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-12.sme
63 - import to SME10 [SME: 11459]
64 - remove template-custom as integrated in core [SME: 11254]
65
66 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.9-11.sme
67 - apply locale 2019-12-07 patch
68
69 * Sun Mar 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-10.sme
70 - ease unban [SME: 9458]
71
72 * Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme
73 - fix removing from whitelist does not remove the desired IP but a random one [SME: 10076]
74
75 * Mon Mar 30 2015 JP Pialasse <tests@pialasse.com> 2.9-6.sme
76 - fixed non working REGEX [SME: 8894]
77 - fixed should isntall epel version not repoforge [SME: 8892]
78
79 * Sun Mar 29 2015 JP Pialasse <tests@pialasse.com> 2.9-1.sme
80 - fixed path to perl modules
81
82 * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.8-1.sme
83 - initial import to SME9 contribs
84
85 * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.7-2.sme
86 - apply locale 2013-07-14 patch
87
88 * Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme
89 - Initial version

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed