1 Summary: Script to download and run some unofficial clamav signatures
2 Summary(pl.UTF-8): Skrypt do ściągania i uruchamiania kilku nieoficjalnych sygnatur do clamav
3 Name: clamav-unofficial-sigs
7 Group: Applications/Databases
8 Source0: http://www.inetmsg.com/pub/%{name}.tar.gz
9 # Source0-md5: 18dfec4fa44df9c1a300d01be923637d
10 URL: http://www.sanesecurity.co.uk/download_scripts_linux.htm
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The package contains script and configuration files that provide the capability
20 to download, test, and update the 3rd-party signature databases provide by
21 Sanesecurity (www.sanesecruity.com), MSRBL (www.msrbl.com), SecuriteInfo
22 (http://www.securiteinfo.com/services/clamav_unofficial_malwares_signatures.shtml),
23 MalwarePatrol (www.malware.com.br), and OITC (http://www.oitc.com/winnow/clamsigs).
25 %description -l pl.UTF-8
26 Pakiet zawiera skrypt i pliki konfiguracyjne umożliwiające ściąganie,
27 testowanie, aktualizowanie sygnatur dla clamav dostarczonych przez Sanesecurity
28 (www.sanesecruity.com), MSRBL (www.msrbl.com), SecuriteInfo
29 (http://www.securiteinfo.com/services/clamav_unofficial_malwares_signatures.shtml),
30 MalwarePatrol (www.malware.com.br), i OITC (http://www.oitc.com/winnow/clamsigs).
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/{logrotate.d,cron.d},/var/lib/%{name}}
38 install clamav-unofficial-sigs.sh clamd-status.sh $RPM_BUILD_ROOT%{_sbindir}
39 install clamav-unofficial-sigs.8 $RPM_BUILD_ROOT%{_mandir}/man8/
40 install clamav-unofficial-sigs.conf $RPM_BUILD_ROOT%{_sysconfdir}
41 install clamav-unofficial-sigs-cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
42 install clamav-unofficial-sigs-logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
44 sed -e 's@/usr/local/bin/@%{_sbindir}/@g' -e 's@/usr/local/etc/@%{_sysconfdir}/@g' -i $RPM_BUILD_ROOT%{_sysconfdir}/*.d/%{name}
46 sed -e 's@/usr/unofficial-dbs@/var/lib/%{name}@g' -i $RPM_BUILD_ROOT%{_sysconfdir}/clamav-unofficial-sigs.conf
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc README INSTALL LICENSE CHANGELOG
55 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
56 %attr(755,root,root) %{_sbindir}/*
57 %{_sysconfdir}/*/%{name}