aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-23 21:51:46 +0000
committerng0 <ng0@n0.is>2019-10-23 21:51:46 +0000
commit4993eac25ce2737fc45aec08f21226f523405804 (patch)
treea32a054c36102aa712a17b9b27be14b72fa8557b /src/transport
parent0c13e270c31ef2896d56eb3d53ac7a5714ea1e58 (diff)
downloadgnunet-4993eac25ce2737fc45aec08f21226f523405804.tar.gz
gnunet-4993eac25ce2737fc45aec08f21226f523405804.zip
remove never working setuid helper code from the build-system.
refer to the Changelog for a longer reason. In conclusion, this is what people expect, this is what Package Managers patch away for portability, and we can't use install(1) for this because it's not a portable tool.
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/Makefile.am20
-rwxr-xr-xsrc/transport/install-bluetooth-helper.sh5
-rwxr-xr-xsrc/transport/install-wlan-helper.sh5
3 files changed, 0 insertions, 30 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index b690fa345..8221b7847 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -93,26 +93,6 @@ if LINUX
93 test_quota_compliance_wlan_asymmetric 93 test_quota_compliance_wlan_asymmetric
94endif 94endif
95 95
96if HAVE_SUDO
97SUDO_OR_DOAS_BINARY= $(SUDO_BINARY)
98else
99if HAVE_DOAS_BINARY
100SUDO_OR_DOAS_BINARY= $(DOAS_BINARY)
101endif
102endif
103
104if LINUX
105install-exec-hook:
106 chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-transport-wlan
107 chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-transport-wlan
108if HAVE_LIBBLUETOOTH
109 chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-transport-bluetooth
110 chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-transport-bluetooth
111endif
112else
113install-exec-hook:
114endif
115
116if LINUX 96if LINUX
117if HAVE_LIBBLUETOOTH 97if HAVE_LIBBLUETOOTH
118 BT_BIN = gnunet-helper-transport-bluetooth 98 BT_BIN = gnunet-helper-transport-bluetooth
diff --git a/src/transport/install-bluetooth-helper.sh b/src/transport/install-bluetooth-helper.sh
deleted file mode 100755
index 5c40250fa..000000000
--- a/src/transport/install-bluetooth-helper.sh
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/sh
2# $1 - bindir
3# $2 - sudo binary (optional)
4$2 chown root:root $1/gnunet-helper-transport-bluetooth || true
5$2 chmod u+s $1/gnunet-helper-transport-bluetooth || true
diff --git a/src/transport/install-wlan-helper.sh b/src/transport/install-wlan-helper.sh
deleted file mode 100755
index 0fa9c9806..000000000
--- a/src/transport/install-wlan-helper.sh
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/sh
2# $1 - bindir
3# $2 - sudo binary (optional)
4$2 chown root:root $1/gnunet-helper-transport-wlan || true
5$2 chmod u+s $1/gnunet-helper-transport-wlan || true