diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-05-23 06:08:03 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-05-23 06:08:27 +0200 |
commit | 9d381fe0e29c19566629bc27db282a192974d517 (patch) | |
tree | f5f040c3fd0d1e217c6bed6b707ae981e91c412f /net-analyzer | |
parent | games-rpg/runescape-launcher: add missing die statements (diff) | |
download | gentoo-9d381fe0e29c19566629bc27db282a192974d517.tar.gz gentoo-9d381fe0e29c19566629bc27db282a192974d517.tar.bz2 gentoo-9d381fe0e29c19566629bc27db282a192974d517.zip |
net-analyzer/symon: Old.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/symon/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/symon/symon-2.86-r1.ebuild | 110 |
2 files changed, 0 insertions, 111 deletions
diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest index b2d2833bb7ab..77d2042e7ac8 100644 --- a/net-analyzer/symon/Manifest +++ b/net-analyzer/symon/Manifest @@ -1,2 +1 @@ -DIST symon-2.86.tar.gz 106791 SHA256 c36457e53e91cbb478cb57d96bf40c718a8582e0b19bd4cba247002b7a6068b3 SHA512 13f96654ee4569ac0a92fd601962d2610e83d03a59b0772c385788586ee7bcc2639012388b8c123dd6f12368e21e834c5a12c32152fc73e9e87553889962ee46 WHIRLPOOL bc94567f1c7ca36d30afd74f2747cbb239e86b8b7255541ff5ca4e2adafaed794249f455339a04c8291260430279840395e02e3733619f0e3595da2fdbfd7d21 DIST symon-2.87.tar.gz 107607 SHA256 3c0fa1aa0073f66c45697ffc12bb8da669eb67aeac22041d21235bbc515a8602 SHA512 8fce5cf2312f1d7ba78f693da2df9fea3bbeacae0c1b65f79c5f2444fcf07e07b11a5a7229ba762ac47ce484429a42f37bcbcc9e001fce0e5813a0dffd57a953 WHIRLPOOL ce9277f03198fbfa197aaa3540d6f5226d3f449bf69a2ee083917f4afe2e6439cfcc3289792c1f1ecf727d004d6aec3f470a813700f033fa6d9e13390ed5ce22 diff --git a/net-analyzer/symon/symon-2.86-r1.ebuild b/net-analyzer/symon/symon-2.86-r1.ebuild deleted file mode 100644 index 597a0ee8ab2d..000000000000 --- a/net-analyzer/symon/symon-2.86-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils perl-module toolchain-funcs - -DESCRIPTION="Performance and information monitoring tool" -HOMEPAGE="http://www.xs4all.nl/~wpd/symon/" -SRC_URI="http://www.xs4all.nl/~wpd/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} - virtual/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 - - epatch "${FILESDIR}"/${P}-perl-5.18.patch -} - -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 -} |