non port: Mk/Scripts/do-users-groups.sh |
SVNWeb
|
Number of commits found: 13 |
Tue, 6 Apr 2021
|
[ 14:27 Mathieu Arnold (mat) ] 5d33e04 (Only the first 10 of 224 ports in this commit are shown above. )
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
|
Wed, 11 Nov 2020
|
[ 13:29 mat ] (Only the first 10 of 22 ports in this commit are shown above. )
Add set pipefail in most framework scripts.
set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline. This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.
PR: 250723
Exp-run by: antoine
Reviewed by: bapt
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D27007
|
Thu, 5 Nov 2020
|
[ 16:51 mat ] (Only the first 10 of 22 ports in this commit are shown above. )
Backout r554139.
|
[ 16:42 mat ] (Only the first 10 of 22 ports in this commit are shown above. )
Add set pipefail in most framework scripts.
set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline. This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.
|
Thu, 23 Apr 2020
|
[ 18:06 manu ]
users-groups-install: Make it pkg -r friendly
The generated pre-install scripts isn't pkg -r friendly for all
ports that have USERS/GROUPS with an homedir, fix that.
Reviewed by: bapt
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D24531
|
Thu, 18 Jan 2018
|
[ 15:42 mat ]
Remove confusing and obsolete comment, 10.2 support was axed in
ports r430441.
|
Mon, 16 Oct 2017
|
[ 08:30 antoine ]
Skip comments when parsing GID_FILES
Reviewed by: bapt
MFH: 2017Q4
Differential Revision: https://reviews.freebsd.org/D12682
|
Wed, 19 Jul 2017
|
[ 11:55 mat ]
Fix using more than one files in UID_FILES and GID_FILES.
Repeat after me: If you change IFS, it will break something unexpected.
The problem is that we use IFS to change read's field separator. This
has the side effect of changing how sh(1) splits all string, including
in command parsing functions.
In this case, unless quoted, the strings are always splitted using IFS.
So changing IFS will change how these strings are splitted, and you end
up having a headache. For example:
$ GID_FILES="foo bar"
$ set -x
$ echo $GID_FILES (Only the first 15 lines of the commit message are shown above )
|
Tue, 3 Jan 2017
|
[ 07:24 rene ]
Remove support for FreeBSD < 10.3 from Mk/*
This does not yet convert the files to bmake.
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D9016
|
Tue, 1 Nov 2016
|
[ 00:33 antoine ]
Fix directory creation when primary group is different from user name
|
Mon, 31 Oct 2016
|
[ 22:37 bdrewery ]
Fix package upgrade setting wrong ownership on a package's $HOME.
This happens when the UID/GID doesn't match the expected number from
UIDs/GIDs.
https://github.com/freebsd/pkg/issues/1485 has more details.
With hat: portmgr
Discussed with: bapt, mat
|
Fri, 20 May 2016
|
[ 19:01 mat ]
Ease debugging of Mk/Scripts scripts.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D6474
|
Mon, 18 Apr 2016
|
[ 18:39 mat ]
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
|
Number of commits found: 13 |