Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524214 - net-misc/ucarp - add USE=debug
Summary: net-misc/ucarp - add USE=debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2014-10-01 15:58 UTC by Nodar Nutsubidze
Modified: 2020-11-30 21:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nodar Nutsubidze 2014-10-01 15:58:39 UTC
In order to see ucarp debug messages you must configure it using: --with-debug. With the ucarp ebuild we just need to have a debug use flag and use the appropriate $(use_with debug) in src_configure.

Basic Diff:
@@ -13,7 +13,7 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc x86"
-IUSE="nls"
+IUSE="nls debug"
 
 RDEPEND="net-libs/libpcap"
 DEPEND="${RDEPEND}
@@ -29,7 +29,7 @@
 }
 
 src_configure() {
-	econf $(use_enable nls)
+	econf $(use_enable nls) $(use_with debug)
 }
 
 src_install() {

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-11-30 21:40:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22559fe330c7f6ff63d007b0f834b097dbe3a27b

commit 22559fe330c7f6ff63d007b0f834b097dbe3a27b
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-30 21:39:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-30 21:39:51 +0000

    net-misc/ucarp: port to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/18448
    Closes: https://bugs.gentoo.org/524214
    Closes: https://bugs.gentoo.org/689188
    Closes: https://bugs.gentoo.org/706964
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-misc/ucarp/files/ucarp-1.5.2-fno-common.patch   |  8 ++++++++
 ...{ucarp-1.5.2-r5.ebuild => ucarp-1.5.2-r6.ebuild} | 21 ++++++++++++++-------
 2 files changed, 22 insertions(+), 7 deletions(-)