File racoon.conf_macros.patch of Package ipsec-tools
The sample racoon.conf contains macros that should probably be expanded by
configure but they aren't. Patching configure to do it would be more hassle
than this patch for racoon.conf.
--- ipsec-tools-0.6.5/src/racoon/samples/racoon.conf.in 2005-04-18 13:10:55.000000000 +0200
+++ ipsec-tools-0.6.5.fix/src/racoon/samples/racoon.conf.in 2006-05-04 21:37:34.000000000 +0200
@@ -4,15 +4,15 @@
# "include" directive with relative file path.
# you can overwrite "path" directive afterwards, however, doing so may add
# more confusion.
-path include "@sysconfdir_x@/racoon";
+path include "/etc/racoon";
#include "remote.conf";
# the file should contain key ID/key pairs, for pre-shared key authentication.
-path pre_shared_key "@sysconfdir_x@/racoon/psk.txt";
+path pre_shared_key "/etc/racoon/psk.txt";
# racoon will look for certificate file in the directory,
# if the certificate/certificate request payload is received.
-path certificate "@sysconfdir_x@/cert";
+path certificate "/etc/cert";
# "log" specifies logging level. It is followed by either "notify", "debug"
# or "debug2".