summaryrefslogtreecommitdiffstats
path: root/net/libnet-devel
diff options
context:
space:
mode:
Diffstat (limited to 'net/libnet-devel')
-rw-r--r--net/libnet-devel/Makefile26
-rw-r--r--net/libnet-devel/distinfo1
-rw-r--r--net/libnet-devel/files/patch-aa22
-rw-r--r--net/libnet-devel/files/patch-ab10
-rw-r--r--net/libnet-devel/pkg-comment1
-rw-r--r--net/libnet-devel/pkg-descr23
-rw-r--r--net/libnet-devel/pkg-plist8
7 files changed, 91 insertions, 0 deletions
diff --git a/net/libnet-devel/Makefile b/net/libnet-devel/Makefile
new file mode 100644
index 0000000..11d7179
--- /dev/null
+++ b/net/libnet-devel/Makefile
@@ -0,0 +1,26 @@
+# Ports collection makefile for: libnet11
+# Date created: Jan 7, 2003
+# Whom: smace@freebsd.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= libnet-devel
+PORTVERSION= 1.1.0
+CATEGORIES= net
+MASTER_SITES= http://www.packetfactory.net/libnet/dist/
+DISTNAME= ${PORTNAME:S/-devel$//}-${PORTVERSION}
+
+MAINTAINER= smace@freebsd.org
+
+WRKSRC= ${WRKDIR}/Libnet-latest
+
+USE_AUTOMAKE= yes
+USE_AUTOCONF= yes
+
+MAN3= libnet.3
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/net/libnet-devel/distinfo b/net/libnet-devel/distinfo
new file mode 100644
index 0000000..e4561c0
--- /dev/null
+++ b/net/libnet-devel/distinfo
@@ -0,0 +1 @@
+MD5 (libnet-1.1.0.tar.gz) = b46e650d9d0e7ad5ef9439c7cd281922
diff --git a/net/libnet-devel/files/patch-aa b/net/libnet-devel/files/patch-aa
new file mode 100644
index 0000000..ac6346c
--- /dev/null
+++ b/net/libnet-devel/files/patch-aa
@@ -0,0 +1,22 @@
+--- 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\
diff --git a/net/libnet-devel/files/patch-ab b/net/libnet-devel/files/patch-ab
new file mode 100644
index 0000000..0e32083
--- /dev/null
+++ b/net/libnet-devel/files/patch-ab
@@ -0,0 +1,10 @@
+--- 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
diff --git a/net/libnet-devel/pkg-comment b/net/libnet-devel/pkg-comment
new file mode 100644
index 0000000..becda86
--- /dev/null
+++ b/net/libnet-devel/pkg-comment
@@ -0,0 +1 @@
+A C library for creating IP packets (development version)
diff --git a/net/libnet-devel/pkg-descr b/net/libnet-devel/pkg-descr
new file mode 100644
index 0000000..47cc409
--- /dev/null
+++ b/net/libnet-devel/pkg-descr
@@ -0,0 +1,23 @@
+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 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/
+
+*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*
diff --git a/net/libnet-devel/pkg-plist b/net/libnet-devel/pkg-plist
new file mode 100644
index 0000000..c2b620a
--- /dev/null
+++ b/net/libnet-devel/pkg-plist
@@ -0,0 +1,8 @@
+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-structures.h
+lib/libnet.a
OpenPOWER on IntegriCloud