* version bump
authorKonstantin V. Arkhipov <voxus@gentoo.org>
Mon, 8 Jan 2007 05:22:11 +0000 (05:22 +0000)
committerKonstantin V. Arkhipov <voxus@gentoo.org>
Mon, 8 Jan 2007 05:22:11 +0000 (05:22 +0000)
Package-Manager: portage-2.1.2_rc4-r6

app-misc/dnetc/ChangeLog
app-misc/dnetc/dnetc-2.9011.498.ebuild [new file with mode: 0644]
app-misc/dnetc/files/digest-dnetc-2.9009.494
app-misc/dnetc/files/digest-dnetc-2.9011.496
app-misc/dnetc/files/digest-dnetc-2.9011.496-r1
app-misc/dnetc/files/digest-dnetc-2.9011.498 [new file with mode: 0644]

index edb8041c603a8371b332e54f17aebeae7b7e652e..a84cacce9c88129e7009db6e24bb9da2fde65b13 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-misc/dnetc
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.37 2006/07/15 13:35:08 kloeri Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.38 2007/01/08 05:22:11 voxus Exp $
+
+*dnetc-2.9011.498 (08 Jan 2007)
+
+  08 Jan 2007; Konstantin V. Arkhipov <voxus@gentoo.org>
+  -dnetc-2.9011.497.ebuild, -dnetc-2.9011.497-r1.ebuild,
+  +dnetc-2.9011.498.ebuild:
+  Version bump, closing bugs #146601 and #150039.
 
   15 Jul 2006; Bryan Ã˜stergaard <kloeri@gentoo.org> metadata.xml:
   Remove aliz from metadata.xml as he's retired.
diff --git a/app-misc/dnetc/dnetc-2.9011.498.ebuild b/app-misc/dnetc/dnetc-2.9011.498.ebuild
new file mode 100644 (file)
index 0000000..3523e10
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9011.498.ebuild,v 1.1 2007/01/08 05:22:11 voxus Exp $
+
+inherit eutils versionator
+
+MAJ_PV="$(get_major_version).$(get_version_component_range 2)"
+MIN_PV="$(get_version_component_range 3)"
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+SRC_URI="x86? ( http://http.distributed.net/pub/dcti/v2.9013/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
+LICENSE="distributed.net"
+SLOT="0"
+KEYWORDS="~x86 -*"
+RESTRICT="nomirror"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc"
+
+pkg_setup() {
+       enewgroup dnetc
+       enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_preinst() {
+       if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+               ebegin "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
+
+               eend ${?}
+       fi
+}
+
+src_install() {
+       newinitd ${FILESDIR}/dnetc.init-r2 dnetc
+       newconfd ${FILESDIR}/dnetc.conf dnetc
+
+       local ownopts="--mode=0555 --group=dnetc --owner=dnetc"
+
+       diropts ${ownopts}
+       dodir /opt/distributed.net
+
+       exeopts ${ownopts}
+       exeinto /opt/distributed.net
+       doexe dnetc
+
+       doman dnetc.1
+       dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+}
+
+pkg_postinst() {
+       einfo "To run distributed.net client in the background at boot:"
+       einfo "   rc-update add dnetc default"
+       einfo
+       einfo "Either configure your email address 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"
+               einfo "Probably old init file and/or buffer files"
+       fi
+}
index 71a3b494c2b99b8440826f830774e2040d3047e8..fc4e06f0a9c4bab69c8089f87f3a95ab6c914e54 100644 (file)
@@ -1,2 +1,4 @@
-MD5 646b8749424063f93fecac8596031a08 dnetc494-linux-x86-elf-uclibc.tar.gz 245503
 MD5 6893b9c942664b762f6509d281e257ad dnetc494-linux-amd64-elf.tar.gz 446966
+RMD160 7ccfaa4beb107649f955cf8a632f499124bfd356 dnetc494-linux-amd64-elf.tar.gz 446966
+SHA256 49e4c406e40551f407d3e731e93f647e49ec9a9c2de59dfd91faa7a30a4f8674 dnetc494-linux-amd64-elf.tar.gz 446966
+MD5 646b8749424063f93fecac8596031a08 dnetc494-linux-x86-elf-uclibc.tar.gz 245503
index 34ef445b5305d4129b73e002785b23464e621510..8ec42cef9dcc169125756dc63cf9ea51995b1c47 100644 (file)
@@ -1,2 +1,6 @@
-MD5 2e03d0463cce7362404f2254dd072640 dnetc496-linux-x86-elf-uclibc.tar.gz 255750
 MD5 593a069b6faab12316073876d147c8ba dnetc496-linux-amd64-elf.tar.gz 481070
+RMD160 f9b6f6a0b0971f4abb950ec070356c4622ae23a2 dnetc496-linux-amd64-elf.tar.gz 481070
+SHA256 62a53e583beef2728062fc3cda172faa56540cd48458c37a102d2f9f818ce612 dnetc496-linux-amd64-elf.tar.gz 481070
+MD5 2e03d0463cce7362404f2254dd072640 dnetc496-linux-x86-elf-uclibc.tar.gz 255750
+RMD160 bd09f50ef3b0e24a97b9cdf6fcb2b8681cb7444a dnetc496-linux-x86-elf-uclibc.tar.gz 255750
+SHA256 14e07c30e88f2817ed2f11373e85cfce18328e4fa79a3d4717f0ffd2b186af67 dnetc496-linux-x86-elf-uclibc.tar.gz 255750
index f4430978f977022c09fc4d8d5773f2d73fe915fc..8ec42cef9dcc169125756dc63cf9ea51995b1c47 100644 (file)
@@ -1,2 +1,6 @@
 MD5 593a069b6faab12316073876d147c8ba dnetc496-linux-amd64-elf.tar.gz 481070
+RMD160 f9b6f6a0b0971f4abb950ec070356c4622ae23a2 dnetc496-linux-amd64-elf.tar.gz 481070
+SHA256 62a53e583beef2728062fc3cda172faa56540cd48458c37a102d2f9f818ce612 dnetc496-linux-amd64-elf.tar.gz 481070
 MD5 2e03d0463cce7362404f2254dd072640 dnetc496-linux-x86-elf-uclibc.tar.gz 255750
+RMD160 bd09f50ef3b0e24a97b9cdf6fcb2b8681cb7444a dnetc496-linux-x86-elf-uclibc.tar.gz 255750
+SHA256 14e07c30e88f2817ed2f11373e85cfce18328e4fa79a3d4717f0ffd2b186af67 dnetc496-linux-x86-elf-uclibc.tar.gz 255750
diff --git a/app-misc/dnetc/files/digest-dnetc-2.9011.498 b/app-misc/dnetc/files/digest-dnetc-2.9011.498
new file mode 100644 (file)
index 0000000..a406aa2
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 fc9ad9ab834d62db5a29f89b7c76b2fc dnetc498-linux-x86-elf-uclibc.tar.gz 258193
+RMD160 11795827990acabefe82b0564b0eedfaa2765ae6 dnetc498-linux-x86-elf-uclibc.tar.gz 258193
+SHA256 850bf10202d42687a82e948f9f4720f882e96a499f00158aa9e2e73a7a458881 dnetc498-linux-x86-elf-uclibc.tar.gz 258193