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