diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-03-12 09:36:17 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-03-12 09:36:17 +0100 |
commit | 919bb8c92fa1b7cda53401ff2286b980ca0b12d8 (patch) | |
tree | b0ab4ebf063c0ccb2a4b8095463d1e7a6884bf2e /src | |
parent | 76c6ccfdfe09891db424ead5209f041f0e71dc63 (diff) | |
download | gnunet-919bb8c92fa1b7cda53401ff2286b980ca0b12d8.tar.gz gnunet-919bb8c92fa1b7cda53401ff2286b980ca0b12d8.zip |
move reclaim and gns back into subdirs
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/Makefile.am | 24 | ||||
-rw-r--r-- | src/gns/plugin_rest_gns.c (renamed from src/rest-plugins/plugin_rest_gns.c) | 0 | ||||
-rw-r--r-- | src/reclaim/Makefile.am | 44 | ||||
-rw-r--r-- | src/reclaim/json_reclaim.c (renamed from src/rest-plugins/json_reclaim.c) | 0 | ||||
-rw-r--r-- | src/reclaim/json_reclaim.h (renamed from src/rest-plugins/json_reclaim.h) | 0 | ||||
-rw-r--r-- | src/reclaim/oidc_helper.c (renamed from src/rest-plugins/oidc_helper.c) | 0 | ||||
-rw-r--r-- | src/reclaim/oidc_helper.h (renamed from src/rest-plugins/oidc_helper.h) | 0 | ||||
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c (renamed from src/rest-plugins/plugin_rest_openid_connect.c) | 0 | ||||
-rw-r--r-- | src/reclaim/plugin_rest_reclaim.c (renamed from src/rest-plugins/plugin_rest_reclaim.c) | 0 | ||||
-rw-r--r-- | src/rest-plugins/Makefile.am | 52 |
10 files changed, 67 insertions, 53 deletions
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index 434d50f34..6ebbbcaff 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am | |||
@@ -89,9 +89,16 @@ bin_PROGRAMS += gnunet-bcd | |||
89 | endif | 89 | endif |
90 | endif | 90 | endif |
91 | 91 | ||
92 | if HAVE_MHD | ||
93 | if HAVE_JSON | ||
94 | REST_PLUGIN = libgnunet_plugin_rest_gns.la | ||
95 | endif | ||
96 | endif | ||
97 | |||
92 | plugin_LTLIBRARIES = \ | 98 | plugin_LTLIBRARIES = \ |
93 | libgnunet_plugin_block_gns.la \ | 99 | libgnunet_plugin_block_gns.la \ |
94 | libgnunet_plugin_gnsrecord_gns.la | 100 | libgnunet_plugin_gnsrecord_gns.la \ |
101 | $(REST_PLUGIN) | ||
95 | 102 | ||
96 | 103 | ||
97 | bin_SCRIPTS = \ | 104 | bin_SCRIPTS = \ |
@@ -104,6 +111,21 @@ gnunet-gns-proxy-setup-ca: gnunet-gns-proxy-setup-ca.in Makefile | |||
104 | $(do_subst) < $(srcdir)/gnunet-gns-proxy-setup-ca.in > gnunet-gns-proxy-setup-ca | 111 | $(do_subst) < $(srcdir)/gnunet-gns-proxy-setup-ca.in > gnunet-gns-proxy-setup-ca |
105 | chmod +x gnunet-gns-proxy-setup-ca | 112 | chmod +x gnunet-gns-proxy-setup-ca |
106 | 113 | ||
114 | |||
115 | libgnunet_plugin_rest_gns_la_SOURCES = \ | ||
116 | plugin_rest_gns.c | ||
117 | libgnunet_plugin_rest_gns_la_LIBADD = \ | ||
118 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
119 | libgnunetgns.la \ | ||
120 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
121 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
122 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
123 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
124 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
125 | libgnunet_plugin_rest_gns_la_LDFLAGS = \ | ||
126 | $(GN_PLUGIN_LDFLAGS) | ||
127 | |||
128 | |||
107 | libgnunet_plugin_gnsrecord_gns_la_SOURCES = \ | 129 | libgnunet_plugin_gnsrecord_gns_la_SOURCES = \ |
108 | plugin_gnsrecord_gns.c | 130 | plugin_gnsrecord_gns.c |
109 | libgnunet_plugin_gnsrecord_gns_la_LIBADD = \ | 131 | libgnunet_plugin_gnsrecord_gns_la_LIBADD = \ |
diff --git a/src/rest-plugins/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c index e41df4085..e41df4085 100644 --- a/src/rest-plugins/plugin_rest_gns.c +++ b/src/gns/plugin_rest_gns.c | |||
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am index f9942fa23..fd488e1b9 100644 --- a/src/reclaim/Makefile.am +++ b/src/reclaim/Makefile.am | |||
@@ -16,6 +16,12 @@ if HAVE_SQLITE | |||
16 | SQLITE_PLUGIN = libgnunet_plugin_reclaim_sqlite.la | 16 | SQLITE_PLUGIN = libgnunet_plugin_reclaim_sqlite.la |
17 | endif | 17 | endif |
18 | 18 | ||
19 | if HAVE_JSON | ||
20 | REST_PLUGIN = \ | ||
21 | libgnunet_plugin_rest_openid_connect.la \ | ||
22 | libgnunet_plugin_rest_reclaim.la | ||
23 | endif | ||
24 | |||
19 | EXTRA_DIST = \ | 25 | EXTRA_DIST = \ |
20 | reclaim.conf \ | 26 | reclaim.conf \ |
21 | test_reclaim_defaults.conf \ | 27 | test_reclaim_defaults.conf \ |
@@ -33,7 +39,8 @@ lib_LTLIBRARIES = \ | |||
33 | libgnunetreclaim.la | 39 | libgnunetreclaim.la |
34 | plugin_LTLIBRARIES = \ | 40 | plugin_LTLIBRARIES = \ |
35 | libgnunet_plugin_gnsrecord_reclaim.la \ | 41 | libgnunet_plugin_gnsrecord_reclaim.la \ |
36 | $(SQLITE_PLUGIN) | 42 | $(SQLITE_PLUGIN) \ |
43 | $(REST_PLUGIN) | ||
37 | 44 | ||
38 | bin_PROGRAMS = \ | 45 | bin_PROGRAMS = \ |
39 | gnunet-reclaim | 46 | gnunet-reclaim |
@@ -41,6 +48,41 @@ bin_PROGRAMS = \ | |||
41 | libexec_PROGRAMS = \ | 48 | libexec_PROGRAMS = \ |
42 | gnunet-service-reclaim | 49 | gnunet-service-reclaim |
43 | 50 | ||
51 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
52 | plugin_rest_reclaim.c \ | ||
53 | json_reclaim.h \ | ||
54 | json_reclaim.c | ||
55 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
56 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
57 | libgnunetreclaim.la \ | ||
58 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
59 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
60 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
61 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
62 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
63 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
64 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
65 | $(GN_PLUGIN_LDFLAGS) | ||
66 | |||
67 | |||
68 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
69 | plugin_rest_openid_connect.c \ | ||
70 | oidc_helper.h \ | ||
71 | oidc_helper.c | ||
72 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
73 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
74 | libgnunetreclaim.la \ | ||
75 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
76 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
77 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
78 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
79 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
80 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
81 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
82 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
83 | $(GN_PLUGIN_LDFLAGS) | ||
84 | |||
85 | |||
44 | libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \ | 86 | libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \ |
45 | plugin_gnsrecord_reclaim.c | 87 | plugin_gnsrecord_reclaim.c |
46 | libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \ | 88 | libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \ |
diff --git a/src/rest-plugins/json_reclaim.c b/src/reclaim/json_reclaim.c index 0fe9150d9..0fe9150d9 100644 --- a/src/rest-plugins/json_reclaim.c +++ b/src/reclaim/json_reclaim.c | |||
diff --git a/src/rest-plugins/json_reclaim.h b/src/reclaim/json_reclaim.h index ced2e10dd..ced2e10dd 100644 --- a/src/rest-plugins/json_reclaim.h +++ b/src/reclaim/json_reclaim.h | |||
diff --git a/src/rest-plugins/oidc_helper.c b/src/reclaim/oidc_helper.c index 646e58551..646e58551 100644 --- a/src/rest-plugins/oidc_helper.c +++ b/src/reclaim/oidc_helper.c | |||
diff --git a/src/rest-plugins/oidc_helper.h b/src/reclaim/oidc_helper.h index d718b7a78..d718b7a78 100644 --- a/src/rest-plugins/oidc_helper.h +++ b/src/reclaim/oidc_helper.h | |||
diff --git a/src/rest-plugins/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index e755f079b..e755f079b 100644 --- a/src/rest-plugins/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
diff --git a/src/rest-plugins/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c index b36ed2bb6..b36ed2bb6 100644 --- a/src/rest-plugins/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c | |||
diff --git a/src/rest-plugins/Makefile.am b/src/rest-plugins/Makefile.am index 006c23101..cec9348a6 100644 --- a/src/rest-plugins/Makefile.am +++ b/src/rest-plugins/Makefile.am | |||
@@ -21,28 +21,7 @@ plugin_LTLIBRARIES = \ | |||
21 | libgnunet_plugin_rest_copying.la \ | 21 | libgnunet_plugin_rest_copying.la \ |
22 | libgnunet_plugin_rest_peerinfo.la \ | 22 | libgnunet_plugin_rest_peerinfo.la \ |
23 | libgnunet_plugin_rest_identity.la \ | 23 | libgnunet_plugin_rest_identity.la \ |
24 | libgnunet_plugin_rest_namestore.la \ | 24 | libgnunet_plugin_rest_namestore.la |
25 | libgnunet_plugin_rest_gns.la | ||
26 | if HAVE_ABE | ||
27 | plugin_LTLIBRARIES += libgnunet_plugin_rest_openid_connect.la \ | ||
28 | libgnunet_plugin_rest_reclaim.la | ||
29 | endif | ||
30 | |||
31 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
32 | plugin_rest_reclaim.c \ | ||
33 | json_reclaim.h \ | ||
34 | json_reclaim.c | ||
35 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
36 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
37 | $(top_builddir)/src/reclaim/libgnunetreclaim.la \ | ||
38 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
39 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
40 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
41 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
42 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
43 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
44 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
45 | i$(GN_PLUGIN_LDFLAGS) | ||
46 | 25 | ||
47 | 26 | ||
48 | #libgnunet_plugin_rest_credential_la_SOURCES = \ | 27 | #libgnunet_plugin_rest_credential_la_SOURCES = \ |
@@ -103,33 +82,4 @@ libgnunet_plugin_rest_namestore_la_LIBADD = \ | |||
103 | libgnunet_plugin_rest_namestore_la_LDFLAGS = \ | 82 | libgnunet_plugin_rest_namestore_la_LDFLAGS = \ |
104 | $(GN_PLUGIN_LDFLAGS) | 83 | $(GN_PLUGIN_LDFLAGS) |
105 | 84 | ||
106 | libgnunet_plugin_rest_gns_la_SOURCES = \ | ||
107 | plugin_rest_gns.c | ||
108 | libgnunet_plugin_rest_gns_la_LIBADD = \ | ||
109 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
110 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
111 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
112 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
113 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
114 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
115 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
116 | libgnunet_plugin_rest_gns_la_LDFLAGS = \ | ||
117 | $(GN_PLUGIN_LDFLAGS) | ||
118 | |||
119 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
120 | plugin_rest_openid_connect.c \ | ||
121 | oidc_helper.h \ | ||
122 | oidc_helper.c | ||
123 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
124 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
125 | $(top_builddir)/src/reclaim/libgnunetreclaim.la \ | ||
126 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
127 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
128 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
129 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
130 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
131 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
132 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
133 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
134 | $(GN_PLUGIN_LDFLAGS) | ||
135 | 85 | ||