Ticket #24294: Portfile.orig

File Portfile.orig, 1.9 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.0
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     357b5b21ea3b4f289a326c0905b715c1 \
32                      sha1    e507bc0f2a32d209f321580c9338d2ceb72ab93a \
33                      rmd160  caca42e89c87c07a2dbe399dd4e5924cefdff48a
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}