From bde9c7273ec7cd7748058e9bb0a1dfafceb96a08 Mon Sep 17 00:00:00 2001 From: "Konstantin V. Arkhipov" Date: Mon, 8 Jan 2007 05:22:11 +0000 Subject: [PATCH] * version bump Package-Manager: portage-2.1.2_rc4-r6 --- app-misc/dnetc/ChangeLog | 11 ++- app-misc/dnetc/dnetc-2.9011.498.ebuild | 75 +++++++++++++++++++ app-misc/dnetc/files/digest-dnetc-2.9009.494 | 4 +- app-misc/dnetc/files/digest-dnetc-2.9011.496 | 6 +- .../dnetc/files/digest-dnetc-2.9011.496-r1 | 4 + app-misc/dnetc/files/digest-dnetc-2.9011.498 | 3 + 6 files changed, 99 insertions(+), 4 deletions(-) create mode 100644 app-misc/dnetc/dnetc-2.9011.498.ebuild create mode 100644 app-misc/dnetc/files/digest-dnetc-2.9011.498 diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog index edb8041c603a..a84cacce9c88 100644 --- a/app-misc/dnetc/ChangeLog +++ b/app-misc/dnetc/ChangeLog @@ -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 + -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 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 index 000000000000..3523e10a5f20 --- /dev/null +++ b/app-misc/dnetc/dnetc-2.9011.498.ebuild @@ -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 +} diff --git a/app-misc/dnetc/files/digest-dnetc-2.9009.494 b/app-misc/dnetc/files/digest-dnetc-2.9009.494 index 71a3b494c2b9..fc4e06f0a9c4 100644 --- a/app-misc/dnetc/files/digest-dnetc-2.9009.494 +++ b/app-misc/dnetc/files/digest-dnetc-2.9009.494 @@ -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 diff --git a/app-misc/dnetc/files/digest-dnetc-2.9011.496 b/app-misc/dnetc/files/digest-dnetc-2.9011.496 index 34ef445b5305..8ec42cef9dcc 100644 --- a/app-misc/dnetc/files/digest-dnetc-2.9011.496 +++ b/app-misc/dnetc/files/digest-dnetc-2.9011.496 @@ -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 diff --git a/app-misc/dnetc/files/digest-dnetc-2.9011.496-r1 b/app-misc/dnetc/files/digest-dnetc-2.9011.496-r1 index f4430978f977..8ec42cef9dcc 100644 --- a/app-misc/dnetc/files/digest-dnetc-2.9011.496-r1 +++ b/app-misc/dnetc/files/digest-dnetc-2.9011.496-r1 @@ -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 index 000000000000..a406aa267a4f --- /dev/null +++ b/app-misc/dnetc/files/digest-dnetc-2.9011.498 @@ -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 -- 2.26.2