public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Peter Volkov (pva)" <pva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/symon: metadata.xml Manifest symon-2.79-r2.ebuild ChangeLog
Date: Tue, 19 Aug 2008 06:59:51 +0000	[thread overview]
Message-ID: <E1KVLC3-00031N-DM@stork.gentoo.org> (raw)

pva         08/08/19 06:59:51

  Added:                metadata.xml Manifest symon-2.79-r2.ebuild
                        ChangeLog
  Log:
  Initial import from sunrise, bug #176635. Syweb splited into separate package. Thank Tiago Cunha for all the work.
  (Portage version: 2.2_rc8/cvs/Linux 2.6.22-ovz005 i686)

Revision  Changes    Path
1.1                  net-analyzer/symon/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>netmon</herd>
	<maintainer>
		<email>me@tiagocunha.org</email>
		<description>Tiago Cunha</description>
	</maintainer>
	<use>
		<flag name='perl'>Enables a generic perl symux client</flag>
		<flag name='symux'>Enables the multiplexer which stores incoming symon
		streams on disk in RRD files</flag>
	</use>
</pkgmetadata>



1.1                  net-analyzer/symon/Manifest

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/Manifest?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/Manifest?rev=1.1&content-type=text/plain

Index: Manifest
===================================================================
AUX symon-init.d 384 RMD160 779f0410c9ef4ec7ff83a8c4bd80949edd9ee5df SHA1 a60201406a2072a24458fc4ab6ef7af1a35e1c86 SHA256 13b9d627df34708ae4f436a8d10729c809f71d05ecd9f593a47cd6bf161eff28
AUX symon-symon.conf.patch 669 RMD160 b0f53dfbf6eaba2c292e6e9f9f91625f26498683 SHA1 5523fbc4db46114197c3e020c74c72822b93e545 SHA256 603b471778ec84f2ebbb57b5718a8624fb748ca5c6dde36f4943156acf9a2b10
AUX symon-symux.conf.patch 1858 RMD160 8882ef430e763791a47be90a1460f85550cc3e8b SHA1 0734a88eb4e4da0e91909c2120ebd7cf349e025c SHA256 d8e12296c32a302d0dda1c2d9f20782a6bdb1b87a65795e90775418bbc3a5f54
AUX symux-init.d 378 RMD160 438f3ee87579117db71fa346cd333cc4740b8a35 SHA1 bc5edf413f24aed698147767447f0266c4374415 SHA256 f887ab858987fc6f0984cba93dddbb1c82fb1ed515340002e373c0aa4541e584
DIST symon-2.79.tar.gz 102400 RMD160 693b798cd6c564f4e8b79c62c1776f5b036aaf1a SHA1 a21566f3291baaa39806bec32550d5a28a163213 SHA256 7157b087b99a59f3aba9a02c375fb1b411dc4329463f748d2323c3cdf3d0cd83
EBUILD symon-2.79-r2.ebuild 2929 RMD160 078f4edea06049f09e2ea202687d15557f5937c0 SHA1 5ee0c4473914a28056564175c6a48b73a882fb6a SHA256 f95aaa7f5154704e431079f043836ec3d3ea363ca4567fa48f4814e85946a13f
MISC ChangeLog 6824 RMD160 22f8df9daf167a0b8ef8d07a791bcb76f9ad95ea SHA1 9631497335c7e521b3a5fc400b3ef5fcf68e2c34 SHA256 691219b8b6d21e7b8f2c16351b3abb8b684ea446e9112b89a3ba026424b7b8e3
MISC metadata.xml 454 RMD160 20d5590da9a48eb2fbc78b207e6f1636152007e9 SHA1 46b74a457cb0d9073095e5a28569619d6e2c16d0 SHA256 d2b43ad2ea7e765539e213db74dad9ed3a11bbadb73b52c1e2c9773ec012e22d



1.1                  net-analyzer/symon/symon-2.79-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/symon-2.79-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/symon-2.79-r2.ebuild?rev=1.1&content-type=text/plain

Index: symon-2.79-r2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/symon-2.79-r2.ebuild,v 1.1 2008/08/19 06:59:50 pva Exp $

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 symux"

RDEPEND="perl? ( dev-lang/perl )
	symux? ( net-analyzer/rrdtool )"
DEPEND="${RDEPEND}
	virtual/pmake"

