1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

isakmpd pcap support is broken

The isakmpd port comes with a pcap.h that is not compatible
	with the FreeBSD pcap.h.  As a result, the pcap file written
	by isakmpd has an incorrect 'linktype' in the header.  Thus,
	if one tries to use the pcap file with a FreeBSD tool like
	tcpdump, the packets are incorrectly (read: not at all)
	decoded.

PR:		ports/55940
Submitted by:	James E. Flemer <jflemer@alum.rpi.edu>
This commit is contained in:
Edwin Groothuis 2003-08-25 09:29:26 +00:00
parent 542c96dfe9
commit 5f570b422c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87657
2 changed files with 11 additions and 4 deletions

View File

@ -10,6 +10,7 @@
PORTNAME= isakmpd
PORTVERSION= 20021118
PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_NETBSD}
MASTER_SITE_SUBDIR= LOCAL_PORTS

View File

@ -1,6 +1,8 @@
--- sysdep/freebsd/Makefile.sysdep.orig Fri Feb 21 10:14:47 2003
+++ sysdep/freebsd/Makefile.sysdep Thu Aug 29 01:39:36 2002
@@ -42,7 +42,7 @@
$FreeBSD$
--- sysdep/freebsd/Makefile.sysdep.orig Thu Aug 29 02:39:36 2002
+++ sysdep/freebsd/Makefile.sysdep Sun Aug 24 18:30:45 2003
@@ -42,10 +42,10 @@
LIBSYSDEPDIR= ${.CURDIR}/sysdep/common/libsysdep
.endif
@ -8,4 +10,8 @@
+LDADD+= ${LIBSYSDEPDIR}/libsysdep.a -lipsec -L/usr/local/lib
DPADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a
CFLAGS+= -DHAVE_GETNAMEINFO -DHAVE_GETIFADDRS \
-CFLAGS+= -DHAVE_GETNAMEINFO -DHAVE_GETIFADDRS \
+CFLAGS+= -DHAVE_GETNAMEINFO -DHAVE_GETIFADDRS -DHAVE_PCAP \
-I${.CURDIR}/sysdep/common -I/usr/include \
-I/usr/local/include -I/usr/local/include/openssl