commit:     cd1af859907aa7049c21a589c07ccca7c5ae31ff
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Sun Dec  3 07:52:15 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 15:10:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd1af859

sys-process/atop: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6408

 sys-process/atop/Manifest            |  2 --
 sys-process/atop/atop-1.27_p3.ebuild | 42 -----------------------
 sys-process/atop/atop-2.2.ebuild     | 49 ---------------------------
 sys-process/atop/atop-2.3.0.ebuild   | 64 ------------------------------------
 sys-process/atop/files/atop.rc       | 15 ---------
 sys-process/atop/files/atop.rc-r1    |  8 -----
 6 files changed, 180 deletions(-)

diff --git a/sys-process/atop/Manifest b/sys-process/atop/Manifest
index d65838aa545..fb2b2381f0a 100644
--- a/sys-process/atop/Manifest
+++ b/sys-process/atop/Manifest
@@ -1,5 +1,3 @@
-DIST atop-1.27-3.tar.gz 159521 BLAKE2B 
a12291386d13064019f0c6ffab3f7e198d82a3a295444f35756320dec74884ae46ca712828a7a3bfecf763c90c71ea6bfcd82c9bae3fc8371cf5533532bedd16
 SHA512 
59100b61ff14ff49d8daf815abdbf5e9f905767fe8532b0043f3a63acc4d37975201879a93634f6e77edd307e8b6e7d0bf1a3caff1a3cdce8240e92e46023003
-DIST atop-2.2-3.tar.gz 194168 BLAKE2B 
7734c486fb83b1d4c00cccef35f01de0ae19442c6c49c65ff251c3abca1cee2af540cb1f8755eb8e039b4786aef6353c2b5b720f5a357d0932a8d632d87e1515
 SHA512 
34076e35004367bbfd63f3aac1e786dab566633799b5d4f2c4d45f343642d145027f6298aa40d5e83c1356f502e3c51faa58da07cea58f2960bfacd78cf77915
 DIST atop-2.3.0-netatop_h.patch 3279 BLAKE2B 
ac663d50c4474d28bbc1c6b70a2f439ccf7f6e0d8c759e6240736fc44bea788fc76eea18769422bf391079945515a12615bae3139ca758d03b4687653a1d5cd1
 SHA512 
9b84adf3e740eca5e42199bb3e9e65e08ffb07f60e7c02d04b73cfe4b63a4f563991a797def5826ba10a32c78d2363ebe9b4e41d12cf9e7118e3eb82d259c31b
 DIST atop-2.3.0-version_c.patch 1537 BLAKE2B 
eda9f0aa427e39ef12aa1584e6277de00577dff81a85085b8b12478a7631cb1739196a91feb684c2b9bdc0bd879493d1bb3a5dca8062da650cda78ae7744e934
 SHA512 
48589cb29cc969c25d0dbc5c5237200b28af6f1b5daf478abdd52079360938887f9de0fa4a379479c5bf8f3ba31946eba5aae19fe3246f36e82a132708840373
 DIST atop-2.3.0-version_h.patch 748 BLAKE2B 
95aa0e819d35498436ddb2554f457e9bf74a70395f077d8f0625b52469d3f4a1f5793afc061aa1f7105fbea6223bb19bbcb999be4231b761523eb28cb5243542
 SHA512 
79ea49421e9bd82322cae26148d608560910a3d2e089228d2218d93744dcba8398058dd75255b64d15301c8bc4bde1dd6e15b6c6949a01534557b24b3d79089d

