1 |
# $Id: smeserver-rkhunter.spec,v 1.1 2020/10/09 14:26:37 brianr Exp $ |
2 |
|
3 |
Summary: rkhunter for SME Server |
4 |
Name: smeserver-rkhunter |
5 |
%define version 1.4.0 |
6 |
%define release 5 |
7 |
%define displayversion %{version} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Applications/System |
12 |
Source: smeserver-rkhunter-%{version}.tar.gz |
13 |
BuildArchitectures: noarch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
Requires: rkhunter |
16 |
Patch0: smeserver-rkhunter-1.4.0.path2rsyslog.patch |
17 |
Patch1: smeserver-rkhunter-1.4.0.more_options2rkhunter-conf.patch |
18 |
Patch2: smeserver-rkhunter-1.4.0.bz10376.disableupdate.patch |
19 |
BuildRequires: perl, e-smith-devtools |
20 |
|
21 |
%description |
22 |
rkhunter for SME Server |
23 |
|
24 |
%changelog |
25 |
* Fri Oct 09 2020 Brian Read <brianr@bjsystems.co.uk> 1.4.0-5.sme |
26 |
- Import in SME10 tree [SME: 11025 ] |
27 |
|
28 |
* Thu Jul 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4.0-4.sme |
29 |
- disabling as default update for rkh because of CVE-2017-7480 [SME: 10376] |
30 |
- added property updateMirrors to handle this |
31 |
|
32 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4.0-3.sme |
33 |
- add smeserver-rkhunter-1.4.0.more_options2rkhunter-conf.patch |
34 |
|
35 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4.0-2.sme |
36 |
- change path to rsyslog.conf |
37 |
|
38 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4.0-1.sme |
39 |
- First Import to contribs9 |
40 |
|
41 |
* Tue Sep 17 2013 JP Pialasse <tests@pialasse.com> 1.2.0-10 |
42 |
- fix not run in cron daily [SME: 7800] |
43 |
- typos in patchs |
44 |
|
45 |
* Tue Jul 02 2013 JP Pialasse <tests@pialasse.com> 1.2.0-7 |
46 |
- fix typo patch correct |
47 |
- fix spare space |
48 |
|
49 |
* Sat Jun 23 2013 JP Pialasse <tests@pialasse.com> 1.2.0-5 |
50 |
- fix email error root@localhost [SME: 7103] |
51 |
- adding option for warning mail in .conf |
52 |
- Patch2 |
53 |
|
54 |
* Thu Jun 20 2013 JP Pialasse <tests@pialasse.com> |
55 |
- fix email error root@localhost [SME: 7103] |
56 |
- you can set the mail you want with key mail and default is root |
57 |
|
58 |
* Thu May 14 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-3 |
59 |
- Bump version number in order to move package to SME Contribs [SME: 5172] |
60 |
|
61 |
* Tue Apr 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-2 |
62 |
- Remove quotes in DISABLE_TESTS setting [SME: 5149] |
63 |
|
64 |
* Fri Apr 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-1 |
65 |
- Initial draft of rkhunter for SME Server |
66 |
- Adjust ALLOW_SSH_ROOT_USER according to sshd PermitRootLogin setting [SME: 3718] |
67 |
|
68 |
%prep |
69 |
%setup |
70 |
%patch0 -p1 |
71 |
%patch1 -p1 |
72 |
%patch2 -p1 |
73 |
|
74 |
%build |
75 |
perl createlinks |
76 |
|
77 |
%install |
78 |
rm -rf $RPM_BUILD_ROOT |
79 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
80 |
rm -f %{name}-%{version}-filelist |
81 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
82 |
|
83 |
%clean |
84 |
rm -rf $RPM_BUILD_ROOT |
85 |
|
86 |
%files -f %{name}-%{version}-filelist |
87 |
%defattr(-,root,root) |