commit: aa1a392e5a4d93359b1e681621f80a6748311103 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Dec 8 00:14:15 2019 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Dec 8 00:21:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1a392e
sys-apps/portage: elog for default autounmask behavior Suggested-by: Michal Privoznik <miso.privoznik <AT> gmail.com> Bug: https://bugs.gentoo.org/658648#c9 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> sys-apps/portage/portage-2.3.79.ebuild | 10 ++++++++++ sys-apps/portage/portage-2.3.81.ebuild | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/sys-apps/portage/portage-2.3.79.ebuild b/sys-apps/portage/portage-2.3.79.ebuild index 0389ff89cfa..42d64562857 100644 --- a/sys-apps/portage/portage-2.3.79.ebuild +++ b/sys-apps/portage/portage-2.3.79.ebuild @@ -259,4 +259,14 @@ pkg_preinst() { if chown portage:portage "${ED}"var/log/portage{,/elog} 2>/dev/null ; then chmod g+s,ug+rwx "${ED}"var/log/portage{,/elog} fi + + if has_version "<${CATEGORY}/${PN}-2.3.77"; then + elog "The emerge --autounmask option is now disabled by default, except for" + elog "portions of behavior which are controlled by the --autounmask-use and" + elog "--autounmask-license options. For backward compatibility, previous" + elog "behavior of --autounmask=y and --autounmask=n is entirely preserved." + elog "Users can get the old behavior simply by adding --autounmask to the" + elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this" + elog "change, see https://bugs.gentoo.org/658648." + fi } diff --git a/sys-apps/portage/portage-2.3.81.ebuild b/sys-apps/portage/portage-2.3.81.ebuild index be56b54d205..a7197349654 100644 --- a/sys-apps/portage/portage-2.3.81.ebuild +++ b/sys-apps/portage/portage-2.3.81.ebuild @@ -259,4 +259,14 @@ pkg_preinst() { if chown portage:portage "${ED}"var/log/portage{,/elog} 2>/dev/null ; then chmod g+s,ug+rwx "${ED}"var/log/portage{,/elog} fi + + if has_version "<${CATEGORY}/${PN}-2.3.77"; then + elog "The emerge --autounmask option is now disabled by default, except for" + elog "portions of behavior which are controlled by the --autounmask-use and" + elog "--autounmask-license options. For backward compatibility, previous" + elog "behavior of --autounmask=y and --autounmask=n is entirely preserved." + elog "Users can get the old behavior simply by adding --autounmask to the" + elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this" + elog "change, see https://bugs.gentoo.org/658648." + fi }
