pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/inetutils inetutils: Fix path to cp(1) and setuid ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4bfd750a1f1e
branches:  trunk
changeset: 441826:4bfd750a1f1e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Nov 11 16:50:17 2020 +0000

description:
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:

 net/inetutils/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 930c6bee1ece -r 4bfd750a1f1e net/inetutils/Makefile
--- a/net/inetutils/Makefile    Wed Nov 11 16:23:05 2020 +0000
+++ b/net/inetutils/Makefile    Wed Nov 11 16:50:17 2020 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index