oweals/gnunet.git
5 years agoportability fix.
ng0 [Sun, 27 Oct 2019 18:23:38 +0000 (18:23 +0000)]
portability fix.

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Sun, 27 Oct 2019 17:30:26 +0000 (17:30 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoportability fix, use = instead of == with test
ng0 [Sun, 27 Oct 2019 17:29:56 +0000 (17:29 +0000)]
portability fix, use = instead of == with test

5 years agov0.11.7 v0.11.7
Schanzenbach, Martin [Sun, 27 Oct 2019 17:06:52 +0000 (18:06 +0100)]
v0.11.7

5 years agofix removal of file for make dist
Schanzenbach, Martin [Sun, 27 Oct 2019 16:58:12 +0000 (17:58 +0100)]
fix removal of file for make dist

5 years agofix removal of file for make dist
Schanzenbach, Martin [Sun, 27 Oct 2019 16:50:15 +0000 (17:50 +0100)]
fix removal of file for make dist

5 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Sun, 27 Oct 2019 16:47:40 +0000 (17:47 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

5 years agofix removal of file for make dist
Schanzenbach, Martin [Sun, 27 Oct 2019 16:47:33 +0000 (17:47 +0100)]
fix removal of file for make dist

5 years agoREADME: fix switch.
ng0 [Sun, 27 Oct 2019 15:52:45 +0000 (15:52 +0000)]
README: fix switch.

5 years agodoc/man: create better rules for texi2mdoc.
ng0 [Sun, 27 Oct 2019 14:27:10 +0000 (14:27 +0000)]
doc/man: create better rules for texi2mdoc.

5 years agoconfigure: Add TODO, add MariaDB to a message.
ng0 [Sun, 27 Oct 2019 13:28:46 +0000 (13:28 +0000)]
configure: Add TODO, add MariaDB to a message.

5 years agomake uncrustify silent.
ng0 [Sun, 27 Oct 2019 13:09:33 +0000 (13:09 +0000)]
make uncrustify silent.

5 years agoimpove make pretty nesting.
ng0 [Sun, 27 Oct 2019 13:07:15 +0000 (13:07 +0000)]
impove make pretty nesting.

5 years agodoc/man: Remove duplicate EXTRA_DIST entry for .7
ng0 [Sun, 27 Oct 2019 12:57:28 +0000 (12:57 +0000)]
doc/man: Remove duplicate EXTRA_DIST entry for .7

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Sun, 27 Oct 2019 12:54:36 +0000 (12:54 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoadd dist_bootstrap, so far compiles texi2mdoc and gives advice on
ng0 [Sun, 27 Oct 2019 12:53:58 +0000 (12:53 +0000)]
add dist_bootstrap, so far compiles texi2mdoc and gives advice on
adding a switch + $PATH.

5 years agoupdate changelog
Schanzenbach, Martin [Sun, 27 Oct 2019 11:36:35 +0000 (12:36 +0100)]
update changelog

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Sat, 26 Oct 2019 13:35:48 +0000 (13:35 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoconfigure: idn/idn2: indent, add msg
ng0 [Sat, 26 Oct 2019 13:35:11 +0000 (13:35 +0000)]
configure: idn/idn2: indent, add msg

5 years agoMerge branch 'master' of ssh://git.gnunet.org/gnunet
xrs [Sat, 26 Oct 2019 13:04:41 +0000 (15:04 +0200)]
Merge branch 'master' of ssh://git.gnunet.org/gnunet

5 years agoobsolete due to alpine policy
xrs [Sat, 26 Oct 2019 13:04:35 +0000 (15:04 +0200)]
obsolete due to alpine policy

5 years agoconfigure: add MSG_CHECKING
ng0 [Sat, 26 Oct 2019 13:02:54 +0000 (13:02 +0000)]
configure: add MSG_CHECKING

5 years agofix policy issues and simplify
xrs [Sat, 26 Oct 2019 13:00:21 +0000 (15:00 +0200)]
fix policy issues and simplify

5 years agoconfigure: Add --with-libogg=PREFIX
ng0 [Sat, 26 Oct 2019 12:59:28 +0000 (12:59 +0000)]
configure: Add --with-libogg=PREFIX

5 years agoconfigure: Add --with-libopus=PREFIX
ng0 [Sat, 26 Oct 2019 12:38:32 +0000 (12:38 +0000)]
configure: Add --with-libopus=PREFIX

5 years agoconfigure: Add --with-libpulse=PREFIX
ng0 [Sat, 26 Oct 2019 12:21:41 +0000 (12:21 +0000)]
configure: Add --with-libpulse=PREFIX

5 years agoconfigure: Add --with[out]-libbluetooth=PREFIX
ng0 [Sat, 26 Oct 2019 12:03:58 +0000 (12:03 +0000)]
configure: Add --with[out]-libbluetooth=PREFIX

5 years agoconversation is no longer guarded by 'experimental' in the
ng0 [Sat, 26 Oct 2019 07:32:46 +0000 (07:32 +0000)]
conversation is no longer guarded by 'experimental' in the
Makefiles. Reflect this in the README.

5 years agoremove glpk.
ng0 [Fri, 25 Oct 2019 12:07:06 +0000 (12:07 +0000)]
remove glpk.

5 years agofix syntax
ng0 [Fri, 25 Oct 2019 09:37:14 +0000 (09:37 +0000)]
fix syntax

5 years agofollow-up to win32 removal.
ng0 [Fri, 25 Oct 2019 09:25:46 +0000 (09:25 +0000)]
follow-up to win32 removal.

5 years agopath->PATHS
ng0 [Thu, 24 Oct 2019 12:45:19 +0000 (12:45 +0000)]
path->PATHS

5 years agocontrib: include all files in packages in EXTRA_DIST
ng0 [Thu, 24 Oct 2019 10:26:58 +0000 (10:26 +0000)]
contrib: include all files in packages in EXTRA_DIST

5 years agomove contrib/alpine to contrib/packages/alpine
ng0 [Thu, 24 Oct 2019 10:22:49 +0000 (10:22 +0000)]
move contrib/alpine to contrib/packages/alpine

5 years agoAdd python3.8 to configure.ac, some minor formating and solve one TODO.
ng0 [Thu, 24 Oct 2019 10:20:13 +0000 (10:20 +0000)]
Add python3.8 to configure.ac, some minor formating and solve one TODO.

5 years agorewrite parts of the README.
ng0 [Thu, 24 Oct 2019 09:35:52 +0000 (09:35 +0000)]
rewrite parts of the README.

5 years agorewrite note on setuid.
ng0 [Wed, 23 Oct 2019 21:58:15 +0000 (21:58 +0000)]
rewrite note on setuid.

5 years agoremove never working setuid helper code from the build-system.
ng0 [Wed, 23 Oct 2019 21:51:46 +0000 (21:51 +0000)]
remove never working setuid helper code from the build-system.
refer to the Changelog for a longer reason. In conclusion, this
is what people expect, this is what Package Managers patch away
for portability, and we can't use install(1) for this because
it's not a portable tool.

5 years agofix typo
ng0 [Wed, 23 Oct 2019 20:45:50 +0000 (20:45 +0000)]
fix typo

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Wed, 23 Oct 2019 20:27:00 +0000 (20:27 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agofirst test commit to make sudo + sh scripts obsolete.
ng0 [Wed, 23 Oct 2019 20:24:46 +0000 (20:24 +0000)]
first test commit to make sudo + sh scripts obsolete.

install(1) is too unportable to handle this job so
we take the content of the scripts.

5 years agostart rest per user
Schanzenbach, Martin [Wed, 23 Oct 2019 18:55:12 +0000 (20:55 +0200)]
start rest per user

5 years agofix failure to install with sudo for now. real change coming tonight.
ng0 [Wed, 23 Oct 2019 12:52:18 +0000 (12:52 +0000)]
fix failure to install with sudo for now. real change coming tonight.

5 years agoupdate ChangeLog
ng0 [Thu, 17 Oct 2019 14:42:38 +0000 (14:42 +0000)]
update ChangeLog

5 years agomaybe improve sudo detection.
ng0 [Thu, 17 Oct 2019 14:34:23 +0000 (14:34 +0000)]
maybe improve sudo detection.

5 years agotest_gnunet_dns.sh: check if user 'nobody' exists and return 77 if not.
ng0 [Thu, 17 Oct 2019 14:10:55 +0000 (14:10 +0000)]
test_gnunet_dns.sh: check if user 'nobody' exists and return 77 if not.

5 years agoAdd support for doas.
ng0 [Thu, 17 Oct 2019 13:49:49 +0000 (13:49 +0000)]
Add support for doas.

5 years agothis comment seems to be not true; tarfile will at least not
ng0 [Wed, 16 Oct 2019 20:51:12 +0000 (20:51 +0000)]
this comment seems to be not true; tarfile will at least not
require tar(1) or any other tool, if at all other modules are
required.

5 years agofollow-up to ce63ca3ca49d8a4dc741cd014601584e3d5cfe54
ng0 [Wed, 16 Oct 2019 18:20:21 +0000 (18:20 +0000)]
follow-up to ce63ca3ca49d8a4dc741cd014601584e3d5cfe54

5 years ago*.1: syntax (\- -> -)
ng0 [Wed, 16 Oct 2019 18:15:04 +0000 (18:15 +0000)]
*.1: syntax (\- -> -)

5 years agognunet-ecc(1): syntax
ng0 [Wed, 16 Oct 2019 17:58:46 +0000 (17:58 +0000)]
gnunet-ecc(1): syntax

5 years agoclarify gnunet-arm(1) more and add syntax.
ng0 [Wed, 16 Oct 2019 17:55:45 +0000 (17:55 +0000)]
clarify gnunet-arm(1) more and add syntax.

5 years agoupdated italian translation
Christian Grothoff [Wed, 16 Oct 2019 10:32:52 +0000 (12:32 +0200)]
updated italian translation

5 years agominor fix
Schanzenbach, Martin [Tue, 15 Oct 2019 08:40:00 +0000 (10:40 +0200)]
minor fix

5 years agokommando zurueck, this time for real.
ng0 [Mon, 14 Oct 2019 15:45:45 +0000 (15:45 +0000)]
kommando zurueck, this time for real.

5 years agomove back
ng0 [Mon, 14 Oct 2019 15:21:56 +0000 (15:21 +0000)]
move back

5 years agoadd yapf to make pretty
ng0 [Mon, 14 Oct 2019 14:52:33 +0000 (14:52 +0000)]
add yapf to make pretty

5 years agowith 'make pretty' running uncrustify, yapf styling the python files, this file seems...
ng0 [Mon, 14 Oct 2019 14:18:31 +0000 (14:18 +0000)]
with 'make pretty' running uncrustify, yapf styling the python files, this file seems obsolete?

5 years agopo/POTFILES.in
ng0 [Mon, 14 Oct 2019 14:09:47 +0000 (14:09 +0000)]
po/POTFILES.in

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Mon, 14 Oct 2019 14:09:10 +0000 (14:09 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoChangelog
ng0 [Mon, 14 Oct 2019 14:08:54 +0000 (14:08 +0000)]
Changelog

5 years agofix the previous uncrustify commit.
ng0 [Mon, 14 Oct 2019 14:06:58 +0000 (14:06 +0000)]
fix the previous uncrustify commit.

5 years agogitignore yapf
ng0 [Mon, 14 Oct 2019 14:06:39 +0000 (14:06 +0000)]
gitignore yapf

5 years agoreadd reclaim
Schanzenbach, Martin [Mon, 14 Oct 2019 12:49:44 +0000 (14:49 +0200)]
readd reclaim

5 years ago'make pretty' rule using uncrustify, detect uncrustify in configure script.
ng0 [Mon, 14 Oct 2019 12:10:35 +0000 (12:10 +0000)]
'make pretty' rule using uncrustify, detect uncrustify in configure script.

closes #5904

5 years agosort(1) os names.
ng0 [Mon, 14 Oct 2019 11:45:26 +0000 (11:45 +0000)]
sort(1) os names.

5 years agofix typo in Changelog
ng0 [Mon, 14 Oct 2019 11:40:30 +0000 (11:40 +0000)]
fix typo in Changelog

5 years agowe're at 0.11.x
ng0 [Mon, 14 Oct 2019 11:32:53 +0000 (11:32 +0000)]
we're at 0.11.x

closes #5801

5 years agoadd yapf style
ng0 [Sat, 12 Oct 2019 18:25:20 +0000 (18:25 +0000)]
add yapf style

5 years agomore python format
ng0 [Sat, 12 Oct 2019 18:17:27 +0000 (18:17 +0000)]
more python format

5 years agoformat python
ng0 [Sat, 12 Oct 2019 18:16:07 +0000 (18:16 +0000)]
format python

5 years agoyapf format.
ng0 [Sat, 12 Oct 2019 18:11:15 +0000 (18:11 +0000)]
yapf format.

5 years agoMerge branch 'master' of ssh://git.gnunet.org/gnunet
xrs [Sat, 12 Oct 2019 12:37:25 +0000 (14:37 +0200)]
Merge branch 'master' of ssh://git.gnunet.org/gnunet

5 years agofixed formatting and policy issues
xrs [Sat, 12 Oct 2019 12:36:13 +0000 (14:36 +0200)]
fixed formatting and policy issues

5 years agoadd GNUNET_PQ_reconnect_if_down
Christian Grothoff [Fri, 11 Oct 2019 21:20:13 +0000 (23:20 +0200)]
add GNUNET_PQ_reconnect_if_down

5 years agolibgnunetpq API change to fix #5733
Christian Grothoff [Fri, 11 Oct 2019 18:55:59 +0000 (20:55 +0200)]
libgnunetpq API change to fix #5733

5 years agowe probably want to actually test the sync
Schanzenbach, Martin [Fri, 11 Oct 2019 19:37:41 +0000 (21:37 +0200)]
we probably want to actually test the sync

5 years agofix non deterministic test
Schanzenbach, Martin [Fri, 11 Oct 2019 17:11:06 +0000 (19:11 +0200)]
fix non deterministic test

5 years agoadd bug ref
Schanzenbach, Martin [Fri, 11 Oct 2019 16:35:56 +0000 (18:35 +0200)]
add bug ref

5 years agomake test compatible with macos
Schanzenbach, Martin [Fri, 11 Oct 2019 16:35:28 +0000 (18:35 +0200)]
make test compatible with macos

5 years agoadd namestore rest tests
Schanzenbach, Martin [Fri, 11 Oct 2019 14:17:23 +0000 (16:17 +0200)]
add namestore rest tests

5 years agofix rest; uncrustify
Schanzenbach, Martin [Fri, 11 Oct 2019 12:48:02 +0000 (14:48 +0200)]
fix rest; uncrustify

5 years agofix changes in identities
Schanzenbach, Martin [Fri, 11 Oct 2019 09:06:24 +0000 (11:06 +0200)]
fix changes in identities

5 years agofix primary issue from #5907
Christian Grothoff [Wed, 9 Oct 2019 20:38:41 +0000 (22:38 +0200)]
fix primary issue from #5907

5 years agoallow to disable IP scan w/ HOLE_EXTERNAL; thanks Corvus Corax
Schanzenbach, Martin [Tue, 8 Oct 2019 20:15:57 +0000 (22:15 +0200)]
allow to disable IP scan w/ HOLE_EXTERNAL; thanks Corvus Corax

5 years agouse correct plugin name; thanks Corvus Corax
Schanzenbach, Martin [Tue, 8 Oct 2019 19:53:23 +0000 (21:53 +0200)]
use correct plugin name; thanks Corvus Corax

5 years agoindent
Schanzenbach, Martin [Mon, 7 Oct 2019 10:44:43 +0000 (12:44 +0200)]
indent

5 years agoRemoved rest files, updated makefile
Andreas Ebner [Mon, 7 Oct 2019 09:51:48 +0000 (11:51 +0200)]
Removed rest files, updated makefile

5 years agoRenamed credential service to abd, replaced all related functions, parameters, etc
Andreas Ebner [Mon, 7 Oct 2019 09:48:07 +0000 (11:48 +0200)]
Renamed credential service to abd, replaced all related functions, parameters, etc

5 years agoProper print on add callback, fixed return value in .._start, both cases require...
Andreas Ebner [Sun, 6 Oct 2019 10:57:52 +0000 (12:57 +0200)]
Proper print on add callback, fixed return value in .._start, both cases require same handling therefore same return value

5 years agoFixed test
Andreas Ebner [Mon, 23 Sep 2019 09:27:54 +0000 (11:27 +0200)]
Fixed test

5 years agoTest cleanup/fix:
Andreas Ebner [Fri, 20 Sep 2019 09:32:00 +0000 (11:32 +0200)]
Test cleanup/fix:

- added missing "- -" to collect for macOS
- replaced 'import $SIGNED' with 'import=$SIGNED' to match all other parameters and better visibility

5 years agoCleanup TODOs, bugfix in cleanup and start of bidirectional chain resolution:
Andreas Ebner [Fri, 20 Sep 2019 08:49:02 +0000 (10:49 +0200)]
Cleanup TODOs, bugfix in cleanup and start of bidirectional chain resolution:
- removed and/or implemented all remaining TODOs
- fixed a bug in cleanup_handle() which caused to not cleanup correctly when a solution was prematurely found
- delegation_chain_bw/fw_resolution_start() not has a return value to indicate whether a solution was prematurely found
- cleaned up the test_... files (an additional cleanup commit might follow)

5 years agoBugfixes, changed test reporting behavior, modified intermediate result reporting:
Andreas Ebner [Sat, 14 Sep 2019 14:58:39 +0000 (16:58 +0200)]
Bugfixes, changed test reporting behavior, modified intermediate result reporting:

- fixed a memory error when serializing the delegations
- all tests now handle the returned error code from the gnunet-credential.c via "ret" variable
- intermediate reporting excluded during collect message
- intermediate reporting now contains the direction (bw/fw)

5 years agoIntroduction of intermediate result reporting, removed some stuff, new test:
Andreas Ebner [Sun, 25 Aug 2019 10:23:33 +0000 (12:23 +0200)]
Introduction of intermediate result reporting, removed some stuff, new test:

- new message, message type and api function to handle intermediate result reporting
- removed GNUNET_SIGNATURE_PURPOSE_CREDENTIAL completely and the one usage that was still around
- new test: AND with both parts having a bidirectional forward match

5 years agoCleanup and fixes regarding bidirectional search and the test.sh files:
Andreas Ebner [Wed, 21 Aug 2019 15:45:02 +0000 (17:45 +0200)]
Cleanup and fixes regarding bidirectional search and the test.sh files:

- removed set_entries_head/tail from DQ entry (no longer needed, using vrh->dsq_head/tail for everything)
- removed no longer required vrh->root_set (not working with forward search anyways as there are multiple root sets)
- implemented cleanup for the dq entries in the queue_entries_head list of ds entries
- added the part in cleanup handling the subject_attribute/_len to might help solve the last valgrind error (didnt work)
- changed the way the ds_entry are inserted in the vrh->dsq_.. list: Now after creation of EVERY ds_entry it is inserted
--> This solved an error resulting from uncanceled lookup_response handles
- changed the test_credential...bi..sh files:
+ "- -" at the end of the collect statement, required for MacOS
+ fixed cleanup at the end to correctly remove entries from GNS

5 years agoBidirectional implementation finished, more complex tests for bidirectional, cleanup...
Andreas Ebner [Sun, 18 Aug 2019 11:46:05 +0000 (13:46 +0200)]
Bidirectional implementation finished, more complex tests for bidirectional, cleanup fix, todos done:

- fixed cleanup to not cause errors and uncommented it again
- added new tests for AND, linked roles and fw/bw
- fixed an older bug to make test ..own_and2.sh work
- replaced bidirectional matching of bw with unresolved_attribute.. (because it contains all the subject attributes/roles)
- introduced extra function for bidirectional match handling (is the same for bw and fw and pretty long)
- commandline: if not specified to use bw or fw search -> assume it's bidirectional
- moved the bidirecitonal matching list to vrh and removed it from being global
- valgrind on service (one error remaining, to be solved in future commits)
- use the vrh->dsq_head/tail for the cleanup stuff

5 years agoUnfinished implementation of bidirectional search:
Andreas Ebner [Sun, 11 Aug 2019 15:04:00 +0000 (17:04 +0200)]
Unfinished implementation of bidirectional search:

- queue to add all currently found nodes
- backward_resolution implementation of what to do when you find a matching one
- new test for bidirecitonal search
- still a lot to do / still has a lot of prints and comments that need to be removed

5 years agoRemoved GNUNET_CREDENTIAL_Credential, new cmdline parameters, formatting:
Andreas Ebner [Tue, 6 Aug 2019 14:17:33 +0000 (16:17 +0200)]
Removed GNUNET_CREDENTIAL_Credential, new cmdline parameters, formatting:

- removed all files and functions related to GNUNET_CREDENTIAL_Credential, has been replaced by GNUNET_CREDENTIAL_Delegate
- renamed cmline parameter 'credential'
- added cmline parameter for backward/forward search and a related enum
- added cmline parameter to store private delegates
- only private delegates are used as start/end of the search algorithm (set to vrh in collect)
- run valgrind: no memory exceptions
- run clang-format

5 years agoClean up and renaming
Andreas Ebner [Sun, 4 Aug 2019 11:52:03 +0000 (13:52 +0200)]
Clean up and renaming

- renamed a lot of variables/functions that no longer serve credential but delegate
- correct printouts likewise
- cleaned up test_credential_own.sh to use credential service issuer side storage
- removed credential related parameters from VerifyRequestHandle struct