Description: Create symlinks for check_icmp to provide default values for some situations
Author: Jan Wagner <waja@cyconet.org>
Forwarded: not-needed

--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -76,7 +76,8 @@ install-exec-local: $(noinst_PROGRAMS)
 	else \
 	  echo "WARNING: insufficient access; not installing setuid plugins"; \
 	  echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
-	fi
+	fi ; \
+	if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi
 
 # /* Author Coreutils team sub-citation */
 
--- a/plugins-root/Makefile.in
+++ b/plugins-root/Makefile.in
@@ -3067,7 +3067,8 @@ install-exec-local: $(noinst_PROGRAMS)
 	else \
 	  echo "WARNING: insufficient access; not installing setuid plugins"; \
 	  echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
-	fi
+	fi ; \
+	if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi
 
 clean-local:
 	rm -f NP-VERSION-FILE
