summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-04-02 01:39:20 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-04-02 01:39:20 +0000
commit147acbb024d171e07ec9630d76e4dc1e471d1230 (patch)
tree67f4ce98b52ed9e1f0e412575016c40710593056 /app-misc/dnetc
parentAdd fix from upstream for mv/i-3 test failure #264455 by Ryan Hill. (diff)
downloadhistorical-147acbb024d171e07ec9630d76e4dc1e471d1230.tar.gz
historical-147acbb024d171e07ec9630d76e4dc1e471d1230.tar.bz2
historical-147acbb024d171e07ec9630d76e4dc1e471d1230.zip
NMU version bump, adds Core i7 detection that I need.
Package-Manager: portage-2.2_rc27/cvs/Linux x86_64
Diffstat (limited to 'app-misc/dnetc')
-rw-r--r--app-misc/dnetc/ChangeLog10
-rw-r--r--app-misc/dnetc/Manifest5
-rw-r--r--app-misc/dnetc/dnetc-2.9101.509.ebuild77
3 files changed, 89 insertions, 3 deletions
diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog
index d864209c77e9..77ae8d0ba83c 100644
--- a/app-misc/dnetc/ChangeLog
+++ b/app-misc/dnetc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/dnetc
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.52 2008/12/31 05:36:45 darkside Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.53 2009/04/02 01:39:20 robbat2 Exp $
+
+*dnetc-2.9101.509 (02 Apr 2009)
+
+ 02 Apr 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +dnetc-2.9101.509.ebuild:
+ NMU version bump, adds Core i7 detection that I need.
*dnetc-2.9101.507 (31 Dec 2008)
diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest
index 9771cf884fca..b28800024f97 100644
--- a/app-misc/dnetc/Manifest
+++ b/app-misc/dnetc/Manifest
@@ -13,6 +13,8 @@ DIST dnetc498-linux-x86-elf-uclibc.tar.gz 258193 RMD160 11795827990acabefe82b056
DIST dnetc504-linux-x86-elf-uclibc.tar.gz 261208 RMD160 e9830a10d402344606ef9895ca2a8f473f536550 SHA1 7b4949783128a2c71b6cc657b4edac2e85d65cb1 SHA256 084d0041a63efb952e35673c6b596105c5a1ba98a8ea9e942863e89f0552f3bd
DIST dnetc507-linux-amd64-elf.tar.gz 883642 RMD160 5a452febd1997dee89b171c3758ef0fc0752611c SHA1 d3d12a3f0f9fb4cc6f78572eeddaa5479182735d SHA256 a2ff87bd190d7af73c586810f5ecb928c7242061163ae694c574cc773d245383
DIST dnetc507-linux-x86-elf-uclibc.tar.gz 667132 RMD160 31f7c304e22d939e9a1a33ea57cabc5cf6febc29 SHA1 a00e94084b8e19c2b9a971381434b24815c64ae7 SHA256 8bc34d4e3086531c16345ccb9c65b9815e5e7ad1707744704e0342c18ae0d3f9
+DIST dnetc509-linux-amd64-elf.tar.gz 883642 RMD160 5a452febd1997dee89b171c3758ef0fc0752611c SHA1 d3d12a3f0f9fb4cc6f78572eeddaa5479182735d SHA256 a2ff87bd190d7af73c586810f5ecb928c7242061163ae694c574cc773d245383
+DIST dnetc509-linux-x86-elf-uclibc.tar.gz 667132 RMD160 31f7c304e22d939e9a1a33ea57cabc5cf6febc29 SHA1 a00e94084b8e19c2b9a971381434b24815c64ae7 SHA256 8bc34d4e3086531c16345ccb9c65b9815e5e7ad1707744704e0342c18ae0d3f9
EBUILD dnetc-2.9001.478.ebuild 1321 RMD160 4b8849bcac3e6f0b66bbaf1b7aa937711fcf0134 SHA1 10cdeedfba513f61c826ab07a9fb81e7446ddf41 SHA256 2a67ab5f3bd2bd84f4fee1af3c4358fdac1ee679c4d4fcb947fe3e1f47e92e0b
EBUILD dnetc-2.9002.479.ebuild 1312 RMD160 2e5d82728bb75c27e09fdaac7fce9af80e7d3f29 SHA1 2529cbfaf8d53cb51ffe10a5915b568d346f229e SHA256 89bfcd07b00304ddcb623f85896f5abd9a2a3c090a69d7fedfa28d9e8d7c0c45
EBUILD dnetc-2.9003.481-r1.ebuild 2001 RMD160 e1dba26946743cddec1626aa0c71b46084e4b951 SHA1 2dcb4ab6ac338aa535079d53e77b103b63d41bec SHA256 71047ade2b6ded24d5448ce4f4f68f6f0713b52bba3690db7ef38403f783263a
@@ -21,5 +23,6 @@ EBUILD dnetc-2.9011.498.ebuild 2039 RMD160 f411ce8347f38277b5d881ca602aa72713ab5
EBUILD dnetc-2.9013.498.ebuild 2378 RMD160 02d6db8f8d3e4f86ddda8de83424937941ce4b33 SHA1 9dac7d00e2a393cc7b89bb3b501220516dafe0fe SHA256 8d22bdca518ad3f85a846634db9e024a4c93d6ebac2907057163ae16f39bdd5a
EBUILD dnetc-2.9015.504.ebuild 2374 RMD160 35881929c34e77147e5356e4b19abf46756dcc29 SHA1 f785bef8767475387c31bb3ab8933993c9e27134 SHA256 87a11d0a03517a7282da4fa0eacfc8384eb44933db61746092fa3fc7ef922806
EBUILD dnetc-2.9101.507.ebuild 2124 RMD160 55381de5eb2157b8425efa928d28be9c10a3528e SHA1 68afbff64671c6df2ce15b86b2f641021685cc57 SHA256 d32f889b3b31410f87e2a8da863d6d5dc338200d97e4591b29e9499c8af275e1
-MISC ChangeLog 9398 RMD160 263cb0722011c3c2d8590f2fcef8467d13a9b7be SHA1 e9045cc137b8c5dce12ff15386ccbb0bfc10bb78 SHA256 301f610f9d2b8949fc1461a6409695c0c37e74bb39a07420d1e68b156477870c
+EBUILD dnetc-2.9101.509.ebuild 2123 RMD160 513a21d7aa6c1ec583fb113a8c2ec63355b500dd SHA1 d6c3374e1893d427567fc061ff8549e3b82fafae SHA256 a32f225690abfd43933f9968268738d87deafbc27dee1b50f552241102085c35
+MISC ChangeLog 9568 RMD160 0ca399b34d643f7f97b8a0c03346ffd906e266cd SHA1 48237fb73ba442aacb7a321baf42bc18f5833e5b SHA256 69ab2df561270f53dda688350c24f7d29ea12751994da21edef795f33802add3
MISC metadata.xml 336 RMD160 91a958e9629b83fa13156f13a3a0d1c34a22f3f8 SHA1 87e4072247c254d70f858268260b07f9a8b0c6f4 SHA256 c6adb41a5984e2b5da2e0acff7038fc87036d18aea15818f2dedc1c5808d55cd
diff --git a/app-misc/dnetc/dnetc-2.9101.509.ebuild b/app-misc/dnetc/dnetc-2.9101.509.ebuild
new file mode 100644
index 000000000000..fde3d73dc2b0
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9101.509.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9101.509.ebuild,v 1.1 2009/04/02 01:39:20 robbat2 Exp $
+
+inherit eutils
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+SRC_URI="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )
+ amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64-elf.tar.gz )"
+
+LICENSE="distributed.net"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="net-dns/bind-tools"
+
+if use amd64; then
+ S="${WORKDIR}/dnetc${MIN_PV}-linux-amd64-elf"
+elif use x86; then
+ S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc"
+fi
+
+src_install() {
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+
+ newinitd "${FILESDIR}"/dnetc.initd dnetc
+ newconfd "${FILESDIR}"/dnetc.confd dnetc
+}
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ source /etc/conf.d/dnetc
+
+ if [ -e /opt/distributed.net/dnetc.ini ]; then
+ # use ini file
+ /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
+ elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
+ # email adress from config
+ /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
+ fi
+
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+
+ enewgroup dnetc
+ enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_postinst() {
+ chown -Rf dnetc:dnetc /opt/distributed.net
+ chmod 0555 /opt/distributed.net/dnetc
+
+ elog "To run distributed.net client in the background at boot:"
+ elog " rc-update add dnetc default"
+ elog ""
+ elog "Either configure your email address in /etc/conf.d/dnetc"
+ elog "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ elog "All files has not been removed from /opt/distributed.net"
+ fi
+}