summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-04-29 11:36:35 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-04-29 11:36:35 +0000
commitd672838355497b4b174300f55b3c6a9be9a40024 (patch)
tree1cb802ba70e8bbaee6f8f11dac57a9e15fb1c841 /app-misc/dnetc
parentVersion bump (diff)
downloadhistorical-d672838355497b4b174300f55b3c6a9be9a40024.tar.gz
historical-d672838355497b4b174300f55b3c6a9be9a40024.tar.bz2
historical-d672838355497b4b174300f55b3c6a9be9a40024.zip
Adding working ebuild for Alpha.
Diffstat (limited to 'app-misc/dnetc')
-rw-r--r--app-misc/dnetc/ChangeLog8
-rw-r--r--app-misc/dnetc/dnetc-2.8010.463.ebuild4
-rw-r--r--app-misc/dnetc/dnetc-2.9003.480.ebuild51
-rw-r--r--app-misc/dnetc/files/digest-dnetc-2.9003.4801
4 files changed, 61 insertions, 3 deletions
diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog
index b4940c7cce3f..3d967a7425ab 100644
--- a/app-misc/dnetc/ChangeLog
+++ b/app-misc/dnetc/ChangeLog
@@ -1,6 +1,12 @@
# 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.9 2003/03/31 18:36:41 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.10 2003/04/29 11:36:35 taviso Exp $
+
+*dnetc-2.9003.480 (29 Apr 2003)
+
+ 29 Apr 2003; Tavis Ormandy <taviso@gentoo.org> dnetc-2.8010.463.ebuild,
+ dnetc-2.9003.480.ebuild:
+ Adding a working Alpha ebuild, previous ebuild is totally broken.
*dnetc-2.9003.481 (09 Mar 2003)
diff --git a/app-misc/dnetc/dnetc-2.8010.463.ebuild b/app-misc/dnetc/dnetc-2.8010.463.ebuild
index d23f54ae759d..b6cda2b439a3 100644
--- a/app-misc/dnetc/dnetc-2.8010.463.ebuild
+++ b/app-misc/dnetc/dnetc-2.8010.463.ebuild
@@ -1,6 +1,6 @@
# 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.7 2003/02/13 08:55:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.8010.463.ebuild,v 1.8 2003/04/29 11:36:35 taviso Exp $
MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}
@@ -12,7 +12,7 @@ SRC_URI="alpha? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}
mips? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-mips.tar.gz )"
LICENSE="distributed.net"
SLOT="0"
-KEYWORDS="x86 -ppc -sparc ~alpha ~mips"
+KEYWORDS="x86 -ppc -sparc -alpha ~mips"
IUSE=""
DEPEND=""
RDEPEND="net-misc/host"
diff --git a/app-misc/dnetc/dnetc-2.9003.480.ebuild b/app-misc/dnetc/dnetc-2.9003.480.ebuild
new file mode 100644
index 000000000000..85280e92feb3
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9003.480.ebuild
@@ -0,0 +1,51 @@
+# 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.9003.480.ebuild,v 1.1 2003/04/29 11:36:35 taviso Exp $
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+# NOTE: ev5 binaries will function on ev4 processors
+SRC_URI="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-alpha5-static.tar.gz"
+LICENSE="distributed.net"
+SLOT="0"
+KEYWORDS="-x86 -ppc -sparc ~alpha"
+IUSE=""
+DEPEND=""
+RDEPEND="net-misc/host"
+S="${WORKDIR}/dnetc${MIN_PV}-linux-alpha5-static"
+
+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 "Files have _not_ been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/files/digest-dnetc-2.9003.480 b/app-misc/dnetc/files/digest-dnetc-2.9003.480
new file mode 100644
index 000000000000..08a588783ca0
--- /dev/null
+++ b/app-misc/dnetc/files/digest-dnetc-2.9003.480
@@ -0,0 +1 @@
+MD5 77337b31496ca7690ad037b7c9b80366 dnetc480-linux-alpha5-static.tar.gz 41146