diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/scripts/netjail/netjail_setup_internet.sh | 2 | ||||
-rw-r--r-- | contrib/services/systemd/tmpfiles-gnunet.conf | 16 | ||||
-rw-r--r-- | contrib/xdg-scheme-handler/README.md | 8 | ||||
-rw-r--r-- | contrib/xdg-scheme-handler/gnunet-uri.desktop | 9 |
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 |
2 | d /var/lib/gnunet 0700 gnunet gnunet - - | 2 | d /var/lib/gnunet 0700 gnunet gnunet - - |
3 | z /usr/lib/gnunet/gnunet-helper-dns 4750 root gnunetdns - - | 3 | z /usr/lib/gnunet/libexec/gnunet-helper-dns 4750 root gnunetdns - - |
4 | z /usr/lib/gnunet/gnunet-service-dns 2750 gnunet gnunetdns - - | 4 | z /usr/lib/gnunet/libexec/gnunet-service-dns 2750 gnunet gnunetdns - - |
5 | z /usr/lib/gnunet/libexec/gnunet-helper-vpn 4750 root root - - | 5 | z /usr/lib/gnunet/libexec/gnunet-helper-vpn 4755 root root - - |
6 | z /usr/lib/gnunet/libexec/gnunet-helper-transport-wlan 4750 root root - - | 6 | z /usr/lib/gnunet/libexec/gnunet-helper-transport-wlan 4755 root root - - |
7 | z /usr/lib/gnunet/libexec/gnunet-helper-transport-bluetooth 4750 root root - - | 7 | z /usr/lib/gnunet/libexec/gnunet-helper-transport-bluetooth 4755 root root - - |
8 | z /usr/lib/gnunet/libexec/gnunet-helper-exit 4750 root root - - | 8 | z /usr/lib/gnunet/libexec/gnunet-helper-exit 4755 root root - - |
9 | z /usr/lib/gnunet/libexec/gnunet-helper-nat-server 4750 root root - - | 9 | z /usr/lib/gnunet/libexec/gnunet-helper-nat-server 4755 root root - - |
10 | z /usr/lib/gnunet/libexec/gnunet-helper-nat-client 4750 root root - - | 10 | z /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 @@ | |||
1 | XDG Scheme Handler for GNUnet URIs | ||
2 | ================================== | ||
3 | |||
4 | To register the `gnunet://` URI scheme, launch the following commands from this | ||
5 | directory 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] | ||
2 | Name=GNUnet URI | ||
3 | Exec=gnunet-uri %u | ||
4 | GenericName=URI handler for the GNUnet network | ||
5 | Icon=gnunet | ||
6 | Type=Application | ||
7 | Terminal=false | ||
8 | NoDisplay=true | ||
9 | MimeType=x-scheme-handler/gnunet; | ||