mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix hardcoded cofiguration path.
Reported by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
This commit is contained in:
parent
002d2c5fba
commit
e046463a26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219206
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= racoon2
|
||||
PORTVERSION= 20071227e
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security net ipv6
|
||||
MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
11
security/racoon2/files/patch-kinkd-pathnames.h
Normal file
11
security/racoon2/files/patch-kinkd-pathnames.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- kinkd/pathnames.h~ 2005-08-04 01:14:54.000000000 +0900
|
||||
+++ kinkd/pathnames.h 2008-08-26 15:23:53.000000000 +0900
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#define PIDFILE_DIR "/var/run"
|
||||
#define CACHE_DIR "/var/run" /* or "/var/db" */
|
||||
-#define RACOON2_CONFIG_FILE RACOON2_CONFIG_DIR "/racoon2.conf"
|
||||
+#define RACOON2_CONFIG_FILE RACOON_CONF
|
||||
|
||||
#ifdef MAKE_KINK_LIST_FILE
|
||||
#define KINK_LIST_FILE "/var/run/kink-handle.list"
|
11
security/racoon2/files/patch-lib-racoon.h
Normal file
11
security/racoon2/files/patch-lib-racoon.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/racoon.h~ 2007-12-12 16:12:22.000000000 +0900
|
||||
+++ lib/racoon.h 2008-08-13 13:20:32.000000000 +0900
|
||||
@@ -42,7 +42,7 @@
|
||||
#include "script.h"
|
||||
#include "missing/missing.h"
|
||||
|
||||
-#define RACOON_CONF SYSCONFDIR "/racoon2/racoon2.conf"
|
||||
+#define RACOON_CONF SYSCONFDIR "/racoon2.conf"
|
||||
|
||||
extern int rct2isakmp_exmode __P((int));
|
||||
extern int rct2app_action __P((int));
|
11
security/racoon2/files/patch-spmd-spmd_internal.h
Normal file
11
security/racoon2/files/patch-spmd-spmd_internal.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- spmd/spmd_internal.h~ 2007-12-13 19:40:24.000000000 +0900
|
||||
+++ spmd/spmd_internal.h 2008-08-26 15:10:46.000000000 +0900
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
extern int spmd_foreground;
|
||||
|
||||
-#define RACOON2_CONFIG_FILE SYSCONFDIR"/racoon2/racoon2.conf"
|
||||
+#define RACOON2_CONFIG_FILE RACOON_CONF
|
||||
|
||||
#if defined(HAVE_NSSWITCH_CONF)
|
||||
# define NSSWITCH_CONF_FILE "/etc/nsswitch.conf"
|
Loading…
Reference in New Issue
Block a user