source: trunk/dports/net/py26-scapy/Portfile @ 61881

Last change on this file since 61881 was 61881, checked in by ecronin@…, 10 years ago

net/py26-scapy: update to version 2.1.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
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 61881 2009-12-23 00:42:04Z ecronin@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}/bin/scapy \
42              ${destroot}${prefix}/bin/scapy-${python.branch}
43        ln -s ${python.prefix}/bin/UTscapy \
44              ${destroot}${prefix}/bin/UTscapy-${python.branch}
45        ln -s ${python.prefix}/share/man/man1/scapy.1.gz \
46              ${destroot}${prefix}/share/man/man1/scapy-${python.branch}.1.gz
47}
Note: See TracBrowser for help on using the repository browser.