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$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= isakmpd
|
2004-12-14 12:49:45 +01:00
|
|
|
PORTVERSION= 20041207
|
2006-03-27 22:57:48 +02:00
|
|
|
PORTREVISION= 2
|
2001-05-20 04:31:11 +02:00
|
|
|
CATEGORIES= security net
|
2004-12-14 12:49:45 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= simon
|
2004-10-21 23:25:00 +02:00
|
|
|
|
2007-04-05 12:10:19 +02: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)
|
2006-03-26 13:14:02 +02:00
|
|
|
BROKEN= requires IPsec support
|
2001-05-20 04:31:11 +02:00
|
|
|
.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
|
|
|
|
|
2006-03-26 13:14:02 +02:00
|
|
|
USE_RC_SUBR= isakmpd.sh
|
2002-05-08 08:16:29 +02:00
|
|
|
USE_OPENSSL= yes
|
2001-05-20 04:31:11 +02:00
|
|
|
WRKSRC= ${WRKDIR}/isakmpd
|
2005-12-11 19:08:07 +01:00
|
|
|
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man LC_ALL=C
|
2001-05-20 04:31:11 +02:00
|
|
|
|
|
|
|
MAN5= isakmpd.conf.5 isakmpd.policy.5
|
2003-09-10 10:22:59 +02:00
|
|
|
MAN8= certpatch.8 isakmpd.8
|
2001-05-20 04:31:11 +02:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2006-09-03 19:46:04 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700019
|
|
|
|
BROKEN= is not buildable with OpenSSL 0.9.8b
|
|
|
|
.endif
|
|
|
|
|
2003-01-03 08:21:30 +01:00
|
|
|
post-patch:
|
2003-10-17 14:41:12 +02:00
|
|
|
.for f in conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 isakmpd.policy.5 policy.h
|
|
|
|
${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/${f}
|
|
|
|
.endfor
|
2003-01-03 08:21:30 +01:00
|
|
|
|
2006-09-03 19:46:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|