Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49912 - pmacct-0.6.3.ebuild (New Package)
Summary: pmacct-0.6.3.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-05-03 15:25 UTC by Bjarke Freund-Hansen
Modified: 2004-07-09 07:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pmacct-0.6.3.ebuild (pmacct-0.6.3.ebuild,1.01 KB, text/plain)
2004-05-03 15:27 UTC, Bjarke Freund-Hansen
Details
files/pmacctd-conf.d (pmacctd-conf.d,177 bytes, text/plain)
2004-05-03 15:28 UTC, Bjarke Freund-Hansen
Details
files/pmacctd-init.d (pmacctd-init.d,723 bytes, text/plain)
2004-05-03 15:28 UTC, Bjarke Freund-Hansen
Details
pmacct-0.6.3.ebuild (r1) (pmacct-0.6.3.ebuild,1.21 KB, text/plain)
2004-05-04 04:10 UTC, Bjarke Freund-Hansen
Details
files/pmacctd-conf.d (r1) (pmacctd-conf.d,217 bytes, text/plain)
2004-05-04 04:11 UTC, Bjarke Freund-Hansen
Details
files/pmacctd-init.d (r1) (pmacctd-init.d,773 bytes, text/plain)
2004-05-04 04:11 UTC, Bjarke Freund-Hansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Freund-Hansen 2004-05-03 15:25:52 UTC
Hi, this is my first submitted ebuild. Please comment on anything, from coding style to choice of functions.

From pmacct homepage: "pmacct is a network tool to gather ip traffic informations (bytes counter and number of packets); aggregation of statistics is done using simple primitives (MAC addresses, source host, destination host, ports and ip protocols) that can be used alone or combined together to form complex aggregation methods; counters are either global or historical (aggregated and separated at fixed timeslots). Data is stored in a in-memory table or using a SQL database (MySQL or PostgreSQL). Gathering packets off the wire is done using pcap library and promiscuous mode of network interfaces when specifically required."

I personally use pmacct together with rrdtool to make network traffic stats for each computer on my LAN. I suggest net-analyzer/pmacct.
Comment 1 Bjarke Freund-Hansen 2004-05-03 15:27:51 UTC
Created attachment 30647 [details]
pmacct-0.6.3.ebuild
Comment 2 Bjarke Freund-Hansen 2004-05-03 15:28:13 UTC
Created attachment 30648 [details]
files/pmacctd-conf.d
Comment 3 Bjarke Freund-Hansen 2004-05-03 15:28:32 UTC
Created attachment 30649 [details]
files/pmacctd-init.d
Comment 4 Bjarke Freund-Hansen 2004-05-04 04:06:08 UTC
And of cause I found a couple of errors right after submitting, I'll submit updates in a moment.
Comment 5 Bjarke Freund-Hansen 2004-05-04 04:10:34 UTC
Created attachment 30688 [details]
pmacct-0.6.3.ebuild (r1)
Comment 6 Bjarke Freund-Hansen 2004-05-04 04:11:05 UTC
Created attachment 30689 [details]
files/pmacctd-conf.d (r1)
Comment 7 Bjarke Freund-Hansen 2004-05-04 04:11:28 UTC
Created attachment 30690 [details]
files/pmacctd-init.d (r1)
Comment 8 Bjarke Freund-Hansen 2004-06-23 15:34:31 UTC
Any updates?
Comment 9 Eldad Zack (RETIRED) gentoo-dev 2004-07-09 07:11:03 UTC
little remarks:

never do DEPEND="${RDEPEND}". it's bad fer yer health. (gets done automagically, and I have to remove it...)

you can generalize the dodoc you did with:

for dirname in examples sql pcap; do
    docinto ${dirname}
    dodoc ${dirname}/* || die "dodoc failed"
done
 
I've put 0.7.0 into portage.
Thanks!