diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-02-15 15:49:30 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-02-15 15:49:30 +0000 |
commit | 3017f32b04009d90ff6bf24b38143f8e4cf549d3 (patch) | |
tree | 229392c29c2555fc851131da792aa4c771076ce6 /net-analyzer/symon | |
parent | Version bump. (diff) | |
download | gentoo-2-3017f32b04009d90ff6bf24b38143f8e4cf549d3.tar.gz gentoo-2-3017f32b04009d90ff6bf24b38143f8e4cf549d3.tar.bz2 gentoo-2-3017f32b04009d90ff6bf24b38143f8e4cf549d3.zip |
Version bump.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/symon')
-rw-r--r-- | net-analyzer/symon/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/symon/symon-2.84.ebuild (renamed from net-analyzer/symon/symon-2.80.ebuild) | 37 |
2 files changed, 25 insertions, 22 deletions
diff --git a/net-analyzer/symon/ChangeLog b/net-analyzer/symon/ChangeLog index fd7dca906c6f..422b6fb1ed77 100644 --- a/net-analyzer/symon/ChangeLog +++ b/net-analyzer/symon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/symon -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.9 2011/06/01 02:44:21 jer Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.10 2012/02/15 15:49:30 jer Exp $ + +*symon-2.84 (15 Feb 2012) + + 15 Feb 2012; Jeroen Roovers <jer@gentoo.org> -symon-2.80.ebuild, + +symon-2.84.ebuild: + Version bump. *symon-2.83 (01 Jun 2011) diff --git a/net-analyzer/symon/symon-2.80.ebuild b/net-analyzer/symon/symon-2.84.ebuild index 378c8baa88d5..912f38ea33a4 100644 --- a/net-analyzer/symon/symon-2.80.ebuild +++ b/net-analyzer/symon/symon-2.84.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/symon-2.80.ebuild,v 1.1 2009/12/01 18:25:22 tcunha Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/symon-2.84.ebuild,v 1.1 2012/02/15 15:49:30 jer Exp $ -EAPI="1" +EAPI=4 inherit perl-module toolchain-funcs @@ -25,7 +25,7 @@ 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 "sed $1 failed" + sed -i "/^SUBDIR/s/$1//" Makefile || die } pkg_setup() { @@ -39,10 +39,7 @@ pkg_setup() { fi } -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { # Respect LDFLAGS. sed -i "/^[ \t]*\${CC}.*\${LIBS}/s/\${CC}/& \${LDFLAGS}/" sym*/Makefile \ || die "sed ldflags failed" @@ -61,36 +58,36 @@ src_compile() { src_install() { if [[ -n ${USE_SYMON} ]]; then insinto /etc - doins "${FILESDIR}"/symon.conf || die "doins symon.conf failed" + doins "${FILESDIR}"/symon.conf - newinitd "${FILESDIR}"/symon-init.d symon || die "newinitd symon failed" + newinitd "${FILESDIR}"/symon-init.d symon - dodoc CHANGELOG HACKERS TODO || die "dodoc failed" + dodoc CHANGELOG HACKERS TODO - doman symon/symon.8 || die "doman symon failed" - dosbin symon/symon || die "dosbin symon failed" + doman symon/symon.8 + dosbin symon/symon fi if use perl; then - dobin client/getsymonitem.pl || die "dobin getsymonitem.pl failed" + dobin client/getsymonitem.pl perlinfo insinto ${VENDOR_LIB} - doins client/SymuxClient.pm || die "doins SymuxClient.pm failed" + doins client/SymuxClient.pm fi if use symux; then insinto /etc - doins "${FILESDIR}"/symux.conf || die "doins symux.conf failed" + doins "${FILESDIR}"/symux.conf - newinitd "${FILESDIR}"/symux-init.d symux || die "newinitd symux failed" + newinitd "${FILESDIR}"/symux-init.d symux - doman symux/symux.8 || die "doman symux failed" - dosbin symux/symux || die "dosbin symux failed" + doman symux/symux.8 + dosbin symux/symux dodir /usr/share/symon insinto /usr/share/symon - doins symux/c_smrrds.sh || die "doins c_smrrds.sh failed" + doins symux/c_smrrds.sh fperms a+x /usr/share/symon/c_smrrds.sh dodir /var/lib/symon/rrds/localhost |