Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105278 - clamav-0.86.2.ebuild uses os specific command
Summary: clamav-0.86.2.ebuild uses os specific command
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 105281
  Show dependency tree
 
Reported: 2005-09-08 09:45 UTC by Tobias Hahn
Modified: 2005-09-08 13:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Hahn 2005-09-08 09:45:54 UTC
The clamav ebuild creates user and group clamav using enewuser/enewgroup. After
doing so, it calls 

pwconv || die

which IMHO is a Linux specific command converting from /etc/passwd to
/etc/shadow, i.e. not portable. Even under Linux it assumes everybody is using
shadow passwords. It breaks compilation on darwin/osx since darwin uses a
completely different user management (netinfo). If there is the need to do
something like pwconv, it should automatically be done by enewuser. User and
group creation should be done in a consistent manner across all ebuilds.

Most ebuilds that add new users seem to be able to do without pwconv. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-09-08 12:09:51 UTC
You're right, there's no need for pwconv. Removed in CVS, thanks.