summaryrefslogtreecommitdiff
path: root/src/nat/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/Makefile.am')
-rw-r--r--src/nat/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am
index d88dd6db4..2c04741da 100644
--- a/src/nat/Makefile.am
+++ b/src/nat/Makefile.am
@@ -21,14 +21,20 @@ if LINUX
NATSERVER = gnunet-helper-nat-server.c
NATCLIENT = gnunet-helper-nat-client.c
install-exec-hook:
- $(top_srcdir)/src/nat/install-nat-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_OR_DOAS_BINARY) || true
+ chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-nat-server
+ chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-nat-client
+ chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-nat-server
+ chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-nat-client
else
if XFREEBSD
NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
NATSERVER = gnunet-helper-nat-server.c
NATCLIENT = gnunet-helper-nat-client.c
install-exec-hook:
- $(top_srcdir)/src/nat/install-nat-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_OR_DOAS_BINARY) || true
+ chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-nat-server
+ chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-nat-client
+ chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-nat-server
+ chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-nat-client
endif
else
install-exec-hook:
@@ -61,7 +67,7 @@ if USE_COVERAGE
endif
lib_LTLIBRARIES = \
- libgnunetnatnew.la
+ libgnunetnatnew.la
libgnunetnatnew_la_SOURCES = \
nat_api.c \