From 06a6b968363f711e7b73ff7ef6bbb38e10c0ffab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20R=C3=BCger?= Date: Fri, 28 Aug 2015 05:43:51 +0200 Subject: [PATCH] app-misc/dnetc: Remove old Package-Manager: portage-2.2.20.1 --- app-misc/dnetc/Manifest | 5 -- app-misc/dnetc/dnetc-2.9011.496-r1.ebuild | 79 ------------------- app-misc/dnetc/dnetc-2.9015.504.ebuild | 93 ----------------------- app-misc/dnetc/dnetc-2.9103.509.ebuild | 86 --------------------- 4 files changed, 263 deletions(-) delete mode 100644 app-misc/dnetc/dnetc-2.9011.496-r1.ebuild delete mode 100644 app-misc/dnetc/dnetc-2.9015.504.ebuild delete mode 100644 app-misc/dnetc/dnetc-2.9103.509.ebuild diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest index dae4da3887de..f43cf5735d76 100644 --- a/app-misc/dnetc/Manifest +++ b/app-misc/dnetc/Manifest @@ -1,8 +1,3 @@ -DIST dnetc496-linux-amd64-elf.tar.gz 481070 SHA256 62a53e583beef2728062fc3cda172faa56540cd48458c37a102d2f9f818ce612 SHA512 288397a0508735f5ef774915e8981b42be412e9c9c257746114fd05dc966d93380dc2d1021eeb995964e76df2fa99daed74ba37a902773fe7bee597c4ec452ef WHIRLPOOL 56838a94a478eb781cdde25438b39c0aee947035b4cf2c89b9bd442239b3982cd483385ed1611e94267f8f36ef302805d8ceb902494f341de070e93e04876574 -DIST dnetc496-linux-x86-elf-uclibc.tar.gz 255750 SHA256 14e07c30e88f2817ed2f11373e85cfce18328e4fa79a3d4717f0ffd2b186af67 SHA512 b849197c015c2c5750e57c2a4d8e3543bed70bdef552d98c889f9af626866fcc932dc716092fa6822400a10f1f051f5b30282531b9af8b3059b0b1ff201eb005 WHIRLPOOL a25aa6696c201f3399a9a644ff4a442a640f880ed8fe71523dd27e91497e4ed2ad8a2ed30b95bd2b0d4a2eefb043c9d9fac0df8f9102cbf251030fab635c637d -DIST dnetc504-linux-x86-elf-uclibc.tar.gz 261208 SHA256 084d0041a63efb952e35673c6b596105c5a1ba98a8ea9e942863e89f0552f3bd SHA512 37fd5dbc82cf30bd0934b1839e540bf872e16698359dc7bfd726ab68664bd7c496ffb907e612d13910ce31a228e2e00b2baf77e8235e278e5b4bc4af40dcd9f9 WHIRLPOOL 77ea716391aac747f3e0e4473b80853807985639bd8087d82bc920b049b83b401fae05105cb9131809d1f6dc2cd9ec28b6e43f7323e7a20f7c31c567d91ca8a3 -DIST dnetc509-linux-amd64-elf.tar.gz 887739 SHA256 97799e6206c57f768bd2f4e62996273b066c31d400ab42c8d50a9a9fbffc0278 SHA512 b4c9796c452c3c3c9afdad085fc5c48695973d0ef633792832a11851338cb55d6d4ff7d19cbec1cdbdbd6a43f72926bed970f6d70b5605c2b7a645bf369a43db WHIRLPOOL 5d65cb8c308084ca7ae1739c6254b6d0c5cd7d1cc27ac3e70a61862f09ed64aa9ed0de6f1b7f575701784cca36cb7cb22deb296c0247a66186aba16797e81d81 -DIST dnetc509-linux-x86-elf-uclibc.tar.gz 667536 SHA256 85fd690317c1546a6698968b71a47c07308c120b7d242857d84a5a0df98461ef SHA512 58288cdb1ea5c7b1ec57073b275c42f3025eeca57be0c2a6d3b387c6c562ed4f34e236b824f0f13f49144cdf51939e80c6ff7615db8ac77936819c7b3d0b2874 WHIRLPOOL b9cab2388f32b8f1da5bf06e3f1e9c7190ae4ca691e684a7cce8d572d20d25d0c17a21a96412fe05a4528a40535d042e6d2725675e0463d4a7bbbfcc8de64207 DIST dnetc516-linux-sparc-v7.tar.gz 881743 SHA256 39441cf0c7b21cd1af1636698eb96769ffc46bc68331d5c4975d8485cfb8c352 SHA512 d70410773a14fe7237e0c542f45ab69f840dfd484622923da3abf723ffacf82bf94ecaa1d2089ab9326121ed4b3562ace7b267ed57bbf2c0971793b25fd30958 WHIRLPOOL 8f9628bb3521770044e4ecc33c4d7a5deb3602e1727d465eb0a8ffd95eff6908f97f174ecb852bf6f54a1ea83bf9185d1a97e8f9778a17fc2a60b769cda0e9c1 DIST dnetc517-linux-amd64.tar.gz 645416 SHA256 5a2c7cf2ef50c5b895cb43751d94148523e0cc8283f3663601b10a7f83ddce38 SHA512 b22b59af2352a95156ea4b584f48d82e4b64080130d922bbb1797b2c62f7c401ec1263f2f0bd57103134f8fc76ef41a7e09d7da083ef0b46c44be4239005c21b WHIRLPOOL 4ec29bdf6a5d3dd1ba394ce12d6da8052577465f93e6f3ab4069ad6b51fe08e5aebcc3f108ee561a0a3319e8335a45e971fbbacfa67eb353a5664259acf56882 DIST dnetc517-linux-x86-elf-uclibc.tar.gz 676398 SHA256 3245bb10705383983e9764340688ffe0fd74cbe69810ae3c9ef426b8df81e067 SHA512 7b56fa8c6819fd7060612c13c8fb17ca1e949abbca965b7599bb072751acd1d0e95f1a90fb67172c6d406b54e0c52549582489802e538670bdb6d12f8354e2a7 WHIRLPOOL 6906d777329615952b0d5c91730666089161e02a71d3a91cb5e9ea4364cce85047b58859f2cf6612a1b922745652a1fd0af0cb22f0e72ef47e9eab162d945489 diff --git a/app-misc/dnetc/dnetc-2.9011.496-r1.ebuild b/app-misc/dnetc/dnetc-2.9011.496-r1.ebuild deleted file mode 100644 index 53b45aacb85c..000000000000 --- a/app-misc/dnetc/dnetc-2.9011.496-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit user - -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 GPL-2" -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 -} diff --git a/app-misc/dnetc/dnetc-2.9015.504.ebuild b/app-misc/dnetc/dnetc-2.9015.504.ebuild deleted file mode 100644 index 4ff8b2c5e557..000000000000 --- a/app-misc/dnetc/dnetc-2.9015.504.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit user 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 GPL-2" -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.9103.509.ebuild b/app-misc/dnetc/dnetc-2.9103.509.ebuild deleted file mode 100644 index a82c2d1fec13..000000000000 --- a/app-misc/dnetc/dnetc-2.9103.509.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 -inherit user - -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 GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="mirror" - -DEPEND="" -RDEPEND="net-dns/bind-tools" - -QA_PRESTRIPPED="opt/distributed.net/dnetc" - -S=${WORKDIR}/dnetc - -src_prepare() { - if use amd64; then - mv dnetc${MIN_PV}-linux-amd64-elf dnetc - elif use x86; then - mv dnetc${MIN_PV}-linux-x86-elf-uclibc dnetc - 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 - - keepdir /var/spool/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 -} -- 2.26.2