summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sys-apps/gentoo-functions: add 1.7.3Sam James2024-10-052-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Kerin Millar (19): Abort sourcing for yash in posixlycorrect mode Abort sourcing for ksh93 Explicitly initialise a local variable in _update_pid() test-functions: do not check that genfun_time is greater than -1 Ensure that LC_ALL is exported in srandom(); be safer for macOS Use an entropy pool for the mksh-targeting srandom() implementation Use an entropy pool in srandom(), even if the shell has forked Reduce the two non-bash srandom() implementations to just one Check for SRANDOM support in a safer manner Check for EPOCHREALTIME support in a safer manner Put braces around the expansion of the path variable Disable shellcheck SC2153 Print a diagnostic message if no modules can be found Have whenceforth() work around a word splitting bug in OpenBSD sh Move an SC2317 exemption closer to where it is needed Optimise trim() for bash where processing the positional parameters Double quote a ${parameter+word} expansion in defer() Warn upon sourcing if errexit or nounset be enabled Document that the pipefail option is unsupported Sam James (1): meson.build: prepare for gentoo-functions-1.7.3 Signed-off-by: Sam James <sam@gentoo.org>
* */*: unkeyword ~ia64Arthur Zamarin2024-09-123-3/+3
| | | | | | | | Change was created by running the following command:: ekeyword ^ia64 */*/*.ebuild Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-apps/gentoo-functions: drop 1.6-r2Kerin Millar2024-08-144-309/+0
| | | | | Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: revise 1.6-r1 as 1.6-r2Kerin Millar2024-08-111-1/+1
| | | | | | | | The only difference is that public-domain has been dropped from LICENSE, since it is no longer applicable. Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: drop 1.5, 1.7-r1, 1.7.1Kerin Millar2024-08-114-143/+0
| | | | | Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.7.2Kerin Millar2024-08-113-5/+52
| | | | | | | | Also, sync the version 9999 ebuild. Closes: https://bugs.gentoo.org/937463 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.7.1Sam James2024-08-052-0/+53
| | | | | | | | | | | Kerin Millar (1): Ensure a radix character of U+2E in _update_time() Sam James (1): meson.build: prepare for gentoo-functions-1.7.1 Bug: https://bugs.gentoo.org/937376 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: fix 1.7 ebuild to be based upon 9999Sam James2024-08-051-5/+21
| | | | | | | Kerin rightly points out I used the wrong template. I never normally get that wrong :( Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.7Sam James2024-08-052-0/+37
| | | | | Bug: https://bugs.gentoo.org/937157 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: revise 1.6 as 1.6-r1Kerin Millar2024-07-293-0/+272
| | | | | | | | | This revision backports a few patches to prevent ~arch keyword users with unusual EINFO_LOG declarations from being affected by bug #936613. Closes: https://bugs.gentoo.org/936613 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: update liveSam James2024-06-251-6/+22
| | | | | | | Incorporate changes from kerframil for prefix required for latest git changes. Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.6Sam James2024-05-242-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | Kerin Millar (15): test-functions: Actually remove print_args() Significantly improve _print_args() behaviour Have edo() clarify that something is being executed Micro-optimise _print_args() Add an eqatag() function test-functions: Include /opt/pkg/bin in PATH Have _print_args() produce octal sequences for DEL Correct an awk else clause in _print_args() Render argument checking more stringent; standardise diagnostics Adhere to the Allman style (again) test-functions: Render tests somewhat fast again test-functions: Minor ebegin() test refactoring Explain why is_older_than() checks for the presence of gfind Micro-optimise the eqatag() argument parsing loop Correct the wrapping of a comment Sam James (1): meson.build: prepare for gentoo-functions-1.6 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.5, drop 1.4Sam James2024-05-182-1/+1
| | | | | | | | | | | Kerin Millar (2): Signify end of options to awk in edo() Separate some edo() code into a _print_args() helper function Sam James (1): meson.build: prepare for gentoo-functions-1.5 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: drop 1.0, 1.1, 1.2, 1.3Sam James2024-05-185-148/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.4Sam James2024-05-182-0/+37
| | | | | | | | | | | Kerin Millar (2): test-functions: Fix invalid TAP output test-functions: Fix spurious edo() test failures Sam James (1): meson.build: prepare for gentoo-functions-1.4 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.3Sam James2024-05-182-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Kerin Millar (18): Reorganise the order in which functions are declared Declare some of the v-prefixed functions dynamically Remove some superfluous boolean variable declarations Declare eerror(), einfo() and ewarn() dynamically Improve the comments Have esyslog() check that EINFO_LOG is true instead of non-empty Don't call is_int() from _esetdent() Make _eend() much faster in bash Tweak the comment style for yesno() More comment improvements Rename _has_monochrome_terminal() to _has_color_terminal() Add a die() function Document variables influencing runtime behaviour test-functions: Fix a spurious test failure test-functions: Use test rather than [ to placate shellcheck Add an eqawarn() function Add an edo() function Reposition the declaration of _has_dumb_terminal() Sam James (1): meson.build: prepare for gentoo-functions-1.3 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.2Sam James2024-05-152-0/+37
| | | | | | | | | | Kerin Millar (1): Have _eend() remember the cursor position before printing Sam James (1): meson.build: prepare for gentoo-functions-1.2 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.1 (masked still, but not for long)Sam James2024-05-142-0/+37
| | | | | | | | | | | | | | | | | | | Kerin Millar (5): ecma48-cpr: Use designated initialisers for legibility Unify the brace style Render _update_winsize() immune to the prevailing value of IFS Don't check for Emacs every time _eend() is called Simplify _eprint() and _eend() behaviour markedly Sam James (6): meson.build: add TODO wrt cleaning up functions.sh template functions.sh.in: fix typo Cleanup functions.sh.in template Drop ecma48-cpr meson.build: fix tests meson.build: prepare for gentoo-functions-1.1 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 1.0 (masked)Sam James2024-02-162-0/+37
| | | | | Bug: https://github.com/projg2/getuto/issues/8 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add gentoo upstream metadataSam James2023-10-121-10/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: update LICENSESam James2023-08-241-1/+1
| | | | | | | ecma48-cpr.c in master is public-domain. It is not yet in a release. Closes: https://bugs.gentoo.org/912807 Signed-off-by: Sam James <sam@gentoo.org>
* Revert "sys-apps/gentoo-functions: update LICENSE"Sam James2023-08-241-1/+1
| | | | | | | | | | This reverts commit 33f53d4b870ac46ec2ac3035a9cb8b5e5747578f. The relevant file is not in 0.19, just in master. The commit also neglected to sync live. Bug: https://bugs.gentoo.org/912807 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: drop 0.17William Hubbs2023-08-242-28/+0
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* sys-apps/gentoo-functions: update LICENSEWilliam Hubbs2023-08-231-1/+1
| | | | | Closes: https://bugs.gentoo.org/912807 Signed-off-by: William Hubbs <williamh@gentoo.org>
* sys-apps/gentoo-functions: update for mesonSam James2023-06-091-5/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 sparc, #907507Arthur Zamarin2023-06-031-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 hppa, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 arm64, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 arm, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 ppc64, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 ppc, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 amd64, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.19 x86, #907507Sam James2023-06-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* */*: remove x86-winnt keywordFabian Groffen2023-05-253-3/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* */*: remove x64-cygwin keywordFabian Groffen2023-05-253-3/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* */*: remove sparc64-solaris keywordFabian Groffen2023-05-253-3/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* */*: remove sparc-solaris keywordFabian Groffen2023-05-253-3/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* */*: remove x86-solaris keywordFabian Groffen2023-05-243-3/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-apps/gentoo-functions: keyword ~arm64-macosSam James2023-04-223-4/+4
| | | | | Bug: https://bugs.gentoo.org/904474 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: drop 0.18-r1Sam James2023-02-072-31/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 0.19Sam James2023-02-072-0/+31
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add explicit >=findutils-4.9 depSam James2023-02-062-1/+7
| | | | | | Meant to do this earlier. Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: add 0.18Sam James2023-02-062-0/+28
| | | | | Closes: https://bugs.gentoo.org/579688 Signed-off-by: Sam James <sam@gentoo.org>
* */*: remove blueness@ from most of his packages, by his requestMichał Górny2023-01-281-3/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* sys-apps/gentoo-functions: drop 0.14, 0.15, 0.16Sam James2022-09-234-84/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.17 ppc64, #868957Arthur Zamarin2022-09-161-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.17 hppa, #868957Arthur Zamarin2022-09-161-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.17 ppc, #868957Arthur Zamarin2022-09-141-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.17 sparc, #868957Sam James2022-09-071-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/gentoo-functions: Stabilize 0.17 amd64, #868957Jakov Smolić2022-09-061-1/+1
| | | | Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>