From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1304026-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id ED5F613933E
	for <garchives@archives.gentoo.org>; Mon, 19 Jul 2021 13:35:17 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9BF82E0C2F;
	Mon, 19 Jul 2021 13:35:16 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7CF0EE0C2F
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Jul 2021 13:35:16 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C2571342A15
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Jul 2021 13:35:14 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 22195174
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Jul 2021 13:35:13 +0000 (UTC)
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
Message-ID: <1626701711.ff6aff1624302482037a5f957ca89add768e7be0.Alessandro-Barbieri@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-forensics/yara/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: app-forensics/yara/yara-4.1.1.ebuild
X-VCS-Directories: app-forensics/yara/
X-VCS-Committer: Alessandro-Barbieri
X-VCS-Committer-Name: Alessandro Barbieri
X-VCS-Revision: ff6aff1624302482037a5f957ca89add768e7be0
X-VCS-Branch: dev
Date: Mon, 19 Jul 2021 13:35:13 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: dcfd95d7-cfa6-46cd-903a-5341ea141ee6
X-Archives-Hash: 4cdbfd9b3ec621a91e6c9bc1e9d8e37c

commit:     ff6aff1624302482037a5f957ca89add768e7be0
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 19 13:34:11 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 19 13:35:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff6aff16

app-forensics/yara: some changes based on Juippis suggestions

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-forensics/yara/yara-4.1.1.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/app-forensics/yara/yara-4.1.1.ebuild b/app-forensics/yara/yara-4.1.1.ebuild
index e1be593ed..ddc420d6c 100644
--- a/app-forensics/yara/yara-4.1.1.ebuild
+++ b/app-forensics/yara/yara-4.1.1.ebuild
@@ -35,6 +35,8 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+DOCS=( CONTRIBUTORS sample.{file,rules} )
+
 src_prepare() {
 	default
 	eautoreconf
@@ -42,6 +44,13 @@ src_prepare() {
 
 src_configure() {
 	local myconf=(
+		--disable-address-sanitizer
+		--disable-debug
+		--disable-gcov
+		--disable-pb-tests
+		--enable-optimization
+		--with-crypto
+
 		$(use_enable cuckoo)
 		$(use_enable debug-dex)
 		$(use_enable dex)
@@ -65,7 +74,5 @@ src_compile() {
 src_install() {
 	default
 	einstalldocs
-	dodoc CONTRIBUTORS sample.{file,rules}
-	find "${ED}" -name '*.la' -delete || die
-	find "${ED}" -name '*.a' -delete || die
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
 }