* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-02 3:48 Michał Górny
0 siblings, 0 replies; 18+ messages in thread
From: Michał Górny @ 2022-12-02 3:48 UTC (permalink / raw
To: gentoo-commits
commit: 2e89118d084a68992d7ed042619cdc2c856daf1c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 03:46:18 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 03:47:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e89118d
app-alternatives/awk: Define LICENSE and HOMEPAGE for the virtual
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-alternatives/awk/awk-1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-alternatives/awk/awk-1.ebuild b/app-alternatives/awk/awk-1.ebuild
index a17f47bf0746..cef6aea276d2 100644
--- a/app-alternatives/awk/awk-1.ebuild
+++ b/app-alternatives/awk/awk-1.ebuild
@@ -4,8 +4,11 @@
EAPI=7
DESCRIPTION="Virtual for awk implementation"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+
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"
+LICENSE="metapackage"
RDEPEND="
|| (
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-03 1:37 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-03 1:37 UTC (permalink / raw
To: gentoo-commits
commit: a88b50da320f6eca75f92a5e59b1657674775d85
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 3 01:37:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 3 01:37:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88b50da
app-alternatives/awk: add note re AWK in env
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-2.ebuild | 3 +++
1 file changed, 3 insertions(+)
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"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-05 19:13 Michał Górny
0 siblings, 0 replies; 18+ messages in thread
From: Michał Górny @ 2022-12-05 19:13 UTC (permalink / raw
To: gentoo-commits
commit: dfdb9ce0454d59a5d5a2d466c5a1de1346fcdc72
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 19:11:05 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 19:13:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfdb9ce0
app-alternatives/awk: Use app-alternatives.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-alternatives/awk/awk-2.ebuild | 48 +++++++++++++++++----------------------
1 file changed, 21 insertions(+), 27 deletions(-)
diff --git a/app-alternatives/awk/awk-2.ebuild b/app-alternatives/awk/awk-2.ebuild
index c76362361bef..c20aa0953478 100644
--- a/app-alternatives/awk/awk-2.ebuild
+++ b/app-alternatives/awk/awk-2.ebuild
@@ -3,47 +3,41 @@
EAPI=8
-DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
-SRC_URI=""
-S=${WORKDIR}
+ALTERNATIVES=(
+ gawk:sys-apps/gawk
+ busybox:sys-apps/busybox
+ mawk:sys-apps/mawk
+ nawk:sys-apps/nawk
+)
+
+inherit app-alternatives
-LICENSE="CC0-1.0"
-SLOT="0"
+DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
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="busybox +gawk mawk nawk split-usr"
-REQUIRED_USE="^^ ( busybox gawk mawk nawk )"
+IUSE="split-usr"
RDEPEND="
- busybox? ( sys-apps/busybox )
- gawk? ( sys-apps/gawk )
- mawk? ( sys-apps/mawk )
- nawk? ( sys-apps/nawk )
!app-eselect/eselect-awk
"
src_install() {
+ local alt=$(get_alternative)
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"
- elif use gawk; then
- dosym gawk /usr/bin/awk
- newman - awk.1 <<<".so gawk.1"
- elif use mawk; then
- dosym mawk /usr/bin/awk
- newman - awk.1 <<<".so mawk.1"
- elif use nawk; then
- dosym nawk /usr/bin/awk
- newman - awk.1 <<<".so nawk.1"
- else
- die "Invalid USE flag combination (broken REQUIRED_USE?)"
- fi
+ case ${alt} in
+ busybox)
+ dosym "${root_prefix}busybox" /usr/bin/awk
+ ;;
+ *)
+ dosym "${alt}" /usr/bin/awk
+ ;;
+ esac
+
+ newman - awk.1 <<<".so ${alt}.1"
if use split-usr; then
dosym ../usr/bin/awk /bin/awk
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-06 9:24 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-06 9:24 UTC (permalink / raw
To: gentoo-commits
commit: d4c96a45f9e0c5401a6d4df4867dc85348fd7989
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 15:17:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 09:15:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c96a45
app-alternatives/awk: Clean up stale manpages from eselect-awk
Closes: https://bugs.gentoo.org/884427
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28551
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/{awk-2.ebuild => awk-3.ebuild} | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/app-alternatives/awk/awk-2.ebuild b/app-alternatives/awk/awk-3.ebuild
similarity index 72%
rename from app-alternatives/awk/awk-2.ebuild
rename to app-alternatives/awk/awk-3.ebuild
index c20aa0953478..d722129ee333 100644
--- a/app-alternatives/awk/awk-2.ebuild
+++ b/app-alternatives/awk/awk-3.ebuild
@@ -44,6 +44,27 @@ src_install() {
fi
}
+pkg_preinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ # if we are upgrading from a new enough version, leftover manpage
+ # symlink cleanup was done already
+ if ver_test "${v}" -ge 3; then
+ return
+ fi
+ done
+
+ # otherwise, remove leftover files/symlinks created by eselect-awk (sic!)
+ shopt -s nullglob
+ local files=( "${EROOT}"/usr/share/man/man1/awk.1* )
+ shopt -u nullglob
+
+ if [[ ${files[@]} ]]; then
+ einfo "Cleaning up leftover manpage symlinks from eselect-awk ..."
+ rm -v "${files[@]}" || die
+ fi
+}
+
pkg_postrm() {
# make sure we don't leave the user without the symlinks, since
# they've not been owned by any other package
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-16 6:41 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-16 6:41 UTC (permalink / raw
To: gentoo-commits
commit: 10e8d5a43a30291adc3578304e3c8df9b7591b99
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 16 06:40:51 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 16 06:41:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e8d5a4
app-alternatives/awk: add 4 (warning for mawk)
Add one-off warning if using mawk, as suggested by kerframil.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 95 +++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
new file mode 100644
index 000000000000..127157897532
--- /dev/null
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ALTERNATIVES=(
+ gawk:sys-apps/gawk
+ busybox:sys-apps/busybox
+ mawk:sys-apps/mawk
+ nawk:sys-apps/nawk
+)
+
+inherit app-alternatives
+
+DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
+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="split-usr"
+
+RDEPEND="
+ !app-eselect/eselect-awk
+"
+
+src_install() {
+ local alt=$(get_alternative)
+ 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.
+ case ${alt} in
+ busybox)
+ dosym "${root_prefix}busybox" /usr/bin/awk
+ ;;
+ *)
+ dosym "${alt}" /usr/bin/awk
+ ;;
+ esac
+
+ newman - awk.1 <<<".so ${alt}.1"
+
+ if use split-usr; then
+ dosym ../usr/bin/awk /bin/awk
+ fi
+}
+
+pkg_preinst() {
+ HAD_MAWK=0
+
+ has_version "app-alternatives/awk[mawk]" && HAD_MAWK=1
+
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 4; then
+ SHOW_MAWK_WARNING=1
+ fi
+
+ # if we are upgrading from a new enough version, leftover manpage
+ # symlink cleanup was done already
+ if ver_test "${v}" -ge 3; then
+ return
+ fi
+ done
+
+ # otherwise, remove leftover files/symlinks created by eselect-awk (sic!)
+ shopt -s nullglob
+ local files=( "${EROOT}"/usr/share/man/man1/awk.1* )
+ shopt -u nullglob
+
+ if [[ ${files[@]} ]]; then
+ einfo "Cleaning up leftover manpage symlinks from eselect-awk ..."
+ rm -v "${files[@]}" || die
+ fi
+}
+
+pkg_postinst() {
+ # Show the warning on new installs if using mawk, or older installs
+ # if upgrading from < app-alternatives/awk-4[mawk].
+ if [[ -z ${REPLACING_VERSIONS} || ${SHOW_MAWK_WARNING} -eq 1 || ${HAD_MAWK} -eq 0 ]] && use mawk; then
+ ewarn "mawk (incompletely) implements awk, as it was defined by the now-obsolete"
+ ewarn "POSIX 1003.2 (draft 11.3) specification. It does not fully implement the standard"
+ ewarn "extended regular expression syntax and there are other known issues pertaining to POSIX conformance."
+ fi
+}
+
+pkg_postrm() {
+ # make sure we don't leave the user without the symlinks, since
+ # they've not been owned by any other package
+ if [[ ! -h ${EROOT}/usr/bin/awk ]]; then
+ ln -s gawk "${EROOT}/usr/bin/awk" || die
+ fi
+ if [[ ! -h ${EROOT}/bin/awk ]]; then
+ ln -s ../usr/bin/awk "${EROOT}/bin/awk" || die
+ fi
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 11:31 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 11:31 UTC (permalink / raw
To: gentoo-commits
commit: c41f9152b2afa3fc0f19752e79fa37dd44ea04e8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 11:31:08 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 11:31:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c41f9152
app-alternatives/awk: Stabilize 3 amd64, #886017
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-3.ebuild b/app-alternatives/awk/awk-3.ebuild
index d722129ee333..8ad33e38a019 100644
--- a/app-alternatives/awk/awk-3.ebuild
+++ b/app-alternatives/awk/awk-3.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 13:40 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 13:40 UTC (permalink / raw
To: gentoo-commits
commit: 05d21fb40f872eb11372e91ef92cae615f279895
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 13:39:33 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 13:39:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d21fb4
app-alternatives/awk: Stabilize 3 arm64, #886017
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-3.ebuild b/app-alternatives/awk/awk-3.ebuild
index de4c6f66b515..e47aaabd1b09 100644
--- a/app-alternatives/awk/awk-3.ebuild
+++ b/app-alternatives/awk/awk-3.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 19:45 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 19:45 UTC (permalink / raw
To: gentoo-commits
commit: 4781132b184679ea47c1b84c334e8b027e686d1d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 19:36:58 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 19:45:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4781132b
app-alternatives/awk: Stabilize 3 hppa, #886017
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-3.ebuild b/app-alternatives/awk/awk-3.ebuild
index a8df89224381..f688697b2c9c 100644
--- a/app-alternatives/awk/awk-3.ebuild
+++ b/app-alternatives/awk/awk-3.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 19:53 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 19:53 UTC (permalink / raw
To: gentoo-commits
commit: 5a493969488e8157c64813695ca2a4406217fbd7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 19:47:08 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 19:53:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a493969
app-alternatives/awk: Stabilize 3 ppc64, #886017
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-3.ebuild b/app-alternatives/awk/awk-3.ebuild
index bd5cf6c897ea..46ba60100171 100644
--- a/app-alternatives/awk/awk-3.ebuild
+++ b/app-alternatives/awk/awk-3.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:21 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 20:21 UTC (permalink / raw
To: gentoo-commits
commit: df302bd69d3f33f4ff7b73e7d35a54c41d5a244c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:21:16 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:21:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df302bd6
app-alternatives/awk: Stabilize 4 arm64, #888657
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index ae89c88502e4..095370fc774d 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:21 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 20:21 UTC (permalink / raw
To: gentoo-commits
commit: 9915446c53a11a3feb890bee5d9492342ff55b62
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:21:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:21:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9915446c
app-alternatives/awk: Stabilize 4 amd64, #888657
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index 127157897532..ad93ec094c75 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:21 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 20:21 UTC (permalink / raw
To: gentoo-commits
commit: 186512bfe7474d6051f7db37a63c99aa438e089f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:21:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:21:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186512bf
app-alternatives/awk: Stabilize 4 arm, #888657
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index ad93ec094c75..ae89c88502e4 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:23 Arthur Zamarin
0 siblings, 0 replies; 18+ messages in thread
From: Arthur Zamarin @ 2022-12-27 20:23 UTC (permalink / raw
To: gentoo-commits
commit: ba75b765f68bba503164acc40a7ee0c3895c2ccc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:23:53 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:23:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba75b765
app-alternatives/awk: Stabilize 4 ppc, #888657
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index a3f7d64cc51b..b80d5e2ffa89 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:23 Arthur Zamarin
0 siblings, 0 replies; 18+ messages in thread
From: Arthur Zamarin @ 2022-12-27 20:23 UTC (permalink / raw
To: gentoo-commits
commit: 5cb53ddbc7cc4d66b4fb05a2f8edd4156e0fc472
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:23:52 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:23:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb53ddb
app-alternatives/awk: Stabilize 4 ppc64, #888657
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index 095370fc774d..a3f7d64cc51b 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:27 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 20:27 UTC (permalink / raw
To: gentoo-commits
commit: 13fd9f4510e0eed77a59192d6731f4e772151c15
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:22:01 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:26:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13fd9f45
app-alternatives/awk: Stabilize 4 sparc, #888657
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index 8cf40f362370..d0b88a20cf1c 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 20:27 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 20:27 UTC (permalink / raw
To: gentoo-commits
commit: 6677391dd94b3df15919c46b8bf13f05d78227c3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 20:22:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 20:26:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6677391d
app-alternatives/awk: Stabilize 4 x86, #888657
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index b80d5e2ffa89..8cf40f362370 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-27 23:01 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-27 23:01 UTC (permalink / raw
To: gentoo-commits
commit: 12d06b19165ec1f4c344e8d9cb8d98edf5bed02e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 23:01:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 23:01:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d06b19
app-alternatives/awk: Stabilize 4 hppa, #888657
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-alternatives/awk/awk-4.ebuild b/app-alternatives/awk/awk-4.ebuild
index d0b88a20cf1c..1407a6fc464c 100644
--- a/app-alternatives/awk/awk-4.ebuild
+++ b/app-alternatives/awk/awk-4.ebuild
@@ -13,7 +13,7 @@ ALTERNATIVES=(
inherit app-alternatives
DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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"
+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="split-usr"
RDEPEND="
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/
@ 2022-12-28 0:33 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-12-28 0:33 UTC (permalink / raw
To: gentoo-commits
commit: 0a76df521dd7b668607ba7f366b853cd01adfc20
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 23:51:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 00:32:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a76df52
app-alternatives/awk: drop 1, 3
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/awk/awk-1.ebuild | 19 ----------
app-alternatives/awk/awk-3.ebuild | 77 ---------------------------------------
2 files changed, 96 deletions(-)
diff --git a/app-alternatives/awk/awk-1.ebuild b/app-alternatives/awk/awk-1.ebuild
deleted file mode 100644
index cef6aea276d2..000000000000
--- a/app-alternatives/awk/awk-1.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Virtual for awk implementation"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-
-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"
-LICENSE="metapackage"
-
-RDEPEND="
- || (
- >=sys-apps/gawk-4.0.1-r1
- sys-apps/mawk
- sys-apps/nawk
- sys-apps/busybox
- )"
diff --git a/app-alternatives/awk/awk-3.ebuild b/app-alternatives/awk/awk-3.ebuild
deleted file mode 100644
index 46ba60100171..000000000000
--- a/app-alternatives/awk/awk-3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ALTERNATIVES=(
- gawk:sys-apps/gawk
- busybox:sys-apps/busybox
- mawk:sys-apps/mawk
- nawk:sys-apps/nawk
-)
-
-inherit app-alternatives
-
-DESCRIPTION="/bin/awk and /usr/bin/awk symlinks"
-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="split-usr"
-
-RDEPEND="
- !app-eselect/eselect-awk
-"
-
-src_install() {
- local alt=$(get_alternative)
- 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.
- case ${alt} in
- busybox)
- dosym "${root_prefix}busybox" /usr/bin/awk
- ;;
- *)
- dosym "${alt}" /usr/bin/awk
- ;;
- esac
-
- newman - awk.1 <<<".so ${alt}.1"
-
- if use split-usr; then
- dosym ../usr/bin/awk /bin/awk
- fi
-}
-
-pkg_preinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- # if we are upgrading from a new enough version, leftover manpage
- # symlink cleanup was done already
- if ver_test "${v}" -ge 3; then
- return
- fi
- done
-
- # otherwise, remove leftover files/symlinks created by eselect-awk (sic!)
- shopt -s nullglob
- local files=( "${EROOT}"/usr/share/man/man1/awk.1* )
- shopt -u nullglob
-
- if [[ ${files[@]} ]]; then
- einfo "Cleaning up leftover manpage symlinks from eselect-awk ..."
- rm -v "${files[@]}" || die
- fi
-}
-
-pkg_postrm() {
- # make sure we don't leave the user without the symlinks, since
- # they've not been owned by any other package
- if [[ ! -h ${EROOT}/usr/bin/awk ]]; then
- ln -s gawk "${EROOT}/usr/bin/awk" || die
- fi
- if [[ ! -h ${EROOT}/bin/awk ]]; then
- ln -s ../usr/bin/awk "${EROOT}/bin/awk" || die
- fi
-}
^ permalink raw reply related [flat|nested] 18+ messages in thread
end of thread, other threads:[~2022-12-28 0:33 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-27 19:53 [gentoo-commits] repo/gentoo:master commit in: app-alternatives/awk/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-12-28 0:33 Sam James
2022-12-27 23:01 Sam James
2022-12-27 20:27 Sam James
2022-12-27 20:27 Sam James
2022-12-27 20:23 Arthur Zamarin
2022-12-27 20:23 Arthur Zamarin
2022-12-27 20:21 Sam James
2022-12-27 20:21 Sam James
2022-12-27 20:21 Sam James
2022-12-27 19:45 Sam James
2022-12-27 13:40 Sam James
2022-12-27 11:31 Sam James
2022-12-16 6:41 Sam James
2022-12-06 9:24 Sam James
2022-12-05 19:13 Michał Górny
2022-12-03 1:37 Sam James
2022-12-02 3:48 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox