oweals/gnunet.git
5 years agofollow-up to Christian's commit
ng0 [Sun, 24 Feb 2019 10:01:53 +0000 (10:01 +0000)]
follow-up to Christian's commit

5 years agodoc/tutorial: Makefile cosmetic fixes, fit on standard size terminal
ng0 [Sun, 24 Feb 2019 09:44:31 +0000 (09:44 +0000)]
doc/tutorial: Makefile cosmetic fixes, fit on standard size terminal

5 years agoavoid failing hard if 'gnunetcheck' db does not exist
Christian Grothoff [Sun, 24 Feb 2019 09:31:09 +0000 (10:31 +0100)]
avoid failing hard if 'gnunetcheck' db does not exist
 (or plugins cannot be loaded for other reasons)

5 years agoavoid failing hard if 'gnunetcheck' db does not exist
Christian Grothoff [Sun, 24 Feb 2019 09:30:30 +0000 (10:30 +0100)]
avoid failing hard if 'gnunetcheck' db does not exist
 (or plugins cannot be loaded for other reasons)

5 years agoavoid failing hard if 'gnunetcheck' db does not exist
Christian Grothoff [Sun, 24 Feb 2019 09:28:16 +0000 (10:28 +0100)]
avoid failing hard if 'gnunetcheck' db does not exist
 (or plugins cannot be loaded for other reasons)

5 years agofix segv on error
Christian Grothoff [Sun, 24 Feb 2019 08:53:11 +0000 (09:53 +0100)]
fix segv on error

5 years agoresolve www.gnu.org instead of hostname to avoid complications of hostname as per...
Christian Grothoff [Sun, 24 Feb 2019 07:29:02 +0000 (08:29 +0100)]
resolve gnu.org instead of hostname to avoid complications of hostname as per #5578

5 years agofirst try raw, unexpanded name
Christian Grothoff [Sun, 24 Feb 2019 07:17:22 +0000 (08:17 +0100)]
first try raw, unexpanded name

5 years agoadd missing \n
Christian Grothoff [Sun, 24 Feb 2019 07:07:00 +0000 (08:07 +0100)]
add missing \n

5 years agoref bugnote
Christian Grothoff [Sun, 24 Feb 2019 07:00:57 +0000 (08:00 +0100)]
ref bugnote

5 years agogeq redefinition breaks texi2pdf, instead just avoid @geq
Christian Grothoff [Sun, 24 Feb 2019 06:55:21 +0000 (07:55 +0100)]
geq redefinition breaks texi2pdf, instead just avoid @geq

5 years agodoc/handbook: Fix #5604
ng0 [Sat, 23 Feb 2019 22:54:16 +0000 (22:54 +0000)]
doc/handbook: Fix #5604

5 years agoupdate docs more
Schanzenbach, Martin [Sat, 23 Feb 2019 18:45:15 +0000 (19:45 +0100)]
update docs more

5 years agoupdate docs more
Schanzenbach, Martin [Sat, 23 Feb 2019 18:43:02 +0000 (19:43 +0100)]
update docs more

5 years agoupdate reclaimID docs a bit
Schanzenbach, Martin [Sat, 23 Feb 2019 18:36:33 +0000 (19:36 +0100)]
update reclaimID docs a bit

5 years agoutil: build with external libatomic
Daniel Golle [Thu, 21 Feb 2019 17:41:52 +0000 (18:41 +0100)]
util: build with external libatomic

Recent versions of gcc on some architectures (MIPS, PPC, ...) moved
atomic functions into a separate library. As we are using atomic
load/store in util/time.c we may need to link libgnunetutil against
libatomic for __atomic_load_8 and __atomic_store_8 to be defined.

