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