summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-02-25 14:41:11 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-02-25 14:41:11 +0000
commitfc385f9498b321ea29c66a6179ffd63c59379608 (patch)
tree0d9aa2b358165a1e0b8292f69aa0d09fb218376b /net-p2p/dbhub
parentStable x86, amd64. (diff)
downloadhistorical-fc385f9498b321ea29c66a6179ffd63c59379608.tar.gz
historical-fc385f9498b321ea29c66a6179ffd63c59379608.tar.bz2
historical-fc385f9498b321ea29c66a6179ffd63c59379608.zip
Version bump, add switch_user USE-flag
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-p2p/dbhub')
-rw-r--r--net-p2p/dbhub/ChangeLog10
-rw-r--r--net-p2p/dbhub/Manifest8
-rw-r--r--net-p2p/dbhub/dbhub-0.450.ebuild35
-rw-r--r--net-p2p/dbhub/dbhub-0.451.ebuild38
-rw-r--r--net-p2p/dbhub/files/dbhub-gentoo.patch28
5 files changed, 56 insertions, 63 deletions
diff --git a/net-p2p/dbhub/ChangeLog b/net-p2p/dbhub/ChangeLog
index bcdbe15f47b8..7a3231d4a314 100644
--- a/net-p2p/dbhub/ChangeLog
+++ b/net-p2p/dbhub/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/dbhub
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dbhub/ChangeLog,v 1.26 2007/10/25 12:58:40 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dbhub/ChangeLog,v 1.27 2008/02/25 14:41:10 armin76 Exp $
+
+*dbhub-0.451 (25 Feb 2008)
+
+ 25 Feb 2008; Raúl Porcel <armin76@gentoo.org> files/dbhub-gentoo.patch,
+ -dbhub-0.450.ebuild, +dbhub-0.451.ebuild:
+ Version bump, add switch_user USE-flag
*dbhub-0.450 (25 Oct 2007)
diff --git a/net-p2p/dbhub/Manifest b/net-p2p/dbhub/Manifest
index 0d6a712c7e74..5b7db68ee959 100644
--- a/net-p2p/dbhub/Manifest
+++ b/net-p2p/dbhub/Manifest
@@ -1,5 +1,5 @@
-AUX dbhub-gentoo.patch 909 RMD160 32c072dab2b427b3db50da2ff4564397a4fe89aa SHA1 207501187f3d998139225ecf997cbd7cdca02e50 SHA256 2b26d6c2d07b79353356b2c57f160f1953b0e3ec3f6a1d43558d8f3b1143e4cd
-DIST dbhub-0.450.tar.gz 452839 RMD160 83abfa1806de5fe1b3a31cb98210113fc46284be SHA1 6544ace88078599bff650eae39b8ca3a32c0d309 SHA256 3ee0c0bf764c9c28809bd0b02634b1403cf2efef9671930b966c33de60029e37
-EBUILD dbhub-0.450.ebuild 786 RMD160 926810f39f37788402eae1a9343710a51e10d557 SHA1 8f0c8d9136700b2d24b8ad22041495e32e16492a SHA256 5e8fe2a332830d3f9f4df0f1d59f035463c76cbf83aa21cffca4b1b78f1a8bdb
-MISC ChangeLog 3977 RMD160 2fb13ee736c2fcd5151dbd58f7e4f290992eacc4 SHA1 9115d95f18aa2dac64b45c0b7c3834b92f49e0cf SHA256 84f89fe65b59cfd7cfbdc6c97277c4ffb926f855d1cc8a239f853a3133eed3fb
+AUX dbhub-gentoo.patch 363 RMD160 e26ec8e4e5a725db62d894e3cfce466828fa4e7f SHA1 1cf60ec6eb1ab1b5513745f134c5d2783dd4b3fa SHA256 5ba3ba11cece34184cea91401dc64ced2c13840b43d27e235ebe1bbb8b768231
+DIST dbhub-0.451.tbz2 239911 RMD160 be9af96966785f1f598f7fbeef1f73facb2d1017 SHA1 62303e6d45704d390983d39f38aba7aaded1b7b9 SHA256 941b384d11c181ed270d546f0867dc517693d05fdcdacb14b0b7c682022663b8
+EBUILD dbhub-0.451.ebuild 879 RMD160 b399d7a6e331a39afcbb269e357ed26ecc0c2e0c SHA1 0b6ff103491c4c06e3e4874a5ddbfc325af5383c SHA256 72902d03e39b3e890505e6dfb0e756e0fe835e43fee820d87bc93c98d1c6f8ce
+MISC ChangeLog 4166 RMD160 ec161da839d55ec74577d12185e7c637cd2b546e SHA1 98d4748f79a1685f52f742596ebbe721d27802a7 SHA256 67d2110bb3c4f6632bd8ded1df5e3d55860e524ca6ac1590c678092635b6ffb2
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
diff --git a/net-p2p/dbhub/dbhub-0.450.ebuild b/net-p2p/dbhub/dbhub-0.450.ebuild
deleted file mode 100644
index 5b192237306b..000000000000
--- a/net-p2p/dbhub/dbhub-0.450.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dbhub/dbhub-0.450.ebuild,v 1.1 2007/10/25 12:58:40 armin76 Exp $
-
-inherit eutils
-
-DESCRIPTION="Hub software for Direct Connect, fork of opendchub"
-HOMEPAGE="http://dbhub.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="perl nls"
-
-DEPEND="perl? ( dev-lang/perl )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch ${FILESDIR}/dbhub-gentoo.patch
-}
-
-src_compile() {
- econf \
- $(use_enable nls lang) \
- $(use_enable perl) \
- || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-}
diff --git a/net-p2p/dbhub/dbhub-0.451.ebuild b/net-p2p/dbhub/dbhub-0.451.ebuild
new file mode 100644
index 000000000000..623cb1dae555
--- /dev/null
+++ b/net-p2p/dbhub/dbhub-0.451.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dbhub/dbhub-0.451.ebuild,v 1.1 2008/02/25 14:41:10 armin76 Exp $
+
+inherit eutils
+
+DESCRIPTION="Hub software for Direct Connect, fork of opendchub"
+HOMEPAGE="http://www.dbhub.org"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="debug perl nls switch_user"
+
+DEPEND="perl? ( dev-lang/perl )
+ switch_user? ( sys-libs/libcap )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-gentoo.patch
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable perl) \
+ $(use_enable switch_user) \
+ $(use_enable debug) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/net-p2p/dbhub/files/dbhub-gentoo.patch b/net-p2p/dbhub/files/dbhub-gentoo.patch
index 1cb37fa9df74..3ac532ffef6b 100644
--- a/net-p2p/dbhub/files/dbhub-gentoo.patch
+++ b/net-p2p/dbhub/files/dbhub-gentoo.patch
@@ -1,31 +1,15 @@
---- configure.old 2007-10-25 14:53:10.000000000 +0200
-+++ configure 2007-10-25 14:54:06.000000000 +0200
-@@ -7564,12 +7564,6 @@
- fi
+--- configure.orig 2008-02-25 15:28:29.000000000 +0100
++++ configure 2008-02-25 15:28:52.000000000 +0100
+@@ -4926,12 +4926,6 @@
fi
+
-if test ! -d $HOME/.dbhub; then
- echo "creating config directory: $HOME/.dbhub"
- mkdir $HOME/.dbhub
- chmod 700 $HOME/.dbhub;
-fi
-
- # Check whether --enable-lang was given.
- if test "${enable_lang+set}" = set; then
- enableval=$enable_lang; if test "$enableval" = "no"; then
-@@ -7650,15 +7644,6 @@
- perl_flags=`perl -MExtUtils::Embed -e ccopts`
+ ac_config_files="$ac_config_files Makefile src/Makefile"
- perl_libs=`perl -MExtUtils::Embed -e ldopts`
--
-- if test ! -d $HOME/.dbhub/scripts; then
-- echo "creating script directory: $HOME/.dbhub/scripts"
-- mkdir $HOME/.dbhub/scripts
-- chmod 700 $HOME/.dbhub/scripts;
-- for i in Samplescripts/*; do
-- cp $i $HOME/.dbhub/scripts;
-- done
-- fi
- fi
- else
- echo "Perl script support is disabled."
+ cat >confcache <<\_ACEOF