Ticket #43748: patch-masscan-Portfile.orig

File patch-masscan-Portfile.orig, 1.6 KB (added by jul_bsd@…, 10 years ago)
Line 
1--- _orig/net/masscan/Portfile  2014-05-17 15:30:09.000000000 -0400
2+++ net/masscan/Portfile        2014-05-18 10:44:20.000000000 -0400
3@@ -1,11 +1,10 @@
4 # -*- 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
5-# $Id: Portfile 120165 2014-05-17 19:20:52Z mf2k@macports.org $
6+# $Id$
7 
8 PortSystem          1.0
9+PortGroup           github 1.0
10 
11-name                masscan
12-version             1.0.3
13-revision            0
14+github.setup        robertdavidgraham masscan 1.0.3 masscan-
15 categories          net security
16 platforms           darwin
17 maintainers         yahoo.fr:jul_bsd openmaintainer
18@@ -25,17 +24,12 @@
19                     flexible, allowing arbitrary address ranges \
20                     and port ranges.
21 
22-homepage            https://github.com/robertdavidgraham/masscan
23 master_sites        https://github.com/robertdavidgraham/masscan/archive/
24 distname            ${version}
25-worksrcdir          ${name}-${version}
26 
27 checksums           rmd160  ad733d1a7caa772c33712be204a23d9eef792e68 \
28                     sha256  331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085
29 
30-## https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Mac_OS_X_106x
31-#depends_lib         port:pkgconfig port:libnet11 port:libpcap port:pcre \
32-
33 post-patch {
34     reinplace "s|install -pDm755|install -pm755|" ${worksrcpath}/Makefile
35 }
36@@ -52,6 +46,4 @@
37 test.run            yes
38 test.target         regress
39 
40-livecheck.type      regex
41-livecheck.url       ${homepage}/releases
42 livecheck.regex     "<a href=\"/robertdavidgraham/masscan/releases/tag/(\\d+\.\\d+\.\\d+)\">"