Moved addrblock plugin to libcharon

This commit is contained in:
Martin Willi
2010-07-13 10:26:07 +02:00
parent c2e5cee413
commit 1c8c924610
8 changed files with 13 additions and 14 deletions
+2 -5
View File
@@ -763,9 +763,6 @@ fi
if test x$agent = xtrue; then if test x$agent = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" agent" libstrongswan_plugins=${libstrongswan_plugins}" agent"
fi fi
if test x$addrblock = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" addrblock"
fi
if test x$gmp = xtrue; then if test x$gmp = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" gmp" libstrongswan_plugins=${libstrongswan_plugins}" gmp"
pluto_plugins=${pluto_plugins}" gmp" pluto_plugins=${pluto_plugins}" gmp"
@@ -821,7 +818,6 @@ AM_CONDITIONAL(USE_PADLOCK, test x$padlock = xtrue)
AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue) AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue)
AM_CONDITIONAL(USE_GCRYPT, test x$gcrypt = xtrue) AM_CONDITIONAL(USE_GCRYPT, test x$gcrypt = xtrue)
AM_CONDITIONAL(USE_AGENT, test x$agent = xtrue) AM_CONDITIONAL(USE_AGENT, test x$agent = xtrue)
AM_CONDITIONAL(USE_ADDRBLOCK, test x$addrblock = xtrue)
dnl charon plugins dnl charon plugins
dnl ============== dnl ==============
@@ -858,6 +854,7 @@ AM_CONDITIONAL(USE_SOCKET_DEFAULT, test x$socket_default = xtrue)
AM_CONDITIONAL(USE_SOCKET_RAW, test x$socket_raw = xtrue) AM_CONDITIONAL(USE_SOCKET_RAW, test x$socket_raw = xtrue)
AM_CONDITIONAL(USE_SOCKET_DYNAMIC, test x$socket_dynamic = xtrue) AM_CONDITIONAL(USE_SOCKET_DYNAMIC, test x$socket_dynamic = xtrue)
AM_CONDITIONAL(USE_FARP, test x$farp = xtrue) AM_CONDITIONAL(USE_FARP, test x$farp = xtrue)
AM_CONDITIONAL(USE_ADDRBLOCK, test x$addrblock = xtrue)
dnl hydra plugins dnl hydra plugins
dnl ============= dnl =============
@@ -947,7 +944,6 @@ AC_OUTPUT(
src/libstrongswan/plugins/openssl/Makefile src/libstrongswan/plugins/openssl/Makefile
src/libstrongswan/plugins/gcrypt/Makefile src/libstrongswan/plugins/gcrypt/Makefile
src/libstrongswan/plugins/agent/Makefile src/libstrongswan/plugins/agent/Makefile
src/libstrongswan/plugins/addrblock/Makefile
src/libstrongswan/plugins/test_vectors/Makefile src/libstrongswan/plugins/test_vectors/Makefile
src/libhydra/Makefile src/libhydra/Makefile
src/libhydra/plugins/attr/Makefile src/libhydra/plugins/attr/Makefile
@@ -985,6 +981,7 @@ AC_OUTPUT(
src/libcharon/plugins/medsrv/Makefile src/libcharon/plugins/medsrv/Makefile
src/libcharon/plugins/medcli/Makefile src/libcharon/plugins/medcli/Makefile
src/libcharon/plugins/nm/Makefile src/libcharon/plugins/nm/Makefile
src/libcharon/plugins/addrblock/Makefile
src/libcharon/plugins/uci/Makefile src/libcharon/plugins/uci/Makefile
src/libcharon/plugins/ha/Makefile src/libcharon/plugins/ha/Makefile
src/libcharon/plugins/android/Makefile src/libcharon/plugins/android/Makefile
+8
View File
@@ -400,6 +400,14 @@ if MONOLITHIC
endif endif
endif endif
if USE_ADDRBLOCK
SUBDIRS += plugins/addrblock
PLUGINS += addrblock
if MONOLITHIC
libcharon_la_LIBADD += plugins/uci/libstrongswan-addrblock.la
endif
endif
if USE_UNIT_TESTS if USE_UNIT_TESTS
SUBDIRS += plugins/unit_tester SUBDIRS += plugins/unit_tester
PLUGINS += unit-tester PLUGINS += unit-tester
@@ -1,5 +1,6 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon
AM_CFLAGS = -rdynamic AM_CFLAGS = -rdynamic
@@ -15,7 +15,7 @@
/** /**
* @defgroup addrblock addrblock * @defgroup addrblock addrblock
* @ingroup plugins * @ingroup cplugins
* *
* @defgroup addrblock_plugin addrblock_plugin * @defgroup addrblock_plugin addrblock_plugin
* @{ @ingroup addrblock * @{ @ingroup addrblock
-7
View File
@@ -314,13 +314,6 @@ if MONOLITHIC
endif endif
endif endif
if USE_ADDRBLOCK
SUBDIRS += plugins/addrblock
if MONOLITHIC
libstrongswan_la_LIBADD += plugins/addrblock/libstrongswan-addrblock.la
endif
endif
if USE_TEST_VECTORS if USE_TEST_VECTORS
SUBDIRS += plugins/test_vectors SUBDIRS += plugins/test_vectors
if MONOLITHIC if MONOLITHIC