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.4 |
%define release 3 |
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.4 |
* Thu May 14 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-3 |
24 |
|
|
- Bump version number in order to move package to SME Contribs [SME: 5172] |
25 |
|
|
|
26 |
snetram |
1.3 |
* Tue Apr 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2 |
27 |
|
|
- Remove quotes in DISABLE_TESTS setting [SME: 5149] |
28 |
|
|
|
29 |
slords |
1.1 |
* Fri Apr 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-1 |
30 |
|
|
- Initial draft of rkhunter for SME Server |
31 |
|
|
- Adjust ALLOW_SSH_ROOT_USER according to sshd PermitRootLogin setting [SME: 3718] |
32 |
|
|
|
33 |
|
|
%prep |
34 |
|
|
%setup |
35 |
snetram |
1.3 |
%patch0 -p1 |
36 |
slords |
1.1 |
|
37 |
|
|
%build |
38 |
|
|
perl createlinks |
39 |
|
|
|
40 |
|
|
%install |
41 |
|
|
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
43 |
|
|
rm -f %{name}-%{version}-filelist |
44 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
45 |
|
|
|
46 |
|
|
%clean |
47 |
|
|
rm -rf $RPM_BUILD_ROOT |
48 |
|
|
|
49 |
|
|
%files -f %{name}-%{version}-filelist |
50 |
|
|
%defattr(-,root,root) |