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