Opened 9 years ago
Last modified 7 years ago
#47876 new submission
New port Tracebox @0.3
Reported by: | rmerpes | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | Tracebox |
Description
First of all, sorry for the (more than possible) mistakes in the portfile because it is my first submission.
Tracebox (http://www.tracebox.org/) is a tool that allows to detect middleboxes on any paths, i.e., between a source and any destination. Tracebox can be viewed as a tool similar to traceroute as it uses ICMP replies to identify changes in the packets.
I used the homebew formula as a template https://github.com/Homebrew/homebrew/blob/master/Library/Formula/tracebox.rb
It is a very useful tool for network admins like me, I hope someone could take a look, please
Thanks in advance!!
Attachments (4)
Change History (13)
Changed 9 years ago by rmerpes
Attachment: | Portfile.txt added |
---|
comment:1 Changed 9 years ago by rmerpes
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Type: | defect → submission |
---|---|
Version: | 2.3.3 |
A few quick observations:
- Use
distname v${version
} and remove yourdistfiles
line. It will be calculated correctly because you haveuse_zip yes
. - I believe that
use_autoreconf yes
will automatically include most of your build dependencies, so check that and do not redundantly add them.
comment:4 Changed 9 years ago by mf2k (Frank Schima)
Thanks. I just realized that you are fetching from github. So please instead use the github portgroup which will replace your distname
, master_sites
and version
lines.
Changed 9 years ago by rmerpes
Attachment: | Portfile.3.txt added |
---|
comment:6 Changed 9 years ago by mf2k (Frank Schima)
Did you test it? I'm not seeing the github.setup line.
Changed 9 years ago by rmerpes
Attachment: | Portfile.4.txt added |
---|
comment:8 Changed 7 years ago by kencu (Ken)
Not having a lot of luck with this. Homebrew apparently has it running, but it builds but does not run on any system I have tried. Here's my current port for this <https://github.com/kencu/macports-ports/commit/eed7ca1c8f0fd78abaa5cf3cc504c92cc2714072> but it doesn't run <https://github.com/tracebox/tracebox/issues/54>, I'm sad to say.
I'll give this a bit to percolate, to see if there is some reason it crashes on every attempt to run it.
comment:9 Changed 7 years ago by kencu (Ken)
The author has fixed the crash, however at present this software can't use pf
and macs since about 10.10 don't include ipfw
. Here's the info <https://github.com/tracebox/tracebox/issues/49>
So until that is fixed, there doesn't seem to be a whole lotta point to including this software in MacPorts.
Sorry, I opened the ticket as a bug instead of a request!