jer         14/10/28 11:09:21

  Modified:             ChangeLog
  Added:                symon-2.87.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.17                 net-analyzer/symon/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/ChangeLog?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/ChangeLog?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog   30 Jul 2014 14:49:12 -0000      1.16
+++ ChangeLog   28 Oct 2014 11:09:21 -0000      1.17
@@ -1,6 +1,11 @@
 # ChangeLog for net-analyzer/symon
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.16 
2014/07/30 14:49:12 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.17 
2014/10/28 11:09:21 jer Exp $
+
+*symon-2.87 (28 Oct 2014)
+
+  28 Oct 2014; Jeroen Roovers <[email protected]> +symon-2.87.ebuild:
+  Version bump.
 
   30 Jul 2014; Jeroen Roovers <[email protected]> symon-2.86-r1.ebuild,
   +files/symon-2.86-perl-5.18.patch:



1.1                  net-analyzer/symon/symon-2.87.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/symon-2.87.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/symon-2.87.ebuild?rev=1.1&content-type=text/plain

Index: symon-2.87.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/symon-2.87.ebuild,v 1.1 
2014/10/28 11:09:21 jer Exp $

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
}

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

                perlinfo
                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() {
        use perl && perl-module_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