libhydra: Move all kernel plugins to libcharon
This commit is contained in:
1 parent
91d80298f9
commit
dec9e1957f
28 files changed
+38
-43
No files matched your search
+10
-15
@@ -1280,9 +1280,8 @@ cmd_plugins=
|
|||||||
aikgen_plugins=
|
aikgen_plugins=
|
||||||
|
|
||||||
# location specific lists for checksumming,
|
# location specific lists for checksumming,
|
||||||
# for src/libcharon, src/libhydra, src/libstrongswan and src/libtnccs
|
# for src/libcharon, src/libstrongswan and src/libtnccs
|
||||||
c_plugins=
|
c_plugins=
|
||||||
h_plugins=
|
|
||||||
s_plugins=
|
s_plugins=
|
||||||
t_plugins=
|
t_plugins=
|
||||||
|
|
||||||
@@ -1347,9 +1346,9 @@ ADD_PLUGIN([load-tester], [c charon])
|
|||||||
ADD_PLUGIN([kernel-libipsec], [c charon cmd])
|
ADD_PLUGIN([kernel-libipsec], [c charon cmd])
|
||||||
ADD_PLUGIN([kernel-wfp], [c charon])
|
ADD_PLUGIN([kernel-wfp], [c charon])
|
||||||
ADD_PLUGIN([kernel-iph], [c charon])
|
ADD_PLUGIN([kernel-iph], [c charon])
|
||||||
ADD_PLUGIN([kernel-pfkey], [h charon starter nm cmd])
|
ADD_PLUGIN([kernel-pfkey], [c charon starter nm cmd])
|
||||||
ADD_PLUGIN([kernel-pfroute], [h charon starter nm cmd])
|
ADD_PLUGIN([kernel-pfroute], [c charon starter nm cmd])
|
||||||
ADD_PLUGIN([kernel-netlink], [h charon starter nm cmd])
|
ADD_PLUGIN([kernel-netlink], [c charon starter nm cmd])
|
||||||
ADD_PLUGIN([resolve], [c charon cmd])
|
ADD_PLUGIN([resolve], [c charon cmd])
|
||||||
ADD_PLUGIN([socket-default], [c charon nm cmd])
|
ADD_PLUGIN([socket-default], [c charon nm cmd])
|
||||||
ADD_PLUGIN([socket-dynamic], [c charon cmd])
|
ADD_PLUGIN([socket-dynamic], [c charon cmd])
|
||||||
@@ -1511,6 +1510,9 @@ AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
|
|||||||
AM_CONDITIONAL(USE_DHCP, test x$dhcp = xtrue)
|
AM_CONDITIONAL(USE_DHCP, test x$dhcp = xtrue)
|
||||||
AM_CONDITIONAL(USE_LOAD_TESTER, test x$load_tester = xtrue)
|
AM_CONDITIONAL(USE_LOAD_TESTER, test x$load_tester = xtrue)
|
||||||
AM_CONDITIONAL(USE_HA, test x$ha = xtrue)
|
AM_CONDITIONAL(USE_HA, test x$ha = xtrue)
|
||||||
|
AM_CONDITIONAL(USE_KERNEL_NETLINK, test x$kernel_netlink = xtrue)
|
||||||
|
AM_CONDITIONAL(USE_KERNEL_PFKEY, test x$kernel_pfkey = xtrue)
|
||||||
|
AM_CONDITIONAL(USE_KERNEL_PFROUTE, test x$kernel_pfroute = xtrue)
|
||||||
AM_CONDITIONAL(USE_KERNEL_LIBIPSEC, test x$kernel_libipsec = xtrue)
|
AM_CONDITIONAL(USE_KERNEL_LIBIPSEC, test x$kernel_libipsec = xtrue)
|
||||||
AM_CONDITIONAL(USE_KERNEL_WFP, test x$kernel_wfp = xtrue)
|
AM_CONDITIONAL(USE_KERNEL_WFP, test x$kernel_wfp = xtrue)
|
||||||
AM_CONDITIONAL(USE_KERNEL_IPH, test x$kernel_iph = xtrue)
|
AM_CONDITIONAL(USE_KERNEL_IPH, test x$kernel_iph = xtrue)
|
||||||
@@ -1578,12 +1580,6 @@ AM_CONDITIONAL(USE_RESOLVE, test x$resolve = xtrue)
|
|||||||
AM_CONDITIONAL(USE_ATTR, test x$attr = xtrue)
|
AM_CONDITIONAL(USE_ATTR, test x$attr = xtrue)
|
||||||
AM_CONDITIONAL(USE_ATTR_SQL, test x$attr_sql = xtrue)
|
AM_CONDITIONAL(USE_ATTR_SQL, test x$attr_sql = xtrue)
|
||||||
|
|
||||||
# hydra plugins
|
|
||||||
# ---------------
|
|
||||||
AM_CONDITIONAL(USE_KERNEL_NETLINK, test x$kernel_netlink = xtrue)
|
|
||||||
AM_CONDITIONAL(USE_KERNEL_PFKEY, test x$kernel_pfkey = xtrue)
|
|
||||||
AM_CONDITIONAL(USE_KERNEL_PFROUTE, test x$kernel_pfroute = xtrue)
|
|
||||||
|
|
||||||
# other options
|
# other options
|
||||||
# ---------------
|
# ---------------
|
||||||
AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
|
AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
|
||||||
@@ -1749,9 +1745,6 @@ AC_CONFIG_FILES([
|
|||||||
src/libstrongswan/plugins/test_vectors/Makefile
|
src/libstrongswan/plugins/test_vectors/Makefile
|
||||||
src/libstrongswan/tests/Makefile
|
src/libstrongswan/tests/Makefile
|
||||||
src/libhydra/Makefile
|
src/libhydra/Makefile
|
||||||
src/libhydra/plugins/kernel_netlink/Makefile
|
|
||||||
src/libhydra/plugins/kernel_pfkey/Makefile
|
|
||||||
src/libhydra/plugins/kernel_pfroute/Makefile
|
|
||||||
src/libhydra/tests/Makefile
|
src/libhydra/tests/Makefile
|
||||||
src/libipsec/Makefile
|
src/libipsec/Makefile
|
||||||
src/libipsec/tests/Makefile
|
src/libipsec/tests/Makefile
|
||||||
@@ -1828,6 +1821,9 @@ AC_CONFIG_FILES([
|
|||||||
src/libcharon/plugins/unity/Makefile
|
src/libcharon/plugins/unity/Makefile
|
||||||
src/libcharon/plugins/uci/Makefile
|
src/libcharon/plugins/uci/Makefile
|
||||||
src/libcharon/plugins/ha/Makefile
|
src/libcharon/plugins/ha/Makefile
|
||||||
|
src/libcharon/plugins/kernel_netlink/Makefile
|
||||||
|
src/libcharon/plugins/kernel_pfkey/Makefile
|
||||||
|
src/libcharon/plugins/kernel_pfroute/Makefile
|
||||||
src/libcharon/plugins/kernel_libipsec/Makefile
|
src/libcharon/plugins/kernel_libipsec/Makefile
|
||||||
src/libcharon/plugins/kernel_wfp/Makefile
|
src/libcharon/plugins/kernel_wfp/Makefile
|
||||||
src/libcharon/plugins/kernel_iph/Makefile
|
src/libcharon/plugins/kernel_iph/Makefile
|
||||||
@@ -1922,6 +1918,5 @@ AC_MSG_RESULT([-----------------------------------------------------])
|
|||||||
|
|
||||||
AC_MSG_RESULT([libstrongswan:$s_plugins])
|
AC_MSG_RESULT([libstrongswan:$s_plugins])
|
||||||
AC_MSG_RESULT([libcharon: $c_plugins])
|
AC_MSG_RESULT([libcharon: $c_plugins])
|
||||||
AC_MSG_RESULT([libhydra: $h_plugins])
|
|
||||||
AC_MSG_RESULT([libtnccs: $t_plugins])
|
AC_MSG_RESULT([libtnccs: $t_plugins])
|
||||||
AC_MSG_RESULT([])
|
AC_MSG_RESULT([])
|
||||||
@@ -216,6 +216,10 @@ endif
|
|||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, load-tester)
|
LOCAL_SRC_FILES += $(call add_plugin, load-tester)
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES += $(call add_plugin, kernel-pfkey)
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES += $(call add_plugin, kernel-netlink)
|
||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, socket-default)
|
LOCAL_SRC_FILES += $(call add_plugin, socket-default)
|
||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, socket-dynamic)
|
LOCAL_SRC_FILES += $(call add_plugin, socket-dynamic)
|
||||||
|
|||||||
@@ -512,6 +512,27 @@ if MONOLITHIC
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if USE_KERNEL_PFKEY
|
||||||
|
SUBDIRS += plugins/kernel_pfkey
|
||||||
|
if MONOLITHIC
|
||||||
|
libcharon_la_LIBADD += plugins/kernel_pfkey/libstrongswan-kernel-pfkey.la
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
if USE_KERNEL_PFROUTE
|
||||||
|
SUBDIRS += plugins/kernel_pfroute
|
||||||
|
if MONOLITHIC
|
||||||
|
libcharon_la_LIBADD += plugins/kernel_pfroute/libstrongswan-kernel-pfroute.la
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
if USE_KERNEL_NETLINK
|
||||||
|
SUBDIRS += plugins/kernel_netlink
|
||||||
|
if MONOLITHIC
|
||||||
|
libcharon_la_LIBADD += plugins/kernel_netlink/libstrongswan-kernel-netlink.la
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
if USE_KERNEL_LIBIPSEC
|
if USE_KERNEL_LIBIPSEC
|
||||||
SUBDIRS += plugins/kernel_libipsec
|
SUBDIRS += plugins/kernel_libipsec
|
||||||
if MONOLITHIC
|
if MONOLITHIC
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup kernel_netlink kernel_netlink
|
* @defgroup kernel_netlink kernel_netlink
|
||||||
* @ingroup hplugins
|
* @ingroup cplugins
|
||||||
*
|
*
|
||||||
* @defgroup kernel_netlink_plugin kernel_netlink_plugin
|
* @defgroup kernel_netlink_plugin kernel_netlink_plugin
|
||||||
* @{ @ingroup kernel_netlink
|
* @{ @ingroup kernel_netlink
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup kernel_pfkey kernel_pfkey
|
* @defgroup kernel_pfkey kernel_pfkey
|
||||||
* @ingroup hplugins
|
* @ingroup cplugins
|
||||||
*
|
*
|
||||||
* @defgroup kernel_pfkey_plugin kernel_pfkey_plugin
|
* @defgroup kernel_pfkey_plugin kernel_pfkey_plugin
|
||||||
* @{ @ingroup kernel_pfkey
|
* @{ @ingroup kernel_pfkey
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup kernel_pfroute kernel_pfroute
|
* @defgroup kernel_pfroute kernel_pfroute
|
||||||
* @ingroup hplugins
|
* @ingroup cplugins
|
||||||
*
|
*
|
||||||
* @defgroup kernel_pfroute_plugin kernel_pfroute_plugin
|
* @defgroup kernel_pfroute_plugin kernel_pfroute_plugin
|
||||||
* @{ @ingroup kernel_pfroute
|
* @{ @ingroup kernel_pfroute
|
||||||
@@ -13,10 +13,6 @@ LOCAL_SRC_FILES := $(filter %.c,$(libhydra_la_SOURCES))
|
|||||||
|
|
||||||
# adding the plugin source files
|
# adding the plugin source files
|
||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, kernel-pfkey)
|
|
||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, kernel-netlink)
|
|
||||||
|
|
||||||
# build libhydra ---------------------------------------------------------------
|
# build libhydra ---------------------------------------------------------------
|
||||||
|
|
||||||
LOCAL_C_INCLUDES += \
|
LOCAL_C_INCLUDES += \
|
||||||
|
|||||||
@@ -33,27 +33,6 @@ else
|
|||||||
SUBDIRS = .
|
SUBDIRS = .
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if USE_KERNEL_PFKEY
|
|
||||||
SUBDIRS += plugins/kernel_pfkey
|
|
||||||
if MONOLITHIC
|
|
||||||
libhydra_la_LIBADD += plugins/kernel_pfkey/libstrongswan-kernel-pfkey.la
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if USE_KERNEL_PFROUTE
|
|
||||||
SUBDIRS += plugins/kernel_pfroute
|
|
||||||
if MONOLITHIC
|
|
||||||
libhydra_la_LIBADD += plugins/kernel_pfroute/libstrongswan-kernel-pfroute.la
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if USE_KERNEL_NETLINK
|
|
||||||
SUBDIRS += plugins/kernel_netlink
|
|
||||||
if MONOLITHIC
|
|
||||||
libhydra_la_LIBADD += plugins/kernel_netlink/libstrongswan-kernel-netlink.la
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if MONOLITHIC
|
if MONOLITHIC
|
||||||
SUBDIRS += .
|
SUBDIRS += .
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user