[152761] trunk/dports/net/scapy/Portfile

michaelld at macports.org michaelld at macports.org
Fri Sep 16 14:18:06 PDT 2016


Revision: 152761
          https://trac.macports.org/changeset/152761
Author:   michaelld at macports.org
Date:     2016-09-16 14:18:06 -0700 (Fri, 16 Sep 2016)
Log Message:
-----------
scapy:
+ move to using GitHub portgroup;
+ bump release to 2.3.2;
+ add devel version on latest git master commit;
+ take maintainership but keep openmaintainer.

Modified Paths:
--------------
    trunk/dports/net/scapy/Portfile

Modified: trunk/dports/net/scapy/Portfile
===================================================================
--- trunk/dports/net/scapy/Portfile	2016-09-16 17:17:54 UTC (rev 152760)
+++ trunk/dports/net/scapy/Portfile	2016-09-16 21:18:06 UTC (rev 152761)
@@ -3,16 +3,18 @@
 
 PortSystem            1.0
 PortGroup             python 1.0
+PortGroup             github 1.0
 
 name                  scapy
-version               2.3.1
-use_zip               yes
+
+python.versions        27
 python.default_version 27
+
 categories            net security python
 license               GPL-2
 platforms             darwin
 supported_archs       noarch
-maintainers           nomaintainer
+maintainers           michaelld openmaintainer
 
 description           A powerful packet manipulation tool
 long_description      \
@@ -28,15 +30,36 @@
         (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted \
         channel, ...), etc.
 
-homepage              http://www.secdev.org/projects/scapy
-master_sites          ${homepage}/files/
+subport ${name}-devel {}
 
-checksums             rmd160  8541e0925148564c8a3c74814b01a8172e4f8b59 \
-                      sha256  9a4bacfca772f385d71bad43b1676d5f5b380c8bceb24443dcda29bc13108262
+if {${subport} eq ${name}} {
 
-depends_lib-append    port:py${python.version}-readline    port:py${python.version}-pylibpcap \
-                      port:py${python.version}-libdnet     port:py${python.version}-crypto
+    github.setup    secdev ${name} 2.3.2 v
+    checksums       rmd160 b5c50892fd685c3e2649758396a238d8a48c4470 \
+                    sha256 4d6db31800905a94a394c46b8c12f067621f14ac6fa53d0e496e8fc4983668af
 
+    conflicts       ${name}-devel
+
+} else {
+
+    github.setup    secdev ${name} cce88a93b006775957757bd2d311649f4d423863
+    version         20160915
+    checksums       rmd160 a21b11b194393e2a7a4690691999745f9e3ca47e \
+                    sha256 fb6103e0331b2182e62c86de00dadc9d6b1aec086f13e156c5f454a3d0b3bfaa
+
+    long_description    ${long_description} \
+        This port is kept up with the ${name} GIT 'master' branch, is typically updated weekly to monthly.
+    conflicts       ${name}
+
+}
+
+homepage              http://www.secdev.org/projects/${name}
+
+depends_lib-append    port:py${python.version}-readline \
+                      port:py${python.version}-pylibpcap \
+                      port:py${python.version}-libdnet \
+                      port:py${python.version}-crypto
+
 default_variants +gnuplot +graphviz
 
 ## http://www.secdev.org/projects/scapy/doc/installation.html#optional-software-for-special-features
@@ -55,5 +78,3 @@
 variant sox description { "With sox export for VoIP" } {
     depends_run-append              port:sox
 }
-
-livecheck.regex       scapy-(\[\\d.\]+).zip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160916/fb83e30d/attachment.html>


More information about the macports-changes mailing list