diff options
Diffstat (limited to 'devel/libnet11')
-rw-r--r-- | devel/libnet11/DESCR | 8 | ||||
-rw-r--r-- | devel/libnet11/Makefile | 48 | ||||
-rw-r--r-- | devel/libnet11/PLIST | 99 | ||||
-rw-r--r-- | devel/libnet11/buildlink3.mk | 18 | ||||
-rw-r--r-- | devel/libnet11/distinfo | 4 |
5 files changed, 177 insertions, 0 deletions
diff --git a/devel/libnet11/DESCR b/devel/libnet11/DESCR new file mode 100644 index 00000000000..737fa21ba06 --- /dev/null +++ b/devel/libnet11/DESCR @@ -0,0 +1,8 @@ +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. diff --git a/devel/libnet11/Makefile b/devel/libnet11/Makefile new file mode 100644 index 00000000000..eee1107f8c5 --- /dev/null +++ b/devel/libnet11/Makefile @@ -0,0 +1,48 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/01/20 18:04:57 adrianp Exp $ + +DISTNAME= libnet-1.1.2.1 +CATEGORIES= devel net +MASTER_SITES= http://www.packetfactory.net/libnet/dist/ + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://www.packetfactory.net/libnet/ +COMMENT= C library for portable packet creation and injection + +CONFLICTS= libnet-1.0.[0-9]* + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/libnet + +LNDOCS= DESIGN_NOTES MIGRATION PACKET_BUILDING RAWSOCKET_NON_SEQUITUR + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libnet + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/libnet + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libnet + ${INSTALL_MAN_DIR} ${PREFIX}/man/man3 + + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html \ + ${PREFIX}/share/doc/html/libnet + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.css \ + ${PREFIX}/share/doc/html/libnet + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.png\ + ${PREFIX}/share/doc/html/libnet + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.dot\ + ${PREFIX}/share/doc/html/libnet + + ${INSTALL_DATA} ${WRKSRC}/sample/*.c \ + ${PREFIX}/share/examples/libnet + + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/*.3 \ + ${PREFIX}/man/man3 + + for f in ${LNDOCS}; do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$$f \ + ${PREFIX}/share/doc/libnet/; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libnet11/PLIST b/devel/libnet11/PLIST new file mode 100644 index 00000000000..e64e8807ba9 --- /dev/null +++ b/devel/libnet11/PLIST @@ -0,0 +1,99 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/20 18:04:58 adrianp Exp $ +include/libnet.h +include/libnet/libnet-asn1.h +include/libnet/libnet-functions.h +include/libnet/libnet-headers.h +include/libnet/libnet-macros.h +include/libnet/libnet-structures.h +include/libnet/libnet-types.h +lib/libnet.a +man/man3/libnet-functions.h.3 +man/man3/libnet-headers.h.3 +man/man3/libnet-macros.h.3 +man/man3/libnet.h.3 +man/man3/libnet_802_1q_hdr.3 +man/man3/libnet_802_1x_hdr.3 +share/doc/libnet/DESIGN_NOTES +share/doc/libnet/MIGRATION +share/doc/libnet/PACKET_BUILDING +share/doc/libnet/RAWSOCKET_NON_SEQUITUR +share/doc/html/libnet/acconfig_8h-source.html +share/doc/html/libnet/annotated.html +share/doc/html/libnet/bpf_8h-source.html +share/doc/html/libnet/config_8h-source.html +share/doc/html/libnet/doxygen.css +share/doc/html/libnet/doxygen.png +share/doc/html/libnet/files.html +share/doc/html/libnet/functions.html +share/doc/html/libnet/functions_vars.html +share/doc/html/libnet/getopt_8h-source.html +share/doc/html/libnet/globals.html +share/doc/html/libnet/globals_defs.html +share/doc/html/libnet/globals_func.html +share/doc/html/libnet/gnuc_8h-source.html +share/doc/html/libnet/graph_legend.dot +share/doc/html/libnet/graph_legend.html +share/doc/html/libnet/ifaddrlist_8h-source.html +share/doc/html/libnet/in__systm_8h-source.html +share/doc/html/libnet/index.html +share/doc/html/libnet/libnet-asn1_8h-source.html +share/doc/html/libnet/libnet-functions_8h-source.html +share/doc/html/libnet/libnet-functions_8h.html +share/doc/html/libnet/libnet-headers_8h-source.html +share/doc/html/libnet/libnet-headers_8h.html +share/doc/html/libnet/libnet-macros_8h-source.html +share/doc/html/libnet/libnet-macros_8h.html +share/doc/html/libnet/libnet-structures_8h-source.html +share/doc/html/libnet/libnet-types_8h-source.html +share/doc/html/libnet/libnet_8h-source.html +share/doc/html/libnet/libnet_8h.html +share/doc/html/libnet/structlibnet__802__1q__hdr.html +share/doc/html/libnet/structlibnet__802__1x__hdr.html +share/examples/libnet/arp-new.c +share/examples/libnet/arp.c +share/examples/libnet/bgp4_hdr.c +share/examples/libnet/bgp4_notification.c +share/examples/libnet/bgp4_open.c +share/examples/libnet/bgp4_update.c +share/examples/libnet/cdp.c +share/examples/libnet/dhcp_discover.c +share/examples/libnet/dns.c +share/examples/libnet/dot1x.c +share/examples/libnet/fddi_tcp1.c +share/examples/libnet/fddi_tcp2.c +share/examples/libnet/get_addr.c +share/examples/libnet/gre.c +share/examples/libnet/icmp6_echoreq.c +share/examples/libnet/icmp_echo_cq.c +share/examples/libnet/icmp_redirect.c +share/examples/libnet/icmp_timeexceed.c +share/examples/libnet/icmp_timestamp.c +share/examples/libnet/icmp_unreach.c +share/examples/libnet/ieee.c +share/examples/libnet/ip_link.c +share/examples/libnet/ip_raw.c +share/examples/libnet/isl.c +share/examples/libnet/mpls.c +share/examples/libnet/ntp.c +share/examples/libnet/ospf_hello.c +share/examples/libnet/ospf_lsa.c +share/examples/libnet/ping_of_death.c +share/examples/libnet/rpc_tcp.c +share/examples/libnet/rpc_udp.c +share/examples/libnet/sebek.c +share/examples/libnet/smurf.c +share/examples/libnet/stp.c +share/examples/libnet/synflood.c +share/examples/libnet/synflood6.c +share/examples/libnet/synflood6_frag.c +share/examples/libnet/tcp1.c +share/examples/libnet/tcp2.c +share/examples/libnet/tftp.c +share/examples/libnet/tring_tcp1.c +share/examples/libnet/tring_tcp2.c +share/examples/libnet/udp1.c +share/examples/libnet/udp2.c +@dirrm share/examples/libnet +@dirrm share/doc/html/libnet +@dirrm share/doc/libnet +@dirrm include/libnet diff --git a/devel/libnet11/buildlink3.mk b/devel/libnet11/buildlink3.mk new file mode 100644 index 00000000000..ee78ef262f0 --- /dev/null +++ b/devel/libnet11/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/01/20 18:04:58 adrianp Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libnet +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet} +BUILDLINK_PACKAGES+= libnet + +.if !empty(LIBNET_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libnet+= libnet>=1.1.2.1 +BUILDLINK_PKGSRCDIR.libnet?= ../../devel/libnet11 +.endif # LIBNET_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libnet11/distinfo b/devel/libnet11/distinfo new file mode 100644 index 00000000000..6ba02378df7 --- /dev/null +++ b/devel/libnet11/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/01/20 18:04:58 adrianp Exp $ + +SHA1 (libnet-1.1.2.1.tar.gz) = 760783a2adbd845b731e2000aafa3cd9c3b028d5 +Size (libnet-1.1.2.1.tar.gz) = 1021236 bytes |