From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 B7CA113832E for ; Mon, 25 Jul 2016 23:16:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82476E0944; Mon, 25 Jul 2016 23:16:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D2D0E0944 for ; Mon, 25 Jul 2016 23:16:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF1A0340B81 for ; Mon, 25 Jul 2016 23:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E17327D8 for ; Mon, 25 Jul 2016 23:16:46 +0000 (UTC) From: "Jason Donenfeld" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Donenfeld" Message-ID: <1469488596.f62442f8351e18ba60b10b275a75820fac877011.zx2c4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/wireguard/wireguard-0.0.20160722.ebuild net-misc/wireguard/wireguard-9999.ebuild X-VCS-Directories: net-misc/wireguard/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason Donenfeld X-VCS-Revision: f62442f8351e18ba60b10b275a75820fac877011 X-VCS-Branch: master Date: Mon, 25 Jul 2016 23:16:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 040e40cc-9a5d-4bfc-be6e-c4b2a8eead53 X-Archives-Hash: 5f43a63dc4d59134dd5c6087167ae900 commit: f62442f8351e18ba60b10b275a75820fac877011 Author: Jason A. Donenfeld gentoo org> AuthorDate: Mon Jul 25 23:16:20 2016 +0000 Commit: Jason Donenfeld gentoo org> CommitDate: Mon Jul 25 23:16:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62442f8 net-misc/wireguard: add debug USE flag Package-Manager: portage-2.3.0 net-misc/wireguard/wireguard-0.0.20160722.ebuild | 3 ++- net-misc/wireguard/wireguard-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net-misc/wireguard/wireguard-0.0.20160722.ebuild b/net-misc/wireguard/wireguard-0.0.20160722.ebuild index ecbf8d1..108e0dc 100644 --- a/net-misc/wireguard/wireguard-0.0.20160722.ebuild +++ b/net-misc/wireguard/wireguard-0.0.20160722.ebuild @@ -21,7 +21,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="debug" DEPEND="net-libs/libmnl" RDEPEND="${DEPEND}" @@ -43,6 +43,7 @@ src_prepare() { } src_compile() { + use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y" linux-mod_src_compile emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools } diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild index ecbf8d1..108e0dc 100644 --- a/net-misc/wireguard/wireguard-9999.ebuild +++ b/net-misc/wireguard/wireguard-9999.ebuild @@ -21,7 +21,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="debug" DEPEND="net-libs/libmnl" RDEPEND="${DEPEND}" @@ -43,6 +43,7 @@ src_prepare() { } src_compile() { + use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y" linux-mod_src_compile emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools }