From 2bf22b1fb725b71ca1ec2656be4b020efcc29289 Mon Sep 17 00:00:00 2001 From: Carsten Wolff Date: Sun, 8 Apr 2018 21:39:10 +0200 Subject: iputils: install ping, ping6, traceroute6 with setuid root these utilities need to run with uid 0 to be useful. Thus, install them setuid root like other distros do, too. Signed-off-by: Carsten Wolff [use INSTALL_SUID macro] Signed-off-by: Jo-Philipp Wich --- package/network/utils/iputils/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package') diff --git a/package/network/utils/iputils/Makefile b/package/network/utils/iputils/Makefile index 344af07afd..03ad7d2031 100644 --- a/package/network/utils/iputils/Makefile +++ b/package/network/utils/iputils/Makefile @@ -144,12 +144,12 @@ endef define Package/iputils-ping/install $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/ping $(1)/usr/bin/ + $(INSTALL_SUID) $(PKG_BUILD_DIR)/ping $(1)/usr/bin/ endef define Package/iputils-ping6/install $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/ping6 $(1)/usr/bin/ + $(INSTALL_SUID) $(PKG_BUILD_DIR)/ping6 $(1)/usr/bin/ endef define Package/iputils-tftpd/install @@ -169,7 +169,7 @@ endef define Package/iputils-traceroute6/install $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/traceroute6 $(1)/usr/bin/ + $(INSTALL_SUID) $(PKG_BUILD_DIR)/traceroute6 $(1)/usr/bin/ endef $(eval $(call BuildPackage,iputils-arping)) -- cgit v1.2.3