diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-20 16:59:24 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-20 16:59:24 +0000 |
commit | 1bcf382ca02b326ffc86d06f70af81be7bae7b96 (patch) | |
tree | 6cf3e32db50e80d7cb62b8eb9a6b9a2952a7af80 /app-misc/dnetc | |
parent | Fix a typo in conf.d/named, bug 329111. (diff) | |
download | gentoo-2-1bcf382ca02b326ffc86d06f70af81be7bae7b96.tar.gz gentoo-2-1bcf382ca02b326ffc86d06f70af81be7bae7b96.tar.bz2 gentoo-2-1bcf382ca02b326ffc86d06f70af81be7bae7b96.zip |
clean old
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-misc/dnetc')
-rw-r--r-- | app-misc/dnetc/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9011.498.ebuild | 79 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9013.498.ebuild | 93 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9101.507.ebuild | 79 |
4 files changed, 6 insertions, 252 deletions
diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog index 1588877155f8..efe95c53927c 100644 --- a/app-misc/dnetc/ChangeLog +++ b/app-misc/dnetc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/dnetc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.57 2010/02/23 10:04:22 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.58 2010/07/20 16:59:24 mr_bones_ Exp $ + + 20 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> + -dnetc-2.9011.498.ebuild, -dnetc-2.9013.498.ebuild, + -dnetc-2.9101.507.ebuild: + clean out old 23 Feb 2010; Patrick Lauer <patrick@gentoo.org> dnetc-2.9103.509.ebuild: Adding spool directory so dnetc runs properly, #306385 diff --git a/app-misc/dnetc/dnetc-2.9011.498.ebuild b/app-misc/dnetc/dnetc-2.9011.498.ebuild deleted file mode 100644 index b53f1f32e6a4..000000000000 --- a/app-misc/dnetc/dnetc-2.9011.498.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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.9011.498.ebuild,v 1.7 2009/11/18 15:02:07 jer 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="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz" - -LICENSE="distributed.net" -SLOT="0" -KEYWORDS="~x86 -*" -IUSE="" -RESTRICT="mirror" - -DEPEND="" -RDEPEND="" - -QA_PRESTRIPPED="opt/distributed.net/dnetc" - -S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc" - -pkg_setup() { - enewgroup dnetc - enewuser dnetc -1 -1 /opt/distributed.net dnetc -} - -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.* -} - -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 -} - -pkg_postinst() { - 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" - elog "Probably old init file and/or buffer files" - fi -} 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 9c9c8383cf33..000000000000 --- a/app-misc/dnetc/dnetc-2.9013.498.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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.9013.498.ebuild,v 1.5 2009/11/18 15:02:07 jer 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="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz" - -LICENSE="distributed.net" -SLOT="0" -KEYWORDS="~x86 -*" -RESTRICT="mirror" - -IUSE="" -DEPEND="" -RDEPEND="" - -QA_PRESTRIPPED="opt/distributed.net/dnetc" - -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/dnetc-2.9101.507.ebuild b/app-misc/dnetc/dnetc-2.9101.507.ebuild deleted file mode 100644 index fd5ed904601c..000000000000 --- a/app-misc/dnetc/dnetc-2.9101.507.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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.507.ebuild,v 1.3 2009/11/18 15:02:07 jer 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" - -QA_PRESTRIPPED="opt/distributed.net/dnetc" - -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 -} |