oweals/gnunet.git
5 years agopackage gnunet_credential_service.h next time
Christian Grothoff [Thu, 28 Feb 2019 15:03:21 +0000 (16:03 +0100)]
package gnunet_credential_service.h next time

5 years agoadd nonstring attribute to silence warning
Florian Dold [Thu, 28 Feb 2019 14:59:33 +0000 (15:59 +0100)]
add nonstring attribute to silence warning

5 years agoBe explicit about truncation to silence warning.
Florian Dold [Thu, 28 Feb 2019 14:40:36 +0000 (15:40 +0100)]
Be explicit about truncation to silence warning.

Newer GCCs do not like truncation and emit a warning.  We don't want to
disable truncation warnings (-Wnostringop-truncation), as in some cases
these warnings can point to a security flaw.

Using strcat instead of strncat is fine, since *both* equally overflow
the destination buffer if not used carefully.

See https://developers.redhat.com/blog/2018/05/24/detecting-string-truncation-with-gcc-8/

5 years agofix dist for experimental
Schanzenbach, Martin [Thu, 28 Feb 2019 13:19:34 +0000 (14:19 +0100)]
fix dist for experimental

5 years agoadd 0.11 formula for homebrew
Schanzenbach, Martin [Thu, 28 Feb 2019 12:50:56 +0000 (13:50 +0100)]
add 0.11 formula for homebrew

5 years agocontrib/guix: Add guix-bug-notice to readme.
Hartmut Goebel [Wed, 27 Feb 2019 21:00:44 +0000 (22:00 +0100)]
contrib/guix: Add guix-bug-notice to readme.

5 years agocontrib/guix: Cleanup guix environment files and README.
Hartmut Goebel [Wed, 27 Feb 2019 19:25:54 +0000 (20:25 +0100)]
contrib/guix: Cleanup guix environment files and README.

- move the docs contained in guix-env.scm to guix/README,
- change these docs to only use "--load-path=<gnunet.git>/contrib/guix"
  and GUIX_PACKAGE_PATH,
- delete guix-env.scm and guix.packages.

5 years agoadd missing documentation files v0.11.0
Christian Grothoff [Thu, 28 Feb 2019 10:44:39 +0000 (11:44 +0100)]
add missing documentation files

5 years agodisable clique test, fails for odd reasons
Christian Grothoff [Thu, 28 Feb 2019 10:41:25 +0000 (11:41 +0100)]
disable clique test, fails for odd reasons

5 years agoversion bump, update ChangeLog, fix make dist
Christian Grothoff [Thu, 28 Feb 2019 10:00:19 +0000 (11:00 +0100)]
version bump, update ChangeLog, fix make dist

5 years agoRPS: Disable too happy writing to disk
Julius Bünger [Thu, 28 Feb 2019 08:24:17 +0000 (09:24 +0100)]
RPS: Disable too happy writing to disk

5 years agosanity checks
Schanzenbach, Martin [Wed, 27 Feb 2019 21:15:30 +0000 (22:15 +0100)]
sanity checks

5 years agoREADME: which in tests
ng0 [Wed, 27 Feb 2019 18:09:27 +0000 (18:09 +0000)]
README: which in tests

5 years agoREADME: point out where which(1) is found
ng0 [Wed, 27 Feb 2019 18:07:48 +0000 (18:07 +0000)]
README: point out where which(1) is found

5 years agodo not forget to NULL reconnect_task
Christian Grothoff [Wed, 27 Feb 2019 06:20:56 +0000 (07:20 +0100)]
do not forget to NULL reconnect_task

5 years agofix missing NBO conversions
Christian Grothoff [Wed, 27 Feb 2019 06:12:32 +0000 (07:12 +0100)]
fix missing NBO conversions

