[120165] trunk/dports/net
mf2k at macports.org
mf2k at macports.org
Sat May 17 12:20:52 PDT 2014
Revision: 120165
https://trac.macports.org/changeset/120165
Author: mf2k at macports.org
Date: 2014-05-17 12:20:52 -0700 (Sat, 17 May 2014)
Log Message:
-----------
masscan: New port. (#41985)
Added Paths:
-----------
trunk/dports/net/masscan/
trunk/dports/net/masscan/Portfile
Added: trunk/dports/net/masscan/Portfile
===================================================================
--- trunk/dports/net/masscan/Portfile (rev 0)
+++ trunk/dports/net/masscan/Portfile 2014-05-17 19:20:52 UTC (rev 120165)
@@ -0,0 +1,57 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name masscan
+version 1.0.3
+revision 0
+categories net security
+platforms darwin
+maintainers yahoo.fr:jul_bsd openmaintainer
+license GPL-3
+
+description Mass IP port scanner
+
+long_description This is the fastest Internet port scanner. It can \
+ scan the entire Internet in under 6 minutes, \
+ transmitting 10 million packets per second. \
+ It produces results similar to nmap, the most \
+ famous port scanner. Internally, it operates \
+ more like scanrand, unicornscan, and ZMap, \
+ using asynchronous transmission. The major \
+ difference is that it's faster than these \
+ other scanners. In addition, it's more \
+ flexible, allowing arbitrary address ranges \
+ and port ranges.
+
+homepage https://github.com/robertdavidgraham/masscan
+master_sites https://github.com/robertdavidgraham/masscan/archive/
+distname ${version}
+worksrcdir ${name}-${version}
+
+checksums rmd160 ad733d1a7caa772c33712be204a23d9eef792e68 \
+ sha256 331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085
+
+## https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Mac_OS_X_106x
+#depends_lib port:pkgconfig port:libnet11 port:libpcap port:pcre \
+
+post-patch {
+ reinplace "s|install -pDm755|install -pm755|" ${worksrcpath}/Makefile
+}
+
+destroot.env PREFIX=${prefix}
+pre-destroot {
+ xinstall -d ${destroot}${prefix}/bin
+}
+post-destroot {
+ xinstall -m 644 ${worksrcpath}/doc/masscan.8 ${destroot}${prefix}/share/man/man8/
+}
+
+use_configure no
+test.run yes
+test.target regress
+
+livecheck.type regex
+livecheck.url ${homepage}/releases
+livecheck.regex "<a href=\"/robertdavidgraham/masscan/releases/tag/(\\d+\.\\d+\.\\d+)\">"
Property changes on: trunk/dports/net/masscan/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140517/5a199cc3/attachment.html>
More information about the macports-changes
mailing list