summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-01-26 17:17:08 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-01-26 17:17:08 +0000
commit71b03d2310cf81a2453ba6dbbefe5ceb166d355a (patch)
tree3db3603171732b7ba5445f527d0a42ed894e4517
parentFixed DEPEND, closing bug #150634. Wiped out previous release. (diff)
downloadgentoo-2-71b03d2310cf81a2453ba6dbbefe5ceb166d355a.tar.gz
gentoo-2-71b03d2310cf81a2453ba6dbbefe5ceb166d355a.tar.bz2
gentoo-2-71b03d2310cf81a2453ba6dbbefe5ceb166d355a.zip
initial ebuild, bug 149677
(Portage version: 2.1.2-r4)
-rw-r--r--net-p2p/dbhub/ChangeLog10
-rw-r--r--net-p2p/dbhub/Manifest24
-rw-r--r--net-p2p/dbhub/dbhub-0.399.ebuild43
-rw-r--r--net-p2p/dbhub/files/dbhub-gentoo.patch30
-rwxr-xr-xnet-p2p/dbhub/files/dbhub_setup.sh20
-rw-r--r--net-p2p/dbhub/files/digest-dbhub-0.3993
-rw-r--r--net-p2p/dbhub/metadata.xml5
7 files changed, 135 insertions, 0 deletions
diff --git a/net-p2p/dbhub/ChangeLog b/net-p2p/dbhub/ChangeLog
new file mode 100644
index 000000000000..0afaddf7b644
--- /dev/null
+++ b/net-p2p/dbhub/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2007/01/26 17:17:08 armin76 Exp $
+
+*dbhub-0.399 (26 Jan 2007)
+
+ 26 Jan 2007; Raúl Porcel <armin76@gentoo.org> +files/dbhub-gentoo.patch,
+ +files/dbhub_setup.sh, +metadata.xml, +dbhub-0.399.ebuild:
+ initial ebuild, bug 149677
+
diff --git a/net-p2p/dbhub/Manifest b/net-p2p/dbhub/Manifest
new file mode 100644
index 000000000000..413bbb684406
--- /dev/null
+++ b/net-p2p/dbhub/Manifest
@@ -0,0 +1,24 @@
+AUX dbhub-gentoo.patch 839 RMD160 c6c811260be59e472587619a3f46bac2be34df43 SHA1 80d9e8d906bff8a418f28d209967a4386249fa49 SHA256 257474e5abba5f815f93da3bdd4ca6beeea062ba0801ac10f18a244e46ea88eb
+MD5 56ee2862e9baf82272f2267ed5a41b23 files/dbhub-gentoo.patch 839
+RMD160 c6c811260be59e472587619a3f46bac2be34df43 files/dbhub-gentoo.patch 839
+SHA256 257474e5abba5f815f93da3bdd4ca6beeea062ba0801ac10f18a244e46ea88eb files/dbhub-gentoo.patch 839
+AUX dbhub_setup.sh 508 RMD160 308a4c708ca17b0dc00e36714d861797ea643606 SHA1 3fdcd13a87d6d8e820b8ba6d63a09711eb708b19 SHA256 8c901c81ba9549a58be83f70180f96e836c7416a34817cb4e82b8abe9b6106c9
+MD5 8fc3f9c1c31b26d11bccbd2b34880ebb files/dbhub_setup.sh 508
+RMD160 308a4c708ca17b0dc00e36714d861797ea643606 files/dbhub_setup.sh 508
+SHA256 8c901c81ba9549a58be83f70180f96e836c7416a34817cb4e82b8abe9b6106c9 files/dbhub_setup.sh 508
+DIST dbhub-0.399.tar.gz 368191 RMD160 d973acd44e9790e187aed70ce78a25d8c22b5a16 SHA1 e44e949bbcddda66e7e7c4083bcb12bdc781dab7 SHA256 1dec212f6473c9faaff203f951096a8a4e0f72ac720247cc4c543e67bc68ef65
+EBUILD dbhub-0.399.ebuild 975 RMD160 85990feee0b79121bd55c596484d0692297f908d SHA1 d4b846beeb0b19be82c076845d08604aeb4f7ff3 SHA256 8af01ddf37e3700e9e47602f507924fff50960e12934d5bfd228f3a0d15cf624
+MD5 b4daa238ced6fab5bc76223aac9f834a dbhub-0.399.ebuild 975
+RMD160 85990feee0b79121bd55c596484d0692297f908d dbhub-0.399.ebuild 975
+SHA256 8af01ddf37e3700e9e47602f507924fff50960e12934d5bfd228f3a0d15cf624 dbhub-0.399.ebuild 975
+MISC ChangeLog 309 RMD160 6c34a39fb21f46580c7018e3c17027663483c02b SHA1 a22d5d7c156c1dadd3f65e26bf1388fb96bd39bf SHA256 a0943f20f1c320db9ace4602f9c8d0d98e8672f354593e79370e382349851600
+MD5 792d7525d018e113e67046a80f8b4b0b ChangeLog 309
+RMD160 6c34a39fb21f46580c7018e3c17027663483c02b ChangeLog 309
+SHA256 a0943f20f1c320db9ace4602f9c8d0d98e8672f354593e79370e382349851600 ChangeLog 309
+MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
+SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
+MD5 a768bd553bcfebdf93b374ad81bf84d1 files/digest-dbhub-0.399 235
+RMD160 084977faacf0a16cde08aff28f3a17ae7811bc13 files/digest-dbhub-0.399 235
+SHA256 c23b06ba1eedf61113cb1cd9147df1c68dae454d45d595290d2f70cd772ebc92 files/digest-dbhub-0.399 235
diff --git a/net-p2p/dbhub/dbhub-0.399.ebuild b/net-p2p/dbhub/dbhub-0.399.ebuild
new file mode 100644
index 000000000000..ec3e1b6b7f3c
--- /dev/null
+++ b/net-p2p/dbhub/dbhub-0.399.ebuild
@@ -0,0 +1,43 @@
+# 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.399.ebuild,v 1.1 2007/01/26 17:17:08 armin76 Exp $
+
+inherit eutils
+
+DESCRIPTION="hub software for Direct Connect, fork of opendchub"
+HOMEPAGE="http://dbhub.ir.pl/"
+SRC_URI="http://mieszkancy.ds.pg.gda.pl/~centurion/darkbot/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ mv ${P}-dev* ${P}
+ cd "${S}"
+ epatch ${FILESDIR}/dbhub-gentoo.patch
+}
+
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ doexe ${FILESDIR}/dbhub_setup.sh
+
+ dodir /usr/share/dbhub/scripts
+ insinto /usr/share/dbhub/scripts
+ doins Samplescripts/*
+
+ dodoc Documentation/*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "To set up perl scripts for dbhub to use, please run"
+ einfo "dbhub_setup.sh as the user you will be using dbhub as."
+ einfo
+}
diff --git a/net-p2p/dbhub/files/dbhub-gentoo.patch b/net-p2p/dbhub/files/dbhub-gentoo.patch
new file mode 100644
index 000000000000..7cf91d8d8d92
--- /dev/null
+++ b/net-p2p/dbhub/files/dbhub-gentoo.patch
@@ -0,0 +1,30 @@
+--- configure.ok 2007-01-26 16:58:37.000000000 +0100
++++ configure 2007-01-26 16:59:22.000000000 +0100
+@@ -4563,12 +4563,6 @@
+ fi
+ fi
+
+-if test ! -d $HOME/.dbhub; then
+- echo "creating config directory: $HOME/.dbhub"
+- mkdir $HOME/.dbhub
+- chmod 700 $HOME/.dbhub;
+-fi
+-
+ # Check whether --enable-perl or --disable-perl was given.
+ if test "${enable_perl+set}" = set; then
+ enableval="$enable_perl"
+@@ -4626,14 +4620,6 @@
+
+ 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."
diff --git a/net-p2p/dbhub/files/dbhub_setup.sh b/net-p2p/dbhub/files/dbhub_setup.sh
new file mode 100755
index 000000000000..b1e63860d1eb
--- /dev/null
+++ b/net-p2p/dbhub/files/dbhub_setup.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+if test ! -d $HOME/.dbhub; then
+ echo "creating config directory: $HOME/.dbhub"
+ mkdir $HOME/.dbhub
+ chmod 700 $HOME/.dbhub
+else
+ echo "$HOME/.dbhub already exists!"
+fi
+if test ! -d $HOME/.dbhub/scripts; then
+ echo "creating script directory: $HOME/.dbhub/scripts"
+ mkdir $HOME/.dbhub/scripts
+ chmod 700 $HOME/.dbhub/scripts;
+ echo "copying scripts..."
+ for i in /usr/share/dbhub/scripts/*; do
+ cp $i $HOME/.dbhub/scripts;
+ done
+else
+ echo "$HOME/.dbhub/scripts already exists!"
+fi
+echo "done!"
diff --git a/net-p2p/dbhub/files/digest-dbhub-0.399 b/net-p2p/dbhub/files/digest-dbhub-0.399
new file mode 100644
index 000000000000..c1e1a9163ba1
--- /dev/null
+++ b/net-p2p/dbhub/files/digest-dbhub-0.399
@@ -0,0 +1,3 @@
+MD5 fb10ea93e603687e06052ca4a8b94c03 dbhub-0.399.tar.gz 368191
+RMD160 d973acd44e9790e187aed70ce78a25d8c22b5a16 dbhub-0.399.tar.gz 368191
+SHA256 1dec212f6473c9faaff203f951096a8a4e0f72ac720247cc4c543e67bc68ef65 dbhub-0.399.tar.gz 368191
diff --git a/net-p2p/dbhub/metadata.xml b/net-p2p/dbhub/metadata.xml
new file mode 100644
index 000000000000..aa0f3664825f
--- /dev/null
+++ b/net-p2p/dbhub/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+</pkgmetadata>