1 |
jpp |
1.1 |
%define version 0.1.0 |
2 |
jpp |
1.2 |
%define release 2 |
3 |
jpp |
1.1 |
%define name smeserver-clamav-unofficial-sigs |
4 |
|
|
|
5 |
|
|
|
6 |
|
|
Summary:Unofficial ClamAV signature integration |
7 |
|
|
Name: %{name} |
8 |
|
|
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Applications/System |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
jpp |
1.2 |
Patch0: smeserver-clamav-unofficial-sigs-0.1.0-bz11597-sme10.patch |
14 |
jpp |
1.1 |
|
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
|
19 |
|
|
Requires: clamav-unofficial-sigs |
20 |
|
|
Requires: smeserver-clamav |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Configure unofficial ClamAV signatures on SME Server |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
jpp |
1.2 |
* Sun Jun 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-2.sme |
27 |
|
|
- import to SME10 [SME: 11597] |
28 |
|
|
rewrite the configuraiton using host.conf |
29 |
|
|
add event on installation |
30 |
|
|
systemd compatible |
31 |
|
|
backup ready |
32 |
|
|
|
33 |
jpp |
1.1 |
* Wed Jun 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
34 |
|
|
- initial release |
35 |
|
|
|
36 |
|
|
%prep |
37 |
|
|
%setup -q -n %{name}-%{version} |
38 |
jpp |
1.2 |
%patch0 -p1 |
39 |
|
|
rm -rf root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf |
40 |
jpp |
1.1 |
|
41 |
|
|
%build |
42 |
|
|
perl createlinks |
43 |
|
|
|
44 |
|
|
%install |
45 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
46 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
47 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
48 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
49 |
|
|
> %{name}-%{version}-filelist |
50 |
|
|
|
51 |
|
|
%files -f %{name}-%{version}-filelist |
52 |
|
|
%defattr(-,root,root) |
53 |
|
|
|
54 |
|
|
%clean |
55 |
|
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
|
57 |
|
|
%pre |
58 |
|
|
|
59 |
|
|
%post |
60 |
|
|
|
61 |
|
|
%preun |
62 |
|
|
|