2001-05-20 04:31:11 +02:00
|
|
|
# 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
|
2003-01-03 08:10:25 +01:00
|
|
|
PORTVERSION= 20021118
|
2003-08-25 11:29:26 +02:00
|
|
|
PORTREVISION= 1
|
2001-05-20 04:31:11 +02:00
|
|
|
CATEGORIES= security net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_NETBSD}
|
|
|
|
MASTER_SITE_SUBDIR= LOCAL_PORTS
|
|
|
|
|
2003-01-03 08:10:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= OpenBSD IKE daemon
|
2001-05-20 04:31:11 +02:00
|
|
|
|
|
|
|
# this is not compatible with cross build - there's no other way
|
|
|
|
.if !exists(/usr/include/netinet6/ipsec.h)
|
|
|
|
BROKEN= "requires IPsec support"
|
|
|
|
.endif
|
|
|
|
|
2003-07-30 08:16:41 +02:00
|
|
|
# If keynote is in use, bring the dependency
|
|
|
|
.if defined(USE_KEYNOTE)
|
|
|
|
BUILD_DEPENDS+= keynote:${PORTSDIR}/security/keynote
|
|
|
|
.endif
|
|
|
|
|
2002-05-08 08:16:29 +02:00
|
|
|
USE_OPENSSL= yes
|
2003-01-03 08:21:30 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-05-20 04:31:11 +02:00
|
|
|
WRKSRC= ${WRKDIR}/isakmpd
|
|
|
|
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
|
|
|
|
|
|
|
|
MAN5= isakmpd.conf.5 isakmpd.policy.5
|
|
|
|
MAN8= isakmpd.8
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2003-01-03 08:21:30 +01:00
|
|
|
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)
|
|
|
|
|
2001-05-20 04:31:11 +02:00
|
|
|
.include <bsd.port.mk>
|