1 |
# $Id$ |
2 |
|
3 |
Summary: rkhunter for SME Server |
4 |
Name: smeserver-rkhunter |
5 |
%define version 1.0.0 |
6 |
%define release 2 |
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.0.0-fixQuotes.patch |
14 |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: rkhunter |
17 |
BuildRequires: perl, e-smith-devtools |
18 |
|
19 |
%description |
20 |
rkhunter for SME Server |
21 |
|
22 |
%changelog |
23 |
* Tue Apr 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2 |
24 |
- Remove quotes in DISABLE_TESTS setting [SME: 5149] |
25 |
|
26 |
* Fri Apr 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-1 |
27 |
- Initial draft of rkhunter for SME Server |
28 |
- Adjust ALLOW_SSH_ROOT_USER according to sshd PermitRootLogin setting [SME: 3718] |
29 |
|
30 |
%prep |
31 |
%setup |
32 |
%patch0 -p1 |
33 |
|
34 |
%build |
35 |
perl createlinks |
36 |
|
37 |
%install |
38 |
rm -rf $RPM_BUILD_ROOT |
39 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
40 |
rm -f %{name}-%{version}-filelist |
41 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
42 |
|
43 |
%clean |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
|
46 |
%files -f %{name}-%{version}-filelist |
47 |
%defattr(-,root,root) |