diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-06-12 23:09:08 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-06-12 23:09:08 +0000 |
commit | 81792ff95e51e5a4c747a7c7a0853afbd656362d (patch) | |
tree | f60fbc33e5a4d0bb8b83726fe94b1e809fed2172 /app-misc | |
parent | Removing app-misc/livecd-tools, since it is in the tree now. (diff) | |
download | wolf31o2-81792ff95e51e5a4c747a7c7a0853afbd656362d.tar.gz wolf31o2-81792ff95e51e5a4c747a7c7a0853afbd656362d.tar.bz2 wolf31o2-81792ff95e51e5a4c747a7c7a0853afbd656362d.zip |
Removing app-misc/dnetc since the in-tree version is better.
svn path=/; revision=206
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/dnetc/Manifest | 4 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9013.498.ebuild | 91 | ||||
-rw-r--r-- | app-misc/dnetc/files/dnetc.confd | 18 | ||||
-rw-r--r-- | app-misc/dnetc/files/dnetc.initd | 84 |
4 files changed, 0 insertions, 197 deletions
diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest deleted file mode 100644 index 9473304..0000000 --- a/app-misc/dnetc/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX dnetc.confd 403 RMD160 6a39ce966635937b9b4a25e2e39149e918dce246 SHA1 d1f9bce5a3b18fb3e326c265405d3edd812a5062 SHA256 4ed7f825ca76270969f6dd0ef856caeaca2b9acd3f2f48614b9195d104483d80 -AUX dnetc.initd 1993 RMD160 a7c9985d235bec42e0ac0bcd9dbd076ff2801dc7 SHA1 9421a68b88d2ee15d8263b49d1225b5830b1512f SHA256 02676a3f61c84a44fa3939a142921b70e37325c5db44083589200aa69340e7fd -DIST dnetc498-linux-x86-elf-uclibc.tar.gz 258193 RMD160 11795827990acabefe82b0564b0eedfaa2765ae6 SHA1 1c59c6b63ab52b61f4f9c31517690a0ed4cbc1a0 SHA256 850bf10202d42687a82e948f9f4720f882e96a499f00158aa9e2e73a7a458881 -EBUILD dnetc-2.9013.498.ebuild 2379 RMD160 89d9269428d89ea291537913e308f71132f26515 SHA1 70b4bc44c2a27d4a17cbfe325e1e737bedf7db6a SHA256 4f0fc412bdc91da4e5ce6f1504ac41ce877980a6d04cd6c802ebd15543801c4c diff --git a/app-misc/dnetc/dnetc-2.9013.498.ebuild b/app-misc/dnetc/dnetc-2.9013.498.ebuild deleted file mode 100644 index cf9ac37..0000000 --- a/app-misc/dnetc/dnetc-2.9013.498.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9013.498.ebuild,v 1.1 2006/03/26 00:06:49 voxus Exp $ - -inherit eutils versionator linux-info - -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() { - local CONFIG_CHECK="~SYSVIPC" - local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for dnetc)" - check_extra_config - echo -} - -pkg_preinst() { - enewgroup dnetc - enewuser dnetc -1 -1 /opt/distributed.net dnetc - if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then - ebegin "Flushing old buffers" - source /etc/conf.d/dnetc - - if [ -e /etc/init.d/dnetc ] ; then - /etc/init.d/dnetc flush - local flushed=${?} - fi - - if [ ${flushed} -eq 0 ] ; then - true - elif [ -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.initd dnetc - newconfd ${FILESDIR}/dnetc.confd 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.* - - diropts ${ownopts/0555/0755} - dodir /var/spool/dnetc -} - -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/dnetc.confd b/app-misc/dnetc/files/dnetc.confd deleted file mode 100644 index f6f0da6..0000000 --- a/app-misc/dnetc/files/dnetc.confd +++ /dev/null @@ -1,18 +0,0 @@ -# configuration file for dnetc - -# Startup will look for configuration files in the following places, using the -# first one that it finds: -# 1. /etc/dnetc.conf -# 2. /opt/distributed.net/dnetc.ini - -# Values specified here will override those found in any client configuration -# file. - -# email adress -EMAIL= - -# buffer base dir -BUFFER_BASE_DIR=/var/spool/dnetc - -# keyserver address -KEYSERVER_ADDRESS= diff --git a/app-misc/dnetc/files/dnetc.initd b/app-misc/dnetc/files/dnetc.initd deleted file mode 100644 index 278be05..0000000 --- a/app-misc/dnetc/files/dnetc.initd +++ /dev/null @@ -1,84 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/files/dnetc.init-r2,v 1.1 2006/01/15 16:34:23 voxus Exp $ - -opts="${opts} reload fetch flush" - -depend() { - use net -} - -processOpts() { - local retVal=1 - - DNETPATH="/opt/distributed.net" - DNETBIN="${DNETPATH}/dnetc" - - STARTOPTS="--start --chuid dnetc:dnetc --quiet \ - --exec ${DNETBIN}" - - DNETOPTS="-quiet" - - if [ -e /etc/conf.d/dnetc ] ; then - retVal=0 - DNETOPTS="${DNETOPTS} -ini /etc/conf.d/dnetc" - elif [ -e ${DNETPATH}/dnetc.ini ]; then - retVal=0 - DNETOPTS="${DNETOPTS} -ini ${DNETPATH}/dnetc.ini" - elif [ ! -z ${EMAIL} ]; then - retVal=0 - fi - - # override ini settings with values in /etc/conf.d/dnetc - - DNETOPTS="${DNETOPTS} ${EMAIL:+-e ${EMAIL}}" - if [ ! -z ${BUFFER_BASE_DIR} ] ; then - local buff_in="${BUFFER_BASE_DIR:+${BUFFER_BASE_DIR}/}buff-in" - local buff_out="${BUFFER_BASE_DIR:+${BUFFER_BASE_DIR}/}buff-out" - DNETOPTS="${DNETOPTS} -inbase ${buff_in}" - DNETOPTS="${DNETOPTS} -outbase ${buff_out}" - fi - DNETOPTS="${DNETOPTS} ${KEYSERVER_ADDRESS:+-a ${KEYSERVER_ADDRESS}}" - - if [ ${retVal} -ne 0 ] ; then - eerror "Need some sort of configuration. Check /etc/conf.d/dnetc." - fi - - return ${retVal} -} - -start() { - processOpts || return 1 - ebegin "Starting distributed.net client" - start-stop-daemon ${STARTOPTS} -- ${DNETOPTS} - eend ${?} -} - -stop() { - processOpts || return 1 - ebegin "Stopping distributed.net client" - start-stop-daemon --stop --quiet --exec ${DNETBIN} -- - eend ${?} -} - -reload() { - processOpts || return 1 - ebegin "Reloading distributed.net client" - start-stop-daemon --stop --quiet --signal HUP --exec ${DNETBIN} - eend ${?} -} - -fetch() { - processOpts || return 1 - ebegin "Fetching distributed.net client buffers" - ${DNETBIN} ${DNETOPTS} -fetch - eend ${?} -} - -flush() { - processOpts || return 1 - ebegin "Flushing distributed.net client buffers" - ${DNETBIN} ${DNETOPTS} -flush - eend ${?} -} |