Subject: pkg/36695: net/uucp Makefile specifies the location of uucico inconsistently
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jbernard@mines.edu>
List: pkgsrc-bugs
Date: 07/27/2007 19:55:00
>Number: 36695
>Category: pkg
>Synopsis: net/uucp Makefile specifies the location of uucico inconsistently
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 27 19:55:00 +0000 2007
>Originator: Jim Bernard
>Release: NetBSD 4.99.20
>Organization:
>Environment:
System: NetBSD 4.99.20 #0: Fri Jun 8 15:05:40 MDT 2007 i386
Architecture: i386
Machine: i386
>Description:
The Makefile mentions uucico in two different locations:
PKG_SHELL.${UUCP_USER}= ${PREFIX}/libexec/uucp/uucico
...
SPECIAL_PERMS+= sbin/uucico ${UUCP_USER} ${BINGRP} 4555
The latter is where it is actually installed (and where the
PLIST expects it), while the former is used to generate
${PREFIX}/share/examples/uucp/master.passwd. So, if a user
copies the example unchanged, their master.passwd file will
be incorrect.
>How-To-Repeat:
Read the Makefile, or install the package and find uucico in
${PREFIX}/sbin/uucico and the libexec path in
${PREFIX}/share/examples/uucp/master.passwd.
>Fix:
Change the PKG_SHELL variable in the Makefile to
PKG_SHELL.${UUCP_USER}= ${PREFIX}/sbin/uucico
or change the installed location of uucico (which requires
significantly more effort, though it would be more consistent
with the historical location prior to the move of uucp to pkgsrc).