0ffed74ef7
Imported from wip/gnunet GNUnet is a framework for secure peer-to-peer networking that does not use any centralized or otherwise trusted services. A first service implemented on top of the networking layer allows anonymous censorship-resistant file-sharing. GNUnet uses a simple, excess-based economic model to allocate resources. Peers in GNUnet monitor each others behavior with respect to resource usage; peers that contribute to the network are rewarded with better service.
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
===========================================================================
|
|
$NetBSD: README.pkgsrc.txt,v 1.1 2023/01/31 18:53:46 nikita Exp $
|
|
|
|
To enable this package, put the following into your /etc/rc.conf:
|
|
|
|
gnunet=YES
|
|
|
|
and ensure that
|
|
|
|
${RCD_SCRIPTS_DIR}/gnunet start
|
|
|
|
is run at the appropriate time.
|
|
Each GNUnet user should be added to the ${GNUNET_GROUP}.
|
|
|
|
Each GNUnet user must add a ~/.config/gnunet.conf file
|
|
with these lines:
|
|
|
|
[arm]
|
|
START_SYSTEM_SERVICES = NO
|
|
START_USER_SERVICES = YES
|
|
|
|
|
|
Finally, each user in this multi-user setup, must start
|
|
gnunet with "gnunet-arm -s".
|
|
|
|
You can achieve this (for one user) with this in your /etc/rc.conf:
|
|
|
|
gnunetuser=YES
|
|
gnunetuser_user=name
|
|
gnunetuser_user_home="/home/name"
|
|
|
|
if your user name is "name", and
|
|
|
|
${RCD_SCRIPTS_DIR}/gnunetuser start
|
|
|
|
Read the documentation (info gnunet) and provided example
|
|
files as well as the man pages to learn how to customize
|
|
your peer configuration. An online documentation is
|
|
provided at https://docs.gnunet.org/ as well as offline at
|
|
${PREFIX}/share/doc/gnunet/html/index.html.
|
|
===========================================================================
|