summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-12-07 16:14:15 -0800
committerZac Medico <zmedico@gentoo.org>2019-12-07 16:21:09 -0800
commitaa1a392e5a4d93359b1e681621f80a6748311103 (patch)
treee1fde1133da0939935f9083c51b561ed1a295684
parentsys-apps/portage: Remove old version 2.3.80-r1 (diff)
downloadgentoo-aa1a392e5a4d93359b1e681621f80a6748311103.tar.gz
gentoo-aa1a392e5a4d93359b1e681621f80a6748311103.tar.bz2
gentoo-aa1a392e5a4d93359b1e681621f80a6748311103.zip
sys-apps/portage: elog for default autounmask behavior
Suggested-by: Michal Privoznik <miso.privoznik@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@gentoo.org>
-rw-r--r--sys-apps/portage/portage-2.3.79.ebuild10
-rw-r--r--sys-apps/portage/portage-2.3.81.ebuild10
2 files changed, 20 insertions, 0 deletions
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
}