/
Portfile
35 lines (32 loc) · 1.38 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id$
PortSystem 1.0
name libnet11
version 1.1.2.1
revision 1
categories net
maintainers toby@opendarwin.org
description A C library for creating IP packets
long_description \
libnet is a high-level API (toolkit) allowing the application \
programmer to construct and inject network packets. It provides a \
portable and simplified interface for low-level network packet \
shaping, handling and injection. Libnet hides much of the tedium of \
packet creation from the application programmer such as \
multiplexing, buffer management, arcane packet header information, \
byte-ordering, OS-dependent issues, and much more. Libnet features \
portable packet creation interfaces at the IP layer and link layer, \
as well as a host of supplementary and complementary functionality. \
Using libnet, quick and simple packet assembly applications can be \
whipped up with little effort. With a bit more time, more complex \
programs can be written (Traceroute and ping were easily rewritten \
using libnet and libpcap).
homepage http://www.packetfactory.net/libnet/
platforms darwin
master_sites ${homepage}dist/
distname libnet-${version}
checksums md5 be845c41170d72c7db524f3411b50256
patchfiles patch-configure.in
worksrcdir libnet
platform darwin 6 {
depends_build path:/usr/include/netinet/ip_var.h:netinet-headers
}