Fixes build problem on MIPS:
ld: ./.libs/libgnunetutil.so: undefined reference to `__atomic_store_8'
ld: ./.libs/libgnunetutil.so: undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years agomerge
Christian Grothoff [Sat, 23 Feb 2019 09:48:08 +0000 (10:48 +0100)]
merge

5 years agonotes
Christian Grothoff [Sat, 23 Feb 2019 09:47:41 +0000 (10:47 +0100)]
notes

5 years agoportability fix.
ng0 [Sat, 23 Feb 2019 01:43:20 +0000 (01:43 +0000)]
portability fix.

5 years agoconfigure.ac: make it more portable.
ng0 [Fri, 22 Feb 2019 23:48:19 +0000 (23:48 +0000)]
configure.ac: make it more portable.

===> Creating toolchain wrappers for gnunet-0.11.0pre66
===> Configuring for gnunet-0.11.0pre66
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] configure:     if test "x$enable_autostart" == "xno"

Explanation:
===========================================================================
The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.

There are two ways to fix this error message. If the file that contains
the "test ==" is needed for building the package, you should create a
patch for it, replacing the "==" operator with "=". If the file is not
needed, add its name to the CHECK_PORTABILITY_SKIP variable in the
package Makefile.
===========================================================================

*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/wip/gnunet
*** Error code 1

5 years agoattempt fix #5578
Schanzenbach, Martin [Fri, 22 Feb 2019 23:06:03 +0000 (00:06 +0100)]
attempt fix #5578

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Fri, 22 Feb 2019 21:14:08 +0000 (21:14 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoRPS profiler: Log index of peer
Julius Bünger [Fri, 22 Feb 2019 12:21:47 +0000 (13:21 +0100)]
RPS profiler: Log index of peer

5 years agognunet-bugreport: add checks for pkg_add, some fixes
ng0 [Fri, 22 Feb 2019 20:58:18 +0000 (20:58 +0000)]
gnunet-bugreport: add checks for pkg_add, some fixes

5 years agoRPS profiler: Log index of peer
Julius Bünger [Fri, 22 Feb 2019 12:21:47 +0000 (13:21 +0100)]
RPS profiler: Log index of peer

5 years agofix README url
ng0 [Fri, 22 Feb 2019 11:35:37 +0000 (11:35 +0000)]
fix README url

5 years agoREADME urls
ng0 [Fri, 22 Feb 2019 11:27:35 +0000 (11:27 +0000)]
README urls

5 years agoREADME urls
ng0 [Fri, 22 Feb 2019 11:26:28 +0000 (11:26 +0000)]
README urls

5 years agoconfigure.ac: point to docs.gnunet.org
ng0 [Fri, 22 Feb 2019 11:24:37 +0000 (11:24 +0000)]
configure.ac: point to docs.gnunet.org

5 years agofix URLs in tutorial
ng0 [Fri, 22 Feb 2019 11:21:47 +0000 (11:21 +0000)]
fix URLs in tutorial

5 years agofix URLs in chapter keyconcepts
ng0 [Fri, 22 Feb 2019 11:12:15 +0000 (11:12 +0000)]
fix URLs in chapter keyconcepts

5 years agofix URLs in chapter installation
ng0 [Fri, 22 Feb 2019 11:10:10 +0000 (11:10 +0000)]
fix URLs in chapter installation

5 years agofix URLs in chapter developer
ng0 [Fri, 22 Feb 2019 11:07:09 +0000 (11:07 +0000)]
fix URLs in chapter developer

5 years agoadjust mantis url
ng0 [Fri, 22 Feb 2019 10:57:35 +0000 (10:57 +0000)]
adjust mantis url

5 years agoRPS: Adapt to coding style (cosmetic only)
Julius Bünger [Thu, 21 Feb 2019 21:05:44 +0000 (22:05 +0100)]
RPS: Adapt to coding style (cosmetic only)

5 years agoRPS: Use #define instead of hardcoded numbers
Julius Bünger [Thu, 21 Feb 2019 21:04:11 +0000 (22:04 +0100)]
RPS: Use #define instead of hardcoded numbers

5 years agoRPS: Use stp(n)cpy instead of strncat in loop
Julius Bünger [Thu, 21 Feb 2019 20:54:18 +0000 (21:54 +0100)]
RPS: Use stp(n)cpy instead of strncat in loop

5 years agoRPS service: Use peermap only when non-NULL
Julius Bünger [Thu, 21 Feb 2019 20:32:56 +0000 (21:32 +0100)]
RPS service: Use peermap only when non-NULL

5 years agoRPS service: Adapt to coding guidelines (purely cosmetic)
Julius Bünger [Thu, 21 Feb 2019 15:42:27 +0000 (16:42 +0100)]
RPS service: Adapt to coding guidelines (purely cosmetic)

5 years agoRPS service: Check existence of peer before destruction
Julius Bünger [Thu, 21 Feb 2019 15:36:05 +0000 (16:36 +0100)]
RPS service: Check existence of peer before destruction

This is only a workaround.
What was causing an issue was that, during the removal of a peer (from
all datastructures), the peer was also removed from the peer_map,
causing the final destruction call to fail.
With this workaround the peer is only destroyed if it is still in the
peer_map.

5 years agoRPS service: Check if map was already NULLed
Julius Bünger [Thu, 21 Feb 2019 13:32:55 +0000 (14:32 +0100)]
RPS service: Check if map was already NULLed

5 years agoRPS service: Get length of buffer, not of string
Julius Bünger [Thu, 21 Feb 2019 13:31:10 +0000 (14:31 +0100)]
RPS service: Get length of buffer, not of string

5 years agonote
Christian Grothoff [Thu, 21 Feb 2019 11:05:28 +0000 (12:05 +0100)]
note

5 years agomore style fixes
Christian Grothoff [Thu, 21 Feb 2019 11:02:14 +0000 (12:02 +0100)]
more style fixes

5 years agofix uninit issue: bad use of hash map
Christian Grothoff [Thu, 21 Feb 2019 10:58:05 +0000 (11:58 +0100)]
fix uninit issue: bad use of hash map

5 years agoRPS tests: Provide valgrind logging
Julius Bünger [Wed, 20 Feb 2019 20:03:41 +0000 (21:03 +0100)]
RPS tests: Provide valgrind logging

5 years agoRPS test util: Null out pointer to deleted structure
Julius Bünger [Wed, 20 Feb 2019 20:00:34 +0000 (21:00 +0100)]
RPS test util: Null out pointer to deleted structure

5 years agoRPS test util: Improve logging
Julius Bünger [Wed, 20 Feb 2019 19:59:50 +0000 (20:59 +0100)]
RPS test util: Improve logging

5 years agoRPS test util: Initialise local memory
Julius Bünger [Wed, 20 Feb 2019 19:57:59 +0000 (20:57 +0100)]
RPS test util: Initialise local memory

5 years agofix
Schanzenbach, Martin [Wed, 20 Feb 2019 16:19:57 +0000 (17:19 +0100)]
fix

5 years agosupport non GNS redirect URIs
Schanzenbach, Martin [Wed, 20 Feb 2019 16:04:46 +0000 (17:04 +0100)]
support non GNS redirect URIs

5 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Wed, 20 Feb 2019 15:51:51 +0000 (16:51 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

5 years agoupdate
Schanzenbach, Martin [Wed, 20 Feb 2019 15:51:42 +0000 (16:51 +0100)]
update

5 years agofix enable_malicous check
Christian Grothoff [Wed, 20 Feb 2019 12:23:45 +0000 (13:23 +0100)]
fix enable_malicous check

5 years agodisable TO_FILE logic, causes assertion failures all the time (NULL filename)
Christian Grothoff [Wed, 20 Feb 2019 12:22:28 +0000 (13:22 +0100)]
disable TO_FILE logic, causes assertion failures all the time (NULL filename)

5 years agofix #5073
Christian Grothoff [Wed, 20 Feb 2019 12:18:30 +0000 (13:18 +0100)]
fix #5073

5 years agoport hashmap fixes to other maps, investigated #4905, clearly no longer possible...
Christian Grothoff [Wed, 20 Feb 2019 12:05:01 +0000 (13:05 +0100)]
port hashmap fixes to other maps, investigated #4905, clearly no longer possible, closing that one

5 years agoremove index->insert fallback (#5074)
Christian Grothoff [Wed, 20 Feb 2019 11:55:08 +0000 (12:55 +0100)]
remove index->insert fallback (#5074)

5 years agofix #4244
Christian Grothoff [Wed, 20 Feb 2019 11:49:18 +0000 (12:49 +0100)]
fix #4244

5 years agono rps
Christian Grothoff [Wed, 20 Feb 2019 10:37:46 +0000 (11:37 +0100)]
no rps

5 years agofully de-monkey
Christian Grothoff [Wed, 20 Feb 2019 09:17:23 +0000 (10:17 +0100)]
fully de-monkey

5 years agofix build system to actually handle openssl.cnf properly
Christian Grothoff [Wed, 20 Feb 2019 09:05:26 +0000 (10:05 +0100)]
fix build system to actually handle openssl.cnf properly

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 19 Feb 2019 16:40:27 +0000 (16:40 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agofix mistakes which should not have happened
ng0 [Tue, 19 Feb 2019 16:40:15 +0000 (16:40 +0000)]
fix mistakes which should not have happened

5 years agoremove obsolete comments
Christian Grothoff [Tue, 19 Feb 2019 14:43:27 +0000 (15:43 +0100)]
remove obsolete comments

5 years agoREADME adjustments
ng0 [Tue, 19 Feb 2019 13:32:50 +0000 (13:32 +0000)]
README adjustments

5 years agorevert sed and fix a typo
ng0 [Tue, 19 Feb 2019 13:13:03 +0000 (13:13 +0000)]
revert sed and fix a typo

5 years agoclarify README, dependencies
ng0 [Tue, 19 Feb 2019 12:52:21 +0000 (12:52 +0000)]
clarify README, dependencies

5 years agofix typo
ng0 [Tue, 19 Feb 2019 12:44:19 +0000 (12:44 +0000)]
fix typo

5 years agognunet-gns-proxy-setup-ca: conditionally sed openssl and certutil location,
ng0 [Tue, 19 Feb 2019 12:40:36 +0000 (12:40 +0000)]
gnunet-gns-proxy-setup-ca: conditionally sed openssl and certutil location,
use variable for locations, check for openssl and certutil in configure
phase.

5 years agodisable rps in unrelated tests
Christian Grothoff [Tue, 19 Feb 2019 11:32:31 +0000 (12:32 +0100)]
disable rps in unrelated tests

5 years agoon shutdown, also stop reset tasks
Christian Grothoff [Tue, 19 Feb 2019 10:44:12 +0000 (11:44 +0100)]
on shutdown, also stop reset tasks

5 years agomore fs cadet interaction fixes
Christian Grothoff [Tue, 19 Feb 2019 10:38:19 +0000 (11:38 +0100)]
more fs cadet interaction fixes

5 years agofix grow behavior of hash map for very large maps
Christian Grothoff [Tue, 19 Feb 2019 10:37:12 +0000 (11:37 +0100)]
fix grow behavior of hash map for very large maps

5 years agoadditional santity check for MQ users
Christian Grothoff [Tue, 19 Feb 2019 10:36:56 +0000 (11:36 +0100)]
additional santity check for MQ users

5 years agoremove duplicate valgrind
Christian Grothoff [Tue, 19 Feb 2019 10:18:56 +0000 (11:18 +0100)]
remove duplicate valgrind

5 years agofix #5586
Christian Grothoff [Tue, 19 Feb 2019 09:52:46 +0000 (10:52 +0100)]
fix #5586

5 years agoupdate ignore file
Christian Grothoff [Tue, 19 Feb 2019 01:01:55 +0000 (02:01 +0100)]
update ignore file

5 years agogot integration tests to pass, fixes #5560
Christian Grothoff [Tue, 19 Feb 2019 00:59:00 +0000 (01:59 +0100)]
got integration tests to pass, fixes #5560

5 years agonote about assertion actually failing
Christian Grothoff [Tue, 19 Feb 2019 00:58:16 +0000 (01:58 +0100)]
note about assertion actually failing

5 years agodo not strictly require mq non-NULL, as peerinfo service might have died already
Christian Grothoff [Tue, 19 Feb 2019 00:57:19 +0000 (01:57 +0100)]
do not strictly require mq non-NULL, as peerinfo service might have died already

5 years agofix possibility of NULL result for empty database
Christian Grothoff [Tue, 19 Feb 2019 00:51:02 +0000 (01:51 +0100)]
fix possibility of NULL result for empty database

5 years agodo not use rps in consensus test
Christian Grothoff [Tue, 19 Feb 2019 00:50:06 +0000 (01:50 +0100)]
do not use rps in consensus test

5 years agounset XDG vars in test explicitly in case test is run by hand
Christian Grothoff [Tue, 19 Feb 2019 00:14:27 +0000 (01:14 +0100)]
unset XDG vars in test explicitly in case test is run by hand

5 years agoextra sanity check for #5582
Christian Grothoff [Tue, 19 Feb 2019 00:09:32 +0000 (01:09 +0100)]
extra sanity check for #5582

5 years agoclean up python logic a bit, remove duplicate print() calls when we have log calls
Christian Grothoff [Mon, 18 Feb 2019 23:49:26 +0000 (00:49 +0100)]
clean up python logic a bit, remove duplicate print() calls when we have log calls

5 years agocleaner py code, fix test_integration_disconnect.py.in by fixing erroneous patch
Christian Grothoff [Mon, 18 Feb 2019 23:35:44 +0000 (00:35 +0100)]
cleaner py code, fix test_integration_disconnect.py.in by fixing erroneous patch

5 years agorexxnor fix for string to digit
Christian Grothoff [Mon, 18 Feb 2019 09:17:45 +0000 (10:17 +0100)]
rexxnor fix for string to digit

5 years agoadd openssl.cnf
Schanzenbach, Martin [Sun, 17 Feb 2019 21:33:17 +0000 (22:33 +0100)]
add openssl.cnf

5 years agofix indentation
Christian Grothoff [Sun, 17 Feb 2019 19:27:10 +0000 (20:27 +0100)]
fix indentation

5 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Sun, 17 Feb 2019 19:21:53 +0000 (20:21 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

5 years agoattempt fix #5578
Schanzenbach, Martin [Sun, 17 Feb 2019 19:21:45 +0000 (20:21 +0100)]
attempt fix #5578

5 years agoguile 1.6.4 is an optional dependency
ng0 [Sun, 17 Feb 2019 15:26:10 +0000 (15:26 +0000)]
guile 1.6.4 is an optional dependency

5 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Sun, 17 Feb 2019 14:46:39 +0000 (15:46 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

5 years agofix path length
Schanzenbach, Martin [Sun, 17 Feb 2019 14:44:28 +0000 (15:44 +0100)]
fix path length

5 years agofilenames can exceed 128 bytes, even in testcases
Christian Grothoff [Sun, 17 Feb 2019 14:07:24 +0000 (15:07 +0100)]
filenames can exceed 128 bytes, even in testcases

5 years agofix 128
Christian Grothoff [Sun, 17 Feb 2019 14:02:43 +0000 (15:02 +0100)]
fix 128

5 years agoadd gnunet homebrew formula
Schanzenbach, Martin [Sun, 17 Feb 2019 10:26:16 +0000 (11:26 +0100)]
add gnunet homebrew formula

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Sun, 17 Feb 2019 00:42:02 +0000 (00:42 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoAUTHORS: Change bugtracker URL and change GPL3 to AGPL3
ng0 [Sun, 17 Feb 2019 00:36:11 +0000 (00:36 +0000)]
AUTHORS: Change bugtracker URL and change GPL3 to AGPL3