diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-01-26 17:17:08 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-01-26 17:17:08 +0000 |
commit | 979e960e8b5a88fd1ef152a69e3aaf2e8925e762 (patch) | |
tree | bacf8cef5ae01bb795219fda32fff41c7d83f1e3 /net-p2p | |
parent | Fixed DEPEND, closing bug #150634. Wiped out previous release. (diff) | |
download | historical-979e960e8b5a88fd1ef152a69e3aaf2e8925e762.tar.gz historical-979e960e8b5a88fd1ef152a69e3aaf2e8925e762.tar.bz2 historical-979e960e8b5a88fd1ef152a69e3aaf2e8925e762.zip |
initial ebuild, bug 149677
Package-Manager: portage-2.1.2-r4
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/dbhub/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/dbhub/Manifest | 24 | ||||
-rw-r--r-- | net-p2p/dbhub/dbhub-0.399.ebuild | 43 | ||||
-rw-r--r-- | net-p2p/dbhub/files/dbhub-gentoo.patch | 30 | ||||
-rwxr-xr-x | net-p2p/dbhub/files/dbhub_setup.sh | 20 | ||||
-rw-r--r-- | net-p2p/dbhub/files/digest-dbhub-0.399 | 3 | ||||
-rw-r--r-- | net-p2p/dbhub/metadata.xml | 5 |
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..36fcf919d51c --- /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 966 RMD160 e2c446b84519678385b44d58fc5c6ff8cd3fe750 SHA1 1551ef141693cc4456fd2e9a8db958a87789ee6e SHA256 0fa9984008f2d43f71e9420c08c910a668dc01875b8c1c23eb290032730a51a1 +MD5 cdab5cccac59e62281cd9d1c96734ebf dbhub-0.399.ebuild 966 +RMD160 e2c446b84519678385b44d58fc5c6ff8cd3fe750 dbhub-0.399.ebuild 966 +SHA256 0fa9984008f2d43f71e9420c08c910a668dc01875b8c1c23eb290032730a51a1 dbhub-0.399.ebuild 966 +MISC ChangeLog 395 RMD160 0fd61ae991b938190bb470c144153788e8512503 SHA1 7c2c82366f8af92afdd4a90569640264a4354948 SHA256 643842215f3d0752b5df7c52bd1d630d127496e4086846d779b68f8720704d99 +MD5 9eab70501477dfbb895e57eff4a1b9bf ChangeLog 395 +RMD160 0fd61ae991b938190bb470c144153788e8512503 ChangeLog 395 +SHA256 643842215f3d0752b5df7c52bd1d630d127496e4086846d779b68f8720704d99 ChangeLog 395 +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> |