Squidclamav is an ICAP content filter for squid
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.5 KiB

Name: squidclamav
Version: 6.16
Release: 0.beta3%{?dist}
Summary: A Clamav Antivirus Redirector for Squid
Group: Applications/System
License: GPLv3+
URL: http://squidclamav.darold.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: clamav-devel >= 0.82
BuildRequires: curl-devel >= 7.12.1
BuildRequires: c-icap-devel
Requires: c-icap
%description
%{name} Antivirus redirector for Squid proxy based on the Awards winnings
ClamAv anti-virus toolkit. Using it will help you securing your home or
enterprise network web traffic. SquidClamav is the most efficient Squid
Redirector anti-virus tool for HTTP traffic available for free, it is written
in C and can handle thousand of connections.
%prep
%setup -q
%build
%configure --prefix=%{_prefix}
%{__make}
%install
%{__rm} -rf $RPM_BUILD_ROOT
# set up path structure
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/c-icap
# Make distrib files
%{__make} install \
DESTDIR=%{buildroot}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root,0755)
%doc ChangeLog INSTALL README
%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/c-icap/squidclamav.conf
%{_sysconfdir}/c-icap/squidclamav.conf.default
%{_libdir}/c_icap/%{name}.*
%{_datadir}/c_icap/templates/squidclamav
%{_mandir}/man1/squidclamav.1*
%{_libexecdir}/%{name}/clwarn.cgi*
%changelog
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-0.beta3
- Adapt spec for v 6 (daniel@firewall-services.com)
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-0.beta2
- Require c-icap (daniel@firewall-services.com)
* Sat Feb 17 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-0.beta1
- new package built with tito
* Sat Feb 17 2018 Daniel Berteaud <daniel@firewall-services.com> - 6.16-1
- Update to 6.16
* Fri Nov 15 2013 Daniel Berteaud <daniel@firewall-services.com> - 5.11-2
- Spec file cleanup
* Tue Nov 27 2012 Daniel Berteaud <daniel@firewall-services.com> - 5.11-1
- update to 5.11
* Tue Oct 16 2012 Daniel Berteaud <daniel@firewall-services.com> - 5.9-1
- update to 5.9
* Tue Sep 11 2012 Daniel Berteaud <daniel@firewall-services.com> - 5.8-1
- update to 5.8
* Wed Mar 3 2010 Gilles Darold <gilles@darold.net>
- Update to 5.2.
- Add copy of clwarn.cgi.ru_RU into libexecdir.
* Wed Feb 10 2010 Gilles Darold <gilles@darold.net>
- Update to 5.1.
* Wed Jan 27 2010 Gordan Bobic <gordan@bobich.net>
- Update for squidclamav 4.2
* Tue Jan 12 2010 Gordan Bobic <gordan@bobich.net>
- Initial fork from the PLD spec file, update for squidclamav 4.1