# $NetBSD: Makefile,v 1.6 2000/04/25 19:10:10 thorpej Exp $ # 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 # 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) DEPENDS+= openssl-0.9.*:../../security/openssl .endif BUILD_DEPENDS+= cvs:../../devel/cvs 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"