diff --git a/sys-process/atop/atop-1.27_p3.ebuild 
b/sys-process/atop/atop-1.27_p3.ebuild
deleted file mode 100644
index 7e615c59c18..00000000000
--- a/sys-process/atop/atop-1.27_p3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="3"
-
-inherit eutils toolchain-funcs
-
-MY_PV=${PV//_p/-}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Resource-specific view of processes"
-HOMEPAGE="https://www.atoptool.nl/";
-SRC_URI="https://www.atoptool.nl/download/${MY_P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ~ppc64 x86"
-IUSE=""
-
-DEPEND="sys-process/acct"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       sed -i \
-               -e '/^CFLAGS/s: = -O : += :' \
-               -e '/^LDFLAGS/s: = : += :' \
-               -e 's:\<cc\>:$(CC):' \
-               Makefile
-       tc-export CC
-       cp "${FILESDIR}"/atop.rc atop.init
-       chmod a+rx atop.init
-       sed -i 's: root : :' atop.cron #191926
-}
-
-src_install() {
-       emake DESTDIR="${D}" INIPATH=/etc/init.d install || die
-       # useless -${PV} copies ?
-       rm -f "${D}"/usr/bin/atop*-${PV}
-       dodoc README "${D}"/etc/cron.d/*
-       rm -r "${D}"/etc/cron.d || die
-}

diff --git a/sys-process/atop/atop-2.2.ebuild b/sys-process/atop/atop-2.2.ebuild
deleted file mode 100644
index 2c3035fb4f8..00000000000
--- a/sys-process/atop/atop-2.2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils toolchain-funcs systemd
-
-MY_PV=${PV//_p/-}
-MY_P=${PN}-${MY_PV}-3
-
-DESCRIPTION="Resource-specific view of processes"
-HOMEPAGE="https://www.atoptool.nl/";
-SRC_URI="https://www.atoptool.nl/download/${MY_P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
-IUSE=""
-
-RDEPEND="
-       sys-libs/ncurses
-       sys-process/acct
-"
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-2.2-build.patch
-       epatch "${FILESDIR}"/${PN}-2.2-sysmacros.patch #580372
-       tc-export CC PKG_CONFIG
-       sed -i 's: root : :' atop.cronsysv || die #191926
-       # prefixify
-       sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
-}
-
-src_install() {
-       emake DESTDIR="${D}" genericinstall
-       # useless -${PV} copies ?
-       rm -f "${ED}"/usr/bin/atop*-${MY_PV}
-       newinitd "${FILESDIR}"/${PN}.rc-r1 ${PN}
-       newinitd "${FILESDIR}"/atopacct.rc atopacct
-       systemd_dounit "${FILESDIR}"/${PN}.service
-       systemd_dounit "${FILESDIR}"/atopacct.service
-       dodoc atop.cronsysv AUTHOR ChangeLog README
-}

diff --git a/sys-process/atop/atop-2.3.0.ebuild 
b/sys-process/atop/atop-2.3.0.ebuild
deleted file mode 100644
index 31cb7439dd3..00000000000
--- a/sys-process/atop/atop-2.3.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit linux-info systemd toolchain-funcs
-
-DESCRIPTION="Resource-specific view of processes"
-HOMEPAGE="https://www.atoptool.nl/ https://github.com/Atoptool/atop";
-SRC_URI="https://github.com/Atoptool/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-# Tarballs lacks version.{c,h} files
-SRC_URI+=" 
https://github.com/Atoptool/atop/commit/42e86fcc42ce60f8c92f3c7d5f3a6ccde47c0b33.patch
 -> ${PN}-2.3.0-version_h.patch"
-SRC_URI+=" 
https://github.com/Atoptool/atop/commit/a8d850d06efc8d70a19f55ec93fe83df51e99077.patch
 -> ${PN}-2.3.0-version_c.patch"
-SRC_URI+=" 
https://github.com/Atoptool/atop/commit/5f101e656a24271726d1e9cd672631b6033c36c1.patch
 -> ${PN}-2.3.0-netatop_h.patch"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
-IUSE=""
-
-RDEPEND="
-       sys-libs/ncurses:0=
-       sys-process/acct
-"
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.2-build.patch
-       "${FILESDIR}"/${PN}-2.2-sysmacros.patch #580372
-
-       # taken from upstream.
-       "${DISTDIR}"/${P}-version_{h,c}.patch
-       "${DISTDIR}"/${P}-netatop_h.patch
-)
-
-pkg_pretend() {
-       if use kernel_linux ; then
-               CONFIG_CHECK="~BSD_PROCESS_ACCT"
-               check_extra_config
-       fi
-}
-
-src_prepare() {
-       default
-       tc-export CC PKG_CONFIG
-       sed -i 's: root : :' atop.cronsysv || die #191926
-       # prefixify
-       sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
-}
-
-src_install() {
-       emake DESTDIR="${D}" genericinstall
-       # useless -${PV} copies ?
-       rm -f "${ED%/}"/usr/bin/atop*-${PV}
-       newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN}
-       newinitd "${FILESDIR}"/atopacct.rc atopacct
-       systemd_dounit "${FILESDIR}"/${PN}.service
-       systemd_dounit "${FILESDIR}"/atopacct.service
-       dodoc atop.cronsysv AUTHOR README
-}

diff --git a/sys-process/atop/files/atop.rc b/sys-process/atop/files/atop.rc
deleted file mode 100644
index f05db6a0e15..00000000000
--- a/sys-process/atop/files/atop.rc
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-start() {
-       ebegin "Starting atop"
-       start-stop-daemon --start --quiet --exec /etc/atop/atop.daily
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping atop"
-       start-stop-daemon --stop --exec /usr/bin/atop --pidfile 
/var/run/atop.pid
-       eend $?
-}

diff --git a/sys-process/atop/files/atop.rc-r1 
b/sys-process/atop/files/atop.rc-r1
deleted file mode 100644
index c5172283a21..00000000000
--- a/sys-process/atop/files/atop.rc-r1
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Resource-specific view of processes"
-pidfile="/var/run/atop.pid"
-command="/etc/atop/atop.daily"
-command_background="true"

Reply via email to