source: trunk/dports/net/scapy/Portfile @ 137541

Last change on this file since 137541 was 137541, checked in by khindenburg@…, 4 years ago

scapy: update to 2.3.1 #47765

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
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: Portfile 137541 2015-06-13 22:58:37Z khindenburg@macports.org $
3
4PortSystem            1.0
5PortGroup             python 1.0
6
7name                  scapy
8version               2.3.1
9use_zip               yes
10python.default_version 27
11categories            net security python
12license               GPL-2
13platforms             darwin
14supported_archs       noarch
15maintainers           nomaintainer
16
17description           A powerful packet manipulation tool
18long_description      \
19        Scapy is a powerful interactive packet manipulation program. It is \
20        able to forge or decode packets of a wide number of protocols, send \
21        them on the wire, capture them, match requests and replies, and much \
22        more. It can easily handle most classical tasks like scanning, \
23        tracerouting, probing, unit tests, attacks or network discovery (it \
24        can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, \
25        tethereal, p0f, etc.). It also performs very well at a lot of other \
26        specific tasks that most other tools can't handle, like sending \
27        invalid frames, injecting your own 802.11 frames, combining technics \
28        (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted \
29        channel, ...), etc.
30
31homepage              http://www.secdev.org/projects/scapy
32master_sites          ${homepage}/files/
33
34checksums             rmd160  8541e0925148564c8a3c74814b01a8172e4f8b59 \
35                      sha256  9a4bacfca772f385d71bad43b1676d5f5b380c8bceb24443dcda29bc13108262
36
37depends_lib-append    port:py${python.version}-readline    port:py${python.version}-pylibpcap \
38                      port:py${python.version}-libdnet     port:py${python.version}-crypto
39
40python.link_binaries_suffix
41
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              path:bin/dot:graphviz port:ImageMagick
55}
56
57variant sox description { "With sox export for VoIP" } {
58    depends_run-append              port:sox
59}
60
61livecheck.regex       scapy-(\[\\d.\]+).zip
Note: See TracBrowser for help on using the repository browser.