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/exit | |
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/exit')
-rw-r--r-- | src/exit/Makefile.am | 13 | ||||
-rwxr-xr-x | src/exit/install-exit-helper.sh | 5 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/exit/Makefile.am b/src/exit/Makefile.am index c45354256..c0323d0d6 100644 --- a/src/exit/Makefile.am +++ b/src/exit/Makefile.am | |||
@@ -14,21 +14,8 @@ plugindir = $(libdir)/gnunet | |||
14 | dist_pkgcfg_DATA = \ | 14 | dist_pkgcfg_DATA = \ |
15 | exit.conf | 15 | exit.conf |
16 | 16 | ||
17 | if HAVE_SUDO | ||
18 | SUDO_OR_DOAS_BINARY= $(SUDO_BINARY) | ||
19 | else | ||
20 | if HAVE_DOAS_BINARY | ||
21 | SUDO_OR_DOAS_BINARY= $(DOAS_BINARY) | ||
22 | endif | ||
23 | endif | ||
24 | |||
25 | if LINUX | 17 | if LINUX |
26 | EXITBIN = gnunet-helper-exit | 18 | EXITBIN = gnunet-helper-exit |
27 | install-exec-hook: | ||
28 | chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-exit | ||
29 | chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-exit | ||
30 | else | ||
31 | install-exec-hook: | ||
32 | endif | 19 | endif |
33 | 20 | ||
34 | 21 | ||
diff --git a/src/exit/install-exit-helper.sh b/src/exit/install-exit-helper.sh deleted file mode 100755 index d9ae14106..000000000 --- a/src/exit/install-exit-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-exit || true | ||
5 | $2 chmod u+s $1/gnunet-helper-exit || true | ||