|
@@ -1,9 +1,11 @@
|
|
|
|
+%bcond_with libclamav
|
|
|
|
+
|
|
%define clamav_version 0.96
|
|
%define clamav_version 0.96
|
|
|
|
|
|
Summary: HAVP - HTTP Anti Virus Proxy
|
|
Summary: HAVP - HTTP Anti Virus Proxy
|
|
Name: havp
|
|
Name: havp
|
|
Version: 0.92a
|
|
Version: 0.92a
|
|
-Release: 4%{_dist_release}
|
|
+Release: 5%{_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
URL: http://www.server-side.de/
|
|
URL: http://www.server-side.de/
|
|
@@ -37,7 +39,17 @@ is unchecked by the virus scanner, but big downloads should not timeout.
|
|
#%patch1 -p1
|
|
#%patch1 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --with-scanner=libclamav --enable-ssl-tunnel
|
|
+export CFLAGS="%{optflags} -std=c++0x"
|
|
|
|
+export CXXFLAGS="%{optflags} -std=c++0x"
|
|
|
|
+
|
|
|
|
+%configure \
|
|
|
|
+%if %{with libclamav}
|
|
|
|
+ --with-scanner=libclamav \
|
|
|
|
+%else
|
|
|
|
+ --disable-clamav \
|
|
|
|
+%endif
|
|
|
|
+ --enable-ssl-tunnel
|
|
|
|
+
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -95,6 +107,9 @@ fi
|
|
%attr(750,havp,havp) %dir /var/run/havp
|
|
%attr(750,havp,havp) %dir /var/run/havp
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Dec 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.92a-5
|
|
|
|
+- disabled libclamav support.
|
|
|
|
+
|
|
* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.92a-4
|
|
* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.92a-4
|
|
- rebuilt with new toolchain.
|
|
- rebuilt with new toolchain.
|
|
|
|
|