Bye bye Pluto!
Charon will take over IKEv1 duties from here. This also removes libfreeswan and whack.
This commit is contained in:
@@ -20,10 +20,6 @@ LOCAL_C_INCLUDES += \
|
||||
LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON \
|
||||
-DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
|
||||
|
||||
ifneq ($(strongswan_BUILD_PLUTO),)
|
||||
LOCAL_CFLAGS += -DSTART_PLUTO
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := starter
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
@@ -29,10 +29,6 @@ EXTRA_DIST = keywords.txt ipsec.conf Android.mk
|
||||
MAINTAINERCLEANFILES = keywords.c
|
||||
BUILT_SOURCES = parser.h
|
||||
|
||||
if USE_PLUTO
|
||||
AM_CFLAGS += -DSTART_PLUTO
|
||||
endif
|
||||
|
||||
if USE_CHARON
|
||||
AM_CFLAGS += -DSTART_CHARON
|
||||
endif
|
||||
|
||||
+1
-11
@@ -77,9 +77,6 @@ static void default_values(starter_config_t *cfg)
|
||||
#ifdef START_CHARON
|
||||
cfg->setup.charonstart = TRUE;
|
||||
#endif
|
||||
#ifdef START_PLUTO
|
||||
cfg->setup.plutostart = TRUE;
|
||||
#endif
|
||||
|
||||
cfg->conn_default.seen = SEEN_NONE;
|
||||
cfg->conn_default.startup = STARTUP_NO;
|
||||
@@ -143,20 +140,13 @@ static void load_setup(starter_config_t *cfg, config_parsed_t *cfgp)
|
||||
}
|
||||
}
|
||||
|
||||
/* verify the executables are actually available (some distros split
|
||||
* packages but enabled both) */
|
||||
/* verify the executables are actually available */
|
||||
#ifdef START_CHARON
|
||||
cfg->setup.charonstart = cfg->setup.charonstart &&
|
||||
daemon_exists("charon", CHARON_CMD);
|
||||
#else
|
||||
cfg->setup.charonstart = FALSE;
|
||||
#endif
|
||||
#ifdef START_PLUTO
|
||||
cfg->setup.plutostart = cfg->setup.plutostart &&
|
||||
daemon_exists("pluto", PLUTO_CMD);
|
||||
#else
|
||||
cfg->setup.plutostart = FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void kw_end(starter_conn_t *conn, starter_end_t *end, kw_token_t token,
|
||||
|
||||
@@ -24,10 +24,6 @@
|
||||
#define CONFIG_FILE IPSEC_CONFDIR "/ipsec.conf"
|
||||
#define SECRETS_FILE IPSEC_CONFDIR "/ipsec.secrets"
|
||||
|
||||
#define PLUTO_CMD IPSEC_DIR "/pluto"
|
||||
#define PLUTO_CTL_FILE IPSEC_PIDDIR "/pluto.ctl"
|
||||
#define PLUTO_PID_FILE IPSEC_PIDDIR "/pluto.pid"
|
||||
|
||||
#define CHARON_CMD IPSEC_DIR "/charon"
|
||||
#define CHARON_CTL_FILE IPSEC_PIDDIR "/charon.ctl"
|
||||
#define CHARON_PID_FILE IPSEC_PIDDIR "/charon.pid"
|
||||
|
||||
Reference in New Issue
Block a user