[MacPorts] #22798: signing-party port is missing a dependency to "getent"
MacPorts
noreply at macports.org
Mon Dec 7 08:16:17 PST 2009
#22798: signing-party port is missing a dependency to "getent"
--------------------------------------+-------------------------------------
Reporter: brian.gupta@… | Owner: milosh@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: signing-party
--------------------------------------+-------------------------------------
Comment(by milosh@…):
On the mac I tested, there is a /etc/passwd file. So I propose as a
replacement for getent the following script:
{{{
#! /bin/sh
if [ $# -eq 1 ] && [ $1 = 'passwd' ]; then
cat /etc/passwd
elif [ $# -eq 2 ] && [ $1 = 'passwd' ]; then
grep ^$2 /etc/passwd
else
echo "getent: wrong number of arguments"
exit 1
fi
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22798#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list