mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Modify comment and add UPDATING entry to explain that MAILDROP_SUID
and MAILDROP_SGID now need to be existing usernames on the destination system. numeric UIDs and GIDs, or non existent usernames, will cause a broken installation since pkgng will skip on the entries of files owned by unknown users. [1] - Fix MGID and MUID PLIST_SUB variables not being set when only one of the two above variables is deifined, again generating a broken package. [2] - While here, remove dirrm. Reported by: Lukas Maly <Iam@LukasMaly.NET> [1] Reported by: itetcu@ [1] [2]
This commit is contained in:
parent
16389c7d5d
commit
38b77f19bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369614
15
UPDATING
15
UPDATING
@ -5,6 +5,21 @@ they are unavoidable.
|
||||
You should get into the habit of checking this file for changes each time
|
||||
you update your ports collection, before attempting any port upgrades.
|
||||
|
||||
20140930:
|
||||
AFFECTS: users of mail/maildrop
|
||||
AUTHOR: madpilot@FreeBSD.org
|
||||
|
||||
Due to the way pkg works please note that the configuration
|
||||
variables MAILDROP_SUID and MAILDROP_SGID, despite keeping their
|
||||
old names, are now required to contain a valid username and
|
||||
groupname existing on the system in which the package will be
|
||||
installed, while in the past numeric uids and gids worked fine.
|
||||
|
||||
Wrong values will cause pkg to skip installing the setuid binaries
|
||||
on the system.
|
||||
|
||||
Please check your configuration.
|
||||
|
||||
20140930:
|
||||
AFFECTS: users of finance/gnucash
|
||||
AUTHOR: madpilot@FreeBSD.org
|
||||
|
@ -3,14 +3,20 @@
|
||||
|
||||
# You can define the following to enable further compile time
|
||||
# customizations:
|
||||
# MAILDROP_SUID=<uid>,
|
||||
# MAILDROP_SGID=<gid> Maildrop will be installed with suid permissions for
|
||||
# MAILDROP_SUID, and sgid permissions for MAILDROP_SGID.
|
||||
# MAILDROP_SUID=<username>,
|
||||
# MAILDROP_SGID=<groupname> Maildrop will be installed with suid
|
||||
# permissions for MAILDROP_SUID, and sgid
|
||||
# permissions for MAILDROP_SGID.
|
||||
# NOTE: must be a valid username/groupname
|
||||
# at installation time, numeric uids/gids
|
||||
# and non existing users will cause the
|
||||
# installed package to miss files.
|
||||
# MAILDROP_TRUSTED_USERS=<user> Specify users allowed to use the -d option
|
||||
# MAILDROP_LOG_COLUMNS lenght of 'File:' line in log - 8; default: 72
|
||||
|
||||
PORTNAME= maildrop
|
||||
PORTVERSION= 2.7.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
@ -78,10 +84,10 @@ CONFIGURE_ARGS+= --enable-maildrop-uid="${MAILDROP_SUID}" --enable-maildrop-gid=
|
||||
PLIST_SUB+= MMODE='6755' MUID='${MAILDROP_SUID}' MGID='${MAILDROP_SGID}'
|
||||
.elif defined(MAILDROP_SUID)
|
||||
CONFIGURE_ARGS+= --enable-maildrop-uid="${MAILDROP_SUID}"
|
||||
PLIST_SUB+= MMODE='4755' MUID='${MAILDROP_SUID}'
|
||||
PLIST_SUB+= MMODE='4755' MUID='${MAILDROP_SUID}' MGID='mail'
|
||||
.elif defined(MAILDROP_SGID)
|
||||
CONFIGURE_ARGS+= --enable-maildrop-gid="${MAILDROP_SGID}"
|
||||
PLIST_SUB+= MMODE='2755' MGID='${MAILDROP_SGID}'
|
||||
PLIST_SUB+= MMODE='2755' MGID='${MAILDROP_SGID}' MUID='root'
|
||||
.else
|
||||
PLIST_SUB+= MMODE='' MUID='root' MGID='mail'
|
||||
.endif
|
||||
|
@ -63,4 +63,3 @@ man/man8/maildrop-deliverquota.8.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/reformime.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/rfc2045.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/rfc822.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user