5 years agoimprove future calculations if messages are skipped in unreliable in-order channels
Christian Grothoff [Tue, 26 Feb 2019 19:08:17 +0000 (20:08 +0100)]
improve future calculations if messages are skipped in unreliable in-order channels

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 18:49:17 +0000 (18:49 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agognunet-qr.py: align help with reality
ng0 [Tue, 26 Feb 2019 18:49:06 +0000 (18:49 +0000)]
gnunet-qr.py: align help with reality

5 years agocheck for ACKed MID
Schanzenbach, Martin [Tue, 26 Feb 2019 18:12:08 +0000 (19:12 +0100)]
check for ACKed MID

5 years agoNo future
ng0 [Tue, 26 Feb 2019 18:10:55 +0000 (18:10 +0000)]
No future

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

5 years agognunet-qr.py: back from the future
ng0 [Tue, 26 Feb 2019 18:10:11 +0000 (18:10 +0000)]
gnunet-qr.py: back from the future

5 years agotry fix #5597
Schanzenbach, Martin [Tue, 26 Feb 2019 17:16:25 +0000 (18:16 +0100)]
try fix #5597

5 years agoREADME: python2.7 modules optional but required for gnunet-qr
ng0 [Tue, 26 Feb 2019 17:15:21 +0000 (17:15 +0000)]
README: python2.7 modules optional but required for gnunet-qr

5 years agoREADME: clarify that ONLY python2.7 is supported for gnunet-qr
ng0 [Tue, 26 Feb 2019 17:14:24 +0000 (17:14 +0000)]
README: clarify that ONLY python2.7 is supported for gnunet-qr

5 years agomake lint happy
ng0 [Tue, 26 Feb 2019 17:00:07 +0000 (17:00 +0000)]
make lint happy

5 years agognunet-qr: If we error out before, we don't need to error again. This should fix...
ng0 [Tue, 26 Feb 2019 16:46:43 +0000 (16:46 +0000)]
gnunet-qr: If we error out before, we don't need to error again. This should fix the error message in the wrong place

5 years agoFix syntax error in gnunet-qr. We can not handle this exception. Just read the README.
ng0 [Tue, 26 Feb 2019 15:43:50 +0000 (15:43 +0000)]
Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README.

5 years agofix #5611?
ng0 [Tue, 26 Feb 2019 15:26:40 +0000 (15:26 +0000)]
fix #5611?

5 years agoRPS: NULL out cadet port after closing
Julius Bünger [Tue, 26 Feb 2019 15:13:21 +0000 (16:13 +0100)]
RPS: NULL out cadet port after closing

5 years agofix transport API fix, make sure we do not stay at CT_NONE for core clients
Christian Grothoff [Tue, 26 Feb 2019 14:44:30 +0000 (15:44 +0100)]
fix transport API fix, make sure we do not stay at CT_NONE for core clients

5 years agoRPS: Cast to int32_t instead of uint32_t
Julius Bünger [Tue, 26 Feb 2019 14:35:19 +0000 (15:35 +0100)]
RPS: Cast to int32_t instead of uint32_t

5 years agoRPS: Fix non-int array subscript
Julius Bünger [Tue, 26 Feb 2019 13:39:04 +0000 (14:39 +0100)]
RPS: Fix non-int array subscript

5 years agoRPS: Fix checking of properties for peer removal
Julius Bünger [Tue, 26 Feb 2019 12:49:28 +0000 (13:49 +0100)]
RPS: Fix checking of properties for peer removal

5 years agoRPS: Track delta expected - received pushes w. statistics, style
Julius Bünger [Tue, 26 Feb 2019 12:40:54 +0000 (13:40 +0100)]
RPS: Track delta expected - received pushes w. statistics, style

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

5 years agosince most of my work happens as ng0 anyway
ng0 [Tue, 26 Feb 2019 11:40:45 +0000 (11:40 +0000)]
since most of my work happens as ng0 anyway

5 years agoRPS: Do not consider unexpected pull replies as protocol violation
Julius Bünger [Tue, 26 Feb 2019 11:38:12 +0000 (12:38 +0100)]
RPS: Do not consider unexpected pull replies as protocol violation

5 years agoRPS: Track expected number of pushes w. statistics
Julius Bünger [Tue, 26 Feb 2019 11:36:13 +0000 (12:36 +0100)]
RPS: Track expected number of pushes w. statistics

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 11:32:46 +0000 (11:32 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agodoc/man: sed the sysconfdir in gnunet.conf.5
ng0 [Tue, 26 Feb 2019 11:32:32 +0000 (11:32 +0000)]
doc/man: sed the sysconfdir in gnunet.conf.5

5 years agopossible fix for transport client state machine issue found in RPS profiler
Christian Grothoff [Tue, 26 Feb 2019 11:26:37 +0000 (12:26 +0100)]
possible fix for transport client state machine issue found in RPS profiler

5 years agognunet-qr.py: More verbose information about required packages
ng0 [Tue, 26 Feb 2019 11:00:39 +0000 (11:00 +0000)]
gnunet-qr.py: More verbose information about required packages

5 years agocreate more specific FC warning
Christian Grothoff [Tue, 26 Feb 2019 10:52:00 +0000 (11:52 +0100)]
create more specific FC warning

5 years agoAdd test for future in gnunet-qr.py. pylint will probably scream, but this should...
ng0 [Tue, 26 Feb 2019 10:48:32 +0000 (10:48 +0000)]
Add test for future in gnunet-qr.py. pylint will probably scream, but this should satisfy safety checks

5 years agosrc/util: Add gnunet-qr to cleanfiles
ng0 [Tue, 26 Feb 2019 09:24:22 +0000 (09:24 +0000)]
src/util: Add gnunet-qr to cleanfiles

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 09:00:13 +0000 (09:00 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agofix
ng0 [Tue, 26 Feb 2019 08:59:43 +0000 (08:59 +0000)]
fix

5 years agounset XDG vars
Christian Grothoff [Tue, 26 Feb 2019 08:54:21 +0000 (09:54 +0100)]
unset XDG vars

5 years agoavoid bogus reconnect message
Christian Grothoff [Tue, 26 Feb 2019 08:39:07 +0000 (09:39 +0100)]
avoid bogus reconnect message

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 08:36:07 +0000 (08:36 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoProposed fix for https://bugs.gnunet.org/view.php?id=5611
ng0 [Tue, 26 Feb 2019 08:35:45 +0000 (08:35 +0000)]
Proposed fix for https://bugs.gnunet.org/view.php?id=5611

5 years agofix profiler crash on bad startup
Christian Grothoff [Tue, 26 Feb 2019 08:25:04 +0000 (09:25 +0100)]
fix profiler crash on bad startup

5 years agofix /tmp/rps directory creation, fix linkage, DCE
Christian Grothoff [Tue, 26 Feb 2019 08:08:21 +0000 (09:08 +0100)]
fix /tmp/rps directory creation, fix linkage, DCE

5 years agodo not crash all the time in to_file()
Christian Grothoff [Mon, 25 Feb 2019 22:10:16 +0000 (23:10 +0100)]
do not crash all the time in to_file()

5 years agofix #5608
Christian Grothoff [Mon, 25 Feb 2019 21:04:04 +0000 (22:04 +0100)]
fix #5608

5 years agostyle fixes during debugging
Christian Grothoff [Mon, 25 Feb 2019 20:42:37 +0000 (21:42 +0100)]
style fixes during debugging

5 years agoimprove logging
Christian Grothoff [Mon, 25 Feb 2019 20:19:53 +0000 (21:19 +0100)]
improve logging

5 years agoRPS sampler: An id might be removed while a request is still pending
Julius Bünger [Mon, 25 Feb 2019 19:36:44 +0000 (20:36 +0100)]
RPS sampler: An id might be removed while a request is still pending

5 years agoRPS: Change way some numbers are written to files
Julius Bünger [Mon, 25 Feb 2019 18:41:04 +0000 (19:41 +0100)]
RPS: Change way some numbers are written to files

5 years agoRPS: Use correct number of logging blocking statistics
Julius Bünger [Mon, 25 Feb 2019 15:26:24 +0000 (16:26 +0100)]
RPS: Use correct number of logging blocking statistics

5 years agoRPS profiler: Assert statistics handle non-NULL
Julius Bünger [Mon, 25 Feb 2019 12:55:18 +0000 (13:55 +0100)]
RPS profiler: Assert statistics handle non-NULL

5 years agoREADME clarifications
ng0 [Mon, 25 Feb 2019 01:43:36 +0000 (01:43 +0000)]
README clarifications

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Mon, 25 Feb 2019 01:35:57 +0000 (01:35 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agosrc/util: Use make 4.0 assignment operator
ng0 [Mon, 25 Feb 2019 01:35:41 +0000 (01:35 +0000)]
src/util: Use make 4.0 assignment operator

5 years agotrying to fix #5605
Christian Grothoff [Sun, 24 Feb 2019 12:43:22 +0000 (13:43 +0100)]
trying to fix #5605

5 years agomore code cleanup, better error handing in tests
Christian Grothoff [Sun, 24 Feb 2019 12:10:35 +0000 (13:10 +0100)]
more code cleanup, better error handing in tests

5 years agomore code cleanup, better error handing in tests
Christian Grothoff [Sun, 24 Feb 2019 12:04:36 +0000 (13:04 +0100)]
more code cleanup, better error handing in tests

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

5 years agofix broken texinfo
ng0 [Sun, 24 Feb 2019 10:27:51 +0000 (10:27 +0000)]
fix broken texinfo

5 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Sun, 24 Feb 2019 10:16:22 +0000 (10:16 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years ago5604
ng0 [Sun, 24 Feb 2019 10:16:06 +0000 (10:16 +0000)]
5604

5 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Sun, 24 Feb 2019 10:14:02 +0000 (11:14 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

5 years ago5604
ng0 [Sun, 24 Feb 2019 10:13:51 +0000 (10:13 +0000)]
5604

5 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Sun, 24 Feb 2019 10:13:51 +0000 (11:13 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

5 years agotemp fix for #5606
Schanzenbach, Martin [Sun, 24 Feb 2019 10:13:44 +0000 (11:13 +0100)]
temp fix for #5606

5 years agofollow-up to c802d0a81e6c415e4c99b562b03d47a1beb5a617
ng0 [Sun, 24 Feb 2019 10:05:28 +0000 (10:05 +0000)]
follow-up to c802d0a81e6c415e4c99b562b03d47a1beb5a617

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