S=${WORKDIR}/${PN}

src_unpack() {
	unpack ${A}

	epatch "${FILESDIR}"/${PN}-symon.conf.patch
	use symux && epatch "${FILESDIR}"/${PN}-symux.conf.patch
	sed -i -e 's:/${CC}.*${LIBS}/s/${CC}/& ${LDFLAGS}/' \
			"${S}"/sy{mon,mux}/Makefile || die "seding for LDFLAGS failed"

	if ! use perl ; then
		sed -i "/SUBDIR/s/client//" "${S}"/Makefile || die "sed client failed"
	fi
	if ! use symux ; then
		sed -i "/SUBDIR/s/symux//" "${S}"/Makefile || die "sed symux failed"
	fi
}

src_compile() {
	MAKE=pmake MAKEOPTS= emake			\
		AR="$(tc-getAR)"				\
		CC="$(tc-getCC)"				\
		CFLAGS+="${CFLAGS}"				\
		RANLIB="$(tc-getRANLIB)"		\
		STRIP=true || die "emake failed"
}

src_install() {
	insinto /etc
	doins symon/symon.conf || die "doins symon.conf failed"

	newinitd "${FILESDIR}"/${PN}-init.d ${PN} || die "newinitd symon failed"

	dodoc CHANGELOG HACKERS TODO || die "dodoc failed"

	doman symon/symon.8 || die "doman symon failed"
	dosbin symon/symon || die "dosbin symon failed"

	dodir /usr/share/symon
	insinto /usr/share/symon
	doins symon/c_config.sh || die "doins c_config.sh failed"
	fperms a+x,u-w /usr/share/symon/c_config.sh

	if use perl ; then
		dobin client/getsymonitem.pl || die "dobin getsymonitem.pl failed"

		perlinfo
		insinto ${SITE_LIB}
		doins client/SymuxClient.pm || die "doins SymuxClient.pm failed"
	fi

	if use symux ; then
		insinto /etc
		doins symux/symux.conf || die "doins symux.conf failed"

		newinitd "${FILESDIR}"/symux-init.d symux || die "newinitd symux failed"

		doman symux/symux.8 || die "doman symux failed"
		dosbin symux/symux || die "dosbin symux failed"

		insinto /usr/share/symon
		doins symux/c_smrrds.sh || die "doins c_smrrds.sh failed"
		fperms u-w,u+x /usr/share/symon/c_smrrds.sh

		dodir /var/lib/symon/rrds/localhost
	fi
}

pkg_postinst() {
	elog "Before running the monitor, edit /etc/symon.conf. To test your"
	elog "configuration file, run symon -t."
	elog "NOTE that symon won't chroot by default."

	use perl && perl-module_pkg_postinst

	if use symux ; then
		elog "Before running the data collector, edit /etc/symux.conf."
		elog "To create the RRDs run /usr/share/symon/c_smrrds.sh all. Then,"
		elog "to test your configuration file, run symux -t."
		elog "For information about migrating RRDs from a previous symux"
		elog "version read the LEGACY FORMATS section of symux(8)."
		elog "To view the rrdtool pictures of the stored data, emerge syweb."
	fi
}



1.1                  net-analyzer/symon/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for net-analyzer/symon
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.1 2008/08/19 06:59:50 pva Exp $

