summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-07-21 16:21:47 +0000
committerJeroen Roovers <jer@gentoo.org>2010-07-21 16:21:47 +0000
commit11b2623df601436781aee847701479073934ab99 (patch)
treef8909503b94b5fdfb1524d7a6e0cf7d94f922a07 /net-analyzer/pmacct
parentFirst commit (diff)
downloadhistorical-11b2623df601436781aee847701479073934ab99.tar.gz
historical-11b2623df601436781aee847701479073934ab99.tar.bz2
historical-11b2623df601436781aee847701479073934ab99.zip
Version bump thanks to Marcin Mirosław (bug #329271). Improve description.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'net-analyzer/pmacct')
-rw-r--r--net-analyzer/pmacct/ChangeLog325
-rw-r--r--net-analyzer/pmacct/Manifest6
-rw-r--r--net-analyzer/pmacct/metadata.xml2
-rw-r--r--net-analyzer/pmacct/pmacct-0.12.2.ebuild61
4 files changed, 72 insertions, 322 deletions
diff --git a/net-analyzer/pmacct/ChangeLog b/net-analyzer/pmacct/ChangeLog
index a98fd529d2ac..2cbd9cb46f32 100644
--- a/net-analyzer/pmacct/ChangeLog
+++ b/net-analyzer/pmacct/ChangeLog
@@ -1,324 +1,11 @@
# ChangeLog for net-analyzer/pmacct
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.66 2010/06/17 20:32:12 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.67 2010/07/21 16:21:47 jer Exp $
- 17 Jun 2010; Patrick Lauer <patrick@gentoo.org> pmacct-0.11.5-r1.ebuild,
- pmacct-0.12.0-r1.ebuild, pmacct-0.12.1.ebuild:
- Migrating away from deprecated postgres virtuals
+*pmacct-0.12.2 (21 Jul 2010)
-*pmacct-0.12.1 (11 May 2010)
-
- 11 May 2010; Jeroen Roovers <jer@gentoo.org> +pmacct-0.12.1.ebuild:
- Version bump thanks to Marcin Mirosław (bug #318843).
-
-*pmacct-0.12.0-r1 (01 Mar 2010)
-
- 01 Mar 2010; Jeroen Roovers <jer@gentoo.org> -pmacct-0.12.0.ebuild,
- +pmacct-0.12.0-r1.ebuild:
- Add missing sqlite support in econf call thanks to Marcel Klein (bug
- #307339).
-
- 25 Feb 2010; Jeroen Roovers <jer@gentoo.org> pmacct-0.12.0.ebuild,
- +files/pmacct-0.12.0-gentoo.patch, metadata.xml:
- Remove IUSE=mmap. Add IUSE="threads ulog" thanks to Marcin Mirosław (bug
- #306641). Replace broken sed script with something that both respects
- CFLAGS and does not remove vital -DEFINES. Install UPGRADE doc.
-
-*pmacct-0.12.0 (23 Feb 2010)
-
- 23 Feb 2010; Jeroen Roovers <jer@gentoo.org> +pmacct-0.12.0.ebuild:
- Version bump thanks to Marcin Mirosław (bug #306531).
-
- 01 Jun 2009; Peter Volkov <pva@gentoo.org> -pmacct-0.11.3.ebuild,
- -pmacct-0.11.4.ebuild, pmacct-0.11.5-r1.ebuild, files/pmacctd-init.d,
- -files/pmacctd-init.d.1:
- Remove old. Renamed pmacctd-init.d.1 into pmacctd-init.d
-
- 30 May 2009; nixnut <nixnut@gentoo.org> pmacct-0.11.5-r1.ebuild:
- ppc stable #271104
-
- 29 May 2009; Steve Dibb <beandog@gentoo.org> pmacct-0.11.5-r1.ebuild:
- amd64 stable, bug 271104
-
- 27 May 2009; Christian Faulhammer <fauli@gentoo.org>
- pmacct-0.11.5-r1.ebuild:
- stable x86, bug 271104
-
- 24 May 2009; Peter Volkov <pva@gentoo.org> pmacct-0.11.3.ebuild,
- pmacct-0.11.4.ebuild, -pmacct-0.11.5.ebuild, pmacct-0.11.5-r1.ebuild:
- sqlite3 USE flag renamed to sqlite, bug #251395, thank Henrique Rodrigues
- for report.
-
-*pmacct-0.11.5-r1 (16 Nov 2008)
-
- 16 Nov 2008; Peter Volkov <pva@gentoo.org> +files/pmacctd-init.d.1,
- +pmacct-0.11.5-r1.ebuild:
- Fixed inability to stop pmacctd, bug #234051 thank Patrick for report and
- fix.
-
- 04 Aug 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml:
- Describe local USE flags for GLEP 56.
-
-*pmacct-0.11.5 (26 Jul 2008)
-
- 26 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org>
- +pmacct-0.11.5.ebuild:
- Version bump, #232915
-
- 19 May 2008; Tiziano Müller <dev-zero@gentoo.org> pmacct-0.11.3.ebuild,
- pmacct-0.11.4.ebuild:
- Changed dependency for postgresql to virtual/postgresql-base
-
- 31 Mar 2008; Cédric Krier <cedk@gentoo.org> -pmacct-0.9.5.ebuild,
- -pmacct-0.11.2-r1.ebuild, pmacct-0.11.3.ebuild, pmacct-0.11.4.ebuild:
- Fix RDEPEND for bug #199216 and remove old
-
- 20 Jan 2008; Raúl Porcel <armin76@gentoo.org> pmacct-0.11.4.ebuild:
- x86 stable
-
-*pmacct-0.11.4 (25 Aug 2007)
-
- 25 Aug 2007; Cédric Krier <cedk@gentoo.org> +pmacct-0.11.4.ebuild:
- Version bump
-
- 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- pmacct-0.11.3.ebuild:
- ppc. stable
-
- 28 Mar 2007; Cedric Krier <cedk@gentoo.org> files/pmacctd-conf.d,
- files/pmacctd-init.d:
- Improve init script for bug #172281
-
- 20 Mar 2007; Raúl Porcel <armin76@gentoo.org> pmacct-0.11.3.ebuild:
- x86 stable
-
-*pmacct-0.11.3 (31 Jan 2007)
-
- 31 Jan 2007; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.10.3.ebuild,
- -pmacct-0.11.2.ebuild, +pmacct-0.11.3.ebuild:
- 0.11.3 version bump, remove old ebuilds.
-
-*pmacct-0.11.2-r1 (15 Jan 2007)
-
- 15 Jan 2007; Cedric Krier <cedk@gentoo.org> +pmacct-0.11.2-r1.ebuild:
- Add sqlite3 flag for bug #144520
-
-*pmacct-0.11.2 (02 Dec 2006)
-
- 02 Dec 2006; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.10.2.ebuild,
- +pmacct-0.11.2.ebuild:
- 0.11.2 version bump, remove old 0.10.2 version.
-
- 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> pmacct-0.9.5.ebuild,
- pmacct-0.10.2.ebuild, pmacct-0.10.3.ebuild:
- dev-db/mysql => virtual/mysql
-
-*pmacct-0.10.3 (01 Jul 2006)
-
- 01 Jul 2006; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.10.1.ebuild,
- +pmacct-0.10.3.ebuild:
- 0.10.3 version bump for bug 137670. Thanks to Wolfram Schlich <wschlich at
- gentoo dot org>.
-
-*pmacct-0.10.2 (03 Jun 2006)
-
- 03 Jun 2006; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.10.0.ebuild,
- +pmacct-0.10.2.ebuild:
- 0.10.2 version bump.
-
-*pmacct-0.10.1 (18 Apr 2006)
-
- 18 Apr 2006; Marcelo Goes <vanquirius@gentoo.org> +pmacct-0.10.1.ebuild:
- 0.10.1 version bump. New HOMEPAGE at pmacct.net.
-
-*pmacct-0.10.0 (22 Mar 2006)
-
- 22 Mar 2006; Marcelo Goes <vanquirius@gentoo.org>
- -pmacct-0.10.0_rc2.ebuild, -pmacct-0.10.0_rc3.ebuild,
- +pmacct-0.10.0.ebuild:
- 0.10.0 version bump.
-
- 01 Mar 2006; Marcelo Goes <vanquirius@gentoo.org>
- -pmacct-0.10.0_rc1.ebuild, +pmacct-0.10.0_rc3.ebuild:
- 0.10.0_rc3 version bump.
-
- 15 Feb 2006; Markus Ullmann <jokey@gentoo.org> pmacct-0.9.5.ebuild,
- pmacct-0.10.0_rc1.ebuild, pmacct-0.10.0_rc2.ebuild:
- Removing virtual/libpcap wrt bug #117898
-
-*pmacct-0.10.0_rc2 (14 Feb 2006)
-
- 14 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.9.6.ebuild,
- +pmacct-0.10.0_rc2.ebuild:
- 0.10.0_rc2 version bump.
-
-*pmacct-0.10.0_rc1 (24 Jan 2006)
-
- 24 Jan 2006; Marcelo Goes <vanquirius@gentoo.org>
- +pmacct-0.10.0_rc1.ebuild:
- 0.10.0_rc1 version bump.
-
- 15 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.8.7.ebuild:
- Remove old ebuild.
-
- 15 Jan 2006; Michael Hanselmann <hansmi@gentoo.org> pmacct-0.9.5.ebuild:
- Stable on ppc.
-
- 09 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> pmacct-0.9.5.ebuild:
- Mark 0.9.5 x86 stable.
-
-*pmacct-0.9.6 (27 Dec 2005)
-
- 27 Dec 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.9.4_p1.ebuild,
- +pmacct-0.9.6.ebuild:
- 0.9.6 version bump.
-
-*pmacct-0.9.5 (07 Dec 2005)
-
- 07 Dec 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.9.4.ebuild,
- +pmacct-0.9.5.ebuild:
- 0.9.5 version bump.
-
-*pmacct-0.9.4_p1 (15 Nov 2005)
-
- 15 Nov 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.9.3.ebuild,
- +pmacct-0.9.4_p1.ebuild:
- 0.9.4_p1 version bump.
-
-*pmacct-0.9.4 (08 Nov 2005)
-
- 08 Nov 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.9.2.ebuild,
- +pmacct-0.9.4.ebuild:
- 0.9.4 version bump.
-
-*pmacct-0.9.3 (11 Oct 2005)
-
- 11 Oct 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.9.1.ebuild,
- +pmacct-0.9.3.ebuild:
- 0.9.3 version bump.
-
-*pmacct-0.9.2 (15 Sep 2005)
-
- 15 Sep 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.8.5.ebuild,
- -pmacct-0.8.6.ebuild, -pmacct-0.8.8.ebuild, -pmacct-0.9.0.ebuild,
- +pmacct-0.9.2.ebuild:
- Version bump, removing old versions. Added debug and 64bit USE flags to 0.9.2.
-
-*pmacct-0.9.1 (16 Aug 2005)
-
- 16 Aug 2005; Marcelo Goes <vanquirius@gentoo.org> +pmacct-0.9.1.ebuild:
- Version bump.
-
- 14 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> pmacct-0.8.7.ebuild:
- Stable on ppc.
-
-*pmacct-0.9.0 (25 Jul 2005)
-
- 25 Jul 2005; Marcelo Goes <vanquirius@gentoo.org> pmacct-0.8.7.ebuild,
- +pmacct-0.9.0.ebuild:
- 0.8.7 x86 stable, 0.9.0 version bump.
-
-*pmacct-0.8.8 (27 Jun 2005)
-
- 27 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.8.3.ebuild,
- -pmacct-0.8.4.ebuild, pmacct-0.8.6.ebuild, +pmacct-0.8.8.ebuild:
- Version bump, marking 0.8.6 x86 stable.
-
- 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> pmacct-0.8.5.ebuild:
- Stable on ppc.
-
-*pmacct-0.8.7 (16 Jun 2005)
-
- 16 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> +pmacct-0.8.7.ebuild:
- According to Paolo Lucente, libpcap from CVS is not a *requirement*, so here
- is the version bump.
-
- 14 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> pmacct-0.8.5.ebuild:
- Marked 0.8.5 x86 stable. Note that version 0.8.7 is out, but I am not adding
- it yet because it possibly requires libpcap from cvs.
-
-*pmacct-0.8.6 (24 May 2005)
-
- 24 May 2005; Marcelo Goes <vanquirius@gentoo.org> +pmacct-0.8.6.ebuild:
- Version bump.
-
- 14 May 2005; Marcelo Goes <vanquirius@gentoo.org> pmacct-0.8.4.ebuild:
- Marked x86 stable.
-
-*pmacct-0.8.5 (04 May 2005)
-
- 04 May 2005; Marcelo Goes <vanquirius@gentoo.org> +pmacct-0.8.5.ebuild:
- Version bump.
-
- 01 May 2005; Michael Hanselmann <hansmi@gentoo.org> pmacct-0.8.3.ebuild:
- Stable on ppc.
-
- 29 Apr 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.8.2.ebuild,
- pmacct-0.8.3.ebuild:
- Marked 0.8.3 x86 stable, removing old ebuild.
-
- 14 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> pmacct-0.8.4.ebuild:
- added ~amd64 to KEYWORDS, fixes #89082
-
-*pmacct-0.8.4 (14 Apr 2005)
-
- 14 Apr 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.8.1.ebuild,
- -pmacct-0.8.1_p1.ebuild, pmacct-0.8.2.ebuild, +pmacct-0.8.4.ebuild:
- Removing old versions, marking 0.8.2 x86 stable and adding 0.8.4. The last
- version now works with gcc-4.
-
-*pmacct-0.8.3 (29 Mar 2005)
-
- 29 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> -pmacct-0.8.0.ebuild,
- +pmacct-0.8.3.ebuild:
- Version bump, removing old version.
-
-*pmacct-0.8.2 (08 Mar 2005)
-
- 08 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> -pmacct-0.7.1.ebuild,
- -pmacct-0.7.9.ebuild, +pmacct-0.8.2.ebuild:
- Version bump for bug 84505; tidy old ebuilds.
-
-*pmacct-0.8.1_p1 (23 Feb 2005)
-
- 23 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> pmacct-0.8.1.ebuild,
- +pmacct-0.8.1_p1.ebuild:
- Version bump for bug 82996; marked 0.8.1 stable on x86.
-
- 29 Jan 2005; Daniel Black <dragonheart@gentoo.org> pmacct-0.7.1.ebuild,
- pmacct-0.7.9.ebuild, pmacct-0.8.0.ebuild, pmacct-0.8.1.ebuild:
- changed net-libs/libpcap depend to virtual/libcap
-
-*pmacct-0.8.1 (25 Jan 2005)
-
- 25 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> -pmacct-0.7.0.ebuild,
- +pmacct-0.8.1.ebuild:
- Version bump for bug 79466.
-
-*pmacct-0.8.0 (13 Jan 2005)
-
- 13 Jan 2005; Daniel Black <dragonheart@gentoo.org> +pmacct-0.8.0.ebuild:
- Version bump as per bug #77696. Thanks to Vanquirius <marcelogoes@gmail.com>
-
-*pmacct-0.7.9 (09 Jan 2005)
-
- 09 Jan 2005; Daniel Black <dragonheart@gentoo.org> +pmacct-0.7.9.ebuild:
- Version bump as per bug #75194. Thanks to Vanquirius <marcelogoes@gmail.com>
-
- 16 Aug 2004; Eldad Zack <eldad@gentoo.org> pmacct-0.7.1.ebuild:
- x86 stable
-
- 17 Jul 2004; David Holm <dholm@gentoo.org> pmacct-0.7.1.ebuild:
- Added to ~ppc.
-
-*pmacct-0.7.1 (16 Jul 2004)
-
- 16 Jul 2004; Eldad Zack <eldad@gentoo.org> +pmacct-0.7.1.ebuild:
- Version bump. Added mmap useflag. dodoc fixes. Thanks to Bjarke Freund-Hansen
- <gentoo-bugzilla@rocekiller.dk>. Closes #57173
-
- 09 Jul 2004; Eldad Zack <eldad@gentoo.org> +files/pmacctd-conf.d,
- +files/pmacctd-init.d:
- Initial ebuild. Thanks to Bjarke Freund-Hansen
- <gentoo-bugzilla@rocekiller.dk>. Closes #49912.
+ 21 Jul 2010; Jeroen Roovers <jer@gentoo.org> +pmacct-0.12.2.ebuild,
+ metadata.xml:
+ Version bump thanks to Marcin Mirosław (bug #329271). Improve
+ description.
diff --git a/net-analyzer/pmacct/Manifest b/net-analyzer/pmacct/Manifest
index 007777844a1e..80120c000718 100644
--- a/net-analyzer/pmacct/Manifest
+++ b/net-analyzer/pmacct/Manifest
@@ -4,8 +4,10 @@ AUX pmacctd-init.d 744 RMD160 7c8fb28b0c7cc86c293991e8ec1829e445308bcf SHA1 ce12
DIST pmacct-0.11.5.tar.gz 423251 RMD160 4f54c8102bc1a759beddf749667839d420783767 SHA1 f4ca3086153094a1335d059b0aee9015f0079bf9 SHA256 d26b98e8a8cb670222983df46746d860e27beca032b5feff6439c3f3c0aad752
DIST pmacct-0.12.0.tar.gz 523032 RMD160 f2ea296ec21929094235f6877ec1be32f15cba5d SHA1 6502ac135d84ed30173c9a0acbdc8772505f9246 SHA256 4a3543597ca107cadf50a7fc4bfe0d3ed9ab4fdd17de01bce98132289a427cd0
DIST pmacct-0.12.1.tar.gz 530342 RMD160 31f2ee5d15e0835a64c06f9b24e2acc137e3d862 SHA1 3266bc4493e61558293b7a36441e2e8b385b25e8 SHA256 e562a416b2483e4611764e9633e8b8b50b5ce008322f27994e6af6479a39f65a
+DIST pmacct-0.12.2.tar.gz 536431 RMD160 0a0961a586d55259fc3b52c7718d41bc907e5859 SHA1 49c962593c3cbb98fedc8e33c0f6afecc594254f SHA256 5b4555ae2bc70eff9ad6ffc0a656108edd007bd826fa6df9bd16b98314ca760d
EBUILD pmacct-0.11.5-r1.ebuild 1550 RMD160 d39c0c436d3aeb5cc4961b0f07986d46faa13e7a SHA1 0cf7f951bcf9796294c9839b7231d3225cd10fd6 SHA256 12c2579288634a41f86f1baccf90a9d1d52efde35ee63ccd3245f08076c6c6fd
EBUILD pmacct-0.12.0-r1.ebuild 1649 RMD160 72718a2084f35b1be424a306bd400cfe3eca4882 SHA1 50b0cedc2a67a1b5a5cab7a2e1cef1dd59629d66 SHA256 40cba5d5ca162652a19b8f6778bcf102894401c99a46ef89e5878ff0b6e974d4
EBUILD pmacct-0.12.1.ebuild 1654 RMD160 785cb39ff6bcf3b72bf166cc4c4f3b2df0deb631 SHA1 f4379c00dfdeb0c9d3e9d5e3f41cb1254ee425fe SHA256 27b8a5cfb5fafffb67d0518267a6c0ac6671c59792809e17fcf23d067d5fefc4
-MISC ChangeLog 10577 RMD160 b79a47f6c44d1016fd50c0386d39c6d09fbf82cc SHA1 1a638a9e2dd24d4a1ee15373c5f7db2ad0f88945 SHA256 ddfad7e37930d4a9a84ec13da7c19fc94a886390c4931901846140ac708c1f5e
-MISC metadata.xml 372 RMD160 1bab87a692e77b8e8e12bfd47f0db1aac5a76168 SHA1 c4a31334d73bd8f0f2785db76844e08c8d6ceeb8 SHA256 db6afbab5c0bf494f40313b04f765059a286260c39de873bde101d41038b9fd0
+EBUILD pmacct-0.12.2.ebuild 1649 RMD160 53943b5cadb973f943b0e0627f0fc37f0c26dff0 SHA1 0bc94dfbb4410655f36d98dedbab433ac267feb5 SHA256 cc37e14c3dca5a2b1f07ae1fe3c41b9eb19809cb85ce6979b364fca7c009d56a
+MISC ChangeLog 406 RMD160 10ce452a152a9bf7772fe9026056680bbaa23554 SHA1 b6f414a50721c2c48ec6c7f0e4bae09dac71170d SHA256 320bf23a241757dd7c09247ab4c10203c90cbf8011a0068fea18eca2e79b1895
+MISC metadata.xml 371 RMD160 e4cc8890693c53d4a20615455dc35173906be14b SHA1 afc98635ba56ebd01607028feb938a805d77139d SHA256 2cc1ad160ce6d50f18af1a3cad6fbaa13ad54455c8d5641667fb7f08c4e9e2ae
diff --git a/net-analyzer/pmacct/metadata.xml b/net-analyzer/pmacct/metadata.xml
index 14e80e44aab4..9acd982defee 100644
--- a/net-analyzer/pmacct/metadata.xml
+++ b/net-analyzer/pmacct/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>netmon</herd>
-<longdescription>A network tool to gather ip traffic informations</longdescription>
+<longdescription>A network tool to gather IP traffic information</longdescription>
<use>
<flag name='64bit'>Use 64bit counters instead of 32bit ones</flag>
<flag name='ulog'>Enable ULOG support</flag>
diff --git a/net-analyzer/pmacct/pmacct-0.12.2.ebuild b/net-analyzer/pmacct/pmacct-0.12.2.ebuild
new file mode 100644
index 000000000000..e10bc5259d87
--- /dev/null
+++ b/net-analyzer/pmacct/pmacct-0.12.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.2.ebuild,v 1.1 2010/07/21 16:21:47 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A network tool to gather IP traffic information"
+HOMEPAGE="http://www.pmacct.net/"
+SRC_URI="http://www.pmacct.net/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="64bit debug ipv6 mysql postgres sqlite threads ulog"
+
+RDEPEND="net-libs/libpcap
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ sqlite? ( =dev-db/sqlite-3* )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ cp -av configure{,.org}
+ cp -av configure.in{,.org}
+ epatch "${FILESDIR}"/${PN}-0.12.0-gentoo.patch
+}
+
+src_configure() {
+ tc-export CC
+ econf \
+ $(use_enable 64bit) \
+ $(use_enable debug) \
+ $(use_enable ipv6) \
+ $(use_enable mysql) \
+ $(use_enable postgres pgsql) \
+ $(use_enable sqlite sqlite3) \
+ $(use_enable threads) \
+ $(use_enable ulog) \
+ || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog CONFIG-KEYS EXAMPLES FAQS KNOWN-BUGS README UPGRADE \
+ 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 || \
+ die "newins failed"
+}