mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Add libnet-devel
libnet-devel will maintain libnet-1.1.x. A limited number of ports currently support or will require libnet-1.1.x in the future. The API is not backwards compatible. Unfortunately many ports still require libnet-1.0.x and do not support the new API (and may never support it). libnet-devel will fill the gap until the API change settles out and 1.0.x is fully deprecated.
This commit is contained in:
parent
1680eba2db
commit
82ef4f9f49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72710
26
net/libnet-devel/Makefile
Normal file
26
net/libnet-devel/Makefile
Normal file
@ -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>
|
1
net/libnet-devel/distinfo
Normal file
1
net/libnet-devel/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libnet-1.1.0.tar.gz) = b46e650d9d0e7ad5ef9439c7cd281922
|
22
net/libnet-devel/files/patch-aa
Normal file
22
net/libnet-devel/files/patch-aa
Normal file
@ -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\
|
10
net/libnet-devel/files/patch-ab
Normal file
10
net/libnet-devel/files/patch-ab
Normal file
@ -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
|
1
net/libnet-devel/pkg-comment
Normal file
1
net/libnet-devel/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A C library for creating IP packets (development version)
|
23
net/libnet-devel/pkg-descr
Normal file
23
net/libnet-devel/pkg-descr
Normal file
@ -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*
|
8
net/libnet-devel/pkg-plist
Normal file
8
net/libnet-devel/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user