commit:     02b32b254703b22dddb5ce2f71b1a1bf727329d8
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 20:40:22 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 20:40:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b32b25

sys-libs/glibc: Add deps on gzip, grep, awk

Closes: https://bugs.gentoo.org/740750
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.32-r2.ebuild | 16 ++++++++++++++++
 sys-libs/glibc/glibc-9999.ebuild    | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/sys-libs/glibc/glibc-2.32-r2.ebuild 
b/sys-libs/glibc/glibc-2.32-r2.ebuild
index 8088edcc61a..6dcb8cf95b1 100644
--- a/sys-libs/glibc/glibc-2.32-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.32-r2.ebuild
@@ -89,11 +89,19 @@ fi
 # and that gcc already contains the hardened patches.
 # Lastly, let's avoid some openssh nastiness, bug 708224, as
 # convenience to our users.
+
+# gzip, grep, awk are needed by locale-gen, bug 740750
+
 BDEPEND="
        ${PYTHON_DEPS}
        >=app-misc/pax-utils-0.1.10
        sys-devel/bison
        doc? ( sys-apps/texinfo )
+       !compile-locales? (
+               app-arch/gzip
+               sys-apps/grep
+               virtual/awk
+       )
 "
 COMMON_DEPEND="
        gd? ( media-libs/gd:2= )
@@ -107,9 +115,17 @@ COMMON_DEPEND="
        !<net-misc/openssh-8.1_p1-r2
 "
 DEPEND="${COMMON_DEPEND}
+       compile-locales? (
+               app-arch/gzip
+               sys-apps/grep
+               virtual/awk
+       )
        test? ( >=net-dns/libidn2-2.3.0 )
 "
 RDEPEND="${COMMON_DEPEND}
+       app-arch/gzip
+       sys-apps/grep
+       virtual/awk
        sys-apps/gentoo-functions
 "
 

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 4caa8e76b1b..ade64de2bd4 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -89,11 +89,19 @@ fi
 # and that gcc already contains the hardened patches.
 # Lastly, let's avoid some openssh nastiness, bug 708224, as
 # convenience to our users.
+
+# gzip, grep, awk are needed by locale-gen, bug 740750
+
 BDEPEND="
        ${PYTHON_DEPS}
        >=app-misc/pax-utils-0.1.10
        sys-devel/bison
        doc? ( sys-apps/texinfo )
+       !compile-locales? (
+               app-arch/gzip
+               sys-apps/grep
+               virtual/awk
+       )
 "
 COMMON_DEPEND="
        gd? ( media-libs/gd:2= )
@@ -107,9 +115,17 @@ COMMON_DEPEND="
        !<net-misc/openssh-8.1_p1-r2
 "
 DEPEND="${COMMON_DEPEND}
+       compile-locales? (
+               app-arch/gzip
+               sys-apps/grep
+               virtual/awk
+       )
        test? ( >=net-dns/libidn2-2.3.0 )
 "
 RDEPEND="${COMMON_DEPEND}
+       app-arch/gzip
+       sys-apps/grep
+       virtual/awk
        sys-apps/gentoo-functions
 "
 

Reply via email to