diff options
author | ng0 <ng0@n0.is> | 2019-10-23 21:51:46 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-23 21:51:46 +0000 |
commit | 4993eac25ce2737fc45aec08f21226f523405804 (patch) | |
tree | a32a054c36102aa712a17b9b27be14b72fa8557b /src/transport | |
parent | 0c13e270c31ef2896d56eb3d53ac7a5714ea1e58 (diff) | |
download | gnunet-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.am | 20 | ||||
-rwxr-xr-x | src/transport/install-bluetooth-helper.sh | 5 | ||||
-rwxr-xr-x | src/transport/install-wlan-helper.sh | 5 |
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 |
94 | endif | 94 | endif |
95 | 95 | ||
96 | if HAVE_SUDO | ||
97 | SUDO_OR_DOAS_BINARY= $(SUDO_BINARY) | ||
98 | else | ||
99 | if HAVE_DOAS_BINARY | ||
100 | SUDO_OR_DOAS_BINARY= $(DOAS_BINARY) | ||
101 | endif | ||
102 | endif | ||
103 | |||
104 | if LINUX | ||
105 | install-exec-hook: | ||
106 | chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-transport-wlan | ||
107 | chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-transport-wlan | ||
108 | if HAVE_LIBBLUETOOTH | ||
109 | chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-transport-bluetooth | ||
110 | chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-transport-bluetooth | ||
111 | endif | ||
112 | else | ||
113 | install-exec-hook: | ||
114 | endif | ||
115 | |||
116 | if LINUX | 96 | if LINUX |
117 | if HAVE_LIBBLUETOOTH | 97 | if 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 | ||