1 |
jpp |
1.1 |
%define version 0.1.0 |
2 |
brianr |
1.5 |
%define release 4 |
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 |
brianr |
1.5 |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.0-4.sme |
27 |
|
|
- Re-build and link to latest devtools [SME: 11997] |
28 |
|
|
|
29 |
jpp |
1.4 |
* Mon Jun 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-3.sme |
30 |
|
|
- migrate script [SME: 11597] |
31 |
|
|
fix missing urlhaus folder |
32 |
|
|
|
33 |
jpp |
1.2 |
* Sun Jun 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-2.sme |
34 |
|
|
- import to SME10 [SME: 11597] |
35 |
jpp |
1.3 |
rewrite the configuraiton using os.conf |
36 |
jpp |
1.2 |
add event on installation |
37 |
|
|
systemd compatible |
38 |
jpp |
1.3 |
about backup ready, need comment out and new dep |
39 |
jpp |
1.2 |
|
40 |
jpp |
1.1 |
* Wed Jun 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
41 |
|
|
- initial release |
42 |
|
|
|
43 |
|
|
%prep |
44 |
|
|
%setup -q -n %{name}-%{version} |
45 |
jpp |
1.2 |
%patch0 -p1 |
46 |
|
|
rm -rf root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf |
47 |
jpp |
1.1 |
|
48 |
|
|
%build |
49 |
|
|
perl createlinks |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
53 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
54 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
55 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
56 |
|
|
> %{name}-%{version}-filelist |
57 |
|
|
|
58 |
|
|
%files -f %{name}-%{version}-filelist |
59 |
|
|
%defattr(-,root,root) |
60 |
|
|
|
61 |
|
|
%clean |
62 |
|
|
rm -rf $RPM_BUILD_ROOT |
63 |
|
|
|
64 |
|
|
%pre |
65 |
|
|
|
66 |
|
|
%post |
67 |
|
|
|
68 |
|
|
%preun |
69 |
|
|
|