# 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.
--- /dev/null
+# 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
+}
-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
-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
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
--- /dev/null
+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