gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 47/70: -move to reclaim


From: gnunet
Subject: [gnunet] 47/70: -move to reclaim
Date: Wed, 31 Aug 2022 18:00:41 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit df8660ffec05d108d59de191ddc5114c4678a362
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Jan 14 18:24:13 2022 +0100

    -move to reclaim
---
 src/did/.gitignore                           |  2 --
 src/did/Makefile.am                          | 37 ----------------------------
 src/did/default_did_document.json            | 15 -----------
 src/reclaim/Makefile.am                      | 22 +++++++++++++++--
 src/{did => reclaim}/gnunet-did.c            |  0
 src/{did => reclaim}/test_w3c_ed25519_2020.c |  0
 6 files changed, 20 insertions(+), 56 deletions(-)

diff --git a/src/did/.gitignore b/src/did/.gitignore
deleted file mode 100644
index d47f720ff..000000000
--- a/src/did/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-test_w3c_ed25519_2020
-gnunet-did
diff --git a/src/did/Makefile.am b/src/did/Makefile.am
deleted file mode 100644
index 3f5e3f34b..000000000
--- a/src/did/Makefile.am
+++ /dev/null
@@ -1,37 +0,0 @@
-# This Makefile.am is in the public domain
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
-
-plugindir = $(libdir)/gnunet
-
-if USE_COVERAGE
-       AM_CFLAGS = --coverage -O0
-       XLIB = -lgcov
-endif
-
-bin_PROGRAMS = \
-       gnunet-did
-
-gnunet_did_SOURCES = \
-       gnunet-did.c
-gnunet_did_LDADD = \
-       $(top_builddir)/src/util/libgnunetutil.la \
-       $(top_builddir)/src/gns/libgnunetgns.la \
-       $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
-       $(top_builddir)/src/identity/libgnunetidentity.la \
-       $(top_builddir)/src/namestore/libgnunetnamestore.la \
-       -ljansson
-
-
-check_PROGRAMS = \
-  test_w3c_ed25519_2020
-
-test_w3c_ed25519_2020_SOURCES = \
-  test_w3c_ed25519_2020.c
-test_w3c_ed25519_2020_LDADD = \
-  $(top_builddir)/src/util/libgnunetutil.la
-
-if ENABLE_TEST_RUN
-TESTS = $(check_PROGRAMS)
-endif
-
-
diff --git a/src/did/default_did_document.json 
b/src/did/default_did_document.json
deleted file mode 100644
index 61675a886..000000000
--- a/src/did/default_did_document.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-    "@context": [
-      "https://www.w3.org/ns/did/v1";,
-      "https://w3id.org/security/suites/ed25519-2020/v1";
-    ],
-    "id": "did:example:123",
-    "authentication": [
-      {
-        "id": 
"did:example:123#z6MkecaLyHuYWkayBDLw5ihndj3T1m6zKTGqau3A51G7RBf3",
-        "type": "Ed25519VerificationKey2020",
-        "controller": "did:example:123",
-        "publicKeyMultibase": "zAKJP3f7BD6W4iWEQ9jwndVTCBq8ua2Utt8EEjJ6Vxsf"
-      }
-    ]
-}
\ No newline at end of file
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am
index 350d77d4b..6b5934a2f 100644
--- a/src/reclaim/Makefile.am
+++ b/src/reclaim/Makefile.am
@@ -43,7 +43,8 @@ plugin_LTLIBRARIES = \
   $(REST_PLUGIN)
 
 bin_PROGRAMS = \
- gnunet-reclaim
+ gnunet-reclaim \
+ gnunet-did
 
 libexec_PROGRAMS = \
  gnunet-service-reclaim
@@ -187,13 +188,30 @@ test_reclaim_attribute_LDADD = \
   libgnunetreclaim.la \
   $(GN_LIBINTL)
 
+gnunet_did_SOURCES = \
+       gnunet-did.c
+gnunet_did_LDADD = \
+       $(top_builddir)/src/util/libgnunetutil.la \
+       $(top_builddir)/src/gns/libgnunetgns.la \
+       $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
+       $(top_builddir)/src/identity/libgnunetidentity.la \
+       $(top_builddir)/src/namestore/libgnunetnamestore.la \
+       -ljansson
+
+
+test_w3c_ed25519_2020_SOURCES = \
+  test_w3c_ed25519_2020.c
+test_w3c_ed25519_2020_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la
+
 check_SCRIPTS = \
   test_reclaim_attribute.sh \
   test_reclaim_issue.sh \
   test_reclaim_consume.sh
 
 check_PROGRAMS = \
-  test_reclaim_attribute
+  test_reclaim_attribute \
+  test_w3c_ed25519_2020
 
 if ENABLE_TEST_RUN
  AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export 
PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset 
XDG_CONFIG_HOME;
diff --git a/src/did/gnunet-did.c b/src/reclaim/gnunet-did.c
similarity index 100%
rename from src/did/gnunet-did.c
rename to src/reclaim/gnunet-did.c
diff --git a/src/did/test_w3c_ed25519_2020.c 
b/src/reclaim/test_w3c_ed25519_2020.c
similarity index 100%
rename from src/did/test_w3c_ed25519_2020.c
rename to src/reclaim/test_w3c_ed25519_2020.c

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]