diff --git a/sys-boot/grub/grub-2.14_rc1.ebuild b/sys-boot/grub/grub-2.14_rc1-r1.ebuild
similarity index 98%
rename from sys-boot/grub/grub-2.14_rc1.ebuild
rename to sys-boot/grub/grub-2.14_rc1-r1.ebuild
index 0ba443e62ba1..6f4f991a9396 100644
--- a/sys-boot/grub/grub-2.14_rc1.ebuild
+++ b/sys-boot/grub/grub-2.14_rc1-r1.ebuild
@@ -84,7 +84,7 @@ SRC_URI+="
# Includes licenses for dejavu and unifont
LICENSE="GPL-3+ BSD MIT fonts? ( GPL-2-with-font-exception ) themes? ( CC-BY-SA-3.0 BitstreamVera )"
SLOT="2/${PVR}"
-IUSE="+device-mapper doc efiemu +fonts mount nls sdl test +themes truetype libzfs"
+IUSE="+device-mapper doc efiemu +fonts mount nls protect sdl test +themes truetype libzfs"
GRUB_ALL_PLATFORMS=( coreboot efi-32 efi-64 emu ieee1275 loongson multiboot
qemu qemu-mips pc uboot xen xen-32 xen-pvh )
@@ -135,6 +135,7 @@ DEPEND="
truetype? ( media-libs/freetype:2= )
ppc? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
ppc64? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
+ protect? ( dev-libs/libtasn1:= )
"
RDEPEND="${DEPEND}
kernel_linux? (
@@ -232,6 +233,7 @@ grub_configure() {
$(use_enable device-mapper)
$(use_enable mount grub-mount)
$(use_enable nls)
+ $(use_enable protect grub-protect)
$(use_enable themes grub-themes)
$(use_enable truetype grub-mkfont)
$(use_enable libzfs)
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index 4ff9024e4726..fce01a3cf3cf 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -83,7 +83,7 @@ SRC_URI+="
# Includes licenses for dejavu and unifont
LICENSE="GPL-3+ BSD MIT fonts? ( GPL-2-with-font-exception ) themes? ( CC-BY-SA-3.0 BitstreamVera )"
SLOT="2/${PVR}"
-IUSE="+device-mapper doc efiemu +fonts mount nls sdl test +themes truetype libzfs"
+IUSE="+device-mapper doc efiemu +fonts mount nls protect sdl test +themes truetype libzfs"
GRUB_ALL_PLATFORMS=( coreboot efi-32 efi-64 emu ieee1275 loongson multiboot
qemu qemu-mips pc uboot xen xen-32 xen-pvh )
@@ -134,6 +134,7 @@ DEPEND="
truetype? ( media-libs/freetype:2= )
ppc? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
ppc64? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
+ protect? ( dev-libs/libtasn1:= )
"
RDEPEND="${DEPEND}
kernel_linux? (
@@ -231,6 +232,7 @@ grub_configure() {
$(use_enable device-mapper)
$(use_enable mount grub-mount)
$(use_enable nls)
+ $(use_enable protect grub-protect)
$(use_enable themes grub-themes)
$(use_enable truetype grub-mkfont)
$(use_enable libzfs)
diff --git a/sys-boot/grub/metadata.xml b/sys-boot/grub/metadata.xml
index c8fd5827d3e5..6e62a18e99d1 100644
--- a/sys-boot/grub/metadata.xml
+++ b/sys-boot/grub/metadata.xml
@@ -23,6 +23,7 @@
Enable support for sys-fs/zfs
+ Build and install the grub-protect utility
Build and install GRUB themes (starfield)
Build and install grub-mkfont conversion utility