Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/grub/
Date: Fri, 18 Dec 2015 16:55:19
Message-Id: 1450457699.293b4ac4d038f4c00cc19a92af728a0fa06edfa2.floppym@gentoo
1 commit: 293b4ac4d038f4c00cc19a92af728a0fa06edfa2
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 18 16:54:42 2015 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 16:54:59 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=293b4ac4
7
8 sys-boot/grub: Add postinst warning about security bug
9
10 Package-Manager: portage-2.2.26_p32
11
12 sys-boot/grub/grub-2.02_beta2-r8.ebuild | 9 +++++++++
13 1 file changed, 9 insertions(+)
14
15 diff --git a/sys-boot/grub/grub-2.02_beta2-r8.ebuild b/sys-boot/grub/grub-2.02_beta2-r8.ebuild
16 index abfeffb..90e0399 100644
17 --- a/sys-boot/grub/grub-2.02_beta2-r8.ebuild
18 +++ b/sys-boot/grub/grub-2.02_beta2-r8.ebuild
19 @@ -309,5 +309,14 @@ pkg_postinst() {
20 optfeature "Detect other operating systems (grub-mkconfig)" sys-boot/os-prober
21 optfeature "Create rescue media (grub-mkrescue)" dev-libs/libisoburn
22 optfeature "Enable RAID device detection" sys-fs/mdadm
23 + else
24 + local v
25 + for v in ${REPLACING_VERSIONS}; do
26 + if ! version_is_at_least 2.02_beta2-r8 ${v}; then
27 + ewarn "Please re-run grub2-install to address a security flaw when using"
28 + ewarn "username/password authentication in grub."
29 + ewarn "See bug 568326 for more information."
30 + fi
31 + done
32 fi
33 }