Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522 - new ebuild script for trafshow
Summary: new ebuild script for trafshow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-04 04:59 UTC by Aubrey Kilian
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Trafshow 3.1 Traffic Monitor (trafshow-3.1.ebuild,467 bytes, text/plain)
2002-02-04 05:00 UTC, Aubrey Kilian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aubrey Kilian 2002-02-04 04:59:31 UTC
Hi,  attached is trafshow-3.1.ebuild which is an ebuild script for trafshow.
Trafshow displays network traffic.
It depends on libpcap which is already in the portage tree.
This is my first ebuild script, so please bare with me if there is anything
missing or wrong.  I ran it on my machine and it seems to work fine.
Thanks
Comment 1 Aubrey Kilian 2002-02-04 05:00:40 UTC
Created attachment 123 [details]
Trafshow 3.1 Traffic Monitor
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2002-02-16 11:10:36 UTC
Hi,

Thanks for the contribution.  Not bad for a first ebuild.  :-)  However, I had
to change quite a bit, so please take a look at the ebuild.  Here's a rundown:

- Added header (see /usr/portage/skel.ebuild for an example)
- Removed P= and A=, these are set automatically
- Changed SRC_URI to use ${P}
- Changed space-based indenting to tabs, see the following for more info
     http://lists.gentoo.org/pipermail/gentoo-dev/2001-November/007985.html
- Changed try to || die (try is obselescent and buggy)
- Changed "make install" to "make install DESTDIR=${D}"
- Added patch files/trafshow-3.1-gentoo.patch to fix installation of /etc/trafshow

Added as net-analyzer/trafshow

Thanks,
Aron