Bug 208800 - extract user/group creation into an outside script
Summary: extract user/group creation into an outside script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL: https://reviews.freebsd.org/D5939
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 13:12 UTC by Mathieu Arnold
Modified: 2016-04-18 18:40 UTC (History)
1 user (show)

See Also:
mat: exp-run?


Attachments
patch-v1 (10.12 KB, patch)
2016-04-14 13:12 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2016-04-14 13:12:12 UTC
Created attachment 169313 [details]
patch-v1
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2016-04-18 16:42:43 UTC
Exp-run looks good
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-04-18 18:40:05 UTC
A commit references this bug:

Author: mat
Date: Mon Apr 18 18:39:45 UTC 2016
New revision: 413604
URL: https://svnweb.freebsd.org/changeset/ports/413604

Log:
  Extract the users/groups creation into a separate shell script.

  This adds a few features:
  - it checks that the UID line has the right number of fields [1]
  - it tells the user that there are groups that he may want to remove [2]

  PR:		208800, 173318 [1], 157546 [2]
  Submitted by:	mat
  Sponsored by:	Absolight
  Differential Revision:	https://reviews.freebsd.org/D5939

Changes:
  head/Mk/Scripts/do-users-groups.sh
  head/Mk/bsd.port.mk