aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/netjail/netjail_setup_internet.sh2
-rw-r--r--contrib/services/systemd/tmpfiles-gnunet.conf16
-rw-r--r--contrib/xdg-scheme-handler/README.md8
-rw-r--r--contrib/xdg-scheme-handler/gnunet-uri.desktop9
4 files changed, 26 insertions, 9 deletions
diff --git a/contrib/scripts/netjail/netjail_setup_internet.sh b/contrib/scripts/netjail/netjail_setup_internet.sh
index e3880783f..ea820f38c 100755
--- a/contrib/scripts/netjail/netjail_setup_internet.sh
+++ b/contrib/scripts/netjail/netjail_setup_internet.sh
@@ -1,4 +1,4 @@
1#!/bin/sh 1#!/bin/bash
2 2
3. "./netjail_core.sh" 3. "./netjail_core.sh"
4 4
diff --git a/contrib/services/systemd/tmpfiles-gnunet.conf b/contrib/services/systemd/tmpfiles-gnunet.conf
index ffffa3284..251b475c9 100644
--- a/contrib/services/systemd/tmpfiles-gnunet.conf
+++ b/contrib/services/systemd/tmpfiles-gnunet.conf
@@ -1,10 +1,10 @@
1# Typically placed into /usr/lib/tmpfiles.d/gnunet.conf 1# Typically placed into /usr/lib/tmpfiles.d/gnunet.conf
2d /var/lib/gnunet 0700 gnunet gnunet - - 2d /var/lib/gnunet 0700 gnunet gnunet - -
3z /usr/lib/gnunet/gnunet-helper-dns 4750 root gnunetdns - - 3z /usr/lib/gnunet/libexec/gnunet-helper-dns 4750 root gnunetdns - -
4z /usr/lib/gnunet/gnunet-service-dns 2750 gnunet gnunetdns - - 4z /usr/lib/gnunet/libexec/gnunet-service-dns 2750 gnunet gnunetdns - -
5z /usr/lib/gnunet/libexec/gnunet-helper-vpn 4750 root root - - 5z /usr/lib/gnunet/libexec/gnunet-helper-vpn 4755 root root - -
6z /usr/lib/gnunet/libexec/gnunet-helper-transport-wlan 4750 root root - - 6z /usr/lib/gnunet/libexec/gnunet-helper-transport-wlan 4755 root root - -
7z /usr/lib/gnunet/libexec/gnunet-helper-transport-bluetooth 4750 root root - - 7z /usr/lib/gnunet/libexec/gnunet-helper-transport-bluetooth 4755 root root - -
8z /usr/lib/gnunet/libexec/gnunet-helper-exit 4750 root root - - 8z /usr/lib/gnunet/libexec/gnunet-helper-exit 4755 root root - -
9z /usr/lib/gnunet/libexec/gnunet-helper-nat-server 4750 root root - - 9z /usr/lib/gnunet/libexec/gnunet-helper-nat-server 4755 root root - -
10z /usr/lib/gnunet/libexec/gnunet-helper-nat-client 4750 root root - - 10z /usr/lib/gnunet/libexec/gnunet-helper-nat-client 4755 root root - -
diff --git a/contrib/xdg-scheme-handler/README.md b/contrib/xdg-scheme-handler/README.md
new file mode 100644
index 000000000..919ae37f8
--- /dev/null
+++ b/contrib/xdg-scheme-handler/README.md
@@ -0,0 +1,8 @@
1XDG Scheme Handler for GNUnet URIs
2==================================
3
4To register the `gnunet://` URI scheme, launch the following commands from this
5directory as a privileged user:
6
7 install -Dm644 gnunet-uri.desktop /usr/share/applications/gnunet-uri.desktop
8 update-mime-database /usr/share/applications/
diff --git a/contrib/xdg-scheme-handler/gnunet-uri.desktop b/contrib/xdg-scheme-handler/gnunet-uri.desktop
new file mode 100644
index 000000000..4f847d20f
--- /dev/null
+++ b/contrib/xdg-scheme-handler/gnunet-uri.desktop
@@ -0,0 +1,9 @@
1[Desktop Entry]
2Name=GNUnet URI
3Exec=gnunet-uri %u
4GenericName=URI handler for the GNUnet network
5Icon=gnunet
6Type=Application
7Terminal=false
8NoDisplay=true
9MimeType=x-scheme-handler/gnunet;