From fb5a4bff07c34012cc188ff5d8c3d174e9d8c131 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 23 Oct 2019 20:24:46 +0000 Subject: 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. --- src/dns/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/dns/Makefile.am') 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 if LINUX HIJACKBIN = gnunet-helper-dns install-exec-hook: - $(top_srcdir)/src/dns/install-dns-helper.sh $(DESTDIR)$(libexecdir) $(GNUNETDNS_GROUP) $(SUDO_OR_DOAS_BINARY) || true + chown root $(DESTDIR)$(libexecdir)/gnunt-helper-dns + chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns + chmod 4750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns + chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns + chown gnunet:$(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns + chmod 2750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns else install-exec-hook: endif -- cgit v1.2.3