diff options
-rw-r--r-- | devel/libnet/DESCR | 10 | ||||
-rw-r--r-- | devel/libnet/Makefile | 32 | ||||
-rw-r--r-- | devel/libnet/PLIST | 12 | ||||
-rw-r--r-- | devel/libnet/buildlink3.mk | 20 | ||||
-rw-r--r-- | devel/libnet/distinfo | 8 | ||||
-rw-r--r-- | devel/libnet/patches/patch-aa | 58 | ||||
-rw-r--r-- | devel/libnet/patches/patch-ab | 15 | ||||
-rw-r--r-- | devel/libnet/patches/patch-ac | 58 |
8 files changed, 0 insertions, 213 deletions
diff --git a/devel/libnet/DESCR b/devel/libnet/DESCR deleted file mode 100644 index 5321c40fb63..00000000000 --- a/devel/libnet/DESCR +++ /dev/null @@ -1,10 +0,0 @@ -Libnet - -A C library for portable packet creation and injection. - -Libnet is a collection of routines to help with the construction and handling -of network packets. It provides a portable framework for low-level network -packet writing and handling. - -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/libnet/Makefile b/devel/libnet/Makefile deleted file mode 100644 index 76806bad8b5..00000000000 --- a/devel/libnet/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# $NetBSD: Makefile,v 1.31 2007/02/15 14:22:02 rillig Exp $ -# - -DISTNAME= libnet-1.0.2a -CATEGORIES= devel net -MASTER_SITES= http://www.packetfactory.net/libnet/dist/deprecated/ - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.packetfactory.net/libnet/ -COMMENT= C library for portable packet creation and injection - -PKG_INSTALLATION_TYPES= overwrite pkgviews -CONFLICTS= libnet-1.1.[0-9]* # in devel/libnet11 - -WRKSRC= ${WRKDIR}/${DISTNAME:C/l/L/} - -USE_LIBTOOL= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV+= LIBNET_CONFIG_CFLAGS="-I${PREFIX}/include" \ - LIBNET_CONFIG_LIBS=${LDFLAGS:M*:Q} - -INSTALLATION_DIRS= bin lib share/examples ${PKGMANDIR}/man3 - -post-extract: - ${CHMOD} -R a+r ${WRKSRC}/doc - -SUBST_CLASSES+= man -SUBST_STAGE.man= pre-configure -SUBST_FILES.man= Makefile.in -SUBST_SED.man= -e 's,@MAN_PREFIX@,${PREFIX}/${PKGMANDIR}/man3,g' - -.include "../../mk/bsd.pkg.mk" diff --git a/devel/libnet/PLIST b/devel/libnet/PLIST deleted file mode 100644 index 99fc4c29029..00000000000 --- a/devel/libnet/PLIST +++ /dev/null @@ -1,12 +0,0 @@ -@comment $NetBSD: PLIST,v 1.5 2005/08/26 16:54:21 drochner Exp $ -bin/libnet-config -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-ospf.h -include/libnet/libnet-structures.h -lib/libnet.la -man/man3/libnet.3 -@dirrm include/libnet diff --git a/devel/libnet/buildlink3.mk b/devel/libnet/buildlink3.mk deleted file mode 100644 index dc5367a899e..00000000000 --- a/devel/libnet/buildlink3.mk +++ /dev/null @@ -1,20 +0,0 @@ -# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:45 jlam 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 -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnet - -.if !empty(LIBNET_BUILDLINK3_MK:M+) -BUILDLINK_API_DEPENDS.libnet+= libnet>=1.0.1bnb3 -BUILDLINK_ABI_DEPENDS.libnet+= libnet>=1.0.1bnb4 -BUILDLINK_PKGSRCDIR.libnet?= ../../devel/libnet -.endif # LIBNET_BUILDLINK3_MK - -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libnet/distinfo b/devel/libnet/distinfo deleted file mode 100644 index 54e392296a1..00000000000 --- a/devel/libnet/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: distinfo,v 1.9 2006/07/06 12:56:30 markd Exp $ - -SHA1 (libnet-1.0.2a.tar.gz) = 804eaf43bb90f93e505d46a9668c914a112bf136 -RMD160 (libnet-1.0.2a.tar.gz) = 43dd2edc31e56b42792727b88d81342dc26d3308 -Size (libnet-1.0.2a.tar.gz) = 140191 bytes -SHA1 (patch-aa) = 5dc17a1cac05cf0ea80e421b4e1f092cfc172550 -SHA1 (patch-ab) = 56a2cb8b214529fdaacdbc6154ec2fc88edfa1c8 -SHA1 (patch-ac) = 8a329e6f71fea449d6f7bf913c34627285452b66 diff --git a/devel/libnet/patches/patch-aa b/devel/libnet/patches/patch-aa deleted file mode 100644 index 59a94018180..00000000000 --- a/devel/libnet/patches/patch-aa +++ /dev/null @@ -1,58 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2005/08/26 16:54:21 drochner Exp $ - ---- Makefile.in.orig 2001-02-05 18:51:41.000000000 +0100 -+++ Makefile.in -@@ -20,7 +20,7 @@ MAN_PREFIX = @MAN_PREFIX@ - - LIBNET = libnet - LIBPWRITE = libpwrite --LIB = lib/$(LIBNET).a -+LIB = $(LIBNET).a - MAN = doc/$(LIBNET).3 - INCLUDE = include/$(LIBNET).h - INCLUDE-H = include/$(LIBNET)/$(LIBNET)-headers.h -@@ -68,14 +68,15 @@ OBJECTS = src/libnet_resolve.o\ - src/libnet_port_list.o - - .c.o: -- $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFINES) -c $< -o $@ -+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFINES) -c $< -+ ln -s $(@:C|src|..|) src - - all: libnet - supp: test example - --libnet: version.h $(OBJECTS) -- $(AR) -cr $(LIB) $(OBJECTS) -- $(RANLIB) $(LIB) -+libnet: $(LIB) -+$(LIB): version.h $(OBJECTS) -+ $(LIBTOOL) --mode=link $(CC) -o $(LIB:.a=.la) $(OBJECTS:C|src/||:.o=.lo) -rpath $(LIB_PREFIX) -version-info 1:0 - - version.o: version.h - version.h: ./VERSION -@@ -92,15 +93,8 @@ example: libnet install - cd example; make - - install: libnet -- $(ENSUREDIR) $(DESTDIR)$(prefix) 755 -- $(ENSUREDIR) $(DESTDIR)$(LIB_PREFIX) 755 - $(ENSUREDIR) $(DESTDIR)$(INC_PREFIX)$(LIBNET) 755 -- $(ENSUREDIR) $(DESTDIR)$(INC_PREFIX) 755 -- $(ENSUREDIR) $(DESTDIR)$(MAN_PREFIX) 755 -- $(ENSUREDIR) $(DESTDIR)$(BIN_PREFIX) 755 -- $(INSTALL_DATA) $(LIB) $(DESTDIR)$(LIB_PREFIX) -- rm -f $(DESTDIR)$(LIB_PREFIX)$(LIBPWRITE).a -- cd $(DESTDIR)$(LIB_PREFIX); $(LN) -f -s $(LIBNET).a $(LIBPWRITE).a -+ $(LIBTOOL) --mode=install $(INSTALL) -c -m 0644 $(LIB:.a=.la) $(DESTDIR)$(LIB_PREFIX) - $(INSTALL_DATA) $(INCLUDE) $(DESTDIR)$(INC_PREFIX) - $(INSTALL_DATA) $(INCLUDE-H) $(DESTDIR)$(INC_PREFIX)$(LIBNET) - $(INSTALL_DATA) $(INCLUDE-F) $(DESTDIR)$(INC_PREFIX)$(LIBNET) -@@ -110,6 +104,7 @@ install: libnet - $(INSTALL_DATA) $(INCLUDE-O) $(DESTDIR)$(INC_PREFIX)$(LIBNET) - $(INSTALL_DATA) $(MAN) $(DESTDIR)$(MAN_PREFIX) - $(INSTALL_DATA) $(CONFIG) $(DESTDIR)$(BIN_PREFIX) -+ $(LIBTOOL) --mode=finish $(DESTDIR)$(LIB_PREFIX) - - - diff --git a/devel/libnet/patches/patch-ab b/devel/libnet/patches/patch-ab deleted file mode 100644 index 2f3598220bd..00000000000 --- a/devel/libnet/patches/patch-ab +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2005/08/26 16:54:21 drochner Exp $ - ---- include/libnet.h.orig 2001-02-07 00:19:25.000000000 +0100 -+++ include/libnet.h -@@ -84,8 +84,8 @@ - #define LIBNET_VERSION "1.0.2a" - - #if (!LIBNET_LIL_ENDIAN && !LIBNET_BIG_ENDIAN) --#error "byte order has not been specified, you'll --need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the -+#error "byte order has not been specified, you'll \ -+need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the \ - documentation regarding the libnet-config script." - #endif - diff --git a/devel/libnet/patches/patch-ac b/devel/libnet/patches/patch-ac deleted file mode 100644 index df0fe2b65d7..00000000000 --- a/devel/libnet/patches/patch-ac +++ /dev/null @@ -1,58 +0,0 @@ -$NetBSD: patch-ac,v 1.5 2006/07/06 12:56:30 markd Exp $ - ---- configure.orig 2001-01-18 09:59:33.000000000 +1300 -+++ configure -@@ -506,7 +506,7 @@ fi - - ac_ext=c - # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='${CC-cc} -E $CPPFLAGS' - ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' - ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' - cross_compiling=$ac_cv_prog_cc_cross -@@ -778,7 +778,7 @@ echo "configure:778: checking whether th - - ac_ext=c - # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='${CC-cc} -E $CPPFLAGS' - ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' - ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' - cross_compiling=$ac_cv_prog_cc_cross -@@ -806,7 +806,7 @@ fi - rm -fr conftest* - ac_ext=c - # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='${CC-cc} -E $CPPFLAGS' - ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' - ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' - cross_compiling=$ac_cv_prog_cc_cross -@@ -1284,7 +1284,7 @@ fi - echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6 - echo "configure:1286: checking low-level packet interface type" >&5 - --if test -r /dev/bpf0 ; then -+if test -r /dev/bpf0 -o -r /dev/bpf -o -r /usr/include/net/bpf.h ; then - LL_INT_TYPE=bpf - echo "$ac_t""found bpf" 1>&6 - elif test -r /usr/include/net/pfilt.h ; then -@@ -1416,7 +1416,7 @@ fi - - - fi --elif test -c /dev/bpf0 ; then # check again in case not readable -+elif test -c /dev/bpf0 -o -c /dev/bpf ; then # check again in case not readable - LL_INT_TYPE=bpf - echo "$ac_t""found bpf" 1>&6 - elif test -c /dev/enet ; then # check again in case not readable -@@ -1577,7 +1577,7 @@ done - BIN_PREFIX="$prefix/bin/" - ;; - --*freebsd*) -+*freebsd* | *dragonfly*) - cat >> confdefs.h <<\EOF - #define LIBNET_BSDISH_OS 1 - EOF |