freebsd-ports/security/isakmpd/Makefile
Simon L. B. Nielsen 11e3a1f879 Force C locale during build, since the isakmpd build system is not
locale safe.

This should fix the build for locales like German and Hungarian where
the tr(1) misuse "tr '[a-z]' '[A-Z]'" does not work.

Add SHA256 checksum when I'm modifying the port anyway.

Reported by:	Harald Schmalzbauer, Zahemszky Gabor
Should have been fixed long ago by:	simon
2005-12-11 18:08:07 +00:00

41 lines
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$
#
PORTNAME= isakmpd
PORTVERSION= 20041207
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= simon
MAINTAINER= simon@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 LC_ALL=C
MAN5= isakmpd.conf.5 isakmpd.policy.5
MAN8= certpatch.8 isakmpd.8
MANCOMPRESSED= yes
post-patch:
.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
.include <bsd.port.mk>