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