From 2e784cb3beaefdd141c8e47cbe18ef45456961db Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 18 Feb 2013 21:59:56 +0000 Subject: [PATCH] - retire net/libnet-devel --- MOVED | 1 + net/Makefile | 1 - net/libnet-devel/Makefile | 83 ------------------------ net/libnet-devel/distinfo | 2 - net/libnet-devel/files/patch-Makefile.in | 10 --- net/libnet-devel/files/patch-libnet.h.in | 12 ---- net/libnet-devel/pkg-descr | 20 ------ net/libnet-devel/pkg-plist | 77 ---------------------- 8 files changed, 1 insertion(+), 205 deletions(-) delete mode 100644 net/libnet-devel/Makefile delete mode 100644 net/libnet-devel/distinfo delete mode 100644 net/libnet-devel/files/patch-Makefile.in delete mode 100644 net/libnet-devel/files/patch-libnet.h.in delete mode 100644 net/libnet-devel/pkg-descr delete mode 100644 net/libnet-devel/pkg-plist diff --git a/MOVED b/MOVED index dee41cc92950..1186674c73fe 100644 --- a/MOVED +++ b/MOVED @@ -4065,3 +4065,4 @@ graphics/solang||2013-02-14|Has expired: BROKEN for more than 6 month math/octave-devel||2013-02-14|Has expired: BROKEN for more than 6 month net/spnetkit||2013-02-14|Has expired: BROKEN for more than 6 month net/samba4-devel|net/samba4|2013-02-18|Renamed to reflect maturity of upstream version +net/libnet-devel|net/libnet|2013-02-18|Renamed to stable branch diff --git a/net/Makefile b/net/Makefile index 0395519369bd..54966667bb4f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -322,7 +322,6 @@ SUBDIR += libmxp SUBDIR += libnatpmp SUBDIR += libnet - SUBDIR += libnet-devel SUBDIR += libnet10 SUBDIR += libnetdude SUBDIR += libnids diff --git a/net/libnet-devel/Makefile b/net/libnet-devel/Makefile deleted file mode 100644 index 5d10191c2320..000000000000 --- a/net/libnet-devel/Makefile +++ /dev/null @@ -1,83 +0,0 @@ -# Created by: smace@freebsd.org -# $FreeBSD$ - -PORTNAME= libnet -PORTVERSION= 1.1.6 -CATEGORIES= net -MASTER_SITES= SF/libnet-dev - -MAINTAINER= dinoex@FreeBSD.org -COMMENT= A C library for creating IP packets (development version) - -LATEST_LINK= ${PORTNAME}${SHORT_VER} - -USE_AUTOTOOLS= libtool -USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-link-layer=${LIBNET_LINK} - -SHORT_VER= 116 -SHORT_NAME= ${PORTNAME}${SHORT_VER} -DOCSDIR= ${PREFIX}/share/doc/${SHORT_NAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${SHORT_NAME} -USE_LDCONFIG= ${PREFIX}/lib/${SHORT_NAME} -PLIST_SUB= SVER=${SHORT_VER} SNAME=${SHORT_NAME} VERSION=${PORTVERSION} - -MAN3= libnet-functions.h.3 libnet-macros.h.3 libnet.h.3 -DOCS= README doc/CHANGELOG doc/CONTRIB doc/COPYING \ - doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING doc/PORTED \ - doc/RAWSOCKET_NON_SEQUITUR doc/TODO - -EXAMPLES= sample/*.c - -OPTIONS_DEFINE= EXAMPLES DOCS -OPTIONS_RADIO= LINK -OPTIONS_RADIO_LINK= SNOOP PF BPF -OPTIONS_DEFAULT= BPF -SNOOP_DESC= link layer (snoop.h) -PF_DESC= link layer pf -BPF_DESC= link layer bpf - -.include - -LIBNET_LINK= none - -.if ${PORT_OPTIONS:MSNOOP} -LIBNET_LINK= snoop -.endif - -.if ${PORT_OPTIONS:MPF} -LIBNET_LINK= pf -.endif - -.if ${PORT_OPTIONS:MBPF} -LIBNET_LINK= bpf -.endif - -post-patch: - ${REINPLACE_CMD} \ - -e 's|@LIBNET_CONFIG_LIBS@|@LIBNET_CONFIG_LIBS@ -L@prefix@/lib/${SHORT_NAME}|' \ - -e 's|@LIBNET_CONFIG_CFLAGS@|@LIBNET_CONFIG_CFLAGS@ -I@prefix@/include/${SHORT_NAME}|' \ - ${WRKSRC}/libnet-config.in - ${REINPLACE_CMD} -e 's|^includedir =.*|includedir = @includedir@/${SHORT_NAME}|' \ - ${WRKSRC}/include/Makefile.in \ - ${WRKSRC}/include/libnet/Makefile.in - ${REINPLACE_CMD} -e 's|^libdir =.*|libdir = @libdir@/${SHORT_NAME}|' \ - -e 's|^libnet_la_LDFLAGS =\(.*\)|libnet_la_LDFLAGS =\1 -soname=libnet-${SHORT_NAME}.so.1|' \ - ${WRKSRC}/src/Makefile.in - -post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${PREFIX}/bin/${SHORT_NAME}-config - @cd ${PREFIX}/lib && \ - ${LN} -sf ${SHORT_NAME}/libnet.so libnet-${PORTVERSION}.so.8 && \ - ${LN} -sf libnet-${PORTVERSION}.so.8 libnet-${PORTVERSION}.so -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} -.endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif - -.include diff --git a/net/libnet-devel/distinfo b/net/libnet-devel/distinfo deleted file mode 100644 index a68fdb318450..000000000000 --- a/net/libnet-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (libnet-1.1.6.tar.gz) = d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a -SIZE (libnet-1.1.6.tar.gz) = 1202970 diff --git a/net/libnet-devel/files/patch-Makefile.in b/net/libnet-devel/files/patch-Makefile.in deleted file mode 100644 index 59863e03e93c..000000000000 --- a/net/libnet-devel/files/patch-Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ ---- ./Makefile.in.orig Thu Dec 2 21:27:39 2004 -+++ ./Makefile.in Sat Jan 20 14:10:35 2007 -@@ -208,7 +208,6 @@ - DISTCLEANFILES = *~ - SUBDIRS = include src sample - EXTRA_DIST = Makefile.am.common --bin_SCRIPTS = libnet-config - all: all-recursive - - .SUFFIXES: diff --git a/net/libnet-devel/files/patch-libnet.h.in b/net/libnet-devel/files/patch-libnet.h.in deleted file mode 100644 index 384bc0ad7941..000000000000 --- a/net/libnet-devel/files/patch-libnet.h.in +++ /dev/null @@ -1,12 +0,0 @@ ---- include/libnet.h.in.orig 2012-03-06 01:45:46.000000000 +0100 -+++ include/libnet.h.in 2012-04-18 20:37:06.000000000 +0200 -@@ -81,6 +81,9 @@ - #if !defined(__WIN32__) - # include - # include -+# if (__FreeBSD__) -+# include -+# endif - #else /* __WIN32__ */ - # if (__CYGWIN__) - # include diff --git a/net/libnet-devel/pkg-descr b/net/libnet-devel/pkg-descr deleted file mode 100644 index abe227681c3d..000000000000 --- a/net/libnet-devel/pkg-descr +++ /dev/null @@ -1,20 +0,0 @@ -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). - -Libnet is distrubuted under the BSD license. - -Author: Mike D. Schiffman -WWW: http://www.packetfactory.net/projects/libnet/ diff --git a/net/libnet-devel/pkg-plist b/net/libnet-devel/pkg-plist deleted file mode 100644 index f6f3c622a014..000000000000 --- a/net/libnet-devel/pkg-plist +++ /dev/null @@ -1,77 +0,0 @@ -bin/%%SNAME%%-config -include/%%SNAME%%/libnet.h -include/%%SNAME%%/libnet/libnet-asn1.h -include/%%SNAME%%/libnet/libnet-functions.h -include/%%SNAME%%/libnet/libnet-headers.h -include/%%SNAME%%/libnet/libnet-macros.h -include/%%SNAME%%/libnet/libnet-structures.h -include/%%SNAME%%/libnet/libnet-types.h -lib/%%SNAME%%/libnet.a -lib/%%SNAME%%/libnet.la -lib/%%SNAME%%/libnet.so -lib/%%SNAME%%/libnet.so.8 -lib/libnet-%%VERSION%%.so -lib/libnet-%%VERSION%%.so.8 -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG -%%PORTDOCS%%%%DOCSDIR%%/CONTRIB -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/DESIGN_NOTES -%%PORTDOCS%%%%DOCSDIR%%/MIGRATION -%%PORTDOCS%%%%DOCSDIR%%/PACKET_BUILDING -%%PORTDOCS%%%%DOCSDIR%%/PORTED -%%PORTDOCS%%%%DOCSDIR%%/RAWSOCKET_NON_SEQUITUR -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_hdr.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_notification.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_open.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_update.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cdp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dhcp_discover.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dns.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot1x.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fddi_tcp1.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fddi_tcp2.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get_addr.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gre.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hsrp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_echoreq.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_unreach.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_echo_cq.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_redirect.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_timeexceed.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_timestamp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_unreach.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ieee.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip_link.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip_raw.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isl.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mpls.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ntp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ospf_hello.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ospf_lsa.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ping_of_death.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc_tcp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc_udp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sebek.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smurf.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood6.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood6_frag.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp1.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp2.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv4.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv4_options.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv6_icmpv4.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tftp.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tring_tcp1.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tring_tcp2.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp1.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp2.c -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm lib/%%SNAME%% -@dirrm include/%%SNAME%%/libnet -@dirrm include/%%SNAME%%