Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50968 - snmptt-0.9.ebuild (New Package)
Summary: snmptt-0.9.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-13 12:18 UTC by Karl Dag Gursli
Modified: 2004-07-09 06:34 UTC (History)
1 user (show)

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


Attachments
snmptt-0.9.ebuild (New Package) (snmptt-0.9.ebuild,802 bytes, text/plain)
2004-05-13 12:21 UTC, Karl Dag Gursli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dag Gursli 2004-05-13 12:18:23 UTC
Hi 
I have made a ebuild for snmptt. snmptt is a Snmp Trap Translator. As far as I can see it is only depended on perl. More info http://www.snmptt.org/ 

I suggest the ebuild be put under net-analyzer/snmptt.
Karl
Comment 1 Karl Dag Gursli 2004-05-13 12:21:07 UTC
Created attachment 31361 [details]
snmptt-0.9.ebuild (New Package)
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-07-05 04:16:49 UTC
A couple of comments:
1. instead of using snmptt_${PV} define:

MY_P=${P/-/_}

and use ${MY_P} instead.

2. since you're doing:
echo "traphandler default /usr/sbin/snmptt" >examples/snmptrapd.conf.sample 

there's no need to touch examples/snmptrapd.conf.sample first, it's redundant.


and a little spacing between blocks wouldn't harm you either.

you want to try to take another go at it, Karl?
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2004-07-09 06:34:08 UTC
A few other issues:

if downloading from sourceforge, the SRC_URI should take the form of "mirror://sourceforge/" and add a RESTRICT="nomirror".

also, never mark a new ebuild x86, but ~x86 instead (if that is your arch).

now in portage.
thanks!