]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Moving attr-sql plugin from libstrongswan to libhydra.
authorTobias Brunner <tobias@strongswan.org>
Wed, 24 Mar 2010 09:59:31 +0000 (10:59 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 24 Mar 2010 17:53:09 +0000 (18:53 +0100)
configure.in
src/libcharon/Makefile.am
src/libhydra/Makefile.am
src/libhydra/plugins/attr_sql/.gitignore [moved from src/libstrongswan/plugins/attr_sql/.gitignore with 100% similarity]
src/libhydra/plugins/attr_sql/Makefile.am [moved from src/libstrongswan/plugins/attr_sql/Makefile.am with 100% similarity]
src/libhydra/plugins/attr_sql/attr_sql_plugin.c [moved from src/libstrongswan/plugins/attr_sql/attr_sql_plugin.c with 100% similarity]
src/libhydra/plugins/attr_sql/attr_sql_plugin.h [moved from src/libstrongswan/plugins/attr_sql/attr_sql_plugin.h with 100% similarity]
src/libhydra/plugins/attr_sql/pool.c [moved from src/libstrongswan/plugins/attr_sql/pool.c with 100% similarity]
src/libhydra/plugins/attr_sql/sql_attribute.c [moved from src/libstrongswan/plugins/attr_sql/sql_attribute.c with 100% similarity]
src/libhydra/plugins/attr_sql/sql_attribute.h [moved from src/libstrongswan/plugins/attr_sql/sql_attribute.h with 100% similarity]
src/libstrongswan/Makefile.am

index d7a0b204eb65368ad92bb638cae148f88e115aa3..09fa8c307d76a694f1910043d7ae588025af653d 100644 (file)
@@ -632,11 +632,12 @@ if test x$integrity_test = xtrue; then
        )
 fi
 
-dnl ======================================
-dnl  collect all plugins for libstrongswan
-dnl ======================================
+dnl ==========================================================
+dnl  collect all plugins for libstrongswan, libhydra and pluto
+dnl ==========================================================
 
 libstrongswan_plugins=
+libhydra_plugins=
 pluto_plugins=
 
 if test x$test_vectors = xtrue; then
@@ -714,10 +715,6 @@ if test x$sqlite = xtrue; then
        libstrongswan_plugins=${libstrongswan_plugins}" sqlite"
        pluto_plugins=${pluto_plugins}" sqlite"
 fi
-if test x$attr_sql = xtrue -o x$sql = xtrue; then
-       libstrongswan_plugins=${libstrongswan_plugins}" attr-sql"
-       pluto_plugins=${pluto_plugins}" attr-sql"
-fi
 if test x$padlock = xtrue; then
        libstrongswan_plugins=${libstrongswan_plugins}" padlock"
 fi
@@ -746,8 +743,13 @@ if test x$gmp = xtrue; then
        libstrongswan_plugins=${libstrongswan_plugins}" gmp"
        pluto_plugins=${pluto_plugins}" gmp"
 fi
+if test x$attr_sql = xtrue -o x$sql = xtrue; then
+       libhydra_plugins=${libhydra_plugins}" attr-sql"
+       pluto_plugins=${pluto_plugins}" attr-sql"
+fi
 
 AC_SUBST(libstrongswan_plugins)
+AC_SUBST(libhydra_plugins)
 AC_SUBST(pluto_plugins)
 
 dnl =========================
@@ -892,13 +894,13 @@ AC_OUTPUT(
        src/libstrongswan/plugins/ldap/Makefile
        src/libstrongswan/plugins/mysql/Makefile
        src/libstrongswan/plugins/sqlite/Makefile
-       src/libstrongswan/plugins/attr_sql/Makefile
        src/libstrongswan/plugins/padlock/Makefile
        src/libstrongswan/plugins/openssl/Makefile
        src/libstrongswan/plugins/gcrypt/Makefile
        src/libstrongswan/plugins/agent/Makefile
        src/libstrongswan/plugins/test_vectors/Makefile
        src/libhydra/Makefile
+       src/libhydra/plugins/attr_sql/Makefile
        src/libfreeswan/Makefile
        src/libsimaka/Makefile
        src/pluto/Makefile
index 274aa176d46cea1f4b6908127bbef0fcdee696c1..f8dd0e5e9db07071a585cb77c27389e9f746ab2d 100644 (file)
@@ -133,7 +133,7 @@ else
 SUBDIRS = .
 endif
 
-PLUGINS = ${libstrongswan_plugins}
+PLUGINS = ${libstrongswan_plugins} ${libhydra_plugins}
 
 if USE_LOAD_TESTER
   SUBDIRS += plugins/load_tester
index 702ee3e0d4bc4534b3dd076bb8be660cbbfba30a..f5583262c7949d801ea34f156d6bbb2625360daf 100644 (file)
@@ -21,10 +21,10 @@ else
 SUBDIRS = .
 endif
 
-#if USE_FOO
-#  SUBDIRS += plugins/foo
-#if MONOLITHIC
-#  libhydra_la_LIBADD += plugins/foo/libstrongswan-foo.la
-#endif
-#endif
+if USE_ATTR_SQL
+  SUBDIRS += plugins/attr_sql
+if MONOLITHIC
+  libhydra_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
+endif
+endif
 
index 2b80e619b787b0dece6b88ae63a00fd2f3157752..5620ff74b04d1aec636ba7a4f29a5a187d000c9f 100644 (file)
@@ -269,13 +269,6 @@ if MONOLITHIC
 endif
 endif
 
-if USE_ATTR_SQL
-  SUBDIRS += plugins/attr_sql
-if MONOLITHIC
-  libstrongswan_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
-endif
-endif
-
 if USE_PADLOCK
   SUBDIRS += plugins/padlock
 if MONOLITHIC