1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name masscan |
---|
7 | version 1.0.3 |
---|
8 | revision 0 |
---|
9 | categories net security |
---|
10 | platforms darwin |
---|
11 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
12 | license GPL-3 |
---|
13 | |
---|
14 | description Mass IP port scanner |
---|
15 | |
---|
16 | long_description This is the fastest Internet port scanner. It can \ |
---|
17 | scan the entire Internet in under 6 minutes, \ |
---|
18 | transmitting 10 million packets per second. \ |
---|
19 | It produces results similar to nmap, the most \ |
---|
20 | famous port scanner. Internally, it operates \ |
---|
21 | more like scanrand, unicornscan, and ZMap, \ |
---|
22 | using asynchronous transmission. The major \ |
---|
23 | difference is that it's faster than these \ |
---|
24 | other scanners. In addition, it's more \ |
---|
25 | flexible, allowing arbitrary address ranges \ |
---|
26 | and port ranges. |
---|
27 | |
---|
28 | homepage https://github.com/robertdavidgraham/masscan |
---|
29 | master_sites https://github.com/robertdavidgraham/masscan/archive/ |
---|
30 | distname ${version} |
---|
31 | worksrcdir ${name}-${version} |
---|
32 | |
---|
33 | checksums rmd160 ad733d1a7caa772c33712be204a23d9eef792e68 \ |
---|
34 | sha256 331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085 |
---|
35 | |
---|
36 | ## https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Mac_OS_X_106x |
---|
37 | #depends_lib port:pkgconfig port:libnet11 port:libpcap port:pcre \ |
---|
38 | |
---|
39 | post-patch { |
---|
40 | reinplace "s|install -pDm755|install -pm755|" ${worksrcpath}/Makefile |
---|
41 | } |
---|
42 | |
---|
43 | destroot.env PREFIX=${prefix} |
---|
44 | pre-destroot { |
---|
45 | xinstall -d ${destroot}${prefix}/bin |
---|
46 | } |
---|
47 | post-destroot { |
---|
48 | xinstall -m 644 ${worksrcpath}/doc/masscan.8 ${destroot}${prefix}/share/man/man8/ |
---|
49 | } |
---|
50 | |
---|
51 | use_configure no |
---|
52 | test.run yes |
---|
53 | test.target regress |
---|
54 | |
---|
55 | livecheck.type regex |
---|
56 | livecheck.url ${homepage}/releases |
---|
57 | livecheck.regex "<a href=\"/robertdavidgraham/masscan/releases/tag/(\\d+\.\\d+\.\\d+)\">" |
---|