Ticket #43251: patch-scapy-Portfile.diff

File patch-scapy-Portfile.diff, 1.6 KB (added by jul_bsd@…, 10 years ago)
  • net/scapy/Portfile

    old new  
    3535                      rmd160  0cb0e14e6e84ba6a22b0afd7f2913a98888a418e
    3636
    3737depends_lib-append    port:py${python.version}-readline    port:py${python.version}-pylibpcap \
    38                       port:py${python.version}-libdnet     port:py${python.version}-crypto \
    39                       port:py${python.version}-gnuplot     port:py${python.version}-pyx \
    40                       path:bin/dot:graphviz
     38                      port:py${python.version}-libdnet     port:py${python.version}-crypto
    4139
    4240python.link_binaries_suffix
    4341
     42default_variants +gnuplot +graphviz
     43
     44## http://www.secdev.org/projects/scapy/doc/installation.html#optional-software-for-special-features
     45variant pyx description {"With PyX for creating PostScript figures"} {
     46    depends_lib-append              port:py${python.version}-pyx
     47}
     48
     49variant gnuplot description { "with gnuplot export" } {
     50    depends_run-append              port:py${python.version}-gnuplot
     51}
     52
     53variant graphviz description { "with graphviz export" } {
     54    depends_run-append              port:graphviz port:ImageMagick
     55}
     56
     57variant sox description { "with sox export for VoIP" } {
     58    depends_run-append              port:sox
     59}
     60
    4461livecheck.type        regex
    45 livecheck.url         http://hg.secdev.org/scapy/tags
    46 livecheck.regex       "v(\[\\d.\]+)"
     62#livecheck.url         http://hg.secdev.org/scapy/tags ## 404
     63livecheck.url         http://www.secdev.org/projects/scapy/files/
     64livecheck.regex       "scapy-(\[\\d.\]+).zip"