1 |
slords |
1.1 |
# $Id$ |
2 |
|
|
|
3 |
|
|
Summary: rkhunter for SME Server |
4 |
|
|
Name: smeserver-rkhunter |
5 |
|
|
%define version 1.0.0 |
6 |
snetram |
1.3 |
%define release 2 |
7 |
slords |
1.1 |
%define displayversion %{version} |
8 |
|
|
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Applications/System |
12 |
slords |
1.2 |
Source: smeserver-rkhunter-%{version}.tar.gz |
13 |
snetram |
1.3 |
Patch0: smeserver-rkhunter-1.0.0-fixQuotes.patch |
14 |
slords |
1.1 |
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 |
snetram |
1.3 |
* 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 |
slords |
1.1 |
* 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 |
snetram |
1.3 |
%patch0 -p1 |
33 |
slords |
1.1 |
|
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) |