Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25174 - rain-1.2.8r2.ebuild (New Package)
Summary: rain-1.2.8r2.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: SpanKY
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-07-24 04:27 UTC by Jonathan Hitchcock
Modified: 2003-09-22 10:05 UTC (History)
1 user (show)

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


Attachments
rain-1.2.8r2.ebuild (New Package) (rain-1.2.8p.ebuild,655 bytes, text/plain)
2003-07-24 04:29 UTC, Jonathan Hitchcock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Hitchcock 2003-07-24 04:27:23 UTC
rain is a powerful tool used to test the stability of software and hardware
using the IP protocols.  From the README: "Let's say you wanted to see how your
router would react if you sent it an ICMP packet with Type 3, Code 11, ToS 0x24,
window size 56, TTL 255 and an invalid fragment offset. That is where rain comes
in. Rain allows you to create your own, customized packets without the hassle of
writing proprietary programs."

The Makefile installs the rain binary in /sbin, and I figured that this made
sense, since you can't do much with it without root.  Not sure if it was The
Right Way To Do Things, though.  Another point is that "1.2.8r2" is the version
of the latest source file, but it's an invalid version number for a gentoo
ebuild.  I used a kludge by naming my ebuild 1.2.8p, and then saying
MY_P=${P/p/r2}.  I'm pretty damn sure that this is not the Right Way To Do
Things, but I don't know what is.

Anyway, please find attached my ebuild, which is fairly basic, and seems to work.
Comment 1 Jonathan Hitchcock 2003-07-24 04:29:51 UTC
Created attachment 14955 [details]
rain-1.2.8r2.ebuild (New Package)

Notice the naming issue, the file is 1.2.8p, but the actual version is 1.2.8r2.
Comment 2 SpanKY gentoo-dev 2003-09-22 10:05:22 UTC
it's been added to cvs with some touchups, thanks for the ebuild ;)