ports/119821: Mk/bsd.commands.mk -- no entry for /usr/sbin/pw
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Jan 20 11:40:05 UTC 2008
>Number: 119821
>Category: ports
>Synopsis: Mk/bsd.commands.mk -- no entry for /usr/sbin/pw
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 20 11:40:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Matthew Seaman
>Release: FreeBSD 7.0-PRERELEASE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #22: Tue Jan 15 19:01:28 GMT 2008 root at happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386
>Description:
There is no ${PW} make variable defined to give the path to pw(8),
which seems an odd omission to me. For instance, its the only
tool I've found that can translate a group name to the corresponding
gid number:
${PW} group show -n ${GROUP} | ${CUT} -d : -f 3
which should be compatible with NIS- or LDAP- based group databases
as well as the default /etc/group flat-file.
>How-To-Repeat:
>Fix:
--- b.c.mk.diff begins here ---
--- Mk/bsd.commands.mk.orig 2008-01-20 11:18:41.000000000 +0000
+++ Mk/bsd.commands.mk 2008-01-20 11:19:13.000000000 +0000
@@ -67,6 +67,7 @@
PASTE?= /usr/bin/paste
PAX?= /bin/pax
PRINTF?= /usr/bin/printf
+PW?= /usr/sbin/pw
REALPATH?= /bin/realpath
RM?= /bin/rm
RMDIR?= /bin/rmdir
--- b.c.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list