Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 117528
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Proxy Developers <net-proxy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christopher Covington <covracer@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pingtunnel-0.61-to-0.61-r1.patch proposed patch patch Christopher Covington 2006-01-02 19:26 0000 1.08 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117528 depends on: Show dependency tree
Bug 117528 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-02 19:23 0000
I just spent my evening writing an ebuild for this app before realizing it was
in portage. The ebuild might be able to be improved.

1. There is a libpcap virtual which could be used. I can't test it though, I
found--can't create _any_ sockets on my web server :(.

2. The package is called pingtunnel but the binary and man page are called
ptunnel. There are some other apps out there (but I don't think in portage)
that go by the name of ptunnel so probably pingtunnel is better.

3. There is some html documentation that isn't installed.

4. Lastly, I don't know if this is really an important style thing or not, but
in the patch I used the $MY_P and $MY_PN instead of static strings.

------- Comment #1 From Christopher Covington 2006-01-02 19:26:26 0000 -------
Created an attachment (id=76035) [details]
proposed patch

------- Comment #2 From Alin Năstac 2006-01-06 03:40:12 0000 -------
(In reply to comment #0)
> 1. There is a libpcap virtual which could be used. I can't test it though, I
> found--can't create _any_ sockets on my web server :(.

the net-libs/libpcap-ringbuffer package is broken and it shouldn't provide
virtual/libpcap (see bug #117898)

> 2. The package is called pingtunnel but the binary and man page are called
> ptunnel. There are some other apps out there (but I don't think in portage)
> that go by the name of ptunnel so probably pingtunnel is better.

unless there is a conflict, I prefer to stick with whatever names were chosed
by upstream. It would mean more than a simple file rename.

> 3. There is some html documentation that isn't installed.

added depending on "doc" useflag.

> 4. Lastly, I don't know if this is really an important style thing or not, but
> in the patch I used the $MY_P and $MY_PN instead of static strings.

I prefer the other way. It is more readable and I doubt "PingTunnel" will be
ever changed by upstream.

I've commited 3) along with a minor modification in Makefile sed, but I didn't
bump the revision. The doc useflag is the only change worth reemerging for and
"emerge -uDN world" will do that anyway.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug