Opened 10 months ago
Last modified 10 months ago
#68841 closed defect
Invalid add_users command in Portfile — at Version 1
Reported by: | pcafstockf (Frank Stock) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | dovecot |
Description (last modified by pcafstockf (Frank Stock))
Dovecot port attempts to add two user accounts (_dovecot and _dovenull).
Portfiles support adding multiple accounts, but it needs to be done using a single add_users command.
As currently written, only the _dovenull account ends up actually being created.
Instead of:
add_users ${default_internal_user} group=${default_internal_user} realname=Dovecot add_users ${default_login_user} group=${default_login_user} realname=Dovenull
The Profile needs to be:
add_users ${default_internal_user} group=${default_internal_user} realname=Dovecot ${default_login_user} group=${default_login_user} realname=Dovenull
Or for readability maybe:
add_users \ ${default_internal_user} group=${default_internal_user} realname=Dovecot \ ${default_login_user} group=${default_login_user} realname=Dovenull
Note the line continuation chars.
Forgot to add a link to the add_users documentation (https://guide.macports.org/#reference.keywords)
Change History (1)
comment:1 Changed 10 months ago by pcafstockf (Frank Stock)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.