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.
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.
it's been added to cvs with some touchups, thanks for the ebuild ;)