packages: squidclamav/squidclamav.spec - updated to 6.2 - squidclamav is no...
hawk
hawk at pld-linux.org
Tue Mar 22 14:37:51 CET 2011
Author: hawk Date: Tue Mar 22 13:37:51 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 6.2
- squidclamav is no longer standalone application, it is now service
for c-icap so we don't need squid or curl to get it running
- WARNING! automatic upgrade is not possible due to above change
---- Files affected:
packages/squidclamav:
squidclamav.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: packages/squidclamav/squidclamav.spec
diff -u packages/squidclamav/squidclamav.spec:1.18 packages/squidclamav/squidclamav.spec:1.19
--- packages/squidclamav/squidclamav.spec:1.18 Sun Mar 8 12:16:35 2009
+++ packages/squidclamav/squidclamav.spec Tue Mar 22 14:37:46 2011
@@ -1,43 +1,43 @@
# $Revision$, $Date$
-# TODO:
-# - get rid of internal copies of regex library
-# /TODO
-Summary: A Clamav Antivirus Redirector for Squid
-Summary(pl.UTF-8): Skaner antywirusowy clamav dla Squida
+#
+Summary: A Clamav Antivirus scanner for Squid 3.x
+Summary(pl.UTF-8): Skaner antywirusowy clamav dla Squida 3.x
Name: squidclamav
Group: Networking/Utilities
-License: GPL v2
-Version: 4.0
-Release: 1
-Source0: http://www.samse.fr/GPL/squidclamav/%{name}-%{version}.tar.gz
-# Source0-md5: 0a5e2fa8a4270a90235621fce9269949
-URL: http://www.samse.fr/GPL/squidclamav/
-BuildRequires: clamav-devel >= 0.82
-BuildRequires: curl-devel >= 7.12.1
-Requires: squid
+License: GPL v3
+Version: 6.2
+Release: 0.1
+Source0: http://downloads.sourceforge.net/squidclamav/%{name}-%{version}.tar.gz
+# Source0-md5: 4447ce47033f15b4ac7c08829917041a
+Patch0: %{name}-build.patch
+Patch1: %{name}-conf.patch
+URL: http://squidclamav.darold.net/
+Requires: c-icap
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _sysconfdir /etc/squid
-
%description
-A Clamav Antivirus Redirector for Squid.
+A Clamav Antivirus scanner for Squid 3.x.
%description -l pl.UTF-8
-Skaner antywirusowy clamav dla Squida.
+Skaner antywirusowy clamav dla Squida 3.x.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
+%{__aclocal}
+%{__autoconf}
%configure
+%{__automake}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
-
-install squidclamav $RPM_BUILD_ROOT%{_bindir}
-install squidclamav.conf.dist $RPM_BUILD_ROOT%{_sysconfdir}/squidclamav.conf
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/c-icap
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,8 +45,10 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog INSTALL README
-%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/squidclamav.conf
-%attr(755,root,root) %{_bindir}/squidclamav
+%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/c-icap/squidclamav.conf
+%attr(755,root,root) %{_libdir}/c_icap/squidclamav.so
+%attr(755,root,root) %{_libdir}/squidclamav
+%{_mandir}/man1/squidclamav.1.gz
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -54,6 +56,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2011/03/22 13:37:46 hawk
+- updated to 6.2
+- squidclamav is no longer standalone application, it is now service
+ for c-icap so we don't need squid or curl to get it running
+- WARNING! automatic upgrade is not possible due to above change
+
Revision 1.18 2009/03/08 11:16:35 duddits
- up to 4.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/squidclamav/squidclamav.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list