Commit graph

34 commits

Author SHA1 Message Date
Daniel Golle
65f5f850f3
gnunet: work-around sysupgrade restore missing file ownerships
Make sure /etc/gnunet and all its files and sub-directories are owned
by gnunet:gnunet. This is somehow necessary as file ownership otherwise
doesn't survive sysupgrade.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-26 21:21:33 +00:00
Daniel Golle
f951f61005
gnunet: improve init script
Ensure correct ownership of /etc/gnunet.
Quote variables and more or less make shellcheck happy.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-15 18:33:37 +00:00
Daniel Golle
23f722f905
gnunet: packaging fixes
* include gnunet-service-zonemaster-monitor in gnunet-gns package
 * rename namestore-heap back to namestore-flat

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-02-20 16:36:23 +00:00
Daniel Golle
c3c6a2ff1d
gnunet: several improvements
Fix uci-defaults for PostgreSQL backends
Add user 'gnunet' to 'postgres' group
Always build with sqlite3 as configure fails when --without-sqlite

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-28 16:31:44 +01:00
Florian Eckert
0869415ce7 gnunet: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Daniel Golle
5f9a1a1422 gnunet: update to version 0.13.3
Apart from adapting to upstream changes also switch to use FILE_MODES
instead of chown/chmod in init-script.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-09-13 23:19:39 +01:00
Daniel Golle
556943253b gnunet: update to release 0.11.6
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-07-28 16:12:18 +02:00
Daniel Golle
1c658e5f30 gnunet-secushare: auto-configure database backend
Import uci-defaults scripts to auto-set psycstore database backend.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-02 20:22:25 +01:00
Daniel Golle
0b548cb73d gnunet: adapt uci-defaults to renamed namestore-flat -> -heap
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-10-25 00:55:18 +02:00
Daniel Golle
a7d0759021 gnunet: update source
also package missing block plugins

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-01 18:13:41 +02:00
Daniel Golle
358de85d40 gnunet: update source and init script
Fixes starting EXIT service when offering services.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-24 15:05:59 +02:00
Daniel Golle
885dff12f0 gnunet: update to SVN r38151 and break-out dhtcache plugins
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-10-13 02:30:16 +02:00
Daniel Golle
e32b189944 gnunet: update to SVN r38096
Wrap around dhtcache vs. datacache confusion which prevented
the datacache service from starting.
While at it, sanetize default package selection.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-10-11 01:03:35 +02:00
Daniel Golle
85b5a6c485 gnunet: update to SVN r38014 and improve packaging
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-26 10:14:29 +02:00
Daniel Golle
c34af20cf8 gnunet: use gnunet-config's new differential write
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-19 19:14:40 +02:00
Daniel Golle
01c642aeb7 gnunet: fix typo in gnunet-flat post-install script
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-18 02:16:15 +02:00
Daniel Golle
03711e5b06 gnunet: update to SVN r37179 and fix SUID permissions (again)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-17 23:38:04 +02:00
Daniel Golle
23b39e94db gnunet: update source and improve packaging
* push gnurl, gnutls and libmicrohttpd dependencies down to modules
 * use standard UID/GID for gnunet (958/958)
 * use GID adjecent (452) to dnsmasq (453) for gnunetdns to allow
   using the owner match with a range of GIDs (452-452)
 * package new gnunet-social pub/sub CLI tool

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-07 20:11:23 +01:00
Daniel Golle
e7089e3d7b gnunet: no longer fail if gnunetdns doesn't exist (yet)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-04 15:27:23 +01:00
Daniel Golle
ce079c382b gnunet: fix priority of ip rule for gnunet-dns
OpenWrt offers a special 'prelocal' routing table at priority 0.
Use it, so local-to-local DNS traffic also gets redirected properly.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-04 15:27:12 +01:00
Daniel Golle
ca3dfcfec2 gnunet: use uci-defaults and further break core into components
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-02 15:54:33 +01:00
Daniel Golle
72a164f63b gnunet: update defaults, integrate with netifd and fw3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-22 05:09:00 +02:00
Daniel Golle
d768d36d8f gnunet: update to revision 37051 plus some small fixes
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-18 17:40:06 +02:00
Daniel Golle
22c907b0e1 gnunet: work-around config sections naming
gnunet's config section may contain dashes '-' which isn't an
allowed character for sections in UCI.
Thus replace the first underscore with a dash which in gnunet-config
sections, as that happends to be work for all currently used sections.
e.g. this now allows accessing sections like transport-http_server via
an UCI sections called transport_http_server as well as namestore-flat
using an UCI section called namestore_flat.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-12-04 19:00:35 +01:00
Daniel Golle
2e2299192d gnunet: update source, add iptables dependency
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-08-13 10:29:53 +02:00
Daniel Golle
a9258527c3 gnunet: update source, read config from UCI, add defaults
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-08-03 15:51:22 +02:00
Daniel Golle
76e84e8be9 gnunet: update source, enable local iperf and echo services
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-29 09:11:04 +02:00
Daniel Golle
34abdc2f6f gnunet: update source, forcestart dns2gns, fix typo
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-26 23:26:48 +02:00
Daniel Golle
480be2b2d4 gnunet: update source, improve packaging
* always re-create config-file when service is started
 * use /lib/upgrade/keep.d instead of /etc/sysupgrade.conf sed'ery

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-16 22:29:29 +02:00
Daniel Golle
67d14fd735 gnunet: properly deal with persistency
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-13 16:48:04 +02:00
Daniel Golle
7b6e938790 gnunet: bump source, improve packaging
* fix two typos in Makefile
 * package transports seperately
 * enable all installed transports by default
 * use logfile so we don't stdio-choke gnunet-service-arm
   -> should use syslog instead...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-07 09:36:05 +02:00
Daniel Golle
d6ac08f843 gnunet: improve packaging and set fix permissions on firstrun
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-05 14:53:22 +02:00
Daniel Golle
a85f38afea gnunet: improve procd init-script
Directly call /usr/lib/gnunet/libexec/gnunet-service-arm instead
of /usr/bin/gnunet-arm, so it remains attached to procd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-31 18:54:52 +02:00
Daniel Golle
ce0b6a4554 gnunet: fix things and use newer source version
- use newer source version from SVN
 - made it detect gnurl
 - added init script
 - added gnunet user

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-31 07:14:25 +02:00