From aa1a392e5a4d93359b1e681621f80a6748311103 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 7 Dec 2019 16:14:15 -0800 Subject: sys-apps/portage: elog for default autounmask behavior Suggested-by: Michal Privoznik Bug: https://bugs.gentoo.org/658648#c9 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Zac Medico --- sys-apps/portage/portage-2.3.79.ebuild | 10 ++++++++++ sys-apps/portage/portage-2.3.81.ebuild | 10 ++++++++++ 2 files changed, 20 insertions(+) (limited to 'sys-apps/portage') diff --git a/sys-apps/portage/portage-2.3.79.ebuild b/sys-apps/portage/portage-2.3.79.ebuild index 0389ff89cfad..42d64562857c 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 be56b54d2052..a7197349654d 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 } -- cgit v1.2.3-65-gdbad