-fixing source port randomization for DNS service
[oweals/gnunet.git] / src / dns / Makefile.am
index 5f9f39116fafd235c4fd8d5d555db0146d916b99..6e25d81bffa790e1a059276127214327ade631b4 100644 (file)
@@ -22,7 +22,7 @@ install-exec-hook:
        $(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-helper-dns || true
        $(SUDO_BINARY) chmod 4750 $(bindir)/gnunet-helper-dns || true
        $(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-service-dns || true
-       $(SUDO_BINARY) chmod 2755 $(bindir)/gnunet-service-dns || true
+       $(SUDO_BINARY) chmod 2750 $(bindir)/gnunet-service-dns || true
 else
 install-exec-hook:
 endif
@@ -40,6 +40,9 @@ noinst_PROGRAMS = \
 plugin_LTLIBRARIES = \
   libgnunet_plugin_block_dns.la 
 
+check_SCRIPTS = \
+ test_gnunet_dns.sh
+
 
 gnunet_helper_dns_SOURCES = \
  gnunet-helper-dns.c
@@ -71,6 +74,7 @@ gnunet_service_dns_SOURCES = \
  gnunet-service-dns.c 
 gnunet_service_dns_LDADD = \
   $(top_builddir)/src/tun/libgnunettun.la \
+  $(top_builddir)/src/mesh/libgnunetmesh.la \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL)
@@ -97,4 +101,9 @@ libgnunet_plugin_block_dns_la_LDFLAGS = \
   $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
 
 
+if ENABLE_TEST_RUN
+TESTS = $(check_PROGRAMS)  $(check_SCRIPTS)
+endif
 
+EXTRA_DIST = \
+  $(check_SCRIPTS)