summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* acct-*.eclass: Remove *-fbsd keywordsMichał Górny2019-10-111-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Document primary/supplementary groupsMichał Górny2019-09-081-1/+2
| | | | | Closes: https://bugs.gentoo.org/692964 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Fix typo in eislocked()Michał Górny2019-08-241-2/+2
| | | | | | Reported by Hello71. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-{group,user}.eclass: Add @SUPPORTED_EAPIS.Ulrich Müller2019-08-201-2/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* acct-*.eclass: Allow dynamic UID/GID assignment via -1Michał Górny2019-08-171-0/+4
| | | | | | | | | | | | | | | | Allow a special value of '-1' to dynamically assign UID/GID for the user or group. This is intended to be used in overlays where proper assignment does not take place but whose owners wish to switch to acct-* packages. While technically it is possible to choose a free UID/GID, it could be taken afterwards by some Gentoo package and unnecessarily introduce a conflict. Using '999' was also suggested (as the first dynamic UID/GID) but it would cause issues for people enabling ACCT_*_ENFORCE_ID. To avoid this, '-1' does not trigger collision checks. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: die explicitly if HOME is missing in preinstMike Gilbert2019-08-151-0/+8
| | | | | Closes: https://bugs.gentoo.org/691478 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: Do not enforce UID unless requestedMichał Górny2019-07-091-2/+3
| | | | | | | | | | Correct the enewuser call not to enforce specified UID unless ACCT_USER_ENFORCE_ID is set. Reported-by: Toralf Förster <toralf@gentoo.org> Tested-by: Marek Szuba <marecki@gentoo.org> Closes: https://bugs.gentoo.org/689102 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Remove HOMEPAGEMichał Górny2019-07-081-1/+0
| | | | | Suggested-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Skip locking if account does not existMichał Górny2019-07-051-0/+6
| | | | | Closes: https://bugs.gentoo.org/689308 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Supporting locking & unlocking accountsMichał Górny2019-06-201-0/+127
| | | | | Closes: https://github.com/gentoo/gentoo/pull/12129 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: A new eclass to maintain user accountsMichał Górny2019-06-201-0/+246
A GLEP 81-compliant eclass to create user account packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>