1 |
stephdl |
1.1 |
# $Id$ |
2 |
|
|
|
3 |
|
|
Summary: rkhunter for SME Server |
4 |
|
|
Name: smeserver-rkhunter |
5 |
|
|
%define version 1.4.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-%{version}.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 |
|
|
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4.0-1.sme |
23 |
|
|
- First Import to contribs9 |
24 |
|
|
|
25 |
|
|
* Tue Sep 17 2013 JP Pialasse <tests@pialasse.com> 1.2.0-10 |
26 |
|
|
- fix not run in cron daily [SME: 7800] |
27 |
|
|
- typos in patchs |
28 |
|
|
|
29 |
|
|
* Tue Jul 02 2013 JP Pialasse <tests@pialasse.com> 1.2.0-7 |
30 |
|
|
- fix typo patch correct |
31 |
|
|
- fix spare space |
32 |
|
|
|
33 |
|
|
* Sat Jun 23 2013 JP Pialasse <tests@pialasse.com> 1.2.0-5 |
34 |
|
|
- fix email error root@localhost [SME: 7103] |
35 |
|
|
- adding option for warning mail in .conf |
36 |
|
|
- Patch2 |
37 |
|
|
|
38 |
|
|
* Thu Jun 20 2013 JP Pialasse <tests@pialasse.com> |
39 |
|
|
- fix email error root@localhost [SME: 7103] |
40 |
|
|
- you can set the mail you want with key mail and default is root |
41 |
|
|
|
42 |
|
|
* Thu May 14 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-3 |
43 |
|
|
- Bump version number in order to move package to SME Contribs [SME: 5172] |
44 |
|
|
|
45 |
|
|
* Tue Apr 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-2 |
46 |
|
|
- Remove quotes in DISABLE_TESTS setting [SME: 5149] |
47 |
|
|
|
48 |
|
|
* Fri Apr 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-1 |
49 |
|
|
- Initial draft of rkhunter for SME Server |
50 |
|
|
- Adjust ALLOW_SSH_ROOT_USER according to sshd PermitRootLogin setting [SME: 3718] |
51 |
|
|
|
52 |
|
|
%prep |
53 |
|
|
%setup |
54 |
|
|
|
55 |
|
|
%build |
56 |
|
|
perl createlinks |
57 |
|
|
|
58 |
|
|
%install |
59 |
|
|
rm -rf $RPM_BUILD_ROOT |
60 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
61 |
|
|
rm -f %{name}-%{version}-filelist |
62 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
63 |
|
|
|
64 |
|
|
%clean |
65 |
|
|
rm -rf $RPM_BUILD_ROOT |
66 |
|
|
|
67 |
|
|
%files -f %{name}-%{version}-filelist |
68 |
|
|
%defattr(-,root,root) |