The Racoon2 project is a joint effort which provides an implementation of key management system for IPsec. The implementation is called Racoon2, a successor of Racoon, which was developed by the KAME project. It supports IKEv1, IKEv2, and KINK protocols. It works on FreeBSD, NetBSD, Linux, and Mac OS X. Racoon2 is provided under a BSD-style license. To support various environments that use IPsec, we will develop various functions.
I am building in $DIR_BUILD with a git clone in $DIR_SRC. This is supposed to work with autotools, and it usually does.
I tried, and failed, with
cd "$DIR_BUILD"
rm -rf *
autoreconf -f -i "$DIR_BUILD" && \
"$DIR_SRC/configure" --prefix="/usr" && \
make && \
empty_dir "$DIR_TREE" && \
make DESTDIR="$DIR_TREE" install
Problems I found are:
It stores configuration files in $DIR_SRC
The make call cannot find lib/*h files (missing.h, racoon.h, rc_malloc.h, ...)
The make install call does not properly locate the samples (01setkey was the first reported)
I must be doing something wrong; have a poor understanding of autotools, but know that the separation of $DIR_SRC and $DIR_BUILD is part of its intentions. Can you try this and make it work?
I am building in
$DIR_BUILD
with a git clone in$DIR_SRC
. This is supposed to work with autotools, and it usually does.I tried, and failed, with
Problems I found are:
$DIR_SRC
make
call cannot findlib/*h
files (missing.h
,racoon.h
,rc_malloc.h
, ...)make install
call does not properly locate the samples (01setkey
was the first reported)I must be doing something wrong; have a poor understanding of autotools, but know that the separation of
$DIR_SRC
and$DIR_BUILD
is part of its intentions. Can you try this and make it work?