automatic version update by autodist [release 7.2-1mamba;Tue Aug 08 2023]
This commit is contained in:
parent
eb9aa48c31
commit
4fb1bd8cb0
@ -1,23 +0,0 @@
|
|||||||
diff -Nru squidclamav-6.10.orig/etc/squidclamav.conf squidclamav-6.10/etc/squidclamav.conf
|
|
||||||
--- squidclamav-6.10.orig/etc/squidclamav.conf 2012-10-27 17:35:50.000000000 +0200
|
|
||||||
+++ squidclamav-6.10/etc/squidclamav.conf 2013-03-27 19:49:41.902943626 +0100
|
|
||||||
@@ -14,16 +14,16 @@
|
|
||||||
maxsize 5000000
|
|
||||||
|
|
||||||
# When a virus is found then redirect the user to this URL
|
|
||||||
-redirect http://proxy.domain.dom/cgi-bin/clwarn.cgi
|
|
||||||
+redirect http://localhost/cgi-bin/squidclamav/clwarn.cgi
|
|
||||||
|
|
||||||
# Path to the squiGuard binary if you want URL filtering, note that you'd better
|
|
||||||
# use the squid configuration directive 'url_rewrite_program' instead.
|
|
||||||
-#squidguard /usr/local/squidGuard/bin/squidGuard
|
|
||||||
+#squidguard /usr/bin/squidGuard
|
|
||||||
|
|
||||||
# Path to the clamd socket, use clamd_local if you use Unix socket or if clamd
|
|
||||||
# is listening on an Inet socket, comment clamd_local and set the clamd_ip and
|
|
||||||
# clamd_port to the corresponding value.
|
|
||||||
-clamd_local /var/run/clamav/clamd.ctl
|
|
||||||
+clamd_local /var/run/clamav/clamd.socket
|
|
||||||
#clamd_ip 192.168.1.5,127.0.0.1
|
|
||||||
#clamd_port 3310
|
|
||||||
|
|
17
squidclamav-7.2-config.patch
Normal file
17
squidclamav-7.2-config.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
--- squidclamav-7.2/etc/squidclamav.conf.orig 2023-08-05 19:41:18.097806854 +0200
|
||||||
|
+++ squidclamav-7.2/etc/squidclamav.conf 2023-08-05 19:43:07.748235461 +0200
|
||||||
|
@@ -17,12 +17,12 @@
|
||||||
|
|
||||||
|
# When a virus is found then redirect the user to this URL. If this directive
|
||||||
|
# is disabled squidclamav will use c-icap error templates to report issues.
|
||||||
|
-redirect http://proxy.domain.dom/cgi-bin/clwarn.cgi
|
||||||
|
+redirect http://localhost/cgi-bin/squidclamaw/clwarn.cgi
|
||||||
|
|
||||||
|
# Path to the clamd socket, use clamd_local if you use Unix socket or if clamd
|
||||||
|
# is listening on an Inet socket, comment clamd_local and set the clamd_ip and
|
||||||
|
# clamd_port to the corresponding value.
|
||||||
|
-clamd_local /var/run/clamav/clamd.ctl
|
||||||
|
+clamd_local /var/run/clamav/clamd.socket
|
||||||
|
#clamd_ip 192.168.1.5,127.0.0.1
|
||||||
|
#clamd_port 3310
|
||||||
|
|
@ -1,34 +1,36 @@
|
|||||||
Name: squidclamav
|
Name: squidclamav
|
||||||
Version: 6.11
|
Version: 7.2
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A dedicated ClamAV antivirus redirector for Squid
|
Summary: A dedicated ClamAV antivirus redirector for Squid
|
||||||
Group: Network/Security
|
Group: Network/Security
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://sourceforge.net/projects/squidclamav/
|
URL: https://sourceforge.net/projects/squidclamav/
|
||||||
Source: http://downloads.sourceforge.net/project/squidclamav/squidclamav/%{version}/squidclamav-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/project/squidclamav/squidclamav/%{version}/squidclamav-%{version}.tar.gz
|
||||||
Patch0: %{name}-6.2-cgi-it_IT.patch
|
Patch0: %{name}-6.2-cgi-it_IT.patch
|
||||||
Patch1: %{name}-6.10-config.patch
|
Patch1: %{name}-7.2-config.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: c-icap-devel
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libarchive-devel
|
||||||
|
BuildRequires: libbzip2-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: perl-CGI
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires(pre): squid
|
Requires(pre): squid
|
||||||
Requires: clamd
|
Requires: clamd
|
||||||
Requires: clamav
|
Requires: clamav
|
||||||
Requires(pre): c-icap
|
Requires(pre): c-icap
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SquidClamAv is a dedicated ClamAV antivirus redirector for Squid. It can run antivirus checks based on filename regex, content-type regex, and more. It is easy to install and works even with heavy Squid access.
|
SquidClamAv is a dedicated ClamAV antivirus redirector for Squid. It can run antivirus checks based on filename regex, content-type regex, and more. It is easy to install and works even with heavy Squid access.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch 0 -p1
|
||||||
%patch1 -p1
|
%patch 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -77,9 +79,8 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) %{_sysconfdir}/squidclamav.conf
|
%{_sysconfdir}/c-icap/squidclamav.conf
|
||||||
%{_sysconfdir}/squidclamav.conf.default
|
%{_sysconfdir}/c-icap/squidclamav.conf.default
|
||||||
%{_libdir}/c_icap/squidclamav.la
|
|
||||||
%{_libdir}/c_icap/squidclamav.so
|
%{_libdir}/c_icap/squidclamav.so
|
||||||
%{_datadir}/c_icap/templates/squidclamav/en/MALWARE_FOUND
|
%{_datadir}/c_icap/templates/squidclamav/en/MALWARE_FOUND
|
||||||
%attr(0755,root,root) /var/www/cgi-bin/squidclamav/clwarn.cgi*
|
%attr(0755,root,root) /var/www/cgi-bin/squidclamav/clwarn.cgi*
|
||||||
@ -87,6 +88,9 @@ fi
|
|||||||
%doc AUTHORS COPYING ChangeLog README
|
%doc AUTHORS COPYING ChangeLog README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 08 2023 Automatic Build System <autodist@mambasoft.it> 7.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Mar 23 2014 Automatic Build System <autodist@mambasoft.it> 6.11-1mamba
|
* Sun Mar 23 2014 Automatic Build System <autodist@mambasoft.it> 6.11-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user