]> git.pld-linux.org Git - packages/clamav-unofficial-sigs.git/blame - clamav-unofficial-sigs.spec
- R: curl
[packages/clamav-unofficial-sigs.git] / clamav-unofficial-sigs.spec
CommitLineData
a1498752 1Summary: Script to download and run some unofficial clamav signatures
2Summary(pl.UTF-8): Skrypt do ściągania i uruchamiania kilku nieoficjalnych sygnatur do clamav
3Name: clamav-unofficial-sigs
4Version: 3.5.4
5Release: 0.1
6License: BSD-like
7Group: Applications/Databases
8Source0: http://www.inetmsg.com/pub/%{name}.tar.gz
9# Source0-md5: 18dfec4fa44df9c1a300d01be923637d
10URL: http://www.sanesecurity.co.uk/download_scripts_linux.htm
11Requires: rsync
12Requires: clamav
8d475b9b 13Requires: crondaemon
9cb43076 14Requires: curl
a1498752 15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The package contains script and configuration files that provide the capability
20to download, test, and update the 3rd-party signature databases provide by
21Sanesecurity (www.sanesecruity.com), MSRBL (www.msrbl.com), SecuriteInfo
22(http://www.securiteinfo.com/services/clamav_unofficial_malwares_signatures.shtml),
23MalwarePatrol (www.malware.com.br), and OITC (http://www.oitc.com/winnow/clamsigs).
24
25%description -l pl.UTF-8
26Pakiet zawiera skrypt i pliki konfiguracyjne umożliwiające ściąganie,
27testowanie, 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),
30MalwarePatrol (www.malware.com.br), i OITC (http://www.oitc.com/winnow/clamsigs).
31
32%prep
33%setup -q
34
35%install
36rm -rf $RPM_BUILD_ROOT
8d475b9b 37install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/{logrotate.d,cron.d},/var/lib/%{name}}
a1498752 38install clamav-unofficial-sigs.sh clamd-status.sh $RPM_BUILD_ROOT%{_sbindir}
39install clamav-unofficial-sigs.8 $RPM_BUILD_ROOT%{_mandir}/man8/
40install clamav-unofficial-sigs.conf $RPM_BUILD_ROOT%{_sysconfdir}
41install clamav-unofficial-sigs-cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
42install clamav-unofficial-sigs-logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
43
5de5d7f8 44sed -e 's@/usr/local/bin/@%{_sbindir}/@g' -e 's@/usr/local/etc/@%{_sysconfdir}/@g' -i $RPM_BUILD_ROOT%{_sysconfdir}/*.d/%{name}
45
8d475b9b 46sed -e 's@/usr/unofficial-dbs@/var/lib/%{name}@g' -i $RPM_BUILD_ROOT%{_sysconfdir}/clamav-unofficial-sigs.conf
47
a1498752 48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc README INSTALL LICENSE CHANGELOG
54
55%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
56%attr(755,root,root) %{_sbindir}/*
57%{_sysconfdir}/*/%{name}
58%{_mandir}/man8/*
8d475b9b 59%dir /var/lib/%{name}
This page took 0.064397 seconds and 4 git commands to generate.