blob: 4125d6075e3433e2592674d921d931ea3b40adf7 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.5 2000/04/21 02:34:43 explorer 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
DEPENDS+= openssl-0.9.*:../../security/openssl
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"
|