diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-04-11 19:13:27 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-04-11 19:13:27 +0000 |
commit | 2cb97ea63fba83064e7cdac7dc8a3c49a7acf6af (patch) | |
tree | d12d0d442cc66c0ad2e83769d592dc6b5b366fa4 /net-p2p/opendchub | |
parent | Fixes for xorg-x11 compatibility. (diff) | |
download | historical-2cb97ea63fba83064e7cdac7dc8a3c49a7acf6af.tar.gz historical-2cb97ea63fba83064e7cdac7dc8a3c49a7acf6af.tar.bz2 historical-2cb97ea63fba83064e7cdac7dc8a3c49a7acf6af.zip |
initial commit, closes bug 47407
Diffstat (limited to 'net-p2p/opendchub')
-rw-r--r-- | net-p2p/opendchub/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/opendchub/Manifest | 6 | ||||
-rw-r--r-- | net-p2p/opendchub/files/digest-opendchub-0.7.14 | 1 | ||||
-rw-r--r-- | net-p2p/opendchub/files/opendchub-gentoo.patch | 30 | ||||
-rw-r--r-- | net-p2p/opendchub/files/opendchub_setup.sh | 20 | ||||
-rw-r--r-- | net-p2p/opendchub/metadata.xml | 8 | ||||
-rw-r--r-- | net-p2p/opendchub/opendchub-0.7.14.ebuild | 42 |
7 files changed, 115 insertions, 0 deletions
diff --git a/net-p2p/opendchub/ChangeLog b/net-p2p/opendchub/ChangeLog new file mode 100644 index 000000000000..986104ba2b77 --- /dev/null +++ b/net-p2p/opendchub/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-p2p/opendchub +# Copyright 1999-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/opendchub/ChangeLog,v 1.1 2004/04/11 19:13:27 squinky86 Exp $ + +*opendchub-0.7.14 (11 Apr 2004) + + 11 Apr 2004; Jon Hood <squinky86@gentoo.org> opendchub-0.7.14.ebuild: + Initial ebuild for opendchub. Closes #47407 diff --git a/net-p2p/opendchub/Manifest b/net-p2p/opendchub/Manifest new file mode 100644 index 000000000000..3d33966bbbf9 --- /dev/null +++ b/net-p2p/opendchub/Manifest @@ -0,0 +1,6 @@ +MD5 88e260ed56df652fec83982c8e1778fd opendchub-0.7.14.ebuild 1021 +MD5 16be03ea118b2ffd8672da2433570eac ChangeLog 370 +MD5 8abcb326775f027b2e13f23344036e34 metadata.xml 224 +MD5 e4fcbf6d8443605a548547abee4903e5 files/opendchub_setup.sh 556 +MD5 75859d782548bffdb8575c89649978e3 files/opendchub-gentoo.patch 873 +MD5 a2d8a9229bd7080e20a266ce68778903 files/digest-opendchub-0.7.14 68 diff --git a/net-p2p/opendchub/files/digest-opendchub-0.7.14 b/net-p2p/opendchub/files/digest-opendchub-0.7.14 new file mode 100644 index 000000000000..6c64f2c5990a --- /dev/null +++ b/net-p2p/opendchub/files/digest-opendchub-0.7.14 @@ -0,0 +1 @@ +MD5 6121347154820e2b307a5aecafa86ce8 opendchub-0.7.14.tar.gz 187739 diff --git a/net-p2p/opendchub/files/opendchub-gentoo.patch b/net-p2p/opendchub/files/opendchub-gentoo.patch new file mode 100644 index 000000000000..c6854e2178ca --- /dev/null +++ b/net-p2p/opendchub/files/opendchub-gentoo.patch @@ -0,0 +1,30 @@ +--- configure~ 2004-04-11 18:31:55.000000000 +0000 ++++ configure 2004-04-11 18:40:42.068793280 +0000 +@@ -4343,12 +4343,6 @@ + fi + fi + +-if test ! -d $HOME/.opendchub; then +- echo "creating config directory: $HOME/.opendchub" +- mkdir $HOME/.opendchub +- chmod 700 $HOME/.opendchub; +-fi +- + # Check whether --enable-perl or --disable-perl was given. + if test "${enable_perl+set}" = set; then + enableval="$enable_perl" +@@ -4406,14 +4400,6 @@ + + perl_libs=`perl -MExtUtils::Embed -e ldopts` + +- if test ! -d $HOME/.opendchub/scripts; then +- echo "creating script directory: $HOME/.opendchub/scripts" +- mkdir $HOME/.opendchub/scripts +- chmod 700 $HOME/.opendchub/scripts; +- for i in Samplescripts/*; do +- cp $i $HOME/.opendchub/scripts; +- done +- fi + fi + else + echo "Perl script support is disabled." diff --git a/net-p2p/opendchub/files/opendchub_setup.sh b/net-p2p/opendchub/files/opendchub_setup.sh new file mode 100644 index 000000000000..2944a02c395e --- /dev/null +++ b/net-p2p/opendchub/files/opendchub_setup.sh @@ -0,0 +1,20 @@ +#!/bin/bash +if test ! -d $HOME/.opendchub; then + echo "creating config directory: $HOME/.opendchub" + mkdir $HOME/.opendchub + chmod 700 $HOME/.opendchub +else + echo "$HOME/.opendchub already exists!" +fi +if test ! -d $HOME/.opendchub/scripts; then + echo "creating script directory: $HOME/.opendchub/scripts" + mkdir $HOME/.opendchub/scripts + chmod 700 $HOME/.opendchub/scripts; + echo "copying scripts..." + for i in /usr/share/opendchub/scripts/*; do + cp $i $HOME/.opendchub/scripts; + done +else + echo "$HOME/.opendchub/scripts already exists!" +fi +echo "done!" diff --git a/net-p2p/opendchub/metadata.xml b/net-p2p/opendchub/metadata.xml new file mode 100644 index 000000000000..a6f4b1dc32c6 --- /dev/null +++ b/net-p2p/opendchub/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-p2p</herd> +<maintainer> + <email>squinky86@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/net-p2p/opendchub/opendchub-0.7.14.ebuild b/net-p2p/opendchub/opendchub-0.7.14.ebuild new file mode 100644 index 000000000000..5fd29c08e106 --- /dev/null +++ b/net-p2p/opendchub/opendchub-0.7.14.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/opendchub/opendchub-0.7.14.ebuild,v 1.1 2004/04/11 19:13:27 squinky86 Exp $ + +DESCRIPTION="hub software for Direct Connect" +HOMEPAGE="http://opendchub.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="perl" + +DEPEND="virtual/glibc + perl? ( dev-lang/perl )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/opendchub-gentoo.patch +} + +src_install() { + einstall || die "install failed" + if [ `use perl` ] ; then + exeinto /usr/bin + doexe ${FILESDIR}/opendchub_setup.sh + dodir /usr/share/opendchub/scripts + insinto /usr/share/opendchub/scripts + doins Samplescripts/* + fi + dodoc Documentation/* +} + +pkg_postinst() { + if [ `use perl` ] ; then + einfo + einfo "To set up perl scripts for opendchub to use, please run" + einfo "opendchub_setup.sh as the user you will be using opendchub as." + einfo + fi +} |