1 |
# $Id$ |
2 |
|
3 |
Summary: rkhunter for SME Server |
4 |
Name: smeserver-rkhunter |
5 |
%define version 1.0.0 |
6 |
%define release 1 |
7 |
%define displayversion %{version} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Applications/System |
12 |
Source: smeserver-rkhunter.tar.gz |
13 |
BuildArchitectures: noarch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
Requires: rkhunter |
16 |
BuildRequires: perl, e-smith-devtools |
17 |
|
18 |
%description |
19 |
rkhunter for SME Server |
20 |
|
21 |
%changelog |
22 |
* Fri Apr 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-1 |
23 |
- Initial draft of rkhunter for SME Server |
24 |
- Adjust ALLOW_SSH_ROOT_USER according to sshd PermitRootLogin setting [SME: 3718] |
25 |
|
26 |
%prep |
27 |
%setup |
28 |
|
29 |
%build |
30 |
perl createlinks |
31 |
|
32 |
%install |
33 |
rm -rf $RPM_BUILD_ROOT |
34 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
35 |
rm -f %{name}-%{version}-filelist |
36 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
37 |
|
38 |
%clean |
39 |
rm -rf $RPM_BUILD_ROOT |
40 |
|
41 |
%files -f %{name}-%{version}-filelist |
42 |
%defattr(-,root,root) |