From e36e812c73fc9e1d0f857c5aac2a7c4773400747 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Wed, 4 May 2005 18:45:47 +0000 Subject: version bump (Portage version: 2.0.51.19) --- net-analyzer/pmacct/ChangeLog | 7 +++- net-analyzer/pmacct/Manifest | 8 ++-- net-analyzer/pmacct/files/digest-pmacct-0.8.5 | 1 + net-analyzer/pmacct/pmacct-0.8.5.ebuild | 54 +++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 net-analyzer/pmacct/files/digest-pmacct-0.8.5 create mode 100644 net-analyzer/pmacct/pmacct-0.8.5.ebuild (limited to 'net-analyzer/pmacct') diff --git a/net-analyzer/pmacct/ChangeLog b/net-analyzer/pmacct/ChangeLog index 0b634928e9fe..636f5f9b09e5 100644 --- a/net-analyzer/pmacct/ChangeLog +++ b/net-analyzer/pmacct/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/pmacct # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.15 2005/05/01 17:13:40 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.16 2005/05/04 18:45:47 vanquirius Exp $ + +*pmacct-0.8.5 (04 May 2005) + + 04 May 2005; Marcelo Goes +pmacct-0.8.5.ebuild: + Version bump. 01 May 2005; Michael Hanselmann pmacct-0.8.3.ebuild: Stable on ppc. diff --git a/net-analyzer/pmacct/Manifest b/net-analyzer/pmacct/Manifest index e0f2142afdf6..0fbdb9e2a298 100644 --- a/net-analyzer/pmacct/Manifest +++ b/net-analyzer/pmacct/Manifest @@ -1,8 +1,10 @@ MD5 aacc87d5336d5db5fe412cc2d224f874 pmacct-0.8.4.ebuild 1505 -MD5 808a9a788ae7955af0a3c442cafee866 metadata.xml 243 MD5 1a8be45d950c81b34a3b76149de79975 pmacct-0.8.3.ebuild 1493 MD5 0941cfbcff9ce5484592c30d5be3db4f ChangeLog 2696 -MD5 5aada4dc083afac65f161d24379db6fc files/digest-pmacct-0.8.4 64 +MD5 aacc87d5336d5db5fe412cc2d224f874 pmacct-0.8.5.ebuild 1505 +MD5 808a9a788ae7955af0a3c442cafee866 metadata.xml 243 MD5 50333f1c79a80df31266ce7235cbf36c files/pmacctd-conf.d 313 -MD5 ab598b974f8a63136ead320763bf7a5f files/digest-pmacct-0.8.3 64 MD5 2afa8e97312b03f3e119c0befed9e7d3 files/pmacctd-init.d 869 +MD5 ab598b974f8a63136ead320763bf7a5f files/digest-pmacct-0.8.3 64 +MD5 5aada4dc083afac65f161d24379db6fc files/digest-pmacct-0.8.4 64 +MD5 f6c685e6ca8ed840ccd737080816aeec files/digest-pmacct-0.8.5 64 diff --git a/net-analyzer/pmacct/files/digest-pmacct-0.8.5 b/net-analyzer/pmacct/files/digest-pmacct-0.8.5 new file mode 100644 index 000000000000..e8569490e642 --- /dev/null +++ b/net-analyzer/pmacct/files/digest-pmacct-0.8.5 @@ -0,0 +1 @@ +MD5 996d6402946553f81d94e0a60e6fc509 pmacct-0.8.5.tar.gz 238893 diff --git a/net-analyzer/pmacct/pmacct-0.8.5.ebuild b/net-analyzer/pmacct/pmacct-0.8.5.ebuild new file mode 100644 index 000000000000..ba47c0dc1fc3 --- /dev/null +++ b/net-analyzer/pmacct/pmacct-0.8.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.8.5.ebuild,v 1.1 2005/05/04 18:45:47 vanquirius Exp $ + +MY_P="${P%_*}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="A network tool to gather ip traffic informations" +HOMEPAGE="http://www.ba.cnr.it/~paolo/pmacct/" +SRC_URI="http://www.ba.cnr.it/~paolo/pmacct/${P/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="ipv6 mmap mysql postgres" + +RDEPEND="virtual/libpcap + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql )" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i "s|\(CFLAGS=\).*$|\1\"${CFLAGS}\"|g" configure || die "sed failed" +} + +src_compile() { + econf \ + $(use_enable mysql) \ + $(use_enable postgres pgsql) \ + $(use_enable mmap) \ + $(use_enable ipv6) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc README EXAMPLES KNOWN-BUGS CONFIG-KEYS FAQS ChangeLog docs/SIGNALS \ + docs/PLUGINS docs/INTERNALS TODO TOOLS || die "dodoc failed" + + for dirname in examples sql; do + docinto ${dirname} + dodoc ${dirname}/* || die "dodoc ${dirname} failed" + done + + newinitd ${FILESDIR}/pmacctd-init.d pmacctd || die "newinitd failed" + newconfd ${FILESDIR}/pmacctd-conf.d pmacctd || die "newconfd failed" + + insinto /etc + newins ${S}/examples/pmacctd-imt.conf.example pmacctd.conf.example || \ + die "newins failed" +} -- cgit v1.2.3-65-gdbad