aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-23 20:24:46 +0000
committerng0 <ng0@n0.is>2019-10-23 20:24:46 +0000
commitfb5a4bff07c34012cc188ff5d8c3d174e9d8c131 (patch)
tree0e801d5bbdf69705e2d4857994ec237ef60df00c /src/dns
parentc4cd5da52ee63b5d920f3cb6f87e5a1a3140b148 (diff)
downloadgnunet-fb5a4bff07c34012cc188ff5d8c3d174e9d8c131.tar.gz
gnunet-fb5a4bff07c34012cc188ff5d8c3d174e9d8c131.zip
first test commit to make sudo + sh scripts obsolete.
install(1) is too unportable to handle this job so we take the content of the scripts.
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dns/Makefile.am b/src/dns/Makefile.am
index acf9660f7..8082cbab5 100644
--- a/src/dns/Makefile.am
+++ b/src/dns/Makefile.am
@@ -25,7 +25,12 @@ endif
25if LINUX 25if LINUX
26HIJACKBIN = gnunet-helper-dns 26HIJACKBIN = gnunet-helper-dns
27install-exec-hook: 27install-exec-hook:
28 $(top_srcdir)/src/dns/install-dns-helper.sh $(DESTDIR)$(libexecdir) $(GNUNETDNS_GROUP) $(SUDO_OR_DOAS_BINARY) || true 28 chown root $(DESTDIR)$(libexecdir)/gnunt-helper-dns
29 chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
30 chmod 4750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns
31 chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
32 chown gnunet:$(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
33 chmod 2750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns
29else 34else
30install-exec-hook: 35install-exec-hook:
31endif 36endif