summaryrefslogtreecommitdiff
path: root/net/inetutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-11-11 16:50:17 +0000
committerjperkin <jperkin@pkgsrc.org>2020-11-11 16:50:17 +0000
commitcb575d2aace01acfb734b1cb4b6b64cf76b998bd (patch)
treeadb89fe8613640fe731b05efa4ad92beceb55751 /net/inetutils
parentce9e5c8075097822fdb5394be313ba9e652d9a6b (diff)
downloadpkgsrc-cb575d2aace01acfb734b1cb4b6b64cf76b998bd.tar.gz
inetutils: Fix path to cp(1) and setuid perms.
The path to the tools cp was being embedded in the grcp program. Bump PKGREVISION.
Diffstat (limited to 'net/inetutils')
-rw-r--r--net/inetutils/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/inetutils/Makefile b/net/inetutils/Makefile
index ebfd50ba44e..2173e90e054 100644
--- a/net/inetutils/Makefile
+++ b/net/inetutils/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2020/05/31 15:05:28 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2020/11/11 16:50:17 jperkin Exp $
DISTNAME= inetutils-1.9.4
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=inetutils/}
EXTRACT_SUFX= .tar.xz
@@ -15,6 +15,11 @@ AUTO_MKDIRS= yes
INFO_FILES= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-prefix=g
+CONFIGURE_ENV+= inetutils_cv_path_cp=${CP}
+
+.for prog in ping ping6 rcp rlogin rsh traceroute
+SPECIAL_PERMS+= bin/g${prog} ${SETUID_ROOT_PERMS}
+.endfor
TEST_TARGET= check