summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-11-26 10:40:22 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-11-26 10:40:22 +0000
commitdd90eb6278e9d4269ecd06ea2b921b050ca8c4ff (patch)
tree1fac44cef592a2ed5ef34f885fd1930647a91603
parentNew clients and fixes (diff)
downloadgentoo-2-dd90eb6278e9d4269ecd06ea2b921b050ca8c4ff.tar.gz
gentoo-2-dd90eb6278e9d4269ecd06ea2b921b050ca8c4ff.tar.bz2
gentoo-2-dd90eb6278e9d4269ecd06ea2b921b050ca8c4ff.zip
New clients and fixes
-rw-r--r--app-misc/dnetc/ChangeLog12
-rw-r--r--app-misc/dnetc/Manifest8
-rw-r--r--app-misc/dnetc/dnetc-2.9001.478.ebuild52
-rw-r--r--app-misc/dnetc/dnetc-2.9002.479.ebuild (renamed from app-misc/dnetc/dnetc-2.8010.463.ebuild)24
-rw-r--r--app-misc/dnetc/files/digest-dnetc-2.8010.4633
-rw-r--r--app-misc/dnetc/files/digest-dnetc-2.9001.4781
-rw-r--r--app-misc/dnetc/files/digest-dnetc-2.9002.4791
7 files changed, 85 insertions, 16 deletions
diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog
index 35e53adf9667..a8df48eb3941 100644
--- a/app-misc/dnetc/ChangeLog
+++ b/app-misc/dnetc/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-misc/dnetc
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.17 2003/07/17 22:01:22 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.18 2003/11/26 10:40:18 aliz Exp $
+
+*dnetc-2.9002.479 (26 Nov 2003)
+
+ 26 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> dnetc-2.9002.479.ebuild:
+ Client for hppa.
+
+*dnetc-2.9001.478 (26 Nov 2003)
+
+ 26 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> dnetc-2.9001.478.ebuild:
+ Re-add 2.9001.478 for mips client.
19 Jul 2003; Martin Holzer <mholzer@gentoo.org> dnetc-2.9005.483.ebuild:
Stable now arm & sparc
diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest
index 091b611df7dc..e68cc1c8b14c 100644
--- a/app-misc/dnetc/Manifest
+++ b/app-misc/dnetc/Manifest
@@ -1,11 +1,9 @@
MD5 ea88f41ea9b08af32c68929d86f9ff24 dnetc-2.9003.481-r1.ebuild 2074
-MD5 713d1358db3a4294d0104184cb5a74fb dnetc-2.9001.478.ebuild 1397
+MD5 a3a93e18e138c78007bab93ebb7f7b92 dnetc-2.9001.478.ebuild 1394
MD5 97decd8cc427d59fdcd4e2f57946201d dnetc-2.9005.483.ebuild 1893
-MD5 ad76d157c0c7a50c3eabd656076a6cc8 dnetc-2.8010.463.ebuild 1281
-MD5 e8918a3dcf4da191b79cff262275be21 ChangeLog 2566
+MD5 88fe4f0a3645a187b5d1afb0a0a02690 ChangeLog 2689
MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220
-MD5 ddc955295cf01c7ed39d41b6ebc3d398 dnetc-2.9002.479.ebuild 1388
-MD5 f212af97218f0ac189463a07abaef5bc files/digest-dnetc-2.8010.463 221
+MD5 f4b61b5009b0cfd00aa33f9653508d13 dnetc-2.9002.479.ebuild 1385
MD5 b6444acd5a6c235ffe17bb3b528f4bc4 files/dnetc.conf 54
MD5 1e0c08c3615a173278c74e653b1551f0 files/dnetc.init 805
MD5 043cbafd6324fd3848f2763c32e6da51 files/digest-dnetc-2.9001.478 77
diff --git a/app-misc/dnetc/dnetc-2.9001.478.ebuild b/app-misc/dnetc/dnetc-2.9001.478.ebuild
new file mode 100644
index 000000000000..e7dad8fc3631
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9001.478.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9001.478.ebuild,v 1.9 2003/11/26 10:40:18 aliz Exp $
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+SRC_URI="mips? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}b-ps2linux-mipsel.tar.gz )"
+LICENSE="distributed.net"
+SLOT="0"
+KEYWORDS="~mips"
+IUSE=""
+DEPEND=""
+RDEPEND="net-misc/host"
+if [ `use mips` ]; then
+ S="${WORKDIR}/dnetc${MIN_PV}-ps2linux-mipsel"
+fi
+
+RESTRICT="nomirror"
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ /opt/distributed.net/dnetc -quiet -flush
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+}
+
+src_install() {
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc CHANGES.txt dnetc.txt readme.*
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/dnetc.init dnetc
+ insinto /etc/conf.d ; newins ${FILESDIR}/dnetc.conf dnetc
+}
+
+pkg_postinst() {
+ einfo "Either configure your email adress in /etc/conf.d/dnetc"
+ einfo "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ einfo "All files has not been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/dnetc-2.8010.463.ebuild b/app-misc/dnetc/dnetc-2.9002.479.ebuild
index b6cda2b439a3..ad0975830ba0 100644
--- a/app-misc/dnetc/dnetc-2.8010.463.ebuild
+++ b/app-misc/dnetc/dnetc-2.9002.479.ebuild
@@ -1,30 +1,40 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.8010.463.ebuild,v 1.8 2003/04/29 11:36:35 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9002.479.ebuild,v 1.1 2003/11/26 10:40:18 aliz Exp $
MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}
DESCRIPTION="distributed.net client"
HOMEPAGE="http://www.distributed.net"
-SRC_URI="alpha? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-alpha-elf.tar.gz )
- x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf.tar.gz )
- mips? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-mips.tar.gz )"
+SRC_URI="hppa? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-hppa32.tar.gz )"
LICENSE="distributed.net"
SLOT="0"
-KEYWORDS="x86 -ppc -sparc -alpha ~mips"
+KEYWORDS="~hppa"
IUSE=""
DEPEND=""
RDEPEND="net-misc/host"
-S="${WORKDIR}"
+if [ `use hppa` ]; then
+ S="${WORKDIR}/dnetc${MIN_PV}-linux-hppa"
+fi
+
RESTRICT="nomirror"
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ /opt/distributed.net/dnetc -quiet -flush
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+}
+
src_install() {
exeinto /opt/distributed.net
doexe dnetc
doman dnetc.1
- dodoc docs/*
+ dodoc CHANGES.txt dnetc.txt readme.*
exeinto /etc/init.d ; newexe ${FILESDIR}/dnetc.init dnetc
insinto /etc/conf.d ; newins ${FILESDIR}/dnetc.conf dnetc
diff --git a/app-misc/dnetc/files/digest-dnetc-2.8010.463 b/app-misc/dnetc/files/digest-dnetc-2.8010.463
deleted file mode 100644
index 52575285d870..000000000000
--- a/app-misc/dnetc/files/digest-dnetc-2.8010.463
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 902d296a9bf9222bf6a283b6e2584d40 dnetc463-linux-alpha-elf.tar.gz 194996
-MD5 cefc3a8d823d6f0197ef7570c4d95052 dnetc463-linux-x86-elf.tar.gz 262310
-MD5 35023d719baf518677b4415bc5899ee9 dnetc463-linux-mips.tar.gz 174657
diff --git a/app-misc/dnetc/files/digest-dnetc-2.9001.478 b/app-misc/dnetc/files/digest-dnetc-2.9001.478
new file mode 100644
index 000000000000..f50cabe8498a
--- /dev/null
+++ b/app-misc/dnetc/files/digest-dnetc-2.9001.478
@@ -0,0 +1 @@
+MD5 a3eee304e894cc41f56c07b315cb9b4c dnetc478b-ps2linux-mipsel.tar.gz 221372
diff --git a/app-misc/dnetc/files/digest-dnetc-2.9002.479 b/app-misc/dnetc/files/digest-dnetc-2.9002.479
new file mode 100644
index 000000000000..daa7e981a3fb
--- /dev/null
+++ b/app-misc/dnetc/files/digest-dnetc-2.9002.479
@@ -0,0 +1 @@
+MD5 9644056d68ec8e61efc63c35dbacdae3 dnetc479-linux-hppa32.tar.gz 231987