summaryrefslogtreecommitdiff
path: root/app-alternatives
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-03 02:58:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-03 02:58:11 +0000
commitfbe7acf59ebf6dc3f04a6ef108ff3887fa5d7972 (patch)
tree3669828a2d0c5f7cb1a4bfd79be8032aac558282 /app-alternatives
parent9bc9c4dcc38dc560cff8e5d083d1e5f282ddde98 (diff)
gentoo auto-resync : 03:12:2022 - 02:58:11
Diffstat (limited to 'app-alternatives')
-rw-r--r--app-alternatives/Manifest.gzbin1193 -> 1673 bytes
-rw-r--r--app-alternatives/awk/Manifest2
-rw-r--r--app-alternatives/awk/awk-2.ebuild3
-rw-r--r--app-alternatives/bc/Manifest2
-rw-r--r--app-alternatives/bc/bc-0.ebuild37
-rw-r--r--app-alternatives/bc/metadata.xml20
-rw-r--r--app-alternatives/lex/Manifest2
-rw-r--r--app-alternatives/lex/lex-0-r1.ebuild41
-rw-r--r--app-alternatives/lex/metadata.xml20
-rw-r--r--app-alternatives/yacc/Manifest3
-rw-r--r--app-alternatives/yacc/metadata.xml23
-rw-r--r--app-alternatives/yacc/yacc-0.ebuild13
-rw-r--r--app-alternatives/yacc/yacc-1.ebuild52
13 files changed, 217 insertions, 1 deletions
diff --git a/app-alternatives/Manifest.gz b/app-alternatives/Manifest.gz
index dfcce434c13d..7f65d241d7b1 100644
--- a/app-alternatives/Manifest.gz
+++ b/app-alternatives/Manifest.gz
Binary files differ
diff --git a/app-alternatives/awk/Manifest b/app-alternatives/awk/Manifest
index 7c7ef08c6677..b31038130df7 100644
--- a/app-alternatives/awk/Manifest
+++ b/app-alternatives/awk/Manifest
@@ -1,3 +1,3 @@
EBUILD awk-1.ebuild 554 BLAKE2B 29fc3ad3018b3ce17a24c250e22789105c8a564fdda0c2185401fe999ccb2d33eae2afacef01042e3b58e968b906452e9fb623f0a804c0a0954042297146abf9 SHA512 53db324987a3b7dc3c49f4d5d2060b8d065aa5798be2084d75c5eea89344205118ca301ca21ecc438d45e28ea1eb60357d44c2fe0b52ae1602636bf85535d1d0
-EBUILD awk-2.ebuild 1592 BLAKE2B dd199aa3644d1567360e16397319b7d6d51e850245754fb4d05a5578e27939f4dca8812c3fa4f5fa5c83721309e7c06cc908925202d3caef7ff31a39d5ab8718 SHA512 688b29a30d105b381aa2ea43721008a3d4377261f06fff0cdaeaf0c7b72ff6eaef8261f52a1ea66695af24b16c9a3047861401fec6bbd9770b3d86195f346f93
+EBUILD awk-2.ebuild 1757 BLAKE2B 968c3e236089382449abe64e62ded3cba39646746fbbf0762f7006f2ef76c8de27741e66a262474b8a694b40c37e1114157a665d32edda04d667ae2626e24339 SHA512 e0ffed625431f2e2afd18ff39b3dc21bf6d6be7e7aa20573b0cf740f42b93e3f76057022b16fabb1179dca00bea63647108996e24baa48c41947ac20dee8764e
MISC metadata.xml 829 BLAKE2B bf4375b33e702c61a3f8553e1b63110acab32b68d4ac2d905b6dd12a2204484bc5c2f3a34b2ec127a6c60aac8c105949dbc6eb5ade3a1c8c959afdabdd3658a1 SHA512 32252970d3b12c7a5b9fc7c7ffae821908b9bd4101372e699c70e64572fd7563121427ed5971462417d8c2e6155e47f567ac3bb057d457d58648c5b4d2458974
diff --git a/app-alternatives/awk/awk-2.ebuild b/app-alternatives/awk/awk-2.ebuild
index 01e69d65fbd1..c76362361bef 100644
--- a/app-alternatives/awk/awk-2.ebuild
+++ b/app-alternatives/awk/awk-2.ebuild
@@ -26,6 +26,9 @@ src_install() {
local root_prefix=
use split-usr && root_prefix=../../bin/
+ # We could consider setting AWK=... like we do for yacc & lex,
+ # but it would need some testing with a fair amount of packages first,
+ # as autoconf prefers gawk.
if use busybox; then
dosym "${root_prefix}busybox" /usr/bin/awk
newman - awk.1 <<<".so busybox.1"
diff --git a/app-alternatives/bc/Manifest b/app-alternatives/bc/Manifest
new file mode 100644
index 000000000000..d1a21b432619
--- /dev/null
+++ b/app-alternatives/bc/Manifest
@@ -0,0 +1,2 @@
+EBUILD bc-0.ebuild 1011 BLAKE2B ff9630287381e9ef8228da88aa681ca5736c77b0d8d4c061fc8d9484aaef2ad90511313ad8334e8dc35b89543d7e769c3732c4b5cd2f05204c8e3aa3ededa7ee SHA512 fb496069280243abe6c6a9998b96a34b1a6efdbf7a03c88f48cc8a8bcbfcf4557440d0a9f68902cab5ecf12456dfbc76f8df63f83587ad8ea391f8035feaae39
+MISC metadata.xml 545 BLAKE2B ad10ffcda18dbd1728a7f63f504d4ecd8c3c864c7c3265416c8060bb8e685030e48df6d7e784083ee0d587b57f91be9b1e1401569880458b0c40e3fea63f4f5c SHA512 4a95c94b8a5f6f14171cccaacad08207570550d826f232033f581b8a974d095f73f2c3c0f70c3fd41d33507a7fa8644751724702b75467ae394edb39a44fd404
diff --git a/app-alternatives/bc/bc-0.ebuild b/app-alternatives/bc/bc-0.ebuild
new file mode 100644
index 000000000000..1befe0bb8fa5
--- /dev/null
+++ b/app-alternatives/bc/bc-0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="bc symlink"
+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="+gnu gh"
+REQUIRED_USE="^^ ( gnu gh )"
+
+RDEPEND="
+ gnu? ( >=sys-devel/bc-1.07.1-r6 )
+ gh? ( sci-calculators/bc-gh )
+ !<sys-devel/bc-1.07.1-r6
+"
+
+src_install() {
+ if use gnu; then
+ dosym bc-reference /usr/bin/bc
+ dosym dc-reference /usr/bin/dc
+ newman - bc.1 <<<".so bc-reference.1"
+ newman - dc.1 <<<".so dc-reference.1"
+ elif use gh; then
+ dosym bc-gh /usr/bin/bc
+ dosym dc-gh /usr/bin/dc
+ newman - bc.1 <<<".so bc-gh.1"
+ newman - dc.1 <<<".so dc-gh.1"
+ else
+ die "Invalid USE flag combination (broken REQUIRED_USE?)"
+ fi
+}
diff --git a/app-alternatives/bc/metadata.xml b/app-alternatives/bc/metadata.xml
new file mode 100644
index 000000000000..261197b57fcd
--- /dev/null
+++ b/app-alternatives/bc/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="gnu">
+ Symlink to GNU bc (<pkg>sys-devel/bc</pkg>)
+ </flag>
+ <flag name="gh">
+ Symlink to bc-gh from <pkg>sci-calculators/bc-gh</pkg>
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-alternatives/lex/Manifest b/app-alternatives/lex/Manifest
new file mode 100644
index 000000000000..1a914a4eac08
--- /dev/null
+++ b/app-alternatives/lex/Manifest
@@ -0,0 +1,2 @@
+EBUILD lex-0-r1.ebuild 978 BLAKE2B 93903295210aecbb2d531abaca2ccbeef50db315dd79458c677e581e11343ca6cb9bfd48c22e5d597398725710298b99f20f7a343e5f16def605d425bfbcbddd SHA512 9c8631dd1b68fa26e75ea8a3322e4aca0a5bef6eaee78c9cf87e78702ccf718a92efcd191c1712e375bdd3474d37d030484c0a80a666351c603067ef4eb4c6bf
+MISC metadata.xml 529 BLAKE2B 6873948a644263911a6e796fde57e41b69c108e3ec01b9c07a120c1786250a9718f4d736fb5918be27c9b72ee36cf5cab4621478f2917f9bcd45f6276a7e645d SHA512 d48d002ecfba6746fcea824310b738f7839c744e7bfbb4ca95c3c037258103f30dedfb8ca2284d21e6bd56910bc5e9618f8b9351a7f7e290850ae06034e37f3a
diff --git a/app-alternatives/lex/lex-0-r1.ebuild b/app-alternatives/lex/lex-0-r1.ebuild
new file mode 100644
index 000000000000..5533e1623d7a
--- /dev/null
+++ b/app-alternatives/lex/lex-0-r1.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 /usr/bin/lex
+ newman - lex.1 <<<".so flex.1"
+
+ newenvd - 90lex <<-EOF
+ LEX=flex
+ EOF
+ elif use reflex; then
+ dosym reflex /usr/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/Manifest b/app-alternatives/yacc/Manifest
new file mode 100644
index 000000000000..b039656ce1e5
--- /dev/null
+++ b/app-alternatives/yacc/Manifest
@@ -0,0 +1,3 @@
+EBUILD yacc-0.ebuild 536 BLAKE2B ccb4b1c59c0452254507b81a52c1d9147a109fdf968ad2e71b5776735e5c59c8aa0447964614941e22d927b995c5ec045bdfa8f890fb5a1874f462ca64459f21 SHA512 aff6ef4ac24044dcec4484395cd4b155617035f8c632fd6550e8a17b1c467e0c164880ca1d0ac9df86f00df09d0879f26063457b85807874361fac822879fe57
+EBUILD yacc-1.ebuild 1319 BLAKE2B 8b2e6c5fd3b6d612f0af1dd61359ac2af8efefeebdf6a321697328310fafb1cff8c6c3871fb366542b123e27ca6b4797b5aa41e1d1f041e659fda5461f72478f SHA512 ecae76ece51d15ac3c531912128c67bbbf31df0cfd089e2899a6c576fc5f8e18f9c8a01752e5130cc6f54a2ab73f65d5cbaa6dd13becfa0c31bddde14c94d4b0
+MISC metadata.xml 604 BLAKE2B a40366e6a7aab1ac9658b2b46cc6409486d2e2b7ac456209b4151974f48facc65e68d2e44965a6eb0680af47663a379da050bfbcf480e6af50951ec6d03647e5 SHA512 24329bbcc9bd0a589559c621a89b0dc26f304f47cdbd62e09bf5d33cb190bdecfc352527970c072080a3c9a7e4a7193b6d7c71ab0a0c83d0dcb76f03e0699a5c
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/app-alternatives/yacc/yacc-0.ebuild b/app-alternatives/yacc/yacc-0.ebuild
new file mode 100644
index 000000000000..40f51b6795ac
--- /dev/null
+++ b/app-alternatives/yacc/yacc-0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+RDEPEND="|| ( sys-devel/bison dev-util/byacc dev-util/yacc )"
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
+}