From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 12 13:50:19 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7286E37B404 for ; Sat, 12 Jul 2003 13:50:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B9743FBF for ; Sat, 12 Jul 2003 13:50:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6CKoHUp097987 for ; Sat, 12 Jul 2003 13:50:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6CKoH8K097986; Sat, 12 Jul 2003 13:50:17 -0700 (PDT) Resent-Date: Sat, 12 Jul 2003 13:50:17 -0700 (PDT) Resent-Message-Id: <200307122050.h6CKoH8K097986@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Kolobov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5606037B401 for ; Sat, 12 Jul 2003 13:43:34 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id 00ACC43FAF for ; Sat, 12 Jul 2003 13:43:32 -0700 (PDT) (envelope-from sgk@kolobov.com) Received: (qmail 61729 invoked from network); 12 Jul 2003 20:43:28 -0000 Received: from dom.kolobov.com (HELO kolobov.com) (213.247.180.114) by outpost.globcon.net with SMTP; 12 Jul 2003 20:43:28 -0000 Received: (qmail 3877 invoked by uid 911); 12 Jul 2003 20:42:35 -0000 Message-Id: <20030712204235.3876.qmail@kolobov.com> Date: 12 Jul 2003 20:42:35 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: smace@FreeBSD.org Subject: ports/54421: [PATCH] net/libnet: update to 1.1.1-RC-005 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 20:50:19 -0000 >Number: 54421 >Category: ports >Synopsis: [PATCH] net/libnet: update to 1.1.1-RC-005 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jul 12 13:50:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun 5 02:19:41 MSD >Description: - Update to 1.1.1-RC-005 (latest development version) - Synchronize with net/libnet (see ports/54386): - Use CONFLICTS to prevent installation over stable version - Simplify Makefile, use DOCSDIR/EXAMPLESDIR - Reword COMMENT and pkg-descr, add Author tag - Do not patch configure.in/Makefile.am, remove USE_AUTOCONF/USE_AUTOMAKE - Use PKGNAMESUFFIX - Install examples and documentation Added files: - files/patch-Makefile.in Removed files: - files/patch-aa - files/patch-ab Port maintainer (smace@freebsd.org) is cc'd. >How-To-Repeat: >Fix: --- libnet-devel-1.1.1.r005.patch begins here --- Index: Makefile =================================================================== RCS file: /FreeBSD/cvs/ports/net/libnet-devel/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 7 Mar 2003 06:07:50 -0000 1.3 +++ Makefile 11 Jul 2003 15:43:08 -0000 @@ -5,23 +5,37 @@ # $FreeBSD: ports/net/libnet-devel/Makefile,v 1.3 2003/03/07 06:07:50 ade Exp $ # -PORTNAME= libnet-devel -PORTVERSION= 1.1.0 +PORTNAME= libnet +PORTVERSION= 1.1.1.r005 CATEGORIES= net MASTER_SITES= http://www.packetfactory.net/libnet/dist/ -DISTNAME= ${PORTNAME:S/-devel$//}-${PORTVERSION} +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-RC-/} MAINTAINER= smace@freebsd.org COMMENT= A C library for creating IP packets (development version) -WRKSRC= ${WRKDIR}/Libnet-latest +CONFLICTS= libnet-1.0.* libnet-1.1.0 -USE_AUTOMAKE= yes -USE_AUTOCONF= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION:S/.r/-RC-/} MAN3= libnet.3 +DOCS= README doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING \ + doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING doc/PORTED \ + doc/RAWSOCKET_NON_SEQUITUR doc/SUPPORTED_PROTOCOLS doc/TODO \ + doc/Ancillary/README.* +EXAMPLES= sample/*.c post-install: ${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${PREFIX}/bin + @${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif .include Index: distinfo =================================================================== RCS file: /FreeBSD/cvs/ports/net/libnet-devel/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 7 Jan 2003 20:50:07 -0000 1.1 +++ distinfo 11 Jul 2003 15:36:23 -0000 @@ -1 +1 @@ -MD5 (libnet-1.1.0.tar.gz) = b46e650d9d0e7ad5ef9439c7cd281922 +MD5 (libnet-1.1.1-RC-005.tar.gz) = cf3f72f6f8aad22e09a64a448bc37872 Index: pkg-descr =================================================================== RCS file: /FreeBSD/cvs/ports/net/libnet-devel/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 7 Jan 2003 20:50:07 -0000 1.1 +++ pkg-descr 11 Jul 2003 15:35:21 -0000 @@ -1,23 +1,20 @@ -Libnet A C library for portable packet creation (development version) - -domains of sockets and protocols. - -A C library for portable packet creation - -Included are also simple example test programs - -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 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. -WWW: http://www.packetfactory.net/projects/libnet/ +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. -*NOTE* -Libnet 1.1.x API is not compatible with earlier Libnet 1.0.x. -This port serves as a development tool to aid in porting applications -to the new API. -*NOTE* +Author: Mike D. Schiffman +WWW: http://www.packetfactory.net/projects/libnet/ Index: pkg-plist =================================================================== RCS file: /FreeBSD/cvs/ports/net/libnet-devel/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 14 Jan 2003 04:48:13 -0000 1.2 +++ pkg-plist 11 Jul 2003 15:46:18 -0000 @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/libnet-config include/libnet.h include/libnet/libnet-asn1.h @@ -5,5 +6,58 @@ include/libnet/libnet-headers.h include/libnet/libnet-macros.h include/libnet/libnet-structures.h -lib/libnet.a @dirrm include/libnet +lib/libnet.a +%%PORTDOCS%%%%DOCSDIR%%/BUGS +%%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%%/README.asn.1 +%%PORTDOCS%%%%DOCSDIR%%/README.bpf +%%PORTDOCS%%%%DOCSDIR%%/README.legacy-applications +%%PORTDOCS%%%%DOCSDIR%%/README.libnet-config +%%PORTDOCS%%%%DOCSDIR%%/README.linux +%%PORTDOCS%%%%DOCSDIR%%/README.rawsockets +%%PORTDOCS%%%%DOCSDIR%%/SUPPORTED_PROTOCOLS +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%EXAMPLESDIR%%/arp.c +%%EXAMPLESDIR%%/cdp.c +%%EXAMPLESDIR%%/dhcp_discover.c +%%EXAMPLESDIR%%/dns.c +%%EXAMPLESDIR%%/dot1x.c +%%EXAMPLESDIR%%/fddi_tcp1.c +%%EXAMPLESDIR%%/fddi_tcp2.c +%%EXAMPLESDIR%%/get_addr.c +%%EXAMPLESDIR%%/icmp6_echoreq.c +%%EXAMPLESDIR%%/icmp_echo_cq.c +%%EXAMPLESDIR%%/icmp_timeexceed.c +%%EXAMPLESDIR%%/icmp_timestamp.c +%%EXAMPLESDIR%%/icmp_unreach.c +%%EXAMPLESDIR%%/ieee.c +%%EXAMPLESDIR%%/ip.c +%%EXAMPLESDIR%%/isl.c +%%EXAMPLESDIR%%/mpls.c +%%EXAMPLESDIR%%/ntp.c +%%EXAMPLESDIR%%/ospf_hello.c +%%EXAMPLESDIR%%/ospf_lsa.c +%%EXAMPLESDIR%%/ping_of_death.c +%%EXAMPLESDIR%%/rpc_tcp.c +%%EXAMPLESDIR%%/rpc_udp.c +%%EXAMPLESDIR%%/smurf.c +%%EXAMPLESDIR%%/stp.c +%%EXAMPLESDIR%%/synflood.c +%%EXAMPLESDIR%%/synflood6.c +%%EXAMPLESDIR%%/tcp1.c +%%EXAMPLESDIR%%/tcp2.c +%%EXAMPLESDIR%%/tring_tcp1.c +%%EXAMPLESDIR%%/tring_tcp2.c +%%EXAMPLESDIR%%/udp1.c +%%EXAMPLESDIR%%/udp2.c +@dirrm %%EXAMPLESDIR%% Index: files/patch-Makefile.in =================================================================== RCS file: files/patch-Makefile.in diff -N files/patch-Makefile.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-Makefile.in 11 Jul 2003 15:49:50 -0000 @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Jul 11 19:49:00 2003 ++++ Makefile.in Fri Jul 11 19:49:26 2003 +@@ -97,7 +97,7 @@ + + DISTCLEANFILES = *~ + +-SUBDIRS = include src man sample ++SUBDIRS = include src man + + EXTRA_DIST = Makefile.am.common + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 Index: files/patch-aa =================================================================== RCS file: files/patch-aa diff -N files/patch-aa --- files/patch-aa 7 Jan 2003 20:50:07 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,22 +0,0 @@ ---- configure.in.orig Mon Aug 5 17:26:03 2002 -+++ configure.in Tue Jan 7 13:30:32 2003 -@@ -134,8 +134,8 @@ - AC_DEFINE(LIBNET_BSD_BYTE_SWAP) - AC_DEFINE(HAVE_SOCKADDR_SA_LEN) - LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN" -- AC_MSG_RESULT(Note: support/bpf-lkm/etherspoof contains the lkm source required to spoof ethernet frames) -- ln -sf FreeBSD support/bpf-lkm/etherspoof -+dnl AC_MSG_RESULT(Note: support/bpf-lkm/etherspoof contains the lkm source required to spoof ethernet frames) -+dnl ln -sf FreeBSD support/bpf-lkm/etherspoof - ;; - - *netbsd*) -@@ -219,7 +219,7 @@ - esac - - AC_OUTPUT(Makefile man/Makefile src/Makefile include/Makefile \ -- include/libnet/Makefile sample/Makefile version.h include/libnet.h \ -+ include/libnet/Makefile version.h include/libnet.h \ - libnet-config, chmod +x libnet-config) - - AC_MSG_RESULT(Please note this is libnet 1.1.x. Any code written for 1.0.x\ Index: files/patch-ab =================================================================== RCS file: files/patch-ab diff -N files/patch-ab --- files/patch-ab 7 Jan 2003 20:50:07 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,10 +0,0 @@ ---- Makefile.am.orig Tue Jan 7 13:18:10 2003 -+++ Makefile.am Tue Jan 7 13:18:14 2003 -@@ -8,6 +8,6 @@ - - include $(top_srcdir)/Makefile.am.common - --SUBDIRS = include src man sample -+SUBDIRS = include src man - - EXTRA_DIST = Makefile.am.common --- libnet-devel-1.1.1.r005.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: