Bug 163511 - [PATCH] bsd.port.mk: Allow existing users on system to be used by ports
Summary: [PATCH] bsd.port.mk: Allow existing users on system to be used by ports
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
Depends on:
Reported: 2011-12-21 19:00 UTC by Chris Rees
Modified: 2019-09-04 13:46 UTC (History)
0 users

See Also:

bsd-port-mk-users-existing.diff (3.08 KB, patch)
2011-12-21 19:00 UTC, Chris Rees
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rees freebsd_committer 2011-12-21 19:00:25 UTC
	Currently one must ensure that a user in USERS= in a port Makefile is included in ${UID_FILES}.  This of course is important when a port defines a standard username, but when it allows the username to be customised it results in inflexibility (ports/162934).

	Instead of guessing anything, it's still an error if no such user exists, but if the user does exist it uses those details to program the package to create the user.

Fix: - Detect and use groups and users present on system
	- Correct uses of ECHO_MSG
	- Correct sample master.passwd line
Comment 1 Edwin Groothuis freebsd_committer 2011-12-21 19:00:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 02:54:26 UTC
Infrastructure PR.
Comment 3 Baptiste Daroussin freebsd_committer 2019-09-04 13:46:54 UTC
The time has passed since this proposal, it seems at quick glance to me that this is not needed anymore. If it is please reopen the issue and provide an updated patch.