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