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.
Created attachment 30647 [details] pmacct-0.6.3.ebuild
Created attachment 30648 [details] files/pmacctd-conf.d
Created attachment 30649 [details] files/pmacctd-init.d
And of cause I found a couple of errors right after submitting, I'll submit updates in a moment.
Created attachment 30688 [details] pmacct-0.6.3.ebuild (r1)
Created attachment 30689 [details] files/pmacctd-conf.d (r1)
Created attachment 30690 [details] files/pmacctd-init.d (r1)
Any updates?
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!