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