public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-p2p/dbhub/
@ 2019-09-23  8:07 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2019-09-23  8:07 UTC (permalink / raw
  To: gentoo-commits

commit:     076eb642d0c4010c566a5585e44d197ff4d0326b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 07:36:21 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 08:07:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076eb642

net-p2p/dbhub: Replace underscore in flag name

Closes: https://bugs.gentoo.org/695160
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-p2p/dbhub/dbhub-0.451-r1.ebuild | 6 +++---
 net-p2p/dbhub/metadata.xml          | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-p2p/dbhub/dbhub-0.451-r1.ebuild b/net-p2p/dbhub/dbhub-0.451-r1.ebuild
index 167df3c1edb..03c53bb122b 100644
--- a/net-p2p/dbhub/dbhub-0.451-r1.ebuild
+++ b/net-p2p/dbhub/dbhub-0.451-r1.ebuild
@@ -11,10 +11,10 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tbz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="debug perl nls switch_user"
+IUSE="debug perl nls switch-user"
 
 DEPEND="perl? ( dev-lang/perl )
-	switch_user? ( sys-libs/libcap )"
+	switch-user? ( sys-libs/libcap )"
 
 RDEPEND="${DEPEND}"
 
@@ -33,6 +33,6 @@ src_configure() {
 	econf \
 		$(use_enable nls) \
 		$(use_enable perl) \
-		$(use_enable switch_user) \
+		$(use_enable switch-user switch_user) \
 		$(use_enable debug)
 }

diff --git a/net-p2p/dbhub/metadata.xml b/net-p2p/dbhub/metadata.xml
index e865d6f7b58..123ec678110 100644
--- a/net-p2p/dbhub/metadata.xml
+++ b/net-p2p/dbhub/metadata.xml
@@ -3,7 +3,7 @@
 <pkgmetadata>
   <!-- maintainer-needed -->
   <use>
-    <flag name="switch_user">Enable support for switching user</flag>
+    <flag name="switch-user">Enable support for switching user</flag>
   </use>
   <upstream>
     <remote-id type="sourceforge">dbhub</remote-id>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-p2p/dbhub/
@ 2021-02-12 13:45 Ben Kohler
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Kohler @ 2021-02-12 13:45 UTC (permalink / raw
  To: gentoo-commits

commit:     e13a6c866c1751ba8886bd0089a6646d58fc9e63
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu Feb 11 18:59:40 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 13:44:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13a6c86

net-p2p/dbhub: Port to EAPI 7

* Apply gcc-10 workaround (dead upstream since 2008)

Closes: https://bugs.gentoo.org/707458
Closes: https://bugs.gentoo.org/680728
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-p2p/dbhub/dbhub-0.451-r1.ebuild | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/net-p2p/dbhub/dbhub-0.451-r1.ebuild b/net-p2p/dbhub/dbhub-0.451-r1.ebuild
index 829b4d89b17..b1fef15f647 100644
--- a/net-p2p/dbhub/dbhub-0.451-r1.ebuild
+++ b/net-p2p/dbhub/dbhub-0.451-r1.ebuild
@@ -1,27 +1,28 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit autotools
+EAPI=7
+
+inherit autotools flag-o-matic
 
 DESCRIPTION="Hub software for Direct Connect, fork of opendchub"
-HOMEPAGE="http://www.dbhub.org"
+HOMEPAGE="https://sourceforge.net/projects/dbhub/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tbz2"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="debug perl nls switch-user"
+IUSE="debug nls perl switch-user"
 
-DEPEND="perl? ( dev-lang/perl )
+DEPEND="
+	perl? ( dev-lang/perl )
 	switch-user? ( sys-libs/libcap )"
-
 RDEPEND="${DEPEND}"
 
 PATCHES=(
-	"${FILESDIR}/${PN}-gentoo.patch"
-	"${FILESDIR}/${PN}-no-dynaloader.patch"
-	"${FILESDIR}/${PN}-fix-buffer-overflows.patch"
+	"${FILESDIR}"/${PN}-gentoo.patch
+	"${FILESDIR}"/${PN}-no-dynaloader.patch
+	"${FILESDIR}"/${PN}-fix-buffer-overflows.patch
 )
 
 src_prepare() {
@@ -30,9 +31,10 @@ src_prepare() {
 }
 
 src_configure() {
+	append-flags -fcommon
 	econf \
+		$(use_enable debug) \
 		$(use_enable nls) \
 		$(use_enable perl) \
-		$(use_enable switch-user switch_user) \
-		$(use_enable debug)
+		$(use_enable switch-user switch_user)
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-12 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-23  8:07 [gentoo-commits] repo/gentoo:master commit in: net-p2p/dbhub/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2021-02-12 13:45 Ben Kohler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox