]> git.pld-linux.org Git - packages/clamav.git/commitdiff
- added workaround for broken OpenSSL detection auto/th/clamav-0.98.3-1
authorŁukasz Kieś <kiesiu@pld-linux.org>
Fri, 9 May 2014 12:29:57 +0000 (14:29 +0200)
committerŁukasz Kieś <kiesiu@pld-linux.org>
Fri, 9 May 2014 12:29:57 +0000 (14:29 +0200)
- added missing R: and file
- rel. 1

clamav-openssl.patch [new file with mode: 0644]
clamav.spec

diff --git a/clamav-openssl.patch b/clamav-openssl.patch
new file mode 100644 (file)
index 0000000..dd8de6e
--- /dev/null
@@ -0,0 +1,18 @@
+diff -uNr clamav-0.98.3/m4/reorganization/libs/openssl.m4 clamav-0.98.3-openssl/m4/reorganization/libs/openssl.m4
+--- clamav-0.98.3/m4/reorganization/libs/openssl.m4    2014-05-06 20:39:56.000000000 +0200
++++ clamav-0.98.3-openssl/m4/reorganization/libs/openssl.m4    2014-05-09 13:51:47.581181238 +0200
+@@ -22,12 +22,12 @@
+     AC_MSG_ERROR([OpenSSL not found.])
+ fi
+-SSL_LDFLAGS="-L$LIBSSL_HOME/lib"
++SSL_LDFLAGS=""
+ SSL_LIBS="-lssl -lcrypto"
+ SSL_CPPFLAGS="-I$LIBSSL_HOME/include"
+ save_LDFLAGS="$LDFLAGS"
+-LDFLAGS="-L$LIBSSL_HOME/lib $SSL_LIBS"
++LDFLAGS="$SSL_LDFLAGS $SSL_LIBS"
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$SSL_CPPFLAGS"
index 332efadf6e2c445bb1e1880e21c121ecc1a23a9b..fbab9d59227796146334165bcaebb7a510e21cbd 100644 (file)
@@ -14,7 +14,7 @@ Summary:      An anti-virus utility for Unix
 Summary(pl.UTF-8):     Narzędzie antywirusowe dla Uniksów
 Name:          clamav
 Version:       0.98.3
-Release:       0.1
+Release:       1
 License:       GPL v2+
 Group:         Daemons
 Source0:       http://downloads.sourceforge.net/clamav/%{name}-%{version}.tar.gz
@@ -34,6 +34,7 @@ Patch1:               %{name}-nolibs.patch
 Patch2:                am-nosilentrules.patch
 %endif
 Patch3:                ac2.68.patch
+Patch4:                %{name}-openssl.patch
 URL:           http://www.clamav.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -138,7 +139,9 @@ Summary(pl.UTF-8):  clamav - Pliki nagłówkowe i biblioteki dla programistów
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      bzip2-devel
+Requires:      curl-devel
 Requires:      gmp-devel
+Requires:      openssl-devel
 Requires:      zlib-devel
 
 %description devel
@@ -169,6 +172,7 @@ Biblioteki statyczne clamav.
 %patch2 -p1
 %endif
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
@@ -322,6 +326,7 @@ fi
 %attr(755,root,root) %{_bindir}/clamdscan
 %attr(755,root,root) %{_bindir}/clamdtop
 %attr(755,root,root) %{_bindir}/clamscan
+%attr(755,root,root) %{_bindir}/clamsubmit
 %attr(755,root,root) %{_bindir}/freshclam
 %attr(755,root,root) %{_bindir}/sigtool
 %attr(755,root,root) %{_bindir}/clamconf
This page took 0.037541 seconds and 4 git commands to generate.