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; 4+ 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] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-p2p/dbhub/
@ 2021-02-12 13:45 Ben Kohler
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-p2p/dbhub/
@ 2025-09-19 22:31 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2025-09-19 22:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d1e477a6d85128c8d966d132b4ef07714503c3b6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 22:26:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 22:26:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e477a6

net-p2p/dbhub: EAPI 8, use PERL_FEATURES

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/dbhub/dbhub-0.451-r3.ebuild | 63 +++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/net-p2p/dbhub/dbhub-0.451-r3.ebuild b/net-p2p/dbhub/dbhub-0.451-r3.ebuild
new file mode 100644
index 000000000000..c9e4522d6b46
--- /dev/null
+++ b/net-p2p/dbhub/dbhub-0.451-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GENTOO_DEPEND_ON_PERL=no
+inherit autotools flag-o-matic perl-module
+
+DESCRIPTION="Hub software for Direct Connect, fork of opendchub"
+HOMEPAGE="https://sourceforge.net/projects/dbhub/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug nls perl switch-user ${GENTOO_PERL_USESTRING}"
+
+DEPEND="
+	virtual/libcrypt:=
+	perl? (
+		${GENTOO_PERL_DEPSTRING}
+		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
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	append-flags -fcommon
+
+	# bashism in perl check
+	CONFIG_SHELL="${BROOT}"/bin/bash econf \
+		$(use_enable debug) \
+		$(use_enable nls) \
+		$(use_enable perl) \
+		$(use_enable switch-user switch_user)
+}
+
+src_compile() {
+	# Avoid perl-module_src_compile (bug #963096)
+	default
+}
+
+src_test() {
+	# Avoid perl-module_src_test (bug #963096)
+	default
+}
+
+src_install() {
+	# Avoid perl-module_src_install (bug #963096)
+	default
+}


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

* [gentoo-commits] repo/gentoo:master commit in: net-p2p/dbhub/
@ 2025-10-14 14:50 Petr Vaněk
  0 siblings, 0 replies; 4+ messages in thread
From: Petr Vaněk @ 2025-10-14 14:50 UTC (permalink / raw
  To: gentoo-commits

commit:     dcbc19acae41ab4773152f2a41c354440b368e1e
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 14:49:54 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Oct 14 14:49:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbc19ac

net-p2p/dbhub: drop 0.451-r2

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-p2p/dbhub/dbhub-0.451-r2.ebuild | 41 -------------------------------------
 1 file changed, 41 deletions(-)

diff --git a/net-p2p/dbhub/dbhub-0.451-r2.ebuild b/net-p2p/dbhub/dbhub-0.451-r2.ebuild
deleted file mode 100644
index 39b86f8d68ca..000000000000
--- a/net-p2p/dbhub/dbhub-0.451-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Hub software for Direct Connect, fork of opendchub"
-HOMEPAGE="https://sourceforge.net/projects/dbhub/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tbz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="debug nls perl switch-user"
-
-DEPEND="
-	virtual/libcrypt:=
-	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
-)
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
-src_configure() {
-	append-flags -fcommon
-	econf \
-		$(use_enable debug) \
-		$(use_enable nls) \
-		$(use_enable perl) \
-		$(use_enable switch-user switch_user)
-}


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

end of thread, other threads:[~2025-10-14 14:50 UTC | newest]

Thread overview: 4+ 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
2025-09-19 22:31 Sam James
2025-10-14 14:50 Petr Vaněk

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