From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1012682-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 8C7851382C5 for <garchives@archives.gentoo.org>; Mon, 26 Mar 2018 19:33:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A16F6E09A8; Mon, 26 Mar 2018 19:33:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 768D7E0956 for <gentoo-commits@lists.gentoo.org>; Mon, 26 Mar 2018 19:33:22 +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 0AF97335C2F for <gentoo-commits@lists.gentoo.org>; Mon, 26 Mar 2018 19:33:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6211B26B for <gentoo-commits@lists.gentoo.org>; Mon, 26 Mar 2018 19:33:19 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1522092790.d4e40e0eb9740bbeec133addc8ccfff64cde699b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/suricata/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/suricata/metadata.xml net-analyzer/suricata/suricata-4.0.3.ebuild X-VCS-Directories: net-analyzer/suricata/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d4e40e0eb9740bbeec133addc8ccfff64cde699b X-VCS-Branch: master Date: Mon, 26 Mar 2018 19:33:19 +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-Archives-Salt: 7e0ce234-8bcf-433d-9b09-e2ec0f2076fc X-Archives-Hash: ed7ea2fbdbe5fa9099237e287a6ff7d1 commit: d4e40e0eb9740bbeec133addc8ccfff64cde699b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Feb 26 22:17:25 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Mar 26 19:33:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e40e0e net-analyzer/suricata: [QA] Use standard meaning of USE=luajit Fix the package to use standard meaning for USE=luajit instead of making it exclusive with USE=lua. net-analyzer/suricata/metadata.xml | 1 - net-analyzer/suricata/suricata-4.0.3.ebuild | 21 +++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/net-analyzer/suricata/metadata.xml b/net-analyzer/suricata/metadata.xml index 58878c64f05..0afee5625d1 100644 --- a/net-analyzer/suricata/metadata.xml +++ b/net-analyzer/suricata/metadata.xml @@ -9,7 +9,6 @@ <flag name="control-socket">Enable unix socket</flag> <flag name="cuda">Enable NVIDIA Cuda computations support</flag> <flag name="detection">Enable detection modules</flag> - <flag name="luajit">Enable Luajit support</flag> <flag name="nflog">Enable libnetfilter_log support</flag> <flag name="nfqueue">Enable NFQUEUE support for inline IDP</flag> <flag name="redis">Enable Redis support</flag> diff --git a/net-analyzer/suricata/suricata-4.0.3.ebuild b/net-analyzer/suricata/suricata-4.0.3.ebuild index 604eae665be..e501c9c775b 100644 --- a/net-analyzer/suricata/suricata-4.0.3.ebuild +++ b/net-analyzer/suricata/suricata-4.0.3.ebuild @@ -14,8 +14,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+af-packet control-socket cuda debug +detection geoip hardened logrotate lua luajit nflog +nfqueue redis +rules test" -REQUIRED_USE="lua? ( !luajit )" - DEPEND=" >=dev-libs/jansson-2.2 dev-libs/libpcre @@ -29,8 +27,10 @@ DEPEND=" sys-apps/file cuda? ( dev-util/nvidia-cuda-toolkit ) geoip? ( dev-libs/geoip ) - lua? ( dev-lang/lua:* ) - luajit? ( dev-lang/luajit:* ) + lua? ( + !luajit? ( dev-lang/lua:* ) + luajit? ( dev-lang/luajit:* ) + ) nflog? ( net-libs/libnetfilter_log ) nfqueue? ( net-libs/libnetfilter_queue ) redis? ( dev-libs/hiredis ) @@ -87,10 +87,15 @@ src_configure() { # myeconfargs+=( $(use_enable prelude) ) # fi if use lua ; then - myeconfargs+=( $(use_enable lua) ) - fi - if use luajit ; then - myeconfargs+=( $(use_enable luajit) ) + myeconfargs+=( + $(use_enable !luajit lua) + $(use_enable luajit) + ) + else + myeconfargs+=( + --disable-lua + --disable-luajit + ) fi # this should be used when pf_ring use flag support will be added