aboutsummaryrefslogtreecommitdiff
path: root/security/isakmpd/Makefile
blob: 9cea49d06f00ca96acab26f328dcc3b6ad89924d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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=	20020403
PORTREVISION=	1
CATEGORIES=	security net
MASTER_SITES=	${MASTER_SITE_NETBSD}
MASTER_SITE_SUBDIR=	LOCAL_PORTS

PATCH_SITES=	ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.1/common/
PATCHFILES=	010_isakmpd.patch
PATCH_DIST_STRIP= -p2

LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4

MAINTAINER=	ports@FreeBSD.org

# this is not compatible with cross build - there's no other way
.if !exists(/usr/include/netinet6/ipsec.h)
BROKEN=		"requires IPsec support"
.endif

USE_OPENSSL=	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

.include <bsd.port.mk>