commit:     7cd2afad8f5f86a8a995fbd40bd1fd13196273de
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 22:57:48 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 23:04:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd2afad

net-analyzer/symon: drop old EAPI

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 net-analyzer/symon/Manifest          |   1 -
 net-analyzer/symon/symon-2.87.ebuild | 106 -----------------------------------
 2 files changed, 107 deletions(-)

diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest
index c8e4c0f69a7..98d712d76e1 100644
--- a/net-analyzer/symon/Manifest
+++ b/net-analyzer/symon/Manifest
@@ -1,2 +1 @@
-DIST symon-2.87.tar.gz 107607 BLAKE2B 
44f42ceff818c0643b02f59715ddc9b886e480233cc63c0c29f6a234b7c510d5e175a964b1cd3fadbf9b3d95642d79f947921e88b979f71650a81798acea7429
 SHA512 
8fce5cf2312f1d7ba78f693da2df9fea3bbeacae0c1b65f79c5f2444fcf07e07b11a5a7229ba762ac47ce484429a42f37bcbcc9e001fce0e5813a0dffd57a953
 DIST symon-2.88.tar.gz 110149 BLAKE2B 
918ecf6c87a363e85ce67f9890b2ff6d326f14f896cb85ee6e501b962cb4e476b8fab9d6a96857e63e34aa2ebd2036fbb507c52d74b66b59ff7d77c7bc571474
 SHA512 
d2079caefcde4cf017460560826c7bf9e97aee9dcce886cd0a85d671bdad877c513889c9b7cd67844dbb4161ce6b6e6f99709475dd2591141f1bc61ee11e8173

diff --git a/net-analyzer/symon/symon-2.87.ebuild 
b/net-analyzer/symon/symon-2.87.ebuild
deleted file mode 100644
index 45cfd03c95d..00000000000
--- a/net-analyzer/symon/symon-2.87.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils perl-module toolchain-funcs
-
-DESCRIPTION="Performance and information monitoring tool"
-HOMEPAGE="https://wpd.home.xs4all.nl/symon/";
-SRC_URI="https://wpd.home.xs4all.nl/symon/philes/${P}.tar.gz";
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="perl +symon symux"
-
-RDEPEND="perl? ( dev-lang/perl )
-       symux? ( net-analyzer/rrdtool )"
-DEPEND="${RDEPEND}
-       sys-devel/pmake"
-
-S=${WORKDIR}/${PN}
-
-# Deletes the directory passed as an argument from the internal pmake
-# variable SUBDIR.
-zap_subdir() {
-       sed -i "/^SUBDIR/s|$1||" Makefile || die
-}
-
-pkg_setup() {
-       use symon && USE_SYMON=1 && return
-
-       if ! use perl && ! use symon && ! use symux; then
-               ewarn "You have all available USE flags disabled. Therefore, 
only the"
-               ewarn "system monitor will be emerged. Please, enable at least 
one USE"
-               ewarn "flag to avoid this message."
-               USE_SYMON=1
-       fi
-}
-
-src_prepare() {
-       sed -i \
-               -e '/^[ \t]*${CC}.*\${LIBS}/s:\${CC}:$(CC) $(LDFLAGS):' \
-               sym*/Makefile || die
-}
-
-src_configure() {
-       # Do some sed magic in accordance with the USE flags.
-       use perl && [[ -z ${USE_SYMON} ]] && ! use symux && zap_subdir lib
-       ! use perl && zap_subdir client
-       ! use symux && zap_subdir symux
-       [[ -z ${USE_SYMON} ]] && zap_subdir symon
-}
-
-src_compile() {
-       pmake CC="$(tc-getCC)" CFLAGS+="${CFLAGS}" STRIP=true || die "pmake 
failed"
-}
-
-src_install() {
-       if [[ -n ${USE_SYMON} ]]; then
-               insinto /etc
-               doins "${FILESDIR}"/symon.conf
-
-               newinitd "${FILESDIR}"/symon-init.d symon
-
-               dodoc CHANGELOG HACKERS TODO
-
-               doman symon/symon.8
-               dosbin symon/symon
-       fi
-
-       if use perl; then
-               dobin client/getsymonitem.pl
-
-               perl_set_version
-               insinto ${VENDOR_LIB}
-               doins client/SymuxClient.pm
-       fi
-
-       if use symux; then
-               insinto /etc
-               doins "${FILESDIR}"/symux.conf
-
-               newinitd "${FILESDIR}"/symux-init.d symux
-
-               doman symux/symux.8
-               dosbin symux/symux
-
-               dodir /usr/share/symon
-               insinto /usr/share/symon
-               doins symux/c_smrrds.sh
-               fperms a+x /usr/share/symon/c_smrrds.sh
-
-               dodir /var/lib/symon/rrds/localhost
-       fi
-}
-
-pkg_postinst() {
-       if use symux; then
-               elog "The RRDs files can be obtained by running"
-               elog "/usr/share/symon/c_smrrds.sh all."
-               elog "For information about migrating RRDs from a previous"
-               elog "symux version read the LEGACY FORMATS section of 
symux(8)."
-               elog "To view the rrdtool pictures of the stored data, emerge"
-               elog "net-analyzer/syweb."
-       fi
-}

Reply via email to