1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name whatmask |
---|
5 | version 1.1 |
---|
6 | platforms darwin |
---|
7 | categories net |
---|
8 | maintainers mich@freebsdcluster.org |
---|
9 | description Easily convert between three common subnet mask notations |
---|
10 | long_description \ |
---|
11 | Notations supported: \ |
---|
12 | \ |
---|
13 | Name Example \ |
---|
14 | --------------------------------- \ |
---|
15 | CIDR /24 \ |
---|
16 | Netmask 255.255.255.0 \ |
---|
17 | Wilcard Bits 0.0.0.255 \ |
---|
18 | \ |
---|
19 | The above notations are all identical. CIDR notation commonly has a "/" in \ |
---|
20 | of the number (representing the number of bits). Whatmask can accept \ |
---|
21 | notations with or without a slash. This notation is used more and more \ |
---|
22 | . A lot of popular routers and software supprt this notation. \ |
---|
23 | \ |
---|
24 | notation is pretty much the standard old-school way of doing it. It is \ |
---|
25 | by most systems (Un*x, Win, Mac, etc.). \ |
---|
26 | \ |
---|
27 | bits are similar to the netmask, but they are the logical not of the \ |
---|
28 | . This notation is used by a number of popular routers. |
---|
29 | homepage http://www.laffeycomputer.com/whatmask.html |
---|
30 | master_sites http://downloads.laffeycomputer.com/current_builds/whatmask/ |
---|
31 | checksums md5 2fa6b1bb18f037d0f9c3c8b2eed19277 |
---|
32 | use_configure yes |
---|
33 | destroot { |
---|
34 | system "cd ${worksrcpath} && \ |
---|
35 | install ${name} ${destroot}${prefix}/bin" |
---|
36 | } |
---|