[packages/yara] --with-crypto to enable deterministic build

glen glen at pld-linux.org
Mon Jul 27 10:53:15 CEST 2015


commit 395990fa30c88790a9fcdc414f942ade62ba33d9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jul 27 11:53:11 2015 +0300

    --with-crypto to enable deterministic build

 yara.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/yara.spec b/yara.spec
index 828cb8d..72c77c4 100644
--- a/yara.spec
+++ b/yara.spec
@@ -1,11 +1,11 @@
 # TODO
 # - http://yara.readthedocs.org/en/latest/gettingstarted.html#compiling-and-installing-yara
-#   --with-crypto
 #   --enable-cuckoo --enable-magic
 
 # Conditional build:
 %bcond_without	static_libs	# don't build static libraries
 %bcond_without	python2 # CPython 2.x module
+%bcond_without	crypto		# build without tests
 
 Summary:	The pattern matching swiss knife for malware researchers (and everyone else)
 Name:		yara
@@ -20,6 +20,7 @@ URL:		http://plusvic.github.io/yara/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
+%{?with_crypto:BuildRequires:	openssl-devel}
 BuildRequires:	pcre-devel
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.219
@@ -82,6 +83,7 @@ features from your own Python scripts.
 %{__autoheader}
 %{__automake}
 %configure \
+	%{__with_without crypto} \
 	%{!?with_static_libs:--disable-static}
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yara.git/commitdiff/395990fa30c88790a9fcdc414f942ade62ba33d9



More information about the pld-cvs-commit mailing list