Ticket #24425: Portfile

File Portfile, 2.0 KB (added by news@…, 15 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 63036 2010-01-24 10:43:40Z jmr@macports.org $
3
4PortSystem            1.0
5PortGroup             python26 1.0
6
7name                  py26-scapy
8version               2.1.1
9categories            net security python
10platforms             darwin
11maintainers           pmq
12
13description           A powerful packet manipulation tool
14long_description      \
15        Scapy is a powerful interactive packet manipulation program. It is \
16        able to forge or decode packets of a wide number of protocols, send \
17        them on the wire, capture them, match requests and replies, and much \
18        more. It can easily handle most classical tasks like scanning, \
19        tracerouting, probing, unit tests, attacks or network discovery (it \
20        can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, \
21        tethereal, p0f, etc.). It also performs very well at a lot of other \
22        specific tasks that most other tools can't handle, like sending \
23        invalid frames, injecting your own 802.11 frames, combining technics \
24        (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted \
25        channel, ...), etc.
26
27homepage                  http://www.secdev.org/projects/scapy
28master_sites          ${homepage}/files/
29distname              scapy-${version}
30
31checksums             md5     7b4452786788cb75ade841c30276a2d3 \
32                      sha1    c82236970bf93e00d0f5d4d165f410745e648d95 \
33                      rmd160  d368795789458344ad771834de7188974a4db252
34
35depends_lib-append    port:py26-pylibpcap \
36                      port:py26-libdnet     port:py26-crypto \
37                      port:py26-gnuplot     port:py26-pyx \
38                      path:bin/dot:graphviz
39
40post-destroot {
41        ln -s ${python.prefix}/share/man/man1/scapy.1.gz \
42              ${destroot}${prefix}/share/man/man1/scapy-${python.branch}.1.gz
43}
44
45variant no_pyx description {"Without PyX for creating PostScript figures"} {
46        depends_lib-delete              port:py26-pyx
47}