1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/security/isakmpd/Makefile
Edwin Groothuis 5f570b422c 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>
2003-08-25 09:29:26 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection Makefile for: ISAKMP daemon
# Date created: Fri May 11 18:20:02 EEST 2001
# Whom: Martti Kuparinen <martti.kuparinen@iki.fi>
#
# $FreeBSD$
#
# NOTE: See NetBSD's /usr/pkgsrc/security/isakmpd if this package
# should be updated!
#
PORTNAME= isakmpd
PORTVERSION= 20021118
PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_NETBSD}
MASTER_SITE_SUBDIR= LOCAL_PORTS
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenBSD IKE daemon
# this is not compatible with cross build - there's no other way
.if !exists(/usr/include/netinet6/ipsec.h)
BROKEN= "requires IPsec support"
.endif
# If keynote is in use, bring the dependency
.if defined(USE_KEYNOTE)
BUILD_DEPENDS+= keynote:${PORTSDIR}/security/keynote
.endif
USE_OPENSSL= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/isakmpd
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
MAN5= isakmpd.conf.5 isakmpd.policy.5
MAN8= isakmpd.8
MANCOMPRESSED= yes
post-patch:
@(cd ${WRKSRC}; ${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" \
conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 \
isakmpd.policy.5 policy.h)
.include <bsd.port.mk>