summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/doas/doas-6.8.1-r1.ebuild4
-rw-r--r--app-admin/doas/doas-6.8.2.ebuild2
-rw-r--r--app-alternatives/lex/lex-0.ebuild41
-rw-r--r--app-alternatives/lex/metadata.xml20
-rw-r--r--app-alternatives/yacc/metadata.xml23
-rw-r--r--app-alternatives/yacc/yacc-0.ebuild (renamed from virtual/yacc/yacc-0.ebuild)2
-rw-r--r--app-alternatives/yacc/yacc-1.ebuild52
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild2
-rw-r--r--app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild4
-rw-r--r--app-emulation/vice/vice-3.6.1-r2.ebuild2
-rw-r--r--app-misc/tmux/tmux-3.3a-r1.ebuild2
-rw-r--r--app-misc/tmux/tmux-3.3a.ebuild2
-rw-r--r--app-misc/tmux/tmux-9999.ebuild2
-rw-r--r--app-office/mdbtools/mdbtools-1.0.0.ebuild2
-rw-r--r--app-office/sc-im/sc-im-0.8.2.ebuild2
-rw-r--r--app-shells/bash/bash-4.2_p53.ebuild2
-rw-r--r--app-shells/bash/bash-4.3_p48-r2.ebuild2
-rw-r--r--app-shells/bash/bash-4.4_p23-r2.ebuild2
-rw-r--r--app-shells/bash/bash-5.0_p18.ebuild2
-rw-r--r--app-shells/bash/bash-5.1_p16-r2.ebuild2
-rw-r--r--app-shells/bash/bash-5.2_p12.ebuild2
-rw-r--r--app-shells/bash/bash-9999.ebuild2
-rw-r--r--app-text/a2ps/a2ps-4.14-r7.ebuild2
-rw-r--r--app-text/a2ps/a2ps-4.14-r8.ebuild2
-rw-r--r--app-text/dictd/dictd-1.13.0-r3.ebuild4
-rw-r--r--app-text/dictd/dictd-1.13.0-r5.ebuild2
-rw-r--r--app-text/xdvik/xdvik-22.87.03-r4.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.2.44.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.3.35.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.3.36.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.4.25.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.4.26.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.5.16.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.5.17.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.6.10.ebuild2
-rw-r--r--dev-db/mariadb/mariadb-10.6.8-r1.ebuild2
-rw-r--r--dev-db/mysql/mysql-5.7.36-r1.ebuild2
-rw-r--r--dev-db/mysql/mysql-5.7.40.ebuild2
-rw-r--r--dev-db/mysql/mysql-8.0.27.ebuild2
-rw-r--r--dev-db/mysql/mysql-8.0.31-r1.ebuild2
-rw-r--r--dev-db/mysql/mysql-8.0.31.ebuild2
-rw-r--r--dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild2
-rw-r--r--dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild2
-rw-r--r--dev-embedded/gpsim/gpsim-0.31.0.ebuild2
-rw-r--r--dev-lang/c-intercal/c-intercal-31.0.ebuild4
-rw-r--r--dev-lang/mono/mono-6.12.0.122.ebuild2
-rw-r--r--dev-lang/srf/srf-1.0-r2.ebuild4
-rw-r--r--dev-lang/vala/vala-0.56.3.ebuild2
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild2
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild2
-rw-r--r--dev-libs/libIDL/libIDL-0.8.14-r4.ebuild2
-rw-r--r--dev-libs/libprelude/libprelude-5.2.0-r10.ebuild4
-rw-r--r--dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild4
-rw-r--r--dev-libs/libtasn1/libtasn1-4.19.0.ebuild2
-rw-r--r--dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild2
-rw-r--r--dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild2
-rw-r--r--dev-ruby/tilt/tilt-2.0.11.ebuild2
-rw-r--r--dev-util/cproto/cproto-4.7t-r1.ebuild2
-rw-r--r--dev-util/cproto/cproto-4.7u.ebuild2
-rw-r--r--dev-util/cscope/cscope-15.9.ebuild2
-rw-r--r--dev-util/cutils/cutils-1.6-r5.ebuild2
-rw-r--r--dev-util/gob/gob-2.0.20-r1.ebuild2
-rw-r--r--dev-util/kbuild/kbuild-0.1.9998.3407.ebuild4
-rw-r--r--dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild2
-rw-r--r--dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild2
-rw-r--r--dev-util/kbuild/kbuild-9999.ebuild2
-rw-r--r--dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild4
-rw-r--r--dev-util/yacc/yacc-1.9.1-r7.ebuild44
-rw-r--r--eclass/kernel-build.eclass2
-rw-r--r--games-roguelike/nethack/nethack-3.6.6-r1.ebuild2
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild2
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild2
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild2
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild2
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.29.0.ebuild2
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.29.1.ebuild2
-rw-r--r--mail-filter/milter-regex/milter-regex-2.7-r3.ebuild2
-rw-r--r--mail-filter/milter-regex/milter-regex-2.7.ebuild4
-rw-r--r--media-libs/libaacs/libaacs-0.11.1-r1.ebuild2
-rw-r--r--media-libs/netpbm/netpbm-10.86.35.ebuild2
-rw-r--r--media-sound/csound/csound-6.17.0.ebuild2
-rw-r--r--media-sound/csound/csound-9999.ebuild2
-rw-r--r--media-sound/denemo/denemo-2.5.0-r1.ebuild2
-rw-r--r--media-sound/denemo/denemo-2.6.0.ebuild2
-rw-r--r--media-video/dvdstyler/dvdstyler-3.2.1.ebuild2
-rw-r--r--net-analyzer/apinger/apinger-0.6.1.ebuild4
-rw-r--r--net-analyzer/ettercap/ettercap-0.8.3.1.ebuild4
-rw-r--r--net-analyzer/ettercap/ettercap-9999.ebuild4
-rw-r--r--net-analyzer/ippl/ippl-1.4.14-r6.ebuild4
-rw-r--r--net-analyzer/nfdump/nfdump-1.6.24.ebuild2
-rw-r--r--net-analyzer/nfdump/nfdump-1.7.0.1.ebuild2
-rw-r--r--net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild2
-rw-r--r--net-dns/nsd/nsd-4.3.8.ebuild4
-rw-r--r--net-dns/nsd/nsd-4.5.0-r1.ebuild2
-rw-r--r--net-dns/nsd/nsd-4.5.0.ebuild2
-rw-r--r--net-dns/nsd/nsd-4.6.0.ebuild2
-rw-r--r--net-dns/nsd/nsd-4.6.1-r1.ebuild2
-rw-r--r--net-dns/nsd/nsd-9999.ebuild2
-rw-r--r--net-firewall/iptables/iptables-1.8.8-r5.ebuild2
-rw-r--r--net-fs/autofs/autofs-5.1.6-r2.ebuild2
-rw-r--r--net-fs/autofs/autofs-5.1.8-r1.ebuild2
-rw-r--r--net-fs/netatalk/netatalk-3.1.12-r7.ebuild2
-rw-r--r--net-fs/openafs/openafs-1.8.7.ebuild2
-rw-r--r--net-fs/openafs/openafs-1.8.8.1-r1.ebuild2
-rw-r--r--net-libs/canlock/canlock-3.3.0.ebuild2
-rw-r--r--net-libs/libpcap/libpcap-1.10.1-r2.ebuild2
-rw-r--r--net-libs/libpcap/libpcap-9999.ebuild2
-rw-r--r--net-libs/libsmi/libsmi-0.5.0-r5.ebuild2
-rw-r--r--net-libs/libtrace/libtrace-4.0.18_p1.ebuild2
-rw-r--r--net-libs/libtrace/libtrace-4.0.19_p1.ebuild2
-rw-r--r--net-libs/libtrace/libtrace-4.0.20.ebuild2
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild2
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild2
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild2
-rw-r--r--net-misc/frr/frr-8.2.2.ebuild2
-rw-r--r--net-misc/mrouted/mrouted-4.2.ebuild2
-rw-r--r--net-misc/mrouted/mrouted-4.4.ebuild4
-rw-r--r--net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild4
-rw-r--r--net-nntp/tin/tin-2.6.1.ebuild2
-rw-r--r--profiles/arch/arm/package.use.mask4
-rw-r--r--profiles/arch/arm64/package.use.mask4
-rw-r--r--profiles/arch/hppa/package.use.mask4
-rw-r--r--profiles/arch/ia64/package.use.mask4
-rw-r--r--profiles/arch/powerpc/ppc32/package.use.mask4
-rw-r--r--profiles/arch/powerpc/ppc64/package.use.mask4
-rw-r--r--profiles/arch/riscv/package.use.mask8
-rw-r--r--profiles/arch/s390/package.use.mask4
-rw-r--r--profiles/arch/sparc/package.use.mask4
-rw-r--r--profiles/arch/x86/package.use.mask4
-rw-r--r--profiles/updates/4Q-20221
-rw-r--r--sci-mathematics/genius/genius-1.0.27.ebuild4
-rw-r--r--sci-mathematics/giac/giac-1.7.0.13-r1.ebuild4
-rw-r--r--sci-mathematics/giac/giac-1.9.0.29-r1.ebuild2
-rw-r--r--sci-mathematics/spin/spin-6.5.2-r1.ebuild2
-rw-r--r--sys-apps/nawk/nawk-20180827-r1.ebuild2
-rw-r--r--sys-apps/nawk/nawk-20220122-r1.ebuild2
-rw-r--r--sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild2
-rw-r--r--sys-devel/bc/bc-1.07.1-r4.ebuild2
-rw-r--r--sys-devel/bc/bc-1.07.1-r5.ebuild2
-rw-r--r--sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild2
-rw-r--r--sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild2
-rw-r--r--sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.32-r2.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.33.1-r1.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.34-r2.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.35.2.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.36.1-r2.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.37_p1-r2.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.38-r2.ebuild2
-rw-r--r--sys-devel/binutils/binutils-2.39-r4.ebuild2
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild2
-rw-r--r--sys-devel/bison/bison-3.8.2-r1.ebuild93
-rw-r--r--sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild4
-rw-r--r--sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild4
-rw-r--r--sys-devel/flex/flex-2.6.4-r5.ebuild100
-rw-r--r--sys-devel/gdb/gdb-11.2.ebuild2
-rw-r--r--sys-devel/gdb/gdb-12.1-r2.ebuild2
-rw-r--r--sys-devel/gdb/gdb-9999.ebuild2
-rw-r--r--sys-fs/lde/lde-2.6.1-r2.ebuild4
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest18
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.157.ebuild127
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.ebuild127
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.11.ebuild127
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild2
-rw-r--r--sys-kernel/gentoo-kernel/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.10.157.ebuild131
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.15.81.ebuild131
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.0.11.ebuild137
-rw-r--r--sys-kernel/vanilla-kernel/Manifest6
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.10.157.ebuild134
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.81.ebuild134
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.0.11.ebuild134
-rw-r--r--sys-libs/gpm/gpm-1.20.7-r5.ebuild2
-rw-r--r--sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild2
-rw-r--r--sys-libs/pam/pam-1.5.2-r2.ebuild2
-rw-r--r--sys-libs/pam/pam-1.5.2-r3.ebuild2
-rw-r--r--virtual/dist-kernel/dist-kernel-5.10.157.ebuild19
-rw-r--r--virtual/dist-kernel/dist-kernel-5.15.81.ebuild19
-rw-r--r--virtual/dist-kernel/dist-kernel-6.0.11.ebuild19
-rw-r--r--virtual/yacc/metadata.xml9
-rw-r--r--x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild2
-rw-r--r--x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild2
-rw-r--r--x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild2
-rw-r--r--x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild2
-rw-r--r--x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild2
-rw-r--r--x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild2
-rw-r--r--x11-misc/gtkdialog/gtkdialog-99999.ebuild2
197 files changed, 1873 insertions, 193 deletions
diff --git a/app-admin/doas/doas-6.8.1-r1.ebuild b/app-admin/doas/doas-6.8.1-r1.ebuild
index af9ca1d18c7b..849ffa7d7332 100644
--- a/app-admin/doas/doas-6.8.1-r1.ebuild
+++ b/app-admin/doas/doas-6.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="pam persist"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
RDEPEND="pam? ( sys-libs/pam )
!pam? ( virtual/libcrypt:= )"
DEPEND="${RDEPEND}"
diff --git a/app-admin/doas/doas-6.8.2.ebuild b/app-admin/doas/doas-6.8.2.ebuild
index 8d775443d9b9..c439e825e527 100644
--- a/app-admin/doas/doas-6.8.2.ebuild
+++ b/app-admin/doas/doas-6.8.2.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="pam persist"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
RDEPEND="pam? ( sys-libs/pam )
!pam? ( virtual/libcrypt:= )"
DEPEND="${RDEPEND}"
diff --git a/app-alternatives/lex/lex-0.ebuild b/app-alternatives/lex/lex-0.ebuild
new file mode 100644
index 000000000000..eee421a1179c
--- /dev/null
+++ b/app-alternatives/lex/lex-0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="lex symlinks"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
+SRC_URI=""
+S=${WORKDIR}
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="+flex reflex"
+REQUIRED_USE="^^ ( flex reflex )"
+
+RDEPEND="
+ flex? ( >=sys-devel/flex-2.6.4-r5 )
+ reflex? ( sys-devel/reflex )
+ !<sys-devel/flex-2.6.4-r5
+"
+
+src_install() {
+ if use flex; then
+ dosym flex /bin/lex
+ newman - lex.1 <<<".so flex.1"
+
+ newenvd - 90lex <<-EOF
+ LEX=flex
+ EOF
+ elif use reflex; then
+ dosym reflex /bin/lex
+ newman - lex.1 <<<".so reflex.1"
+
+ newenvd - 90lex <<-EOF
+ LEX=reflex
+ EOF
+ else
+ die "Invalid USE flag combination (broken REQUIRED_USE?)"
+ fi
+}
diff --git a/app-alternatives/lex/metadata.xml b/app-alternatives/lex/metadata.xml
new file mode 100644
index 000000000000..309f526f2b4a
--- /dev/null
+++ b/app-alternatives/lex/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name="flex">
+ Symlink to <pkg>sys-devel/flex</pkg>.
+ </flag>
+ <flag name="reflex">
+ Symlink to <pkg>sys-devel/reflex</pkg>.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-alternatives/yacc/metadata.xml b/app-alternatives/yacc/metadata.xml
new file mode 100644
index 000000000000..0672d9fe1a27
--- /dev/null
+++ b/app-alternatives/yacc/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name="bison">
+ Symlink to <pkg>sys-devel/bison</pkg>.
+ </flag>
+ <flag name="byacc">
+ Symlink to <pkg>dev-util/byacc</pkg>.
+ </flag>
+ <flag name="reference">
+ Symlink to <pkg>dev-util/yacc</pkg>.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/virtual/yacc/yacc-0.ebuild b/app-alternatives/yacc/yacc-0.ebuild
index d6275036abe8..40f51b6795ac 100644
--- a/virtual/yacc/yacc-0.ebuild
+++ b/app-alternatives/yacc/yacc-0.ebuild
@@ -4,7 +4,9 @@
EAPI=7
DESCRIPTION="Virtual for yacc (yet another compiler compiler)"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+LICENSE="metapackage"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
diff --git a/app-alternatives/yacc/yacc-1.ebuild b/app-alternatives/yacc/yacc-1.ebuild
new file mode 100644
index 000000000000..d5508b6ebb90
--- /dev/null
+++ b/app-alternatives/yacc/yacc-1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="yacc symlinks"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
+SRC_URI=""
+S=${WORKDIR}
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="+bison byacc reference"
+REQUIRED_USE="^^ ( bison byacc reference )"
+
+RDEPEND="
+ bison? ( >=sys-devel/bison-3.8.2-r1 )
+ byacc? ( dev-util/byacc )
+ reference? ( >=dev-util/yacc-1.9.1-r7 )
+ !<dev-util/yacc-1.9.1-r7
+ !<sys-devel/bison-3.8.2-r1
+"
+
+src_install() {
+ if use bison; then
+ # bison installs its own small wrapper script 'yacc-bison'
+ # around bison(1).
+ dosym yacc.bison /usr/bin/yacc
+ newman - yacc.1 <<<".so yacc.bison.1"
+
+ newenvd - 90yacc <<-EOF
+ YACC=bison
+ EOF
+ elif use byacc; then
+ dosym byacc /usr/bin/yacc
+ newman - yacc.1 <<<".so byacc.1"
+
+ newenvd - 90yacc <<-EOF
+ YACC=byacc
+ EOF
+ elif use reference; then
+ dosym yacc-reference /usr/bin/yacc
+ newman - yacc.1 <<<".so yacc-reference.1"
+
+ newenvd - 90yacc <<-EOF
+ YACC=yacc
+ EOF
+ else
+ die "Invalid USE flag combination (broken REQUIRED_USE?)"
+ fi
+}
diff --git a/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild
index 00df469c14b8..014a0511af92 100644
--- a/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild
+++ b/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild
@@ -35,7 +35,7 @@ DEPEND="
"
BDEPEND="
${PYTHON_DEPS}
- virtual/yacc
+ app-alternatives/yacc
cpu_flags_x86_aes? (
amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
diff --git a/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild b/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild
index 692fd2a49ed7..f716cc74b48e 100644
--- a/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild
+++ b/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,7 +20,7 @@ RDEPEND="sys-libs/ncurses:0=
X? ( x11-libs/libX11 )
>=dev-libs/lzo-2"
DEPEND="${RDEPEND}
- virtual/yacc
+ app-alternatives/yacc
sys-devel/flex"
DOCS=( AUTHORS ChangeLog KNOWNBUGS README TODO )
diff --git a/app-emulation/vice/vice-3.6.1-r2.ebuild b/app-emulation/vice/vice-3.6.1-r2.ebuild
index a6f84bd6d1b2..42bc7e5822b6 100644
--- a/app-emulation/vice/vice-3.6.1-r2.ebuild
+++ b/app-emulation/vice/vice-3.6.1-r2.ebuild
@@ -74,7 +74,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
doc? ( virtual/texi2dvi )
gtk? ( x11-misc/xdg-utils )"
diff --git a/app-misc/tmux/tmux-3.3a-r1.ebuild b/app-misc/tmux/tmux-3.3a-r1.ebuild
index 551fa7c7e57d..2f828ba424c0 100644
--- a/app-misc/tmux/tmux-3.3a-r1.ebuild
+++ b/app-misc/tmux/tmux-3.3a-r1.ebuild
@@ -33,7 +33,7 @@ DEPEND="
BDEPEND="
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
RDEPEND="
diff --git a/app-misc/tmux/tmux-3.3a.ebuild b/app-misc/tmux/tmux-3.3a.ebuild
index 4f7f1e37b517..f8a47d83ac28 100644
--- a/app-misc/tmux/tmux-3.3a.ebuild
+++ b/app-misc/tmux/tmux-3.3a.ebuild
@@ -33,7 +33,7 @@ DEPEND="
BDEPEND="
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
RDEPEND="
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
index 0ee80bc4dec7..5659b6cd0169 100644
--- a/app-misc/tmux/tmux-9999.ebuild
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -33,7 +33,7 @@ DEPEND="
BDEPEND="
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
RDEPEND="
diff --git a/app-office/mdbtools/mdbtools-1.0.0.ebuild b/app-office/mdbtools/mdbtools-1.0.0.ebuild
index 173ffd26209c..c92cfbe13867 100644
--- a/app-office/mdbtools/mdbtools-1.0.0.ebuild
+++ b/app-office/mdbtools/mdbtools-1.0.0.ebuild
@@ -18,7 +18,7 @@ BDEPEND="
app-text/txt2man
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
RDEPEND="
sys-libs/ncurses:0=
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
index 055adeb7b420..3157fa4c4b74 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -43,7 +43,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
pkg_setup() {
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
diff --git a/app-shells/bash/bash-4.2_p53.ebuild b/app-shells/bash/bash-4.2_p53.ebuild
index e80e66616297..b5ae0c39892b 100644
--- a/app-shells/bash/bash-4.2_p53.ebuild
+++ b/app-shells/bash/bash-4.2_p53.ebuild
@@ -51,7 +51,7 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )"
# We only need yacc when the .y files get patched (bash42-005)
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
S="${WORKDIR}/${MY_P}"
diff --git a/app-shells/bash/bash-4.3_p48-r2.ebuild b/app-shells/bash/bash-4.3_p48-r2.ebuild
index 4409129e3732..dcd165238d97 100644
--- a/app-shells/bash/bash-4.3_p48-r2.ebuild
+++ b/app-shells/bash/bash-4.3_p48-r2.ebuild
@@ -54,7 +54,7 @@ DEPEND=">=sys-libs/ncurses-5.2-r2:0=
RDEPEND="${DEPEND}
!<sys-apps/portage-2.1.6.7_p1"
# We only need yacc when the .y files get patched (bash42-005)
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
PATCHES=(
"${WORKDIR}"/${P}-r2-patches/${PN}-4.3-mapfile-improper-array-name-validation.patch
diff --git a/app-shells/bash/bash-4.4_p23-r2.ebuild b/app-shells/bash/bash-4.4_p23-r2.ebuild
index 1cbb226099a8..3da92649f1d5 100644
--- a/app-shells/bash/bash-4.4_p23-r2.ebuild
+++ b/app-shells/bash/bash-4.4_p23-r2.ebuild
@@ -66,7 +66,7 @@ RDEPEND="
${DEPEND}
"
# We only need yacc when the .y files get patched (bash42-005)
-#BDEPEND="virtual/yacc"
+#BDEPEND="app-alternatives/yacc"
S="${WORKDIR}/${MY_P}"
diff --git a/app-shells/bash/bash-5.0_p18.ebuild b/app-shells/bash/bash-5.0_p18.ebuild
index 55781d0923c2..84c1ac19288a 100644
--- a/app-shells/bash/bash-5.0_p18.ebuild
+++ b/app-shells/bash/bash-5.0_p18.ebuild
@@ -66,7 +66,7 @@ RDEPEND="
${DEPEND}
"
# We only need yacc when the .y files get patched (bash42-005)
-#BDEPEND="virtual/yacc"
+#BDEPEND="app-alternatives/yacc"
S="${WORKDIR}/${MY_P}"
diff --git a/app-shells/bash/bash-5.1_p16-r2.ebuild b/app-shells/bash/bash-5.1_p16-r2.ebuild
index 54d56596e605..eda4291bf8b7 100644
--- a/app-shells/bash/bash-5.1_p16-r2.ebuild
+++ b/app-shells/bash/bash-5.1_p16-r2.ebuild
@@ -85,7 +85,7 @@ RDEPEND="
${DEPEND}
"
# We only need yacc when the .y files get patched (bash42-005, bash51-011)
-BDEPEND="virtual/yacc
+BDEPEND="app-alternatives/yacc
verify-sig? ( sec-keys/openpgp-keys-chetramey )"
S="${WORKDIR}/${MY_P}"
diff --git a/app-shells/bash/bash-5.2_p12.ebuild b/app-shells/bash/bash-5.2_p12.ebuild
index 955033674b60..96a742ef63a7 100644
--- a/app-shells/bash/bash-5.2_p12.ebuild
+++ b/app-shells/bash/bash-5.2_p12.ebuild
@@ -93,7 +93,7 @@ RDEPEND="
"
# We only need yacc when the .y files get patched (bash42-005, bash51-011)
BDEPEND="
- virtual/yacc
+ app-alternatives/yacc
pgo? ( dev-util/gperf )
verify-sig? ( sec-keys/openpgp-keys-chetramey )
"
diff --git a/app-shells/bash/bash-9999.ebuild b/app-shells/bash/bash-9999.ebuild
index f679e4cd77dc..6f6be5e13621 100644
--- a/app-shells/bash/bash-9999.ebuild
+++ b/app-shells/bash/bash-9999.ebuild
@@ -92,7 +92,7 @@ RDEPEND="
${DEPEND}
"
# We only need yacc when the .y files get patched (bash42-005, bash51-011)
-#BDEPEND="virtual/yacc"
+#BDEPEND="app-alternatives/yacc"
BDEPEND="
pgo? ( dev-util/gperf )
verify-sig? ( sec-keys/openpgp-keys-chetramey )
diff --git a/app-text/a2ps/a2ps-4.14-r7.ebuild b/app-text/a2ps/a2ps-4.14-r7.ebuild
index 786c6a6aa41d..f8b03be1e0b0 100644
--- a/app-text/a2ps/a2ps-4.14-r7.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r7.ebuild
@@ -26,7 +26,7 @@ RDEPEND="app-text/ghostscript-gpl
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
>=dev-util/gperf-2.7.2
- virtual/yacc
+ app-alternatives/yacc
nls? ( sys-devel/gettext )"
SITEFILE=50${PN}-gentoo.el
diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 84a95ffe975e..58a895dd30a3 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -28,7 +28,7 @@ RDEPEND="app-text/ghostscript-gpl
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}"
BDEPEND=">=dev-util/gperf-2.7.2
- virtual/yacc
+ app-alternatives/yacc
nls? ( sys-devel/gettext )"
SITEFILE="50${PN}-gentoo.el"
diff --git a/app-text/dictd/dictd-1.13.0-r3.ebuild b/app-text/dictd/dictd-1.13.0-r3.ebuild
index 382b8c1052a4..7f096d301669 100644
--- a/app-text/dictd/dictd-1.13.0-r3.ebuild
+++ b/app-text/dictd/dictd-1.13.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
>=sys-apps/gawk-3.1.6
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
test? ( !~sys-apps/gawk-4.2.1 )
"
diff --git a/app-text/dictd/dictd-1.13.0-r5.ebuild b/app-text/dictd/dictd-1.13.0-r5.ebuild
index 77f5dd081635..422936500da6 100644
--- a/app-text/dictd/dictd-1.13.0-r5.ebuild
+++ b/app-text/dictd/dictd-1.13.0-r5.ebuild
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
>=sys-apps/gawk-3.1.6
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
test? ( !~sys-apps/gawk-4.2.1 )
"
diff --git a/app-text/xdvik/xdvik-22.87.03-r4.ebuild b/app-text/xdvik/xdvik-22.87.03-r4.ebuild
index 7502839c86c5..3e6355994b24 100644
--- a/app-text/xdvik/xdvik-22.87.03-r4.ebuild
+++ b/app-text/xdvik/xdvik-22.87.03-r4.ebuild
@@ -35,7 +35,7 @@ RDEPEND="${DEPEND}
virtual/latex-base
!<app-text/texlive-2007"
BDEPEND="sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
virtual/pkgconfig"
src_prepare() {
diff --git a/dev-db/mariadb/mariadb-10.2.44.ebuild b/dev-db/mariadb/mariadb-10.2.44.ebuild
index 3bcfe2a21755..660a03d52e8e 100644
--- a/dev-db/mariadb/mariadb-10.2.44.ebuild
+++ b/dev-db/mariadb/mariadb-10.2.44.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
>=dev-libs/libpcre-8.41-r1:3=
virtual/libcrypt:=
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="static? ( sys-libs/ncurses[static-libs] )
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.3.35.ebuild b/dev-db/mariadb/mariadb-10.3.35.ebuild
index 2a6125b032c8..1f81f81b363d 100644
--- a/dev-db/mariadb/mariadb-10.3.35.ebuild
+++ b/dev-db/mariadb/mariadb-10.3.35.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
>=dev-libs/libpcre-8.41-r1:3=
virtual/libcrypt:=
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="static? ( sys-libs/ncurses[static-libs] )
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.3.36.ebuild b/dev-db/mariadb/mariadb-10.3.36.ebuild
index a2cc29cb4523..60891cf33ee9 100644
--- a/dev-db/mariadb/mariadb-10.3.36.ebuild
+++ b/dev-db/mariadb/mariadb-10.3.36.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
>=dev-libs/libpcre-8.41-r1:3=
virtual/libcrypt:=
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="static? ( sys-libs/ncurses[static-libs] )
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.4.25.ebuild b/dev-db/mariadb/mariadb-10.4.25.ebuild
index c8485e1b1e1f..a8ed64d800d7 100644
--- a/dev-db/mariadb/mariadb-10.4.25.ebuild
+++ b/dev-db/mariadb/mariadb-10.4.25.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
>=dev-libs/libpcre-8.41-r1:3=
virtual/libcrypt:=
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="static? ( sys-libs/ncurses[static-libs] )
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.4.26.ebuild b/dev-db/mariadb/mariadb-10.4.26.ebuild
index 0219a28a6af8..02eade2fdde1 100644
--- a/dev-db/mariadb/mariadb-10.4.26.ebuild
+++ b/dev-db/mariadb/mariadb-10.4.26.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
>=dev-libs/libpcre-8.41-r1:3=
virtual/libcrypt:=
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="static? ( sys-libs/ncurses[static-libs] )
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.5.16.ebuild b/dev-db/mariadb/mariadb-10.5.16.ebuild
index c72454ce1551..791bf3407e22 100644
--- a/dev-db/mariadb/mariadb-10.5.16.ebuild
+++ b/dev-db/mariadb/mariadb-10.5.16.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
>=dev-libs/openssl-1.0.0:0=
)
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="${COMMON_DEPEND}
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.5.17.ebuild b/dev-db/mariadb/mariadb-10.5.17.ebuild
index 3be699b6654e..889eddaa4a58 100644
--- a/dev-db/mariadb/mariadb-10.5.17.ebuild
+++ b/dev-db/mariadb/mariadb-10.5.17.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
>=dev-libs/openssl-1.0.0:0=
)
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="${COMMON_DEPEND}
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.6.10.ebuild b/dev-db/mariadb/mariadb-10.6.10.ebuild
index 10f9fc5d787e..d2ca047c5890 100644
--- a/dev-db/mariadb/mariadb-10.6.10.ebuild
+++ b/dev-db/mariadb/mariadb-10.6.10.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
>=dev-libs/openssl-1.0.0:0=
)
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="${COMMON_DEPEND}
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mariadb/mariadb-10.6.8-r1.ebuild b/dev-db/mariadb/mariadb-10.6.8-r1.ebuild
index 297e1406dc68..85556427b6c0 100644
--- a/dev-db/mariadb/mariadb-10.6.8-r1.ebuild
+++ b/dev-db/mariadb/mariadb-10.6.8-r1.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
>=dev-libs/openssl-1.0.0:0=
)
"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
DEPEND="${COMMON_DEPEND}
server? (
extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )
diff --git a/dev-db/mysql/mysql-5.7.36-r1.ebuild b/dev-db/mysql/mysql-5.7.36-r1.ebuild
index 2e9a483d39a9..482b873a518e 100644
--- a/dev-db/mysql/mysql-5.7.36-r1.ebuild
+++ b/dev-db/mysql/mysql-5.7.36-r1.ebuild
@@ -71,7 +71,7 @@ DEPEND="
${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
dev-libs/protobuf
- virtual/yacc
+ app-alternatives/yacc
server? (
dev-libs/libevent:=[ssl]
experimental? ( net-libs/rpcsvc-proto )
diff --git a/dev-db/mysql/mysql-5.7.40.ebuild b/dev-db/mysql/mysql-5.7.40.ebuild
index 8daf02105f3c..a5986730396c 100644
--- a/dev-db/mysql/mysql-5.7.40.ebuild
+++ b/dev-db/mysql/mysql-5.7.40.ebuild
@@ -71,7 +71,7 @@ DEPEND="
${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
dev-libs/protobuf
- virtual/yacc
+ app-alternatives/yacc
server? (
dev-libs/libevent:=[ssl]
experimental? ( net-libs/rpcsvc-proto )
diff --git a/dev-db/mysql/mysql-8.0.27.ebuild b/dev-db/mysql/mysql-8.0.27.ebuild
index d90e79f15aa5..0a2cedce470c 100644
--- a/dev-db/mysql/mysql-8.0.27.ebuild
+++ b/dev-db/mysql/mysql-8.0.27.ebuild
@@ -70,7 +70,7 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
- virtual/yacc
+ app-alternatives/yacc
server? ( net-libs/rpcsvc-proto )
test? (
acct-group/mysql acct-user/mysql
diff --git a/dev-db/mysql/mysql-8.0.31-r1.ebuild b/dev-db/mysql/mysql-8.0.31-r1.ebuild
index 4df005dfd18a..1f29e01ab7d8 100644
--- a/dev-db/mysql/mysql-8.0.31-r1.ebuild
+++ b/dev-db/mysql/mysql-8.0.31-r1.ebuild
@@ -63,7 +63,7 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
- virtual/yacc
+ app-alternatives/yacc
server? ( net-libs/rpcsvc-proto )
test? (
acct-group/mysql acct-user/mysql
diff --git a/dev-db/mysql/mysql-8.0.31.ebuild b/dev-db/mysql/mysql-8.0.31.ebuild
index 07ab584ef2a4..d9fb4237812f 100644
--- a/dev-db/mysql/mysql-8.0.31.ebuild
+++ b/dev-db/mysql/mysql-8.0.31.ebuild
@@ -63,7 +63,7 @@ COMMON_DEPEND="
DEPEND="
${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
- virtual/yacc
+ app-alternatives/yacc
server? ( net-libs/rpcsvc-proto )
test? (
acct-group/mysql acct-user/mysql
diff --git a/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild b/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild
index 190b425a5460..24020d02fca1 100644
--- a/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild
+++ b/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild
@@ -79,7 +79,7 @@ COMMON_DEPEND="
"
DEPEND="${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
- virtual/yacc
+ app-alternatives/yacc
server? ( net-libs/rpcsvc-proto )
test? (
acct-group/mysql acct-user/mysql
diff --git a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
index d4c8ed5cdd27..47b4afb78e18 100644
--- a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
+++ b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
@@ -79,7 +79,7 @@ COMMON_DEPEND="
"
DEPEND="${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
- virtual/yacc
+ app-alternatives/yacc
server? ( net-libs/rpcsvc-proto )
test? (
acct-group/mysql acct-user/mysql
diff --git a/dev-embedded/gpsim/gpsim-0.31.0.ebuild b/dev-embedded/gpsim/gpsim-0.31.0.ebuild
index 115d430bb499..702af55fcda2 100644
--- a/dev-embedded/gpsim/gpsim-0.31.0.ebuild
+++ b/dev-embedded/gpsim/gpsim-0.31.0.ebuild
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
diff --git a/dev-lang/c-intercal/c-intercal-31.0.ebuild b/dev-lang/c-intercal/c-intercal-31.0.ebuild
index 1639cfbf56fc..72838a9e05eb 100644
--- a/dev-lang/c-intercal/c-intercal-31.0.ebuild
+++ b/dev-lang/c-intercal/c-intercal-31.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -35,7 +35,7 @@ IUSE="emacs examples"
RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
BDEPEND="${RDEPEND}
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild b/dev-lang/mono/mono-6.12.0.122.ebuild
index 97ee904ee535..0399f5a023ac 100644
--- a/dev-lang/mono/mono-6.12.0.122.ebuild
+++ b/dev-lang/mono/mono-6.12.0.122.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
"
BDEPEND="
sys-devel/bc
- virtual/yacc
+ app-alternatives/yacc
pax-kernel? ( sys-apps/elfix )
"
diff --git a/dev-lang/srf/srf-1.0-r2.ebuild b/dev-lang/srf/srf-1.0-r2.ebuild
index 949fee4692d3..8eb267c91626 100644
--- a/dev-lang/srf/srf-1.0-r2.ebuild
+++ b/dev-lang/srf/srf-1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
DEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
diff --git a/dev-lang/vala/vala-0.56.3.ebuild b/dev-lang/vala/vala-0.56.3.ebuild
index 61c1c4bf8638..23240553c433 100644
--- a/dev-lang/vala/vala-0.56.3.ebuild
+++ b/dev-lang/vala/vala-0.56.3.ebuild
@@ -30,7 +30,7 @@ BDEPEND="
dev-libs/libxslt
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
src_configure() {
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild
index 4aad17063ef5..c727c75006f8 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
virtual/pkgconfig
${PYTHON_DEPS}
"
-# Wants real bison, not virtual/yacc
+# Wants real bison, not app-alternatives/yacc
DEPEND="${RDEPEND}"
BDEPEND="
gtk-doc? (
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild
index 6ac6d58ec435..140af9c36fba 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
virtual/pkgconfig
${PYTHON_DEPS}
"
-# Wants real bison, not virtual/yacc
+# Wants real bison, not app-alternatives/yacc
DEPEND="${RDEPEND}"
BDEPEND="
gtk-doc? (
diff --git a/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild b/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild
index 905d25ac123d..3181772403ae 100644
--- a/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild
+++ b/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild
@@ -17,5 +17,5 @@ RDEPEND=">=dev-libs/glib-2.44.1-r1:2"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
virtual/pkgconfig"
diff --git a/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild b/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild
index aabb447f64d2..b075361a5e28 100644
--- a/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild
+++ b/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -38,7 +38,7 @@ BDEPEND=">=dev-lang/swig-4.0.0
python? ( ${PYTHON_DEPS} )
ruby? ( ${RUBY_DEPS} )
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=(
"${FILESDIR}/${PN}-4.0.0-fix-python-bindings.patch"
diff --git a/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild b/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild
index 257006361297..e3db909f7abf 100644
--- a/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild
+++ b/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,7 +34,7 @@ BDEPEND=">=dev-lang/swig-4.0.0
dev-util/gtk-doc-am
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
python? ( ${PYTHON_DEPS} )"
PATCHES=(
diff --git a/dev-libs/libtasn1/libtasn1-4.19.0.ebuild b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
index 13246a0a58d4..f392d54b0e85 100644
--- a/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
+++ b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
@@ -20,7 +20,7 @@ RESTRICT="!test? ( test )"
BDEPEND="
sys-apps/help2man
- virtual/yacc
+ app-alternatives/yacc
test? ( valgrind? ( dev-util/valgrind ) )
verify-sig? ( sec-keys/openpgp-keys-libtasn1 )
"
diff --git a/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild b/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild
index 366c566a639b..3bd8f993ec54 100644
--- a/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild
+++ b/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild
@@ -16,7 +16,7 @@ IUSE=""
BDEPEND="
dev-util/netsurf-buildsystem
- virtual/yacc"
+ app-alternatives/yacc"
_emake() {
netsurf_define_makeconf
diff --git a/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild b/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild
index 8d017a7e3960..77b6db1632c0 100644
--- a/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild
+++ b/dev-ruby/semantic_puppet/semantic_puppet-1.0.4.ebuild
@@ -15,5 +15,5 @@ HOMEPAGE="https://github.com/puppetlabs/semantic_puppet"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~x86"
IUSE=""
diff --git a/dev-ruby/tilt/tilt-2.0.11.ebuild b/dev-ruby/tilt/tilt-2.0.11.ebuild
index e9c9bcc4af48..a7be9d5f39d6 100644
--- a/dev-ruby/tilt/tilt-2.0.11.ebuild
+++ b/dev-ruby/tilt/tilt-2.0.11.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/rtomayko/tilt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
# Block on some of the potential test dependencies. These dependencies
diff --git a/dev-util/cproto/cproto-4.7t-r1.ebuild b/dev-util/cproto/cproto-4.7t-r1.ebuild
index 770330e2dde8..d03094dfc893 100644
--- a/dev-util/cproto/cproto-4.7t-r1.ebuild
+++ b/dev-util/cproto/cproto-4.7t-r1.ebuild
@@ -17,6 +17,6 @@ KEYWORDS="~alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
DEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"
diff --git a/dev-util/cproto/cproto-4.7u.ebuild b/dev-util/cproto/cproto-4.7u.ebuild
index ef6c3626dba2..065167dec606 100644
--- a/dev-util/cproto/cproto-4.7u.ebuild
+++ b/dev-util/cproto/cproto-4.7u.ebuild
@@ -17,6 +17,6 @@ KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
DEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"
diff --git a/dev-util/cscope/cscope-15.9.ebuild b/dev-util/cscope/cscope-15.9.ebuild
index 2d9421fc287b..4762c7013f81 100644
--- a/dev-util/cscope/cscope-15.9.ebuild
+++ b/dev-util/cscope/cscope-15.9.ebuild
@@ -19,7 +19,7 @@ RDEPEND=">=sys-libs/ncurses-5.2:0=
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/flex
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
SITEFILE="50${PN}-gentoo.el"
diff --git a/dev-util/cutils/cutils-1.6-r5.ebuild b/dev-util/cutils/cutils-1.6-r5.ebuild
index 8f45dcfd811b..2e0f6fc2a62a 100644
--- a/dev-util/cutils/cutils-1.6-r5.ebuild
+++ b/dev-util/cutils/cutils-1.6-r5.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
BDEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=(
"${FILESDIR}"/${PN}-infopage.patch
diff --git a/dev-util/gob/gob-2.0.20-r1.ebuild b/dev-util/gob/gob-2.0.20-r1.ebuild
index 977fd1b27142..9071d5e3c116 100644
--- a/dev-util/gob/gob-2.0.20-r1.ebuild
+++ b/dev-util/gob/gob-2.0.20-r1.ebuild
@@ -19,4 +19,4 @@ DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
diff --git a/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild
index b1fc08c377e1..647c3de17e25 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-# We cannot depend on virtual/yacc until bug #734354 has been fixed
+# We cannot depend on app-alternatives/yacc until bug #734354 has been fixed
DEPEND="
sys-apps/texinfo
sys-devel/flex
diff --git a/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild
index 63ab7642a44d..bcc10dbc6cbf 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild
@@ -21,7 +21,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild
index cd4193e79001..3b479cd2d78d 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild
@@ -19,7 +19,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/dev-util/kbuild/kbuild-9999.ebuild b/dev-util/kbuild/kbuild-9999.ebuild
index 889cf6178062..63851a665f3b 100644
--- a/dev-util/kbuild/kbuild-9999.ebuild
+++ b/dev-util/kbuild/kbuild-9999.ebuild
@@ -25,7 +25,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild b/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
index 9d0e1dfeac10..50c685447659 100644
--- a/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
+++ b/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,7 +24,7 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/dev-util/yacc/yacc-1.9.1-r7.ebuild b/dev-util/yacc/yacc-1.9.1-r7.ebuild
new file mode 100644
index 000000000000..e3aabd4c456f
--- /dev/null
+++ b/dev-util/yacc/yacc-1.9.1-r7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Yacc: Yet Another Compiler-Compiler"
+HOMEPAGE="http://dinosaur.compilertools.net/#yacc"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/devel/compiler-tools/${P}.tar.Z"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+PATCHES=(
+ # mkstemp patch from byacc ebuild.
+ "${FILESDIR}/${P}-mkstemp.patch"
+
+ # The following patch fixes yacc to run correctly on ia64 (and
+ # other 64-bit arches). See bug 46233.
+ "${FILESDIR}/${P}-ia64.patch"
+
+ # Avoid stack access error. See bug 232005.
+ "${FILESDIR}/${P}-CVE-2008-3196.patch"
+)
+
+src_prepare() {
+ default
+
+ # Use our CFLAGS and LDFLAGS.
+ sed -i -e 's: -O : $(CFLAGS) $(LDFLAGS) :' Makefile || die 'sed failed'
+}
+
+src_compile() {
+ emake clean
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ newbin yacc yacc-reference
+ newman yacc.1 yacc-reference.1
+ dodoc 00README* ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY NOTES README*
+}
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 5b595048d4d0..c8802b39fa8c 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -37,7 +37,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
# @FUNCTION: kernel-build_src_configure
diff --git a/games-roguelike/nethack/nethack-3.6.6-r1.ebuild b/games-roguelike/nethack/nethack-3.6.6-r1.ebuild
index 7c457f11ab98..9468da4e4dd2 100644
--- a/games-roguelike/nethack/nethack-3.6.6-r1.ebuild
+++ b/games-roguelike/nethack/nethack-3.6.6-r1.ebuild
@@ -31,7 +31,7 @@ DEPEND="
"
BDEPEND="
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
X? (
x11-apps/bdftopcf
x11-apps/mkfontscale
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
index a95eccfae8d3..c992084abb04 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
@@ -69,7 +69,7 @@ BDEPEND="
)
)
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
S=${WORKDIR}/${MY_P}/source
diff --git a/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild b/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
index da45cd97b64d..470b825f1db4 100644
--- a/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
@@ -69,7 +69,7 @@ BDEPEND="
)
)
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
S=${WORKDIR}/${MY_P}/source
diff --git a/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
index a635964ac993..925749bfc2bb 100644
--- a/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
@@ -69,7 +69,7 @@ BDEPEND="
)
)
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
S=${WORKDIR}/${MY_P}/source
diff --git a/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
index 122c0d07f1ba..e4bf631e3ace 100644
--- a/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
@@ -84,7 +84,7 @@ BDEPEND="
)
)
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild b/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
index 58d0a361967b..11fc27e3c954 100644
--- a/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
@@ -84,7 +84,7 @@ BDEPEND="
)
)
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild
index e3d2b6f33cbb..345fbb572c78 100644
--- a/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild
@@ -86,7 +86,7 @@ BDEPEND="
)
)
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild b/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
index fcbf4fdc4295..3eb35c3280e4 100644
--- a/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
+++ b/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
@@ -16,7 +16,7 @@ IUSE=""
RDEPEND="acct-user/milter-regex
>=mail-filter/libmilter-1.0.2_p2:="
DEPEND="${RDEPEND}
- virtual/yacc"
+ app-alternatives/yacc"
src_prepare() {
eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"
diff --git a/mail-filter/milter-regex/milter-regex-2.7.ebuild b/mail-filter/milter-regex/milter-regex-2.7.ebuild
index e2b98ff9e61f..bb4fad4ea9fd 100644
--- a/mail-filter/milter-regex/milter-regex-2.7.ebuild
+++ b/mail-filter/milter-regex/milter-regex-2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,7 +16,7 @@ IUSE=""
RDEPEND="acct-user/milter-regex
|| ( mail-filter/libmilter mail-mta/sendmail )"
DEPEND="${RDEPEND}
- virtual/yacc"
+ app-alternatives/yacc"
src_prepare() {
eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"
diff --git a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
index e38c9a0712c5..c521f48a95d6 100644
--- a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
+++ b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
@@ -17,7 +17,7 @@ RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
>=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
DOCS=( ChangeLog KEYDB.cfg README.md )
diff --git a/media-libs/netpbm/netpbm-10.86.35.ebuild b/media-libs/netpbm/netpbm-10.86.35.ebuild
index bc274d3c1b5a..fddc48a69d32 100644
--- a/media-libs/netpbm/netpbm-10.86.35.ebuild
+++ b/media-libs/netpbm/netpbm-10.86.35.ebuild
@@ -22,7 +22,7 @@ SRC_URI="https://github.com/ceamac/netpbm-make-dist/releases/download/v${PV}/${P
LICENSE="Artistic BSD GPL-2 IJG LGPL-2.1 MIT public-domain"
SLOT="0/stable"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="jbig jpeg png postscript rle cpu_flags_x86_sse2 static-libs svga tiff X xml"
# app-text/ghostscript-gpl is really needed for postscript
diff --git a/media-sound/csound/csound-6.17.0.ebuild b/media-sound/csound/csound-6.17.0.ebuild
index cc3c316eca91..a302297076ba 100644
--- a/media-sound/csound/csound-6.17.0.ebuild
+++ b/media-sound/csound/csound-6.17.0.ebuild
@@ -43,7 +43,7 @@ REQUIRED_USE="
BDEPEND="
sys-devel/bison
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
doc? ( media-libs/libpng )
lua? ( dev-lang/swig )
nls? ( sys-devel/gettext )
diff --git a/media-sound/csound/csound-9999.ebuild b/media-sound/csound/csound-9999.ebuild
index ae7b8aae361e..5ed48090fa7f 100644
--- a/media-sound/csound/csound-9999.ebuild
+++ b/media-sound/csound/csound-9999.ebuild
@@ -43,7 +43,7 @@ REQUIRED_USE="
BDEPEND="
sys-devel/bison
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
doc? ( media-libs/libpng )
lua? ( dev-lang/swig )
nls? ( sys-devel/gettext )
diff --git a/media-sound/denemo/denemo-2.5.0-r1.ebuild b/media-sound/denemo/denemo-2.5.0-r1.ebuild
index 5809bf4bd0fa..77832e66e95b 100644
--- a/media-sound/denemo/denemo-2.5.0-r1.ebuild
+++ b/media-sound/denemo/denemo-2.5.0-r1.ebuild
@@ -50,7 +50,7 @@ BDEPEND="
>=dev-util/intltool-0.51.0-r1
>=sys-devel/flex-2.6.1
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 )
nls? ( >=sys-devel/gettext-0.19.8.1 )
"
diff --git a/media-sound/denemo/denemo-2.6.0.ebuild b/media-sound/denemo/denemo-2.6.0.ebuild
index dbeb5f19d947..da6d3dec36b8 100644
--- a/media-sound/denemo/denemo-2.6.0.ebuild
+++ b/media-sound/denemo/denemo-2.6.0.ebuild
@@ -55,7 +55,7 @@ BDEPEND="
>=dev-util/intltool-0.51.0-r1
>=sys-devel/flex-2.6.1
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 )
nls? ( >=sys-devel/gettext-0.19.8.1 )
"
diff --git a/media-video/dvdstyler/dvdstyler-3.2.1.ebuild b/media-video/dvdstyler/dvdstyler-3.2.1.ebuild
index b42c542e370e..7c8a2acd22d1 100644
--- a/media-video/dvdstyler/dvdstyler-3.2.1.ebuild
+++ b/media-video/dvdstyler/dvdstyler-3.2.1.ebuild
@@ -37,7 +37,7 @@ BDEPEND="
app-arch/zip
app-text/xmlto
sys-devel/gettext
- virtual/yacc
+ app-alternatives/yacc
virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/ffmpeg5.patch "${FILESDIR}"/wx30.patch )
diff --git a/net-analyzer/apinger/apinger-0.6.1.ebuild b/net-analyzer/apinger/apinger-0.6.1.ebuild
index f57c2ae57160..4b130a04d478 100644
--- a/net-analyzer/apinger/apinger-0.6.1.ebuild
+++ b/net-analyzer/apinger/apinger-0.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
DEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
DOCS=( AUTHORS ChangeLog NEWS README TODO )
PATCHES=(
diff --git a/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild b/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
index 05db91778f2f..9cda1724861c 100644
--- a/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
+++ b/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
sys-apps/groff )
test? ( dev-libs/check )
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
src_prepare() {
sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild b/net-analyzer/ettercap/ettercap-9999.ebuild
index 07c3e35f6522..b050ccc4f5d7 100644
--- a/net-analyzer/ettercap/ettercap-9999.ebuild
+++ b/net-analyzer/ettercap/ettercap-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
sys-apps/groff )
test? ( dev-libs/check )
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
src_prepare() {
sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
diff --git a/net-analyzer/ippl/ippl-1.4.14-r6.ebuild b/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
index 1cddf3d999fa..6b7cda25bbc2 100644
--- a/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
+++ b/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86"
BDEPEND="
- virtual/yacc
+ app-alternatives/yacc
sys-devel/flex"
RDEPEND="acct-user/ippl"
diff --git a/net-analyzer/nfdump/nfdump-1.6.24.ebuild b/net-analyzer/nfdump/nfdump-1.6.24.ebuild
index d4302f132f6c..4fad577222f0 100644
--- a/net-analyzer/nfdump/nfdump-1.6.24.ebuild
+++ b/net-analyzer/nfdump/nfdump-1.6.24.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
doc? (
app-doc/doxygen
media-gfx/graphviz
diff --git a/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild b/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild
index d4302f132f6c..4fad577222f0 100644
--- a/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild
+++ b/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
doc? (
app-doc/doxygen
media-gfx/graphviz
diff --git a/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild
index e86231713615..47313a65e8e4 100644
--- a/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild
+++ b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
RESTRICT="test"
diff --git a/net-dns/nsd/nsd-4.3.8.ebuild b/net-dns/nsd/nsd-4.3.8.ebuild
index 492c7c14b1d6..4db15d73dd98 100644
--- a/net-dns/nsd/nsd-4.3.8.ebuild
+++ b/net-dns/nsd/nsd-4.3.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -38,7 +38,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
systemd? ( virtual/pkgconfig )
"
diff --git a/net-dns/nsd/nsd-4.5.0-r1.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild
index eefcee308187..68e9b9d51cc0 100644
--- a/net-dns/nsd/nsd-4.5.0-r1.ebuild
+++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
systemd? ( virtual/pkgconfig )
"
diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild
index 63333507b30a..4f654418871a 100644
--- a/net-dns/nsd/nsd-4.5.0.ebuild
+++ b/net-dns/nsd/nsd-4.5.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
systemd? ( virtual/pkgconfig )
"
diff --git a/net-dns/nsd/nsd-4.6.0.ebuild b/net-dns/nsd/nsd-4.6.0.ebuild
index d3d5d3b51e9d..9a17b4f46b26 100644
--- a/net-dns/nsd/nsd-4.6.0.ebuild
+++ b/net-dns/nsd/nsd-4.6.0.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
systemd? ( virtual/pkgconfig )
"
diff --git a/net-dns/nsd/nsd-4.6.1-r1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild
index 07c863ace2f5..c59029d31706 100644
--- a/net-dns/nsd/nsd-4.6.1-r1.ebuild
+++ b/net-dns/nsd/nsd-4.6.1-r1.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
systemd? ( virtual/pkgconfig )
"
diff --git a/net-dns/nsd/nsd-9999.ebuild b/net-dns/nsd/nsd-9999.ebuild
index d3d5d3b51e9d..9a17b4f46b26 100644
--- a/net-dns/nsd/nsd-9999.ebuild
+++ b/net-dns/nsd/nsd-9999.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
systemd? ( virtual/pkgconfig )
"
diff --git a/net-firewall/iptables/iptables-1.8.8-r5.ebuild b/net-firewall/iptables/iptables-1.8.8-r5.ebuild
index 105bbb699754..992da3a8d444 100644
--- a/net-firewall/iptables/iptables-1.8.8-r5.ebuild
+++ b/net-firewall/iptables/iptables-1.8.8-r5.ebuild
@@ -34,7 +34,7 @@ BDEPEND="
virtual/pkgconfig
nftables? (
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
)
"
RDEPEND="
diff --git a/net-fs/autofs/autofs-5.1.6-r2.ebuild b/net-fs/autofs/autofs-5.1.6-r2.ebuild
index 50753057a240..bd0b047768ec 100644
--- a/net-fs/autofs/autofs-5.1.6-r2.ebuild
+++ b/net-fs/autofs/autofs-5.1.6-r2.ebuild
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
BDEPEND="
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/net-fs/autofs/autofs-5.1.8-r1.ebuild b/net-fs/autofs/autofs-5.1.8-r1.ebuild
index b896f7862d5f..c904304565b7 100644
--- a/net-fs/autofs/autofs-5.1.8-r1.ebuild
+++ b/net-fs/autofs/autofs-5.1.8-r1.ebuild
@@ -38,7 +38,7 @@ DEPEND="${RDEPEND}
BDEPEND="
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/net-fs/netatalk/netatalk-3.1.12-r7.ebuild b/net-fs/netatalk/netatalk-3.1.12-r7.ebuild
index 5033147b7faf..fd4a73dcc4f4 100644
--- a/net-fs/netatalk/netatalk-3.1.12-r7.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.12-r7.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
"
RDEPEND="${CDEPEND}"
DEPEND="${CDEPEND}
- virtual/yacc
+ app-alternatives/yacc
sys-devel/flex
"
diff --git a/net-fs/openafs/openafs-1.8.7.ebuild b/net-fs/openafs/openafs-1.8.7.ebuild
index 8d42811d43cf..d56c1e3f22b4 100644
--- a/net-fs/openafs/openafs-1.8.7.ebuild
+++ b/net-fs/openafs/openafs-1.8.7.ebuild
@@ -31,7 +31,7 @@ ncurses perl +pthreaded-ubik +supergroups tsm ubik-read-while-write"
BDEPEND="
dev-lang/perl
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
apidoc? (
app-doc/doxygen[dot]
media-gfx/graphviz
diff --git a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
index bedbe27e50a1..8e3c091a6aca 100644
--- a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
+++ b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
@@ -31,7 +31,7 @@ ncurses perl +pthreaded-ubik +supergroups tsm ubik-read-while-write"
BDEPEND="
dev-lang/perl
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
apidoc? (
app-doc/doxygen[dot]
media-gfx/graphviz
diff --git a/net-libs/canlock/canlock-3.3.0.ebuild b/net-libs/canlock/canlock-3.3.0.ebuild
index bd8ea08f1942..a27b890f4590 100644
--- a/net-libs/canlock/canlock-3.3.0.ebuild
+++ b/net-libs/canlock/canlock-3.3.0.ebuild
@@ -15,7 +15,7 @@ IUSE="header-parser +legacy"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
DOCS=( ChangeLog{,_V{0..2}} README TODO doc/sec_review.txt )
diff --git a/net-libs/libpcap/libpcap-1.10.1-r2.ebuild b/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
index 21a95f1874b5..6edb007ae109 100644
--- a/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
+++ b/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
dbus? ( virtual/pkgconfig )
"
diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild
index a7f3890a8527..ddd15be165fc 100644
--- a/net-libs/libpcap/libpcap-9999.ebuild
+++ b/net-libs/libpcap/libpcap-9999.ebuild
@@ -38,7 +38,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
dbus? ( virtual/pkgconfig )
"
diff --git a/net-libs/libsmi/libsmi-0.5.0-r5.ebuild b/net-libs/libsmi/libsmi-0.5.0-r5.ebuild
index 91ae311eaa6e..69baf3c24948 100644
--- a/net-libs/libsmi/libsmi-0.5.0-r5.ebuild
+++ b/net-libs/libsmi/libsmi-0.5.0-r5.ebuild
@@ -17,7 +17,7 @@ RESTRICT="test"
# libsmi-0.5.0-implicit-function-declarations.patch touches parser
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild
index b43bb405d524..1e43f9295b10 100644
--- a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild
@@ -28,7 +28,7 @@ BDEPEND="app-doc/doxygen[dot]
sys-devel/flex
virtual/os-headers
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=(
"${FILESDIR}"/${PN}-4.0.18_p1-build-system.patch
diff --git a/net-libs/libtrace/libtrace-4.0.19_p1.ebuild b/net-libs/libtrace/libtrace-4.0.19_p1.ebuild
index 744613536b3f..aea6acf8b4b6 100644
--- a/net-libs/libtrace/libtrace-4.0.19_p1.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.19_p1.ebuild
@@ -26,7 +26,7 @@ BDEPEND="app-doc/doxygen[dot]
sys-devel/flex
virtual/os-headers
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
src_prepare() {
default
diff --git a/net-libs/libtrace/libtrace-4.0.20.ebuild b/net-libs/libtrace/libtrace-4.0.20.ebuild
index fcc866df083d..65e246ac3b1e 100644
--- a/net-libs/libtrace/libtrace-4.0.20.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.20.ebuild
@@ -30,7 +30,7 @@ BDEPEND="
sys-devel/flex
virtual/os-headers
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
src_prepare() {
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild
index fd888906a05d..84009a8c6375 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild
@@ -67,7 +67,7 @@ RDEPEND="${DEPEND}
DEPEND+=" test? ( dev-util/cunit )"
BDEPEND="sys-devel/flex
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
REQUIRED_USE="afs? ( kerberos )
backup? ( sqlite )
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild
index b1811815cfe3..33031ad0dced 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild
@@ -67,7 +67,7 @@ RDEPEND="${DEPEND}
DEPEND+=" test? ( dev-util/cunit )"
BDEPEND="sys-devel/flex
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
REQUIRED_USE="afs? ( kerberos )
backup? ( sqlite )
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild
index 846882ec4516..15b1b131ef6f 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild
@@ -67,7 +67,7 @@ RDEPEND="${DEPEND}
DEPEND+=" test? ( dev-util/cunit )"
BDEPEND="sys-devel/flex
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
REQUIRED_USE="afs? ( kerberos )
backup? ( sqlite )
diff --git a/net-misc/frr/frr-8.2.2.ebuild b/net-misc/frr/frr-8.2.2.ebuild
index 930f7303dc8f..d7a531a4bede 100644
--- a/net-misc/frr/frr-8.2.2.ebuild
+++ b/net-misc/frr/frr-8.2.2.ebuild
@@ -36,7 +36,7 @@ COMMON_DEPEND="
BDEPEND="
~dev-util/clippy-${PV}
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
doc? ( dev-python/sphinx )
"
DEPEND="
diff --git a/net-misc/mrouted/mrouted-4.2.ebuild b/net-misc/mrouted/mrouted-4.2.ebuild
index 8db1215d3f2f..8f9f6aa61285 100644
--- a/net-misc/mrouted/mrouted-4.2.ebuild
+++ b/net-misc/mrouted/mrouted-4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/net-misc/mrouted/mrouted-4.4.ebuild b/net-misc/mrouted/mrouted-4.4.ebuild
index 97fd56dd2d0c..573500aacb93 100644
--- a/net-misc/mrouted/mrouted-4.4.ebuild
+++ b/net-misc/mrouted/mrouted-4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ IUSE="rsrr test"
RESTRICT="!test? ( test ) test"
BDEPEND="virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
src_configure() {
tc-export CC CXX
diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild
index f1bdfc975450..11231a66647f 100644
--- a/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild
+++ b/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,7 +22,7 @@ RDEPEND="
"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
src_compile() {
diff --git a/net-nntp/tin/tin-2.6.1.ebuild b/net-nntp/tin/tin-2.6.1.ebuild
index f3b5b58f1dcf..96afdff40fa7 100644
--- a/net-nntp/tin/tin-2.6.1.ebuild
+++ b/net-nntp/tin/tin-2.6.1.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
DOCS=(
diff --git a/profiles/arch/arm/package.use.mask b/profiles/arch/arm/package.use.mask
index 59eeb185bf9b..2ba4114dee0b 100644
--- a/profiles/arch/arm/package.use.mask
+++ b/profiles/arch/arm/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Florian Schmaus <flow@gentoo.org> (2022-11-23)
# avoid larger deptree, bug #882593
dev-python/bracex doc
diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask
index 552f82af8efc..9d78b11ce771 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Florian Schmaus <flow@gentoo.org> (2022-11-23)
# avoid larger deptree, bug #882593
dev-python/bracex doc
diff --git a/profiles/arch/hppa/package.use.mask b/profiles/arch/hppa/package.use.mask
index b950d6883996..9a73926a4c5a 100644
--- a/profiles/arch/hppa/package.use.mask
+++ b/profiles/arch/hppa/package.use.mask
@@ -4,6 +4,10 @@
# NOTE: When masking a USE flag due to missing keywords, please file a keyword
# request bug for the hppa arch.
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Florian Schmaus <flow@gentoo.org> (2022-11-23)
# avoid larger deptree, bug #882593
dev-python/bracex doc
diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask
index 8ed2298b9154..9eb8d2e5ffd7 100644
--- a/profiles/arch/ia64/package.use.mask
+++ b/profiles/arch/ia64/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Florian Schmaus <flow@gentoo.org> (2022-11-23)
# avoid larger deptree, bug #882593
dev-python/bracex doc
diff --git a/profiles/arch/powerpc/ppc32/package.use.mask b/profiles/arch/powerpc/ppc32/package.use.mask
index 4a5fa9330d21..e9d44ada7127 100644
--- a/profiles/arch/powerpc/ppc32/package.use.mask
+++ b/profiles/arch/powerpc/ppc32/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Sam James <sam@gentoo.org> (2022-11-19)
# Fails to compile because of size, bug #829602.
sys-devel/clang extra
diff --git a/profiles/arch/powerpc/ppc64/package.use.mask b/profiles/arch/powerpc/ppc64/package.use.mask
index ef0c262fbba1..10c13fb138f0 100644
--- a/profiles/arch/powerpc/ppc64/package.use.mask
+++ b/profiles/arch/powerpc/ppc64/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Sam James <sam@gentoo.org> (2022-10-13)
# Causes segfaults, bug #871921
sci-libs/symengine tcmalloc
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
index 285a6dea5778..911542bee9bf 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -1,6 +1,14 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/yacc reference
+
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Mike Rivnak <rivnakm1@gmail.com> (2022-11-30)
# luajit is currently not supported on riscv
app-editors/neovim lua_single_target_luajit
diff --git a/profiles/arch/s390/package.use.mask b/profiles/arch/s390/package.use.mask
index 32b5b218cfa8..2d39f4665510 100644
--- a/profiles/arch/s390/package.use.mask
+++ b/profiles/arch/s390/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Michał Górny <mgorny@gentoo.org> (2022-11-25)
# Unkeyworded shells.
app-alternatives/sh lksh mksh
diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask
index 3cbc47e6bef6..4fb17c017d13 100644
--- a/profiles/arch/sparc/package.use.mask
+++ b/profiles/arch/sparc/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Sam James <sam@gentoo.org> (2022-11-24)
# Pulls in gjs which is broken on sparc, bug #882071
app-crypt/libsecret test-rust
diff --git a/profiles/arch/x86/package.use.mask b/profiles/arch/x86/package.use.mask
index b733021ebde4..71f1fb9e451a 100644
--- a/profiles/arch/x86/package.use.mask
+++ b/profiles/arch/x86/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2022-12-02)
+# Not keyworded here
+app-alternatives/lex reflex
+
# Michał Górny <mgorny@gentoo.org> (2022-12-01)
# Keyworded here.
app-alternatives/awk -nawk
diff --git a/profiles/updates/4Q-2022 b/profiles/updates/4Q-2022
index 656cb7d37e43..fd98594f3e43 100644
--- a/profiles/updates/4Q-2022
+++ b/profiles/updates/4Q-2022
@@ -11,3 +11,4 @@ move dev-python/libsass dev-python/libsass-python
move dev-lang/open-cobol dev-lang/gnucobol
move dev-python/miniupnpc dev-python/python-miniupnpc
move virtual/awk app-alternatives/awk
+move virtual/yacc app-alternatives/yacc
diff --git a/sci-mathematics/genius/genius-1.0.27.ebuild b/sci-mathematics/genius/genius-1.0.27.ebuild
index 008be2dfce7f..52b5a93b2a5c 100644
--- a/sci-mathematics/genius/genius-1.0.27.ebuild
+++ b/sci-mathematics/genius/genius-1.0.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/autoconf-archive
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
" # eautoreconf needs sys-devel/autoconf-archive
# dev-util/gtk-update-icon-cache because configure checks for it for some reason and never calls it with DESTDIR set..
diff --git a/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild b/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild
index a43984b06906..301046562c6f 100644
--- a/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild
+++ b/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}"
BDEPEND="dev-tex/hevea
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=(
"${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"
diff --git a/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild b/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild
index 6e7c236f37e3..5c24d8828a7a 100644
--- a/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild
+++ b/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}"
BDEPEND="dev-tex/hevea
virtual/pkgconfig
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=(
"${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"
diff --git a/sci-mathematics/spin/spin-6.5.2-r1.ebuild b/sci-mathematics/spin/spin-6.5.2-r1.ebuild
index 0e1f17681a7c..89ec50ed73ec 100644
--- a/sci-mathematics/spin/spin-6.5.2-r1.ebuild
+++ b/sci-mathematics/spin/spin-6.5.2-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="sys-devel/gcc
dev-lang/tk
graphviz? ( media-gfx/graphviz )
)"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
PATCHES=(
"${FILESDIR}"/${PN}-6.5.2-makefile.patch
diff --git a/sys-apps/nawk/nawk-20180827-r1.ebuild b/sys-apps/nawk/nawk-20180827-r1.ebuild
index 3e5c1d65b36b..6f8b40a63ab9 100644
--- a/sys-apps/nawk/nawk-20180827-r1.ebuild
+++ b/sys-apps/nawk/nawk-20180827-r1.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
DEPEND="
- virtual/yacc
+ app-alternatives/yacc
"
S="${WORKDIR}/awk-${PV}"
diff --git a/sys-apps/nawk/nawk-20220122-r1.ebuild b/sys-apps/nawk/nawk-20220122-r1.ebuild
index 34f6cf9af4a1..a28a79b2e788 100644
--- a/sys-apps/nawk/nawk-20220122-r1.ebuild
+++ b/sys-apps/nawk/nawk-20220122-r1.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
DEPEND="
- virtual/yacc
+ app-alternatives/yacc
"
S="${WORKDIR}/awk-${PV}"
diff --git a/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild b/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild
index 2825fdaab0d3..d239df8bef73 100644
--- a/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild
+++ b/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild
@@ -21,7 +21,7 @@ IUSE="debug staticsocket"
RDEPEND="sys-apps/kmod[tools]"
DEPEND="${RDEPEND}
- virtual/yacc
+ app-alternatives/yacc
sys-devel/flex"
PATCHES=(
diff --git a/sys-devel/bc/bc-1.07.1-r4.ebuild b/sys-devel/bc/bc-1.07.1-r4.ebuild
index 82f798fc4f69..2ac2c73b3ded 100644
--- a/sys-devel/bc/bc-1.07.1-r4.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r4.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=( "${FILESDIR}"/${PN}-1.07.1-no-ed-its-sed.patch )
diff --git a/sys-devel/bc/bc-1.07.1-r5.ebuild b/sys-devel/bc/bc-1.07.1-r5.ebuild
index 24a75264425a..78eefebc167f 100644
--- a/sys-devel/bc/bc-1.07.1-r5.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r5.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=( "${FILESDIR}"/${PN}-1.07.1-no-ed-its-sed.patch )
diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
index d3f797079c97..b8973ce5f5a5 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
@@ -64,7 +64,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild
index 733c9ae1bf5c..9bc8365ff2fb 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild
@@ -65,7 +65,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild
index 01c6d25bfdf4..cd5af5b432c4 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild
@@ -65,7 +65,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.32-r2.ebuild b/sys-devel/binutils/binutils-2.32-r2.ebuild
index 40db4705c2a9..d19fc5bc163c 100644
--- a/sys-devel/binutils/binutils-2.32-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.32-r2.ebuild
@@ -77,7 +77,7 @@ DEPEND="${RDEPEND}
test? ( dev-util/dejagnu )
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.33.1-r1.ebuild b/sys-devel/binutils/binutils-2.33.1-r1.ebuild
index 785ea17b6542..2fd7c51dacb2 100644
--- a/sys-devel/binutils/binutils-2.33.1-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.33.1-r1.ebuild
@@ -69,7 +69,7 @@ DEPEND="${RDEPEND}
test? ( dev-util/dejagnu )
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.34-r2.ebuild b/sys-devel/binutils/binutils-2.34-r2.ebuild
index c61503139101..f135644d0304 100644
--- a/sys-devel/binutils/binutils-2.34-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.34-r2.ebuild
@@ -70,7 +70,7 @@ BDEPEND="
test? ( dev-util/dejagnu )
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.35.2.ebuild b/sys-devel/binutils/binutils-2.35.2.ebuild
index cdb4d4b87ec3..88e1395e6322 100644
--- a/sys-devel/binutils/binutils-2.35.2.ebuild
+++ b/sys-devel/binutils/binutils-2.35.2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.36.1-r2.ebuild b/sys-devel/binutils/binutils-2.36.1-r2.ebuild
index faa27e272c6c..2231530b7f36 100644
--- a/sys-devel/binutils/binutils-2.36.1-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.36.1-r2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
index 6ade635ea8fa..712f1d46b7a1 100644
--- a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.38-r2.ebuild b/sys-devel/binutils/binutils-2.38-r2.ebuild
index 658541bd3d7a..401310d2e924 100644
--- a/sys-devel/binutils/binutils-2.38-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.38-r2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-2.39-r4.ebuild b/sys-devel/binutils/binutils-2.39-r4.ebuild
index 3ac03a449cb4..8a51b198d221 100644
--- a/sys-devel/binutils/binutils-2.39-r4.ebuild
+++ b/sys-devel/binutils/binutils-2.39-r4.ebuild
@@ -63,7 +63,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
index 29f4e844ce60..7897167274ed 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -64,7 +64,7 @@ BDEPEND="
)
nls? ( sys-devel/gettext )
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
"
RESTRICT="!test? ( test )"
diff --git a/sys-devel/bison/bison-3.8.2-r1.ebuild b/sys-devel/bison/bison-3.8.2-r1.ebuild
new file mode 100644
index 000000000000..8a3490b4631a
--- /dev/null
+++ b/sys-devel/bison/bison-3.8.2-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bison.asc
+inherit flag-o-matic verify-sig
+
+DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
+HOMEPAGE="https://www.gnu.org/software/bison/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples nls static test"
+RESTRICT="!test? ( test )"
+
+# gettext _IS_ required in RDEPEND because >=bison-3.7 links against
+# libtextstyle.so!!! (see bug #740754)
+DEPEND="
+ >=sys-devel/m4-1.4.16
+ >=sys-devel/gettext-0.21
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ sys-devel/flex
+ test? ( dev-lang/perl )
+ verify-sig? ( sec-keys/openpgp-keys-bison )
+"
+PDEPEND="app-alternatives/yacc"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 ChangeLog-1998 PACKAGING README-alpha README-release
+
+src_prepare() {
+ # Old logic when we needed to patch configure.ac
+ # Keeping in case it's useful for future
+
+ # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
+ #touch -r configure.ac old.configure.ac || die
+ #touch -r configure old.configure || die
+
+ #eapply "${WORKDIR}"/patches
+ #default
+
+ # Restore date after patching
+ #touch -r old.configure.ac configure.ac || die
+ #touch -r old.configure configure || die
+
+ # The makefiles make the man page depend on the configure script
+ # which we patched above. Touch it to prevent regeneration.
+ #touch doc/bison.1 || die #548778 #538300#9
+
+ default
+
+ # Avoid regenerating the info page when the timezone is diff. #574492
+ sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
+}
+
+src_configure() {
+ use static && append-ldflags -static
+
+ local myeconfargs=(
+ $(use_enable nls)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ # These are owned by app-alternatives/yacc
+ mv "${ED}"/usr/bin/yacc{,.bison} || die
+ mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die
+
+ # We do not need liby.a
+ rm -r "${ED}"/usr/lib* || die
+
+ # Examples are about 200K, so let's make them optional still for now.
+ if ! use examples ; then
+ rm -r "${ED}"/usr/share/doc/${PF}/examples/ || die
+ fi
+}
+
+pkg_postinst() {
+ # ensure to preserve the symlinks before app-alternatives/yacc
+ # is installed
+ if [[ ! -h ${EROOT}/usr/bin/yacc ]]; then
+ ln -s yacc "${EROOT}/usr/bin/yacc.bison" || die
+ fi
+}
diff --git a/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild b/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild
index 4eea87b1c581..849d80e9c0e8 100644
--- a/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild
+++ b/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,7 +22,7 @@ BDEPEND="
dev-vcs/subversion
sys-apps/lsb-release
>=sys-devel/bmake-20210314-r1
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
diff --git a/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild b/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild
index 5c427a1e2119..8d13d4a22fac 100644
--- a/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild
+++ b/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,7 +26,7 @@ BDEPEND="
dev-vcs/subversion
sys-apps/lsb-release
>=sys-devel/bmake-20210314-r1
- virtual/yacc"
+ app-alternatives/yacc"
src_prepare() {
default
diff --git a/sys-devel/flex/flex-2.6.4-r5.ebuild b/sys-devel/flex/flex-2.6.4-r5.ebuild
new file mode 100644
index 000000000000..e064eb4e45ac
--- /dev/null
+++ b/sys-devel/flex/flex-2.6.4-r5.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic libtool multilib-minimal toolchain-funcs
+
+DESCRIPTION="The Fast Lexical Analyzer"
+HOMEPAGE="https://github.com/westes/flex"
+SRC_URI="https://github.com/westes/${PN}/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-autotools-regenerate.patch.xz"
+
+LICENSE="FLEX"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-devel/m4"
+# We want bison explicitly and not yacc in general, bug #381273
+BDEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )
+ test? ( sys-devel/bison )
+"
+PDEPEND="app-alternatives/lex"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-libobjdir.patch
+ "${FILESDIR}"/${P}-fix-build-with-glibc2.26.patch
+
+ "${WORKDIR}"/${P}-autotools-regenerate.patch
+)
+
+src_prepare() {
+ default
+
+ # Drop on next release when we can remove ${P}-autotools-regenerate.patch
+ touch configure.ac aclocal.m4 Makefile.in configure src/config.h.in || die
+
+ # Disable running in the tests/ subdir as it has a bunch of built sources
+ # that cannot be made conditional (automake limitation). bug #568842
+ if ! use test ; then
+ sed -i \
+ -e '/^SUBDIRS =/,/^$/{/tests/d}' \
+ Makefile.in || die
+ fi
+
+ # Prefix always needs this
+ elibtoolize
+}
+
+src_configure() {
+ use static && append-ldflags -static
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ # Do not install shared libs, #503522
+ ECONF_SOURCE="${S}" econf \
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+ --disable-shared \
+ $(use_enable nls)
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake -C src -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)'
+ fi
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && emake check
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake -C src DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ dodoc ONEWS
+ find "${ED}" -name '*.la' -type f -delete || die
+ rm "${ED}"/usr/share/doc/${PF}/COPYING || die
+}
+
+pkg_postinst() {
+ # ensure to preserve the symlink before app-alternatives/lex
+ # is installed
+ if [[ ! -h ${EROOT}/usr/bin/lex ]]; then
+ ln -s flex "${EROOT}/usr/bin/lex" || die
+ fi
+}
diff --git a/sys-devel/gdb/gdb-11.2.ebuild b/sys-devel/gdb/gdb-11.2.ebuild
index bbd5cfa1a8b3..4cf33173d0ba 100644
--- a/sys-devel/gdb/gdb-11.2.ebuild
+++ b/sys-devel/gdb/gdb-11.2.ebuild
@@ -87,7 +87,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
sys-apps/texinfo
- virtual/yacc
+ app-alternatives/yacc
nls? ( sys-devel/gettext )
source-highlight? ( virtual/pkgconfig )
test? ( dev-util/dejagnu )
diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index 8992645e4700..b4bf3d0ae2c9 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -88,7 +88,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
sys-apps/texinfo
- virtual/yacc
+ app-alternatives/yacc
nls? ( sys-devel/gettext )
source-highlight? ( virtual/pkgconfig )
test? ( dev-util/dejagnu )
diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
index 6bf40e5071f6..940f57beb14b 100644
--- a/sys-devel/gdb/gdb-9999.ebuild
+++ b/sys-devel/gdb/gdb-9999.ebuild
@@ -85,7 +85,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
sys-apps/texinfo
- virtual/yacc
+ app-alternatives/yacc
nls? ( sys-devel/gettext )
source-highlight? ( virtual/pkgconfig )
test? ( dev-util/dejagnu )
diff --git a/sys-fs/lde/lde-2.6.1-r2.ebuild b/sys-fs/lde/lde-2.6.1-r2.ebuild
index c0b1f4584101..615ff025c460 100644
--- a/sys-fs/lde/lde-2.6.1-r2.ebuild
+++ b/sys-fs/lde/lde-2.6.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,7 @@ RDEPEND="sys-libs/ncurses:0="
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
S="${WORKDIR}/${PN}"
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 51110c4b5091..cfb43888b908 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -4,12 +4,16 @@ DIST genpatches-5.10-164.base.tar.xz 4386332 BLAKE2B 88887f7d89de037788c0a5d2bd3
DIST genpatches-5.10-164.extras.tar.xz 3868 BLAKE2B df5c97a2e0caf890fdcbc564b67226b66e1a789bb8c972761ccb912a7c1d3f0678381fec5da17f73661e302bc3cbcb3a9cbd755696e5c8a94ab9ddb9e6c8c89d SHA512 4355ad2bfb6e0d706346df3bda7bba4c7d3c6145b6707df1536db2588d72a3c0e6c42487296272149d05c06c99f5524bdf724bfdeafce250719f696cd566d43b
DIST genpatches-5.10-165.base.tar.xz 4410392 BLAKE2B 67300432c6ae3009843c2dbdb514228296716b3fe884cec9307ae75c1848839633e504d287fb059f7766f7ff545fdab0566b79938d06053b1c82d2aa6f928f7d SHA512 208dc3840efce5d0c2e57926ea7a29890f3998b56fa2def90046cdc1358dbd22a8a597aacca754f60b7b742c65a9e541fdbc5b57b9838fec287eec8131fa2023
DIST genpatches-5.10-165.extras.tar.xz 3868 BLAKE2B 1cf0214ea5d61c180a97e99697889bb0ab5b1e7a3a7c0f3c3492e9de424af586975dde56e9d8d24c0222f88872d27cdb763c02cdb64e293e755a6ea107e22a23 SHA512 b1a18819991cbc9265bd0aafe0ad4d20402efd6e96c7d68f509bdec0177cc4509d9f71b8dc41b906643498ebb9f51721df31fdaee6dd69652c01237fcb69717d
+DIST genpatches-5.10-166.base.tar.xz 4458748 BLAKE2B 6bd32230b72d16a642c85296918f467d181389087aea84dc1b6fc922c3091f444169f15461a438480e90de59806e0f0cb50f51ca40a590369fb1ae28d48018d1 SHA512 8897cb2a53f226e40193ef67c498f48270c1833986be3668e47da426b8d4c37ef59ea2d09b3582f457017780059db2430d42202e48e55bdfa697ecbc64f19183
+DIST genpatches-5.10-166.extras.tar.xz 3868 BLAKE2B 9de0bf3ec8b5d3cedf60f39ee1daba0ad24c23a3f43b9a35faa9b3bbc874b9fca5a6273f79ab840ced2f3880f779e0c4acc2f02c581d75618747f7c51dff6cd9 SHA512 6dfa61ebb4b6c08dfe42d3fa58def0adce6864ca2a8609bcf57720035b345f238aed22725a7e371e3ae562424049fd22da6c4c2dc5535da4b6820f645d832059
DIST genpatches-5.15-81.base.tar.xz 3257712 BLAKE2B 66e0d129053b2cf3ba59681318be5c6a62d469d6014535bd4b47d5368a7718db7015ec1dfab34e4db324b4d626f8f8a9219231b2908c3fc2c2d51a3f99db999a SHA512 f43d637c799216e2bb99cfbab9c51b935d02f2dadaa0f2fad238f14393340420523c25927c10fd6b69745972cdf4e7f3e23cd56eea799626c69f4fb7d44b8e49
DIST genpatches-5.15-81.extras.tar.xz 3932 BLAKE2B 0783c48eab8d9f53d07770a3df525df2ffdab8f36d3d7db2d22e2fc5b0d1fe904644b013a3d1a5ea3d967636d4ff91b3f208ea8f004adf310134b98ec5cdd0fd SHA512 be4b557066d8d2327724c8be440ebcedb01d0eadab7bfa0f9f230111cba76a2623bec0945fc887b91d6e5c73eec3eec4fa29b2e76606e7871e81a91fdc4b2bf9
DIST genpatches-5.15-83.base.tar.xz 3328188 BLAKE2B 5d8da81e1c5f936ce49589d1dd10f41246a6059c410c0215b495ca7401eb618aa6c87d2ae23b08f27e3be5dd6b7f88e5d4e90ec9950924db9a08375d45cb2da3 SHA512 fdcbf6bc1e17f04df9d8334c1c75f21e5ca60fb99157708a4c599e43ed20a58664fe54fe8467924623d612ba2ddd409af4840195369fe274a4f55a84fce12ade
DIST genpatches-5.15-83.extras.tar.xz 3932 BLAKE2B 42ba0ee79654687ad5c858344ef7a1787c23fdadcf312788b2f53e739bd6319b3771c89d93eef7f604bd4f9275777421fcac09f8030af81cff6b3d9482b8e804 SHA512 55873c4cac9a4c5bf030b562c927fcc663a9a092602366d170541050386d427fac2dd8ac013d13b700bd874e47655d10b2cedb5b4c1034f41819c675aea80506
DIST genpatches-5.15-84.base.tar.xz 3361044 BLAKE2B 355479d56f6234f63cdf7acad501784edc72f3e55ff6ac0e09ac26004c38aa30fff62893036ab413d0e8f1334a41568c59e075452b5c3909f88b8f48f0104748 SHA512 7a7a3b03d5aa348c7e4c5d4d7e4972c8538778367a9eb1984c1f0b3ab202ad27b92d1fd7f29dbc3fbc17cd413d3c1a571f5201355b27c22bf0f55bf7f0d57206
DIST genpatches-5.15-84.extras.tar.xz 3932 BLAKE2B 1729d46e8de60b40e69fdf7f63048d9c4142de4a4dfd75695f3303034b1b1732aee6c20a62a3f2d7b4b464e22babdd6261ae4249a79f79bcd7c817faef55ad5e SHA512 223124d0323024c383ca342969404fcc514596364a90cc98bf8a8e0105e5c2420973a2efb6a47c732775a4672fcba4d3d4386a8fa5350e8ce8a98dcb6f5718fe
+DIST genpatches-5.15-85.base.tar.xz 3424456 BLAKE2B 3b5dd1fbeec6ecf40e922ad97662312346a72b81f79a40b0066f5773bd9ab63c979e4ff6564361e44b9f3f49ffd2f3cc47118934d0598d49d0e1be49b65b4e78 SHA512 f36cd6153eccc29ff7ec0e97eab85d6c0918928350b6dfeed97994435b623cc6015a9821655d0fac2b1f68370ccd8d0fbf88d8b3854ee2d9a7ded7e281eb4e1e
+DIST genpatches-5.15-85.extras.tar.xz 3932 BLAKE2B 466a3564c1d693c90d925457720960f79221d99f740b5ef67152dbf957d9c44a07b867e916cbedd32c92e268341bbe05d3fe40663e55c358cf4439d3a343721b SHA512 03b9f051fe6a8415b693a64242d00a457f7640dd8fd6ad9659da8deda9ee77b8c52769bb60ca5194e781696e80f703ca17bc1277b1979e1f79e99144a30ef664
DIST genpatches-5.4-228.base.tar.xz 5198204 BLAKE2B 35942e1ffbfd792f2479ce2b97c7f191cf5fc5712ccf101ee1f5f7f0486d53da2307237fc2d50fe0353c82557df03fbdfbc669949616dfeda69970628ad98ee5 SHA512 333dd865d3f10083566ddf43ff4d159a6842c3ed92c703dbcebd0832b0fdbc53c0025856eb1608ac485c805702608e52c600e08922fb831536bc6a099f74f1d8
DIST genpatches-5.4-228.extras.tar.xz 1812 BLAKE2B dc4f0815c8915ae371db4da0ecc1066a269547ba1a967a6067121de25c06445356b6f1339088d402e7f9ca5dbb91b49ab717dc3168760cb26ff3e279177e16e4 SHA512 7ab2f0466b677b3506c080bacae1217b54b35ccb45f65000757bfa09e3ca2834a3b78c4b03730f11c6948be3e3a04c1fe3bc562585248039185d94ba805adfe7
DIST genpatches-5.4-229.base.tar.xz 5214840 BLAKE2B ede38de7b09b59ab96596aa4e47f7d2dff06e8e3e403e0b3a15092991bd21504ccffdc21b8fc5857fbd21ee89842f7a6d74fd88b5c7426ae2a5dd3d50ce8db51 SHA512 ad086f2b00e870d54b1605eac7fe537654c09830b69c316cee71a7bb5e621e6ada37ef780c4d2c3ea9678e4a72c19355acac2648e16943ba0dde4e711909826b
@@ -18,6 +22,8 @@ DIST genpatches-5.4-230.base.tar.xz 5241272 BLAKE2B 59a4ad6f7b2f3380e5521a2d48e7
DIST genpatches-5.4-230.extras.tar.xz 1812 BLAKE2B 62c614ec2f856867ab6e6953fcbe533fba508263a2f0e0f9e422ba9c4f159af9564d8ad57368f4e8a9e645302b3cdc8ef1ac5a626cb8e18380c025f3290ba56a SHA512 911595072c899538d66313d24585df62a9dd4e44e46980b14e1b6d0c61a64d55b6a66e4b30cae49965900bbbe634c2ebb36aac1d084038829da2a1a59b721186
DIST genpatches-6.0-10.base.tar.xz 546380 BLAKE2B faad43e3066e880e9074c57499eef61f85a8279cb37b7c999f41194588c766bfcb529cd6bd43b234e865c837ca970706935d6fea32fbcb46c49e9a67d274f262 SHA512 c4e37e027f8c9c7ce833d4b5c887b261bbe617222d4b1203bf0ccbb35b384bb185bfa5e3bccc187e7658baaa50a015a5ce2a41a6d9c8fa5ad883a46692b00d8c
DIST genpatches-6.0-10.extras.tar.xz 3804 BLAKE2B 392620ebf627c7f480b0031b9e3e712ec0005b7e83596ef192908cde5740df06cec0605b09a15ba9420919b37a61136611a9e3e13f82caa63d0337f3d9b167e0 SHA512 86511fa64c02b703426450ade1811ce5b3614a6a232cba35f016837572e34a7ea0c751eb90ffe971f6a3321e0f9f61f8f032bd1cab5b0d55f8112acff42b4f61
+DIST genpatches-6.0-11.base.tar.xz 622960 BLAKE2B a8d35eea162ef85aec18ee2b1b57e0d67cf4fd336eb1827b4c2d81f85768ea0b633b8010d100b693d3359ffdc373d19c866383dd2fbfcae8d49cf406e9c6a56b SHA512 d2f07ee7314431f324684340f84cba64c008a268ed42f481a9bc885796cf4ba1dcd787bf64eb0028f2cab98afd0226f1b56cf00c7f160fc2af25276339743b31
+DIST genpatches-6.0-11.extras.tar.xz 3804 BLAKE2B 11aee6c336dde017a69fd47cdcd881db93c2b183fae9924bbcac663fccc3276450536325e63a11407adfa0900e1cb1a017d10c8ebf2bb0f3127fdf56cadb1215 SHA512 c3ede70c3ea7ab481fd2e5862254c589d9fb56e0d91e1e8bbfae0fbfa57d325b59e778c765a28be03655d75763da7f19361f2e14e5f8335fb779a083d9b42b67
DIST genpatches-6.0-9.base.tar.xz 478548 BLAKE2B 916f2b1b5d198adec6f73a0bb52029f4667132e7b7528ac5578134e3ed775d6aaac7989ec5e3827fe16db691f3321ef16b5a29088d2ad81e963f768f67cc2b61 SHA512 6b748f241e609d6191f83134f65bd9010122d5681b080c7ffeff8690f4cb1ab0f44b2681a135689d945de45f4ef25384411aea1d78a5b1c6248e547dc9e5297e
DIST genpatches-6.0-9.extras.tar.xz 3808 BLAKE2B cf37233fbfc631e8ec9d7c663e8982a3bfb154573fa84d13cbb3d67fa73ff38ce74b27bf6dbf827b311826d18c628ef2818a75975e068ce381bc1a46c4948075 SHA512 b4f5d0daae3120662fb79e9f53b7dfd0c15f0a2b7c77a32b7440cc7425b3df87107aabb2cd913a31b7014c9fd1c3c85ab2081839af652ae9d7e43352dcdda42f
DIST gentoo-kernel-5.10.153-1.amd64.gpkg.tar 66529280 BLAKE2B f0e4ccfc14b29dcd25ccea3ebd199a6a61092a42d4df68f36e699cf4059674bb0f3056c348fe8da0322bdb9dbc8806e36e87dc329fd88baa0f39c442324ffe71 SHA512 a53fe9f935e05311f40dcffab224791b64b42f218c78e2737d4a4a396df08d0d21f85858d3767a0df329a038c93e892ceadb3db58646d6f103e6941e0b4aa772
@@ -32,6 +38,10 @@ DIST gentoo-kernel-5.10.156-1.amd64.gpkg.tar 66508800 BLAKE2B 6a7d41f7aebaa3e6fd
DIST gentoo-kernel-5.10.156-1.arm64.gpkg.tar 59658240 BLAKE2B caaef2dcff1b5d0a573f10ed886d9348217d63f4e7a90988ea5b52cc0c0bbd91502fc3eba4318d9268147adc45fe9048cddb385c8566a32050380c8d214498be SHA512 d37b405cf7d1ca24f3a9f425cd3c12717e2287f057e00e74f6fe32ba141d428fced6ee0d44b926f80f109ea3efae0146871f00052737cebe51f777435a411cfb
DIST gentoo-kernel-5.10.156-1.ppc64le.gpkg.tar 55040000 BLAKE2B 9439a94d8924afd508b114b466198d32a63c16ceeebf7430daaea1592bfcca2260bf0cc30e08e190fa8a667718014981204d2f4d8808b0ab82127b0f9004c0fa SHA512 7068e8a72a418dc80d4a0dc9f9573cd4b3d9c427fec053ad57ccae62ed5a954c8b41239006376dcc8ef238ed3b39566e4f50e60f3b013d5ae92be81538e16de7
DIST gentoo-kernel-5.10.156-1.x86.gpkg.tar 56412160 BLAKE2B c3cc6154b24aa7b9d7c9dfff2cbc7acc56170a49dc8e5ae87bfa182ca4e73b69b35af3412c25832efac0a7681c83bb20fd9768f61dd299a9bcb894d3bdaed68b SHA512 4a04f043713fc3ff6dc23da3c78eb995c310c4bb8c31bea46b0c23f50188047d9a5e8a84fd8ce26b72b4d5b4542c6f5d166e9395b0342bbe3e879e34514217b8
+DIST gentoo-kernel-5.10.157-1.amd64.gpkg.tar 66508800 BLAKE2B 30175508771f21799c425c6dfce78f5d05234799c1cf603c60f9a86029e7f573f22e894349b754aefb92110c637e07a3dc5bca2c9c3039bc1eb994603671f4d3 SHA512 81add2f05b09f3c83c80a9a65436d6ea8b734cd9eb679cf2c29c995e7b020e30ee642f13799b705efcd598735e3e9f3ca5e3561f756dbc7985fe65a5c125a0ef
+DIST gentoo-kernel-5.10.157-1.arm64.gpkg.tar 59668480 BLAKE2B bbb5b9cab59fe63c23d0c6f9eaf37c2eedfe758eac152fc02651bcce00097db93c86a28e4a02b3366b96c279afef5de7563bafbd45f985b9126ea58a5b3ad529 SHA512 fef03b3a55e46c07b3b3e9f9ec52c0477d703e7a36fe6304b2967af13e45186bf6f7c573334eec117a863ff0aeeb06957d98f3483007f6e2d0ca35bc8f232042
+DIST gentoo-kernel-5.10.157-1.ppc64le.gpkg.tar 55040000 BLAKE2B 3a83a54ad2a184eebaa718e0f56d5c0d4a4a60a87c36a8e74492e1d37cd491af541053540ec65e9d57314c420f323ac0fa4e1f12b4f3d365f060f7d6795e1f2d SHA512 ebaf6e10252c8958c1d404c283c1d134c44aabfbd4d0206875613ffbb0714ff988f24d1c17e1991bb20b28668bb214574d43a09166c733ae5a643e4d98a8544d
+DIST gentoo-kernel-5.10.157-1.x86.gpkg.tar 56422400 BLAKE2B f09b937fbf1cccf29e873567c3f8de8d5bf5e3fd1c9f3ab1c75ef3f27fbaf00b635139ec22f6dfc6ebde5bcdce0049f1d01404132e9fa0aea394373caaa0a32f SHA512 ee35534c4b1892d4342f2b294ef9c7da5c5e3ff217bba17b8b0b6d61c8e43f9ad7607ce509a36ab63041d9e3a0de5596095f790bb2b79d27375f782d9fa1c4e1
DIST gentoo-kernel-5.15.77-1.amd64.gpkg.tar 69806080 BLAKE2B bf5bd50028af7efb16dd50669486f265af7be14b603a32d0957f7630fca2c68a151152e62eb62c5050fb4b22b9f3084d2ddcd263b4b34fb1e6f29a468c7a0b93 SHA512 b8fa25be9b0bc56a7ca160407414e13ef0b0a369797baee743cbf00514ced83edd0ac0f97698d899b80f015629cf02f2ca6b81905ed59a320be865305e2b7cde
DIST gentoo-kernel-5.15.77-1.arm64.gpkg.tar 62873600 BLAKE2B 1a12189a1e45c2663686fc00da11e411d9682cadd4a90e64961b81da73e7e5b4f2d82e8f90c1ac34a1a66fd7df14946e4ec5c4bae422736d05095bb9be527518 SHA512 b2fcabeadcc74557ddc8e0f732103e234df218fb07cb508638c57536d478e6fa1c545fa92608742a0e074242123f3e726e7a3e6e1de5eda912855d274236c27a
DIST gentoo-kernel-5.15.77-1.ppc64le.gpkg.tar 57221120 BLAKE2B 82833222c08fbfd9fab8255e9ccd768bed260d59b0b93b852fa0022cf207817b2bc774b34926ea6331d5d0ab6b7c09619036d76506bff87d231bbc98b1845dc0 SHA512 1fc6be941d361e41e5560744ab38c8c124ed2fe32ad99320764564c892be346fadd85a4d0e4a4bcb264102e1db7d617101329661386deaf2356929b9b61af3dc
@@ -44,6 +54,10 @@ DIST gentoo-kernel-5.15.80-1.amd64.gpkg.tar 69795840 BLAKE2B 88aac1859dc18a35c93
DIST gentoo-kernel-5.15.80-1.arm64.gpkg.tar 62873600 BLAKE2B 4eff285c6caef0120a604bc83e1bb4e9faca4217b84ddafde768587cf17c642a86761bc803a528ed7a6edec7fc7d5d5c44f1c766233aa0597461aefdf114f894 SHA512 7cf1fdbe6de6a31165ed608b9041b00824935b09e72e36a3eab0be8763d1430c23842f23a99d764387c268f9a485635d346275f746ea8eba685e6f8abbb6b610
DIST gentoo-kernel-5.15.80-1.ppc64le.gpkg.tar 57241600 BLAKE2B 7580860335c37f55ac3c676e784b84b02296324d07910d66a5a8974c2c4410e22f49c03c5ac1f20e7dc81b37922ab052cf3c918606197e51a38ab6e3cea88063 SHA512 aa9f22f64f2f652113d4d4f4ff56934c02ff32053293a05d9075052cf8151913101de38384037cffeacbc5b2f8863add45d18d1646b6bf57b49f46ca7eb23572
DIST gentoo-kernel-5.15.80-1.x86.gpkg.tar 59136000 BLAKE2B 4a0733a6d3754b7fb1b158d8238673b0e380dff52366346a03de5608bdeb7edc2987560429382beb867869adf1f5c6d7bd1594ae4e1f60fb34fc05ec42f923dc SHA512 44b79d83902ba38cc62d972670c16f3cf22ee3a1bf09afb37aa9e174a8662925dbd62aaf9090eee0323e24106fa9aa6ba630fa22cfd7df08e2988c9d9b3fd7a6
+DIST gentoo-kernel-5.15.81-1.amd64.gpkg.tar 69816320 BLAKE2B 506d2ea11e65f74f9090b82b5ee06cf7d878c69a2e77563156db4f1cdf6fec2c64bd827f7e9d095a013762a4cfe166c92f4f0800f86c2e44866ebb5366e3692e SHA512 426ce486b9f7ac07067153bb8a9e9cf893129fdb1119a852c8a38f1f91f2b684566352d0968a420170039053775a145b4a2f094c764f5bbf3b3795629e0bd175
+DIST gentoo-kernel-5.15.81-1.arm64.gpkg.tar 62894080 BLAKE2B 9eee1d74fee49f54380d2c02f1893c6de1541415f30edb1ebcc9ca9c840c80e54fb6289848d057f282a1838b4762cbe83323c78e8ee8016298297bdc86bf24d4 SHA512 2c6eea3e540b9946f4ccf0047d8590e455e63c88696356f50ada2be2ea6339c28897f9449c9feca0f06912edf4ec20c8b68c3e28cad8d1bed6fd43eda39a96fa
+DIST gentoo-kernel-5.15.81-1.ppc64le.gpkg.tar 57241600 BLAKE2B 506ba660d84269d1bfa43740821ec42c154b0b6368b859e1c14af2a69cb14fddd7d810da67fc2342e6f5b866adf4746fbb4a48fed851dc10a764efc67df027c6 SHA512 f27fb006f671efadefb02d0e32d0737a9996921d0ba7703ad1693ca3ec352a15b0d262c4a977d08143b37c79fa3ff05e35acf634768a27aace3c0f039f18c28d
+DIST gentoo-kernel-5.15.81-1.x86.gpkg.tar 59136000 BLAKE2B e08f78294d8b9531b2fdde62b4a1f1c258c3750ff02ef6879529806ba8e9be5f65a3faa940528ffdf9db4849c208e537a67d59df63d6383c5cdac2e52a37f966 SHA512 65fe61ff259465e77529d532a9aa84a9e0bbd4d4fe7ec4325a4756766c3ecd7303d1389272a5f196fabbd62d7eb112607194104e99a572c41f9d6ef1cfc3ba80
DIST gentoo-kernel-5.4.223-1.amd64.gpkg.tar 60620800 BLAKE2B 1fbd9fdc06da23b51f136db8eb5d2db76110116c5f73868b07162d853c5ef95094f953bc02686f2855b9b5b0954792c4eac884f6f81c1dc524d8c14e4310849b SHA512 9ed74651baff980bc578eec8cc66486d5183a042943e77d6f11e37ae26f7b8892128b1886038ec4b683762a61bf1a35ba2cd571037118557f4dd4f4494b2c720
DIST gentoo-kernel-5.4.223-1.arm64.gpkg.tar 56821760 BLAKE2B fc2ce930c0bd6d3c3efd51057e40bd1c83db3a812c8aac5996d05978aae4dbe6163012699c72fec553d83e1397e6cd9601fefbfe3105c30523ba49f1daac4a52 SHA512 d4fa5d7570c6fc7534d92ff23fedb2349196d0b07b7a8ed8fef43b40cd6a63205ffb30378340f704652b4e3a16b45aec3ab6bca9ae308548197c5c9383a1f452
DIST gentoo-kernel-5.4.223-1.ppc64le.gpkg.tar 54343680 BLAKE2B dc69045d3281260f370a97e2f77315f8488fc730980e7b3a93cd85ef3fd3044e18a0f8a1bd81d48e33acab8eb41b07fedc3679e4b1a732146d13b3552febb753 SHA512 b0463414a8a1503d393d8446c399269167d871591da08258a258f280cddb81bf8a6f20f4e3a9699cb64f2d7118bd0347b77cdb52f7340486a41b8bcbee1f6ba3
@@ -60,6 +74,10 @@ DIST gentoo-kernel-6.0.10-1.amd64.gpkg.tar 75939840 BLAKE2B c97960c5c989babe1e70
DIST gentoo-kernel-6.0.10-1.arm64.gpkg.tar 68833280 BLAKE2B 59dc4659c3bd764768c6cd00e8bfc0db79ed61207d6dac58898b1074adba764e88f6dfec6f910f04e7615724acfc57826691cdc4453dbab1cc1a049785abfea6 SHA512 e1b27ff83e9c937072e829f7cc0753e423d4aa75776f92118d28a1f8d056c4d27c61d562ef36aeeb67aebd8112c8acb2eda7170b66e476e8c4fb62f5b6b4100a
DIST gentoo-kernel-6.0.10-1.ppc64le.gpkg.tar 62146560 BLAKE2B 906a047c07a7091b3375c3a70ed84f87b2507337bac3266c86b133e3f4b4dd256449f926d5a54b76bc050ddd3dbf553e6777c8e3ef54a655a31376a00193cfee SHA512 961fc68e368d4a348b103876c6255c7ec25497a06600077b84176e25d99a782e335201a7b74a3cfd80f27c9da82c4ab323d55a7d9f1279fbcc4fbabb8f1f3f61
DIST gentoo-kernel-6.0.10-1.x86.gpkg.tar 65320960 BLAKE2B 772bdc37ae495658111c5f998c9874eb9947e2a37ee8e0c88d75c9f3e1d981c1e57f841b444287ee334d9f5930f76e2503f9a3ea6154b3bf0a63e9d601b4e079 SHA512 545efb78abe864f1248b4a85f8bb305ced09c343aa0219bfc262789dcd249abb61c956ea9178297b1cc4a188e2fc14b318c7f2c8e39d54daa5fe954b8f266b49
+DIST gentoo-kernel-6.0.11-1.amd64.gpkg.tar 75939840 BLAKE2B 1329e7efccefd3c374ed10540a234022f1baf48963273baec128642a86af71aaa9acd5c459413416c03249e3d26d2923054ccd5d3e803ac3fc046a95ec2c8306 SHA512 0884a4f16e05911efbadf6860289983fbe10d848c840fa71c60c4009d557bafb0180665e46e376f8a5544db209c0cf4d21498debb71ce45893c54b335074fbc0
+DIST gentoo-kernel-6.0.11-1.arm64.gpkg.tar 68833280 BLAKE2B 59ad7cc5b1f335fcf38e2692ad8dd19d2f3064318c812053f443b8dd8f713d57a7d67455418b704112dce3ee215e3059cef6c9142cbe9237a7ccfc9b60ca5af6 SHA512 691e7e9541aabb60ec66190a60c6055d55eaa6de8d5ad624a044b77db6fa9d5def564646809b4458e6ed033fd13b7779592eb9f649daf551bfc5dc4f815e6cce
+DIST gentoo-kernel-6.0.11-1.ppc64le.gpkg.tar 62156800 BLAKE2B 8f7de99ad123b81e5ba2076d2bc433af111b225cca3d73c048d9f76a62a23d5bad06cb1446e9a5d3262c392f06f7f7808d730a9e2fcff987ca081dc1668b82b0 SHA512 36f54148d397833c8ece3f80400796f536d6b6c2e257ca6308727ebb831b605b7664d33c5f70c00c913e50ab34d42df5db110f4e9a8df060a398ac4c42f8589e
+DIST gentoo-kernel-6.0.11-1.x86.gpkg.tar 65320960 BLAKE2B 408374e900ee79394e24bdc9c1773fe0ba7c4401cce4f1abaa27cc89fac4bb4d2ecd26a58431bbb76ffeff4af6f6d9dedb881c6f6919722dbd09a5f294bc2506 SHA512 41cc0cfeb8ef5ace445edb17305b1dc039c1e133cb8adb745885cfa4a1a7b7c4edbdc4ccfa3cc6545ea20dcfd3a2a2a9f849fe7498d74ccab88cc065c4b4a0ff
DIST gentoo-kernel-6.0.9-1.amd64.gpkg.tar 75929600 BLAKE2B c8798004001baece32bf8a6e242423b04b7e4cea4876fb42baae7e2299adde61591dfa62d06ec385db8ac1b985e8353dccb797b08ef0c42ea21c054c451f27f1 SHA512 4730dff292802f82fe9b6d1c73ab0eb42d00b2d9c7d672ec347c59a0dfa1a586f773a2bf1b6eb7d4e905da1ef678269715f55ef275cd44556520f163002e8cde
DIST gentoo-kernel-6.0.9-1.arm64.gpkg.tar 68843520 BLAKE2B 6eec02147edfe83ec7a6a62a5d02d6982649c28654f160223ae6e8479b6071174a26e256ca8504e9a8ecb0f6b26036b2972d9be71f6d23bd6c5c627bf203707b SHA512 83cc9b1022bc652cb5a8105c58f3dcda1c21216ffede67835eab9bbec58cf4c2188655337f03692fa1c1b2a4d24ffcd99c49cdef7300a9fa6f1a4f9b4d642628
DIST gentoo-kernel-6.0.9-1.ppc64le.gpkg.tar 62146560 BLAKE2B aff5949a4e9e26f2a63599953e949c8747bef2fa7ddf05e25b8bb095dd1635d3ffb03d37608b6e84e111616d1438425da0a39f91c0621fab8bc1c0cbe5b926dc SHA512 555ca3733ad5883b04100cfa934da2b979e22f2345a3b5b88b86efbf0b9c111d52062b0a706c00b58a4f891c9a6e3e57350f2efca09b249bb71a4af8e16749f3
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild
index dcef0abe1c6b..8f9a87c041fc 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild
index 68c76733c6d6..7d5170bdeef7 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild
index 2c7bd7e68a84..ed83530eaf90 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.157.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.157.ebuild
new file mode 100644
index 000000000000..26eed75d6c06
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.157.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
+BINPKG=${P/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ sys-devel/bc
+ sys-devel/flex
+ virtual/libelf
+ virtual/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP=":"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ mkdir modprep || die
+ cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild
index 93026dac75dc..7745a774a549 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild
index b8881b6e8b6a..cb9e8972e872 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild
index b45778f8f355..2322046c58be 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.ebuild
new file mode 100644
index 000000000000..9c843f83530a
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.81.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
+BINPKG=${P/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ sys-devel/bc
+ sys-devel/flex
+ virtual/libelf
+ virtual/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP=":"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ mkdir modprep || die
+ cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild
index 7d29184e6c6b..9633b9065aaf 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild
index 7c3bf64cd0e3..bcb056d69b17 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild
index 7d29184e6c6b..9633b9065aaf 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild
index 2b0e14e98e55..2f8f3d790587 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.11.ebuild
new file mode 100644
index 000000000000..2b0e14e98e55
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.11.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 0 ))
+BINPKG=${P/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ sys-devel/bc
+ sys-devel/flex
+ virtual/libelf
+ virtual/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP=":"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ mkdir modprep || die
+ cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+}
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild
index e26c02363e05..480f0764cb5f 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
sys-devel/bc
sys-devel/flex
virtual/libelf
- virtual/yacc
+ app-alternatives/yacc
"
QA_PREBUILT='*'
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index b9cfccb1a40f..1a107aec4717 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -4,12 +4,16 @@ DIST genpatches-5.10-164.base.tar.xz 4386332 BLAKE2B 88887f7d89de037788c0a5d2bd3
DIST genpatches-5.10-164.extras.tar.xz 3868 BLAKE2B df5c97a2e0caf890fdcbc564b67226b66e1a789bb8c972761ccb912a7c1d3f0678381fec5da17f73661e302bc3cbcb3a9cbd755696e5c8a94ab9ddb9e6c8c89d SHA512 4355ad2bfb6e0d706346df3bda7bba4c7d3c6145b6707df1536db2588d72a3c0e6c42487296272149d05c06c99f5524bdf724bfdeafce250719f696cd566d43b
DIST genpatches-5.10-165.base.tar.xz 4410392 BLAKE2B 67300432c6ae3009843c2dbdb514228296716b3fe884cec9307ae75c1848839633e504d287fb059f7766f7ff545fdab0566b79938d06053b1c82d2aa6f928f7d SHA512 208dc3840efce5d0c2e57926ea7a29890f3998b56fa2def90046cdc1358dbd22a8a597aacca754f60b7b742c65a9e541fdbc5b57b9838fec287eec8131fa2023
DIST genpatches-5.10-165.extras.tar.xz 3868 BLAKE2B 1cf0214ea5d61c180a97e99697889bb0ab5b1e7a3a7c0f3c3492e9de424af586975dde56e9d8d24c0222f88872d27cdb763c02cdb64e293e755a6ea107e22a23 SHA512 b1a18819991cbc9265bd0aafe0ad4d20402efd6e96c7d68f509bdec0177cc4509d9f71b8dc41b906643498ebb9f51721df31fdaee6dd69652c01237fcb69717d
+DIST genpatches-5.10-166.base.tar.xz 4458748 BLAKE2B 6bd32230b72d16a642c85296918f467d181389087aea84dc1b6fc922c3091f444169f15461a438480e90de59806e0f0cb50f51ca40a590369fb1ae28d48018d1 SHA512 8897cb2a53f226e40193ef67c498f48270c1833986be3668e47da426b8d4c37ef59ea2d09b3582f457017780059db2430d42202e48e55bdfa697ecbc64f19183
+DIST genpatches-5.10-166.extras.tar.xz 3868 BLAKE2B 9de0bf3ec8b5d3cedf60f39ee1daba0ad24c23a3f43b9a35faa9b3bbc874b9fca5a6273f79ab840ced2f3880f779e0c4acc2f02c581d75618747f7c51dff6cd9 SHA512 6dfa61ebb4b6c08dfe42d3fa58def0adce6864ca2a8609bcf57720035b345f238aed22725a7e371e3ae562424049fd22da6c4c2dc5535da4b6820f645d832059
DIST genpatches-5.15-81.base.tar.xz 3257712 BLAKE2B 66e0d129053b2cf3ba59681318be5c6a62d469d6014535bd4b47d5368a7718db7015ec1dfab34e4db324b4d626f8f8a9219231b2908c3fc2c2d51a3f99db999a SHA512 f43d637c799216e2bb99cfbab9c51b935d02f2dadaa0f2fad238f14393340420523c25927c10fd6b69745972cdf4e7f3e23cd56eea799626c69f4fb7d44b8e49
DIST genpatches-5.15-81.extras.tar.xz 3932 BLAKE2B 0783c48eab8d9f53d07770a3df525df2ffdab8f36d3d7db2d22e2fc5b0d1fe904644b013a3d1a5ea3d967636d4ff91b3f208ea8f004adf310134b98ec5cdd0fd SHA512 be4b557066d8d2327724c8be440ebcedb01d0eadab7bfa0f9f230111cba76a2623bec0945fc887b91d6e5c73eec3eec4fa29b2e76606e7871e81a91fdc4b2bf9
DIST genpatches-5.15-83.base.tar.xz 3328188 BLAKE2B 5d8da81e1c5f936ce49589d1dd10f41246a6059c410c0215b495ca7401eb618aa6c87d2ae23b08f27e3be5dd6b7f88e5d4e90ec9950924db9a08375d45cb2da3 SHA512 fdcbf6bc1e17f04df9d8334c1c75f21e5ca60fb99157708a4c599e43ed20a58664fe54fe8467924623d612ba2ddd409af4840195369fe274a4f55a84fce12ade
DIST genpatches-5.15-83.extras.tar.xz 3932 BLAKE2B 42ba0ee79654687ad5c858344ef7a1787c23fdadcf312788b2f53e739bd6319b3771c89d93eef7f604bd4f9275777421fcac09f8030af81cff6b3d9482b8e804 SHA512 55873c4cac9a4c5bf030b562c927fcc663a9a092602366d170541050386d427fac2dd8ac013d13b700bd874e47655d10b2cedb5b4c1034f41819c675aea80506
DIST genpatches-5.15-84.base.tar.xz 3361044 BLAKE2B 355479d56f6234f63cdf7acad501784edc72f3e55ff6ac0e09ac26004c38aa30fff62893036ab413d0e8f1334a41568c59e075452b5c3909f88b8f48f0104748 SHA512 7a7a3b03d5aa348c7e4c5d4d7e4972c8538778367a9eb1984c1f0b3ab202ad27b92d1fd7f29dbc3fbc17cd413d3c1a571f5201355b27c22bf0f55bf7f0d57206
DIST genpatches-5.15-84.extras.tar.xz 3932 BLAKE2B 1729d46e8de60b40e69fdf7f63048d9c4142de4a4dfd75695f3303034b1b1732aee6c20a62a3f2d7b4b464e22babdd6261ae4249a79f79bcd7c817faef55ad5e SHA512 223124d0323024c383ca342969404fcc514596364a90cc98bf8a8e0105e5c2420973a2efb6a47c732775a4672fcba4d3d4386a8fa5350e8ce8a98dcb6f5718fe
+DIST genpatches-5.15-85.base.tar.xz 3424456 BLAKE2B 3b5dd1fbeec6ecf40e922ad97662312346a72b81f79a40b0066f5773bd9ab63c979e4ff6564361e44b9f3f49ffd2f3cc47118934d0598d49d0e1be49b65b4e78 SHA512 f36cd6153eccc29ff7ec0e97eab85d6c0918928350b6dfeed97994435b623cc6015a9821655d0fac2b1f68370ccd8d0fbf88d8b3854ee2d9a7ded7e281eb4e1e
+DIST genpatches-5.15-85.extras.tar.xz 3932 BLAKE2B 466a3564c1d693c90d925457720960f79221d99f740b5ef67152dbf957d9c44a07b867e916cbedd32c92e268341bbe05d3fe40663e55c358cf4439d3a343721b SHA512 03b9f051fe6a8415b693a64242d00a457f7640dd8fd6ad9659da8deda9ee77b8c52769bb60ca5194e781696e80f703ca17bc1277b1979e1f79e99144a30ef664
DIST genpatches-5.4-228.base.tar.xz 5198204 BLAKE2B 35942e1ffbfd792f2479ce2b97c7f191cf5fc5712ccf101ee1f5f7f0486d53da2307237fc2d50fe0353c82557df03fbdfbc669949616dfeda69970628ad98ee5 SHA512 333dd865d3f10083566ddf43ff4d159a6842c3ed92c703dbcebd0832b0fdbc53c0025856eb1608ac485c805702608e52c600e08922fb831536bc6a099f74f1d8
DIST genpatches-5.4-228.extras.tar.xz 1812 BLAKE2B dc4f0815c8915ae371db4da0ecc1066a269547ba1a967a6067121de25c06445356b6f1339088d402e7f9ca5dbb91b49ab717dc3168760cb26ff3e279177e16e4 SHA512 7ab2f0466b677b3506c080bacae1217b54b35ccb45f65000757bfa09e3ca2834a3b78c4b03730f11c6948be3e3a04c1fe3bc562585248039185d94ba805adfe7
DIST genpatches-5.4-229.base.tar.xz 5214840 BLAKE2B ede38de7b09b59ab96596aa4e47f7d2dff06e8e3e403e0b3a15092991bd21504ccffdc21b8fc5857fbd21ee89842f7a6d74fd88b5c7426ae2a5dd3d50ce8db51 SHA512 ad086f2b00e870d54b1605eac7fe537654c09830b69c316cee71a7bb5e621e6ada37ef780c4d2c3ea9678e4a72c19355acac2648e16943ba0dde4e711909826b
@@ -18,6 +22,8 @@ DIST genpatches-5.4-230.base.tar.xz 5241272 BLAKE2B 59a4ad6f7b2f3380e5521a2d48e7
DIST genpatches-5.4-230.extras.tar.xz 1812 BLAKE2B 62c614ec2f856867ab6e6953fcbe533fba508263a2f0e0f9e422ba9c4f159af9564d8ad57368f4e8a9e645302b3cdc8ef1ac5a626cb8e18380c025f3290ba56a SHA512 911595072c899538d66313d24585df62a9dd4e44e46980b14e1b6d0c61a64d55b6a66e4b30cae49965900bbbe634c2ebb36aac1d084038829da2a1a59b721186
DIST genpatches-6.0-10.base.tar.xz 546380 BLAKE2B faad43e3066e880e9074c57499eef61f85a8279cb37b7c999f41194588c766bfcb529cd6bd43b234e865c837ca970706935d6fea32fbcb46c49e9a67d274f262 SHA512 c4e37e027f8c9c7ce833d4b5c887b261bbe617222d4b1203bf0ccbb35b384bb185bfa5e3bccc187e7658baaa50a015a5ce2a41a6d9c8fa5ad883a46692b00d8c
DIST genpatches-6.0-10.extras.tar.xz 3804 BLAKE2B 392620ebf627c7f480b0031b9e3e712ec0005b7e83596ef192908cde5740df06cec0605b09a15ba9420919b37a61136611a9e3e13f82caa63d0337f3d9b167e0 SHA512 86511fa64c02b703426450ade1811ce5b3614a6a232cba35f016837572e34a7ea0c751eb90ffe971f6a3321e0f9f61f8f032bd1cab5b0d55f8112acff42b4f61
+DIST genpatches-6.0-11.base.tar.xz 622960 BLAKE2B a8d35eea162ef85aec18ee2b1b57e0d67cf4fd336eb1827b4c2d81f85768ea0b633b8010d100b693d3359ffdc373d19c866383dd2fbfcae8d49cf406e9c6a56b SHA512 d2f07ee7314431f324684340f84cba64c008a268ed42f481a9bc885796cf4ba1dcd787bf64eb0028f2cab98afd0226f1b56cf00c7f160fc2af25276339743b31
+DIST genpatches-6.0-11.extras.tar.xz 3804 BLAKE2B 11aee6c336dde017a69fd47cdcd881db93c2b183fae9924bbcac663fccc3276450536325e63a11407adfa0900e1cb1a017d10c8ebf2bb0f3127fdf56cadb1215 SHA512 c3ede70c3ea7ab481fd2e5862254c589d9fb56e0d91e1e8bbfae0fbfa57d325b59e778c765a28be03655d75763da7f19361f2e14e5f8335fb779a083d9b42b67
DIST genpatches-6.0-9.base.tar.xz 478548 BLAKE2B 916f2b1b5d198adec6f73a0bb52029f4667132e7b7528ac5578134e3ed775d6aaac7989ec5e3827fe16db691f3321ef16b5a29088d2ad81e963f768f67cc2b61 SHA512 6b748f241e609d6191f83134f65bd9010122d5681b080c7ffeff8690f4cb1ab0f44b2681a135689d945de45f4ef25384411aea1d78a5b1c6248e547dc9e5297e
DIST genpatches-6.0-9.extras.tar.xz 3808 BLAKE2B cf37233fbfc631e8ec9d7c663e8982a3bfb154573fa84d13cbb3d67fa73ff38ce74b27bf6dbf827b311826d18c628ef2818a75975e068ce381bc1a46c4948075 SHA512 b4f5d0daae3120662fb79e9f53b7dfd0c15f0a2b7c77a32b7440cc7425b3df87107aabb2cd913a31b7014c9fd1c3c85ab2081839af652ae9d7e43352dcdda42f
DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.157.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.157.ebuild
new file mode 100644
index 000000000000..4824ab95a1fb
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.157.ebuild
@@ -0,0 +1,131 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.10.12
+CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
+GENTOO_CONFIG_VER=g1
+
+DESCRIPTION="Linux kernel built with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel-bin:${SLOT}
+"
+BDEPEND="
+ debug? ( dev-util/pahole )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+QA_FLAGS_IGNORED="
+ usr/src/linux-.*/scripts/gcc-plugins/.*.so
+ usr/src/linux-.*/vmlinux
+"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.81.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.81.ebuild
new file mode 100644
index 000000000000..4ea02f952baa
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.81.ebuild
@@ -0,0 +1,131 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
+CONFIG_VER=5.15.19
+CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
+GENTOO_CONFIG_VER=g1
+
+DESCRIPTION="Linux kernel built with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel-bin:${SLOT}
+"
+BDEPEND="
+ debug? ( dev-util/pahole )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+QA_FLAGS_IGNORED="
+ usr/src/linux-.*/scripts/gcc-plugins/.*.so
+ usr/src/linux-.*/vmlinux
+ usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
+"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.11.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.11.ebuild
new file mode 100644
index 000000000000..8dad214e738b
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.11.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 0 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.0.8-gentoo
+GENTOO_CONFIG_VER=g3
+
+DESCRIPTION="Linux kernel built with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ amd64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )
+ hppa? ( savedconfig )
+ riscv? ( savedconfig )"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel-bin:${SLOT}
+"
+BDEPEND="
+ debug? ( dev-util/pahole )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+QA_FLAGS_IGNORED="
+ usr/src/linux-.*/scripts/gcc-plugins/.*.so
+ usr/src/linux-.*/vmlinux
+ usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
+"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ riscv)
+ return
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 2b46b2828e93..5d189c324766 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -26,12 +26,16 @@ DIST linux-5.10.155.tar.sign 993 BLAKE2B f18041ad4bb9034d09bc14b0fd0547b60fe3434
DIST linux-5.10.155.tar.xz 120504084 BLAKE2B c178868c5347831131b9633c9998738500669c9f4230783a693a4fa6d8b37dddd3fe729c0a57c051ce33943ef99a992ca01647f2fca7dea7c76049ba87eeedc0 SHA512 fc763f7854ed5e8964fee2acc2f521caa215cbfa76dd7a054173fcf37f74ef543820e7b026c0ee2c01c178eb22c89ad334ec9559950772ec278d78d95b32d33c
DIST linux-5.10.156.tar.sign 993 BLAKE2B 52db65697829b5ff0aeeb6e781bb82c83d79cde3f1f8ab8abb735ee15ed74a09e0915ab2d7295152c596e0c6ff615ae1115968f4aa931804a4e177a434e898d2 SHA512 ef1e5d7b81b1b591d4de3e7ca7f26c327c5ee31eae3bae889833817be71b75268f403043a646f837f4f10f0f4fab6251aafbdd9c3f05d3a34df8507e194f5842
DIST linux-5.10.156.tar.xz 120497392 BLAKE2B 4bf8a02cec0a9cec6938a1fed74ca9a8418cfa68433d87dcacfcb4a0f409f3ddc184a0e1157915ce79543b95a9a91d30665f57430e1e290482b08da692c4f11b SHA512 a2cde98dc8f5e5b9a84db0f8adb4e2343e3873068f4dc40676738f9d1f1b7c82670f62c9c4a9f4800f6196de2f79f3ba071ee3f8382c304d16c6892072d72900
+DIST linux-5.10.157.tar.sign 993 BLAKE2B 833fb80728f064329ae8c620b64df6b7aeb72d12a85f12a1d2dfe70be53d36f04a6f8f288a911a98be576fd52f929baca1a20fe52a9b29fce61d958b30820c22 SHA512 2c83298973a3c96a5864f30f026db7ee682cd7e5b470e08a688115c44c13db8addf09f254f15686ed05f76a2f9043ec401435ed32df30f831158a746358ce246
+DIST linux-5.10.157.tar.xz 120509492 BLAKE2B 7fba765d729366a7f1f3c2c4441af1a9a1bc382d6cd4d579b47f09df6c49d9083ae395b61558776dfd5ac0e3017375c72b1d47585d0a32cea0ebc6b34e3c37e7 SHA512 2a77da776d3ee668ca42f87542c5e4a15c806b35949de4b25d9afe0aa79514aad459d16d1a7d6547312ea6173d25250dc867a75f7f66b738b959e47f4724d988
DIST linux-5.15.77.tar.sign 991 BLAKE2B 9f4d4e7d3f21a02f95771d7931212f026ed2543c8e7e6c6e96fa83b87eca089c18f131a9242519e13b1c4ce01ae86503097e6ad1b79316c203184166d27d468e SHA512 eecda297590a14f010af600cd757cbede856665d6bd09fb9f95b88ea2650bf4ec18ba7366348d66e898237812311a757f1d640986815dca49bad7869027682af
DIST linux-5.15.77.tar.xz 126468704 BLAKE2B dcb7d95f577be18735f14c1a75148579af40bc35e57228eb7d35453cc8ddf9b6f9f71a7a15608be22049557ba307eabf5df42504f95cd6f414711733ff6b0738 SHA512 3b557ad399606deb2e00077da7c57af534ff5bd395297db534a9c643ff6e95b29b315d15bcb453255875785264347949a7e52ef3a676b7dd12db10764a6a5646
DIST linux-5.15.79.tar.sign 991 BLAKE2B 49494481a44ee6917f39b985a08f544e3295ece6c1b143cf27248b10975e4c2610d5f7102c9df1606478ae18689429d6971ceccb78e8a06f1d76746628cfe243 SHA512 6bf59132c8d773d663209266393b5d327fb60ab7dc6f150aba1ba32cd1c4a47304a28a548114999d208cd24fb14418181317eb6dc7c37c840a489aa934ed5c7f
DIST linux-5.15.79.tar.xz 126467592 BLAKE2B cd87a3892bbabdbbb2eb0731125c8e48fd3602f10411452b9c8834b38977a9868db79e766cbc542d03c63cb239062c78d413db5815fe60039fd92e67178afdc5 SHA512 5583f5fda70b2abe42212b254fe069f645845a0d664a806435acb898f87470ed25f6591810a406840a5a85479061aea6ed991cdfed29ca540b567d025e5d1326
DIST linux-5.15.80.tar.sign 991 BLAKE2B 755c03e2ac0a88fcb973fc66e6d697056817d26cb9dd1167637c8b0a4599a954eb1a9fdb933d78249209370109bbe9c963b4417e2beb1fc74f47677c6474c41d SHA512 ac44a4eca608b274cdef9e0781c2d2fce6687ec556defb2d1ebe4da03190f04b3662ab29c9f341e62c4af429fce2b544f8597891f8649de120136e89c7b35453
DIST linux-5.15.80.tar.xz 126478832 BLAKE2B 750121c79c4c7a64735cfe9417eb15689d1e9796810c4ae1f56f2bba9ee5cf4c5c920fa8d8962b24c7ca016ca6e23749a5da86310e52e6710744f61f2704cf0f SHA512 6434e6010678dd3c15b201ad9dd12a2a6d8293522038052259fb9957346296b156aa8ef29b6b7207de3ce4ffdb3af41bbef4255a9f73971eb15a2513c9901fb3
+DIST linux-5.15.81.tar.sign 991 BLAKE2B f2a1c630bfee0e4d6757ec9c7e8775492d67bfa4da396a78fd9f7d25986d46aab6cb9e16d138f46bfc7bec86686a8e08eedb9009d3fe92bfd6c1703cfeee7be9 SHA512 a4b33ff45d5e4afa8fee11c568bcb0d7a351e2354dc2e60a4f4300c3daf1d25727c390e7c1148d8e433a792beb953316f6ffea27f3cdf9c6c1460c4ec14ba792
+DIST linux-5.15.81.tar.xz 126480696 BLAKE2B d961466fcf7050b24ef2d52497bf1d6387064079030ee093c1f09ea66132a1414444d1111eb8b6cee551322cc4a074e8766bcd4062a92dddb311db9598ae6e05 SHA512 5a4cae2ee07ce73518b2f66bfb1b1f9f9aa5442ab5c5714c9bbe531cd721717810f3a0fe2a2cbbb033981bc535802fb07bd935682bfd6cae71349178a77b8319
DIST linux-5.4.223.tar.sign 991 BLAKE2B 83aff68008cb382f7d6a9be93ecf6737cd3dc7d7291da646b24d74f9930bcc072bb4033a54d4c9cf0a3088ab908995f61186ae84c05a4b9f3834ffed271ed7ff SHA512 e9fb0e7fa915ffa1b72a9f9e447fb4afb834611921bb5e12ee6b7291385bf8e3d6113f7d9c3587cacaacb14acd8fbeb067eef1f44ef90be40ce8ea6b1cfd3e09
DIST linux-5.4.223.tar.xz 112946132 BLAKE2B e5669ba0e0e05d468eb8671da24fac4188a6cdbf66201d3a4c66759435997be541994dee2e3f297f6968857c675dd9c6485efde87f9421f7cc0618b692b005ac SHA512 45fb543b2ef59be495106e253bbb2249fe71f9727a9a7d7a16738820db12f9fb5f580594699f736d157f930cf3a712e09595689a3f9954cfebbfa99f04ffc681
DIST linux-5.4.224.tar.sign 991 BLAKE2B dc31a065cb747f537923a743d84a473e3724413141242a351d684b155578272156e4476646f3eb5b5bda2fee190604234294a155faf72d7075d60cba32d4b2a8 SHA512 13a8c4e7b2500ae32b22c0fd49f447a3ae2cb673922ae8ce478dbd713aa09acbc0f7ac2356d1d9303a537dc1710d485d50c4607e6f98ec7055604e1fd4b44ef5
@@ -40,5 +44,7 @@ DIST linux-5.4.225.tar.sign 991 BLAKE2B 7979abcf47899c61a9a661d73bcb07b097507e3e
DIST linux-5.4.225.tar.xz 112975708 BLAKE2B 1fcc64d4a71f4c1b9ae282fabd37a542f53b78b023cedf657a9649b5a1091b27677acee778c28b7919dfb634e4e2494f868ba7ceced2ae4fc5f3d901b9b02b2a SHA512 2519e9ca893014253e7af9e1e99168693c50c2c39a819a65105dc70f5ad6906d9348a61009c0575ffccc625b7df49c6e1c51bd141bf7b9f64c4ad9f5a173ed4c
DIST linux-6.0.10.tar.sign 989 BLAKE2B b61afc42b98f495da3e93ad800a8256fa330c5538e52a68ef4bcab382e3a0dc423e89024b2840e7063857f3db82ceaa06ec21d84f8efc51c65c1090e12de7a9c SHA512 90a8d3cec46b748eac6113e338fd26f19d2e4851487361ab38fe2d6a6abd0f6afc8db18d913a0978a774f26297cad944fd5f0dbca9a176462a2995742b7d76a1
DIST linux-6.0.10.tar.xz 133913388 BLAKE2B f061e3f871e5925bbe8f829c1dd7cac72afcb59fa2fc76226268c32eb990c8637b7dadf56c9f9608f0828debf8a7af519b7f1aa2a37e82d64b97f4f95bbd3f76 SHA512 f25b2a778be1f0879b152ce01d33c344e6fcb670b48d85d6d287a2d3b244fd248b0b775639cf8101c166adb19f8daccaf0e88815b5efefb6355ff2741a1888ef
+DIST linux-6.0.11.tar.sign 989 BLAKE2B 75e55b5b6162d02b6fa34e16bc7997aa39c12a8171f1ac7e309aa143fb2747c85672f7785c8b09c262f0302477655735e98f6dd4a6536cd044ede0e3c3101b2d SHA512 7af082a265cb4cbd78ea91275223f934787600e56be25f74f356831ef750751181e76d3e0dafdf608872fdf3cc86e0d01e8417d4cb0e756cec724bfb2ddb8a79
+DIST linux-6.0.11.tar.xz 133918204 BLAKE2B 55d3fc789bd0775afc3415c3cdbdf0819f1cce599fa383a44fd62eb80734bc204ef9848b35ae7746b6fb74db58bff106639ed2ac971b12b60f0ade3fae96f404 SHA512 992861a2338fb8128239da6ad5935bf3a1aac42fed177e451b86621b9490cdf17f61e4e001181c63edfd77c14be348bfcfcd81905a7753021cc1edb973041c83
DIST linux-6.0.9.tar.sign 987 BLAKE2B ccec935f65a836b1f646eccbb453312b4f9e84d06e4f3aa33ed7b8aae03fd8c3f4e505c6560dbac58d2741df991cfab43c014b6175fe94014f758aa434502a44 SHA512 5d5ecb51ae1a0e40f7b505fc14a6a5665efcefd7363dd9d71bffbe4a72ed2498a79d99c1ce7f80712d8cf753d2bba5f0069447385be74994638657b5a4bc7fbd
DIST linux-6.0.9.tar.xz 133911648 BLAKE2B 23ad9036cc771135c4f6bcb17950ec61e182981c4bff596062aa92cfccc66c316b35598e7a162ca4c346ca6b18796e2c5fd8112b05544fdde062faa0c3a82305 SHA512 8269caa07b39c668085c9e956a6924c93b698fef7a927ba59a85e615b4be6828b10dd72502e9a1eedb5a4ef1a271ca78a5dea255be6dd0960536e1574ef7f678
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.157.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.157.ebuild
new file mode 100644
index 000000000000..beb11365e70a
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.157.ebuild
@@ -0,0 +1,134 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.10.12
+CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
+GENTOO_CONFIG_VER=g1
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.81.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.81.ebuild
new file mode 100644
index 000000000000..e9d460c7094d
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.81.ebuild
@@ -0,0 +1,134 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.15.19
+CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
+GENTOO_CONFIG_VER=g1
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.11.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.11.ebuild
new file mode 100644
index 000000000000..d2f94947b12d
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.11.ebuild
@@ -0,0 +1,134 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.0.8-gentoo
+GENTOO_CONFIG_VER=g3
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index dfc17a6f05f2..7a85dd0848ee 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
sys-apps/texinfo
- virtual/yacc"
+ app-alternatives/yacc"
CONFIG_CHECK="~INPUT_MOUSEDEV"
ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose mice for GPM)"
diff --git a/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild b/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild
index 7e699daf0805..7eb5dc7dca59 100644
--- a/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild
+++ b/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild
@@ -28,7 +28,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
DEPEND="
diff --git a/sys-libs/pam/pam-1.5.2-r2.ebuild b/sys-libs/pam/pam-1.5.2-r2.ebuild
index 5a8c46443f0d..a0d259a65eed 100644
--- a/sys-libs/pam/pam-1.5.2-r2.ebuild
+++ b/sys-libs/pam/pam-1.5.2-r2.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
DEPEND="
diff --git a/sys-libs/pam/pam-1.5.2-r3.ebuild b/sys-libs/pam/pam-1.5.2-r3.ebuild
index f2636469a82f..22d06731eb31 100644
--- a/sys-libs/pam/pam-1.5.2-r3.ebuild
+++ b/sys-libs/pam/pam-1.5.2-r3.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
DEPEND="
diff --git a/virtual/dist-kernel/dist-kernel-5.10.157.ebuild b/virtual/dist-kernel/dist-kernel-5.10.157.ebuild
new file mode 100644
index 000000000000..5594b4186dc8
--- /dev/null
+++ b/virtual/dist-kernel/dist-kernel-5.10.157.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Virtual to depend on any Distribution Kernel"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+
+RDEPEND="
+ || (
+ ~sys-kernel/gentoo-kernel-${PV}
+ ~sys-kernel/gentoo-kernel-bin-${PV}
+ ~sys-kernel/vanilla-kernel-${PV}
+ )"
diff --git a/virtual/dist-kernel/dist-kernel-5.15.81.ebuild b/virtual/dist-kernel/dist-kernel-5.15.81.ebuild
new file mode 100644
index 000000000000..5594b4186dc8
--- /dev/null
+++ b/virtual/dist-kernel/dist-kernel-5.15.81.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Virtual to depend on any Distribution Kernel"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+
+RDEPEND="
+ || (
+ ~sys-kernel/gentoo-kernel-${PV}
+ ~sys-kernel/gentoo-kernel-bin-${PV}
+ ~sys-kernel/vanilla-kernel-${PV}
+ )"
diff --git a/virtual/dist-kernel/dist-kernel-6.0.11.ebuild b/virtual/dist-kernel/dist-kernel-6.0.11.ebuild
new file mode 100644
index 000000000000..c2caefd6cfca
--- /dev/null
+++ b/virtual/dist-kernel/dist-kernel-6.0.11.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Virtual to depend on any Distribution Kernel"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ || (
+ ~sys-kernel/gentoo-kernel-${PV}
+ ~sys-kernel/gentoo-kernel-bin-${PV}
+ ~sys-kernel/vanilla-kernel-${PV}
+ )"
diff --git a/virtual/yacc/metadata.xml b/virtual/yacc/metadata.xml
deleted file mode 100644
index de9d78424186..000000000000
--- a/virtual/yacc/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
- </maintainer>
- <stabilize-allarches/>
-</pkgmetadata>
diff --git a/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild b/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
index 9422c8a85e3b..36f5efb6e7d2 100644
--- a/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
+++ b/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto"
BDEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
src_configure() {
local XORG_CONFIGURE_OPTIONS=(
diff --git a/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild b/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild
index f3d3365ade7b..032377e118bd 100644
--- a/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild
+++ b/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild
@@ -21,7 +21,7 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto"
BDEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
src_configure() {
local XORG_CONFIGURE_OPTIONS=(
diff --git a/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild b/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild
index d42b0426bbdf..4a9c785231d8 100644
--- a/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild
+++ b/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto"
BDEPEND="
sys-devel/flex
- virtual/yacc
+ app-alternatives/yacc
x11-misc/util-macros"
QA_PKGCONFIG_VERSION="${PV//[!0-9.]}"
diff --git a/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild b/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
index db8f5d2fd8ee..8c84f2ff0848 100644
--- a/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
+++ b/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
@@ -27,7 +27,7 @@ DEPEND="
x11-base/xorg-proto"
BDEPEND="
sys-devel/flex
- virtual/yacc"
+ app-alternatives/yacc"
PATCHES=(
"${FILESDIR}"/${P}-clang16.patch
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild
index 79c38b08340e..883b6172ce89 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild
@@ -29,7 +29,7 @@ BDEPEND="
sys-apps/texinfo
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
index 9f5e5fba792a..b8ba2773c503 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
@@ -21,7 +21,7 @@ DEPEND="
sys-apps/texinfo
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(
"${FILESDIR}"/${PN}-0.8.3-fno-common.patch
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
index 79c38b08340e..883b6172ce89 100644
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
@@ -29,7 +29,7 @@ BDEPEND="
sys-apps/texinfo
sys-devel/flex
virtual/pkgconfig
- virtual/yacc
+ app-alternatives/yacc
"
PATCHES=(