Package Details: gnunet-git 0.21.2.r38.g604b2d10b-1

Git Clone URL: https://aur.archlinux.org/gnunet-git.git (read-only, click to copy)
Package Base: gnunet-git
Description: A framework for secure peer-to-peer networking
Upstream URL: http://gnunet.org
Keywords: Anonymity F2F File-Sharing GNS GNUnet Internet P2P VPN
Licenses: AGPL
Conflicts: gnunet, gnunet-bin
Provides: gnunet
Submitter: grufo
Maintainer: grufo (redfish)
Last Packager: grufo
Votes: 6
Popularity: 0.000114
First Submitted: 2018-03-16 13:42 (UTC)
Last Updated: 2024-06-21 17:59 (UTC)

Dependencies (47)

Required by (28)

Sources (6)

Pinned Comments

grufo commented on 2021-12-30 18:02 (UTC)

After installing the package do not forget to add your user to the gnunet group, with

sudo usermod -aG gnunet "$(whoami)"

If later you want to remove your user from the group, launch:

sudo gpasswd --delete "$(whoami)" gnunet

For information on how to use GNUnet plaese refer to the GNUnet article in the ArchWiki.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

grufo commented on 2019-06-13 16:15 (UTC)

@redfish

I ran again namcap with current version (0.11.5.r27984.5541e2e3f-1). Below part of the result:

[...]

gnunet-git W: Referenced library 'openrc-run' is an uninstalled dependency

[...]

gnunet-git E: Dependency gst-plugins-base-libs detected and not included (libraries ['usr/lib/libgstapp-1.0.so.0', 'usr/lib/libgstaudio-1.0.so.0'] needed in files ['usr/lib/gnunet/libexec/gnunet-helper-audio-record'])
gnunet-git W: Dependency gmp included but already satisfied
gnunet-git W: Dependency libgcrypt included but already satisfied
gnunet-git W: Dependency libunistring included but already satisfied

grufo commented on 2019-06-07 13:20 (UTC)

Hi MrCue! We need a magic number (any number) because we need to synchronize the $_gnunet_guid and $_gnunetdns_gid variables in PKGBUILD with the same variables in gnunet.install. I am open to suggestions though!

--grufo

MrCue commented on 2019-06-07 13:15 (UTC)

@grufo: Thanks for you AUR

A minor question for the PKGBUILD, why we have the guid as the 714 magic number? It blocks the building in my machine. After I change the guid to the one(619) in my machine, it builds happily.

package() {
    local _gnunet_guid=714                                                                                                                                                                
    local _gnunetdns_gid=715 
    ...
    if ! getent group gnunet > /dev/null || ! getent passwd gnunet > /dev/null || ! getent group gnunetdns > /dev/null || [[ $(stat -c %u "${pkgdir}/var/lib/gnunet") -ne ${_gnunet_guid}     ]]; then
    ...

grufo commented on 2018-08-24 10:27 (UTC)

@redfish

Thanks for removing the “already satisfied” deps and for adding zbar.

As for the “maybe optional” ones, it's hard to decide what to do. The official Arch package lists them as optional as well. On the one hand Arch developers might be wrong as anyone else, but on the other hand that means that likely no one has ever reported any crash concerning missing deps. I would keep things as they are, but I wouldn't bet it's the right choice.

About the version, I am not completely sure. Sometimes we might want to “force” users to perform an uptdate if a git revision solves important security bugs. We could do this also through pkgrel, but this in my opinion would not be semantically the right way.

redfish commented on 2018-08-23 00:39 (UTC)

@grufo: Good catch. Those are transitive deps (via libmicrohttpd->gnutls->nettle, etc). I removed them.

Re optional vs non-optional: maybe we should make those deps required if gnunet will really crash if you try to use that functionality but didn't install those packages.

Btw, gnunet-qr needs zbar. I added it (as optional, but perhaps it should be required since gnunet-qr is installed by default). zbar is only available for python 2 so I switched the whole build to python 2.

Re version: what I do for other packages is keep the version clean without the hash/revision, and bump the version only every time upstream release happens. So users will be notified of an update when release updates, but they always can rebuild the package to get latest master whenever they want. When committing, I just make sure to exclude the change to the version from PKGBUILD and .SRCINFO.

grufo commented on 2018-08-22 13:06 (UTC)

@redfish

I just launched namcap and, among other things, this is what I got:

gnunet-git W: Dependency python detected but optional (programs ['python'] needed in scripts ['usr/bin/gnunet-qr'])
gnunet-git W: Dependency libpulse detected but optional (libraries ['usr/lib/libpulse.so.0'] needed in files ['usr/lib/gnunet/libexec/gnunet-helper-audio-record'])
gnunet-git W: Dependency opus detected but optional (libraries ['usr/lib/libopus.so.0'] needed in files ['usr/lib/gnunet/libexec/gnunet-helper-audio-record'])
gnunet-git W: Dependency gmp included but already satisfied
gnunet-git W: Dependency libgcrypt included but already satisfied
gnunet-git W: Dependency libunistring included but already satisfied
gnunet-git W: Dependency libidn included but already satisfied

It seems to suggest to move python, libpulse and opus from optdepends to depends, and moreover it shows a weird message concerning gmp, libgcrypt, libunistring, libidn (“Dependency included but already satisfied”).

Any idea?