pkgsrc/security/racoon/Makefile

57 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2000/04/25 19:10:10 thorpej Exp $
2000-04-04 05:01:11 +02:00
#
DISTNAME= racoon-0.0
CATEGORIES= security net
MAINTAINER= itojun@kame.net
HOMEPAGE= http:/www.kame.net/
# this is not compatible with cross build - there's no other way
.if !exists(/usr/include/netinet6/ipsec.h)
IGNORE+= "requires ipsec-ready NetBSD"
.endif
2000-04-04 05:01:11 +02:00
# openssl is necessary for RSA libraries
# if PATENTEDOPENSSLSRC is defined, then we assume that
# RSA already exists in the OpenSSL built as part of the
# base distribution.
.if !defined(PATENTEDOPENSSLSRC)
2000-04-21 04:34:43 +02:00
DEPENDS+= openssl-0.9.*:../../security/openssl
.endif
2000-04-04 05:12:11 +02:00
BUILD_DEPENDS+= cvs:../../devel/cvs
2000-04-04 05:01:11 +02:00
CONFLICTS+= racoon-*
# crypto-intl configuration. needs "cvs login".
ANONCVS= :pserver:anoncvs@anoncvs.jp.netbsd.org:/cvs/cvsroot
INTL= intl
# crypto-us configuration. needs "CVS_RSH = ssh". not tested.
#ANONCVS= anoncvs@anoncvs.netbsd.org:/cvsroot
#INTL= us
WRKSRC= ${WRKDIR}/racoon
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-debug
.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
do-fetch::
do-extract:
${MKDIR} ${WRKDIR}
(cd ${WRKDIR}; cvs -d ${ANONCVS} co -P -d racoon \
cryptosrc-${INTL}/crypto-${INTL}/dist/kame/racoon)
(cd ${WRKDIR}; cvs -d ${ANONCVS} co -P -d libpfkey \
cryptosrc-${INTL}/crypto-${INTL}/dist/kame/libpfkey)
${CP} ${FILESDIR}/Makefile.libpfkey ${WRKDIR}/libpfkey/Makefile
pre-build:
(cd ${WRKDIR}/libpfkey; make)
.include "../../mk/bsd.pkg.mk"