*symon-2.79-r2 (19 Aug 2008)

  19 Aug 2008; Peter Volkov <pva@gentoo.org> +files/symon-init.d,
  +files/symon-symon.conf.patch, +files/symon-symux.conf.patch,
  +files/symux-init.d, +metadata.xml, +symon-2.79-r2.ebuild:
  Initial import from sunrise, bug #176635. Syweb splited into separate
  package. Thank Tiago Cunha for all the work.

  11 Aug 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> metadata.xml:
  Add USE flag description to metadata wrt GLEP 56

  06 Aug 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.79-r1.ebuild:
  Improve syweb elog messages by saying how to customize it, and mention that
  there's a no user interaction php script

  06 Aug 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> -symon-2.79.ebuild,
  +symon-2.79-r1.ebuild:
  Install syweb documentation, remove old

  31 Jul 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  symon doesn't use GNU make, hence ignore MAKEOPTS since some options aren't
  available in pmake (e.g. --load-average)

  31 Jul 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Tell the user how to test the configuration files, and how the RRDs
  directory structure for syweb should be organized

  31 Jul 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Make doins, dodoc, doman, dosbin, and dobin die on failure

  31 Jul 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Shorten DESCRIPTION

  21 Jul 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Improve elog messages

  16 Jul 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Rename 'client' USE flag to 'perl'

  11 Jun 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Simplify die messages, while there avoid using identical die messages in the
  same function to ease error identification

  03 Jun 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Simplify sed calls

  31 May 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Respect AR and RANLIB, while there beautify the ebuild

  08 Apr 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.79.ebuild:
  Prettify src_compile, virtual/httpd-cgi removed from RDEPEND since it isn't
  needed

  08 Apr 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  -symon-2.78-r2.ebuild, +symon-2.79.ebuild:
  Version bump (syweb bumped too), remove old

  21 Mar 2008; Jakub Moc <jakub@gentoo.org> symon-2.78-r2.ebuild:
  Improve webapp eclass handling and fix dependencies

  18 Mar 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  files/symon-symon.conf.patch, files/symon-symux.conf.patch:
  Prettify the configuration files, add resources for MP machines, while there
  insert missing comments to document the patch purpose

  18 Mar 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  files/symon-syweb-class_lexer.inc.patch,
  files/symon-syweb-setup.inc.patch,
  files/symon-syweb-total_firewall.layout.patch:
  Improve patch comment about renaming the directories, while there prettify them

  18 Mar 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r2.ebuild:
  Tell the user to test the configuration files only after creating the RRDs,
  since symux reads the configuration file with file access checks (prevents
  symux -t from giving warnings)

  18 Mar 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> files/symon-init.d,
  files/symux-init.d:
  Beautify the code by converting spaces to tabs

  23 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r2.ebuild:
  Remove slash from docinto, simplify elog messages

  19 Feb 2008; Jakub Moc <jakub@gentoo.org> symon-2.78-r2.ebuild:
  Fix php check in pkg_setup, add missing pkg_prerm for webapp.eclass

  18 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r2.ebuild:
  Introduce a new variable (CDEPEND) that will hold common dependencies for
  (R)DEPEND

  18 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  -symon-2.78-r1.ebuild, +symon-2.78-r2.ebuild:
  New USE flag 'client' added, remove old

  17 Feb 2008; (Tommy[D]) tommy100@gmx.de symon-2.78-r1.ebuild:
  Shorten description

  03 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> files/symon-init.d,
  files/symux-init.d:
  net is really necessary for the correct functioning of the service

  03 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Simplify elog messages

  02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Die if sed failed

  02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Append Gentoo CFLAGS in src_compile by using the CFLAGS variable from the
  portage environment instead of doing it with sed in src_unpack

  02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Put sed calls after epatch ones to prevent breaking patches, and use "${S}"
  instead of hardcoding the directories

  02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Do a safer pattern in sed when the user requested not to build the symux target

  02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Instead of using sed and avoiding pre-stripping in src_unpack, make the
  package use the STRIP variable from the portage environment in src_compile

  02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Instead of using sed and tc-getCC to call the correct gcc in src_unpack,
  make the package use the proper CC from the portage environment in
  src_compile

  10 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Avoid pre-stripping

  10 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Honour Gentoo CFLAGS

  10 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
  symon-2.78-r1.ebuild:
  Fix hardcoded CC

  09 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> files/symon-init.d,
  +files/symux-init.d, -symon-2.78.ebuild, +symon-2.78-r1.ebuild:
  New USE flag 'symux' added, remove old

  08 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.78.ebuild:
  Added ~amd64 keyword

  07 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.78.ebuild:
  Bump syweb, too

  07 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> -symon-2.77.ebuild,
  +symon-2.78.ebuild:
  Version bump, remove old

  06 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> +files/symon-init.d,
  +files/symon-symon.conf.patch, +files/symon-symux.conf.patch,
  +files/symon-syweb-class_lexer.inc.patch,
  +files/symon-syweb-setup.inc.patch,
  +files/symon-syweb-total_firewall.layout.patch, +metadata.xml,
  +symon-2.77.ebuild:
  New Ebuild for bug 176635







                 reply	other threads:[~2008-08-19  6:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KVLC3-00031N-DM@stork.gentoo.org \
    --to=pva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox