Compare commits

..

149 Commits

Author SHA1 Message Date
0ae0d9ada8
Using format_spec_file and source_validator
All checks were successful
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Successful in 42s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 18:16:37 +08:00
99f9865b87
Using format_spec_file and source_validator
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 23s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 18:15:21 +08:00
eb04331599
Using format_spec_file and source_validator
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 18:13:02 +08:00
7125a0f03b
Using format_spec_file and source_validator
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 18:02:14 +08:00
a61558c8bc
Move the env var to cli format
All checks were successful
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Successful in 26s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 10:36:25 +08:00
3c20ba4614
Move the env var to cli format
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 11s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 10:34:19 +08:00
8893016d12
Fixing a typo
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 11s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 10:22:38 +08:00
ef4fb56104
Using new osc cli credentials patch format
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 11s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-08 10:18:31 +08:00
b855ed884f
patch osc commnad without osc_checkout script
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 12m15s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2024-01-07 00:17:29 +08:00
b1aa3d5493
Testing the custom label using registry.opensuse.org
All checks were successful
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Successful in 10s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-12-14 17:43:09 +08:00
ae3cac1ba7 Update the osc checkout with expect script
All checks were successful
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Successful in 12s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-11-27 16:20:52 +08:00
243737e423 using ls full path
Some checks are pending
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Waiting to run
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-11-27 15:28:22 +08:00
44f43a4f2e Testing the custom label action
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Has been cancelled
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-11-27 14:56:34 +08:00
Ana Guerrero
21f77c1f28 Accepting request 1126551 from Base:System
- Declare token YYEOF to be able to support older bison versions
  as well 

- Be sure to have a usable bison installed at build time 

- Add upstream patches
  * bash52-021
    There is an off-by-one error that causes command substitutions to fail when
    they appear in a word expansion inside a here-document.
  * bash52-020
    The parser did not allow `time' to appear as the first reserved word in a
    command substitution.
  * bash52-019
    There are some cases where the shell reaped a background (asynchronous) job
    and would incorrectly try to set the terminal's process group back to the
    shell's. In these cases it never set the terminal process group to that
    jobs's process group initially, so resetting it is incorrect.
  * bash52-018
    There are two problems with returning tokens to yyparse() when the shell
    encounters a syntax error or when it reads EOF.
    When reading a WORD token, the parser has to return the correct value to
    yyparse. Previous versions returned a value < 0, which the bash parser
    translated into YYERRCODE for bison, and in newer versions of bison, the
    appropriate reset actions didn't happen. We should return YYUNDEF, which
    bison uses for `invalid token'. Since we can return a token < 0 for both
    invalid tokens and EOF, the bash tokenizer needs to differentiate between
    those two cases.
  * bash52-017
    In certain cases, using the `.' builtin in a subshell would optimize away
    the rest of the commands in the subshell.

OBS-URL: https://build.opensuse.org/request/show/1126551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=188
2023-11-17 19:47:59 +00:00
Dominique Leuenberger
3561793dda Accepting request 1057035 from Base:System
- Replace transitional %usrmerged macro with regular version check (boo#1206798) (forwarded request 1051448 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/1057035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=187
2023-01-11 13:32:45 +00:00
Dominique Leuenberger
0e267a7162 Accepting request 1043053 from Base:System
- Add upstream patches
  * bash52-013
    Bash can leak memory when referencing a non-existent associative
    array element.
  * bash52-014
    Bash defers processing additional terminating signals when running
    the EXIT trap while exiting due to a terminating signal.  This
    patch allows the new terminating signal to kill the shell immediately.
  * bash52-015
    There are several cases where bash is too aggressive when optimizing
    out forks in subshells. For example, `eval' and traps should never
    be optimized.

OBS-URL: https://build.opensuse.org/request/show/1043053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=186
2022-12-18 16:22:19 +00:00
Dominique Leuenberger
b8e8d2996c Accepting request 1038668 from Base:System
- Add upstream patches
  * bash52-010
    Bash-5.2 checks the first 128 characters of an executable file that execve()
    refuses to execute to see whether it's a binary file before trying to
    execute it as a shell script. This defeats some previously-supported use
    cases like "self-executing" jar files or "self-uncompressing" scripts.
  * bash52-011
    Using timeouts and readline editing with the `read' builtin (read -e -t) can
    leave the readline timeout enabled, potentially resulting in an erroneous
    timeout on the next call.
  * bash52-012
    When running in bash compatibility mode, nested command substitutions can
    leave the `extglob' option enabled.

OBS-URL: https://build.opensuse.org/request/show/1038668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=185
2022-11-30 13:58:49 +00:00
Dominique Leuenberger
2ce59826d5 Accepting request 1035012 from Base:System
- Add upstream patches
  * bash52-003
    Command substitutions need to preserve newlines instead of replacing them
    with semicolons, especially in the presence of multiple here-documents.
  * bash52-004
    Bash needs to keep better track of nested brace expansions to avoid problems
    with quoting and POSIX semantics.
  * bash52-005
    Null pattern substitution replacement strings can cause a crash.
  * bash52-006
    In interactive shells, interrupting the shell while entering a command
    substitution can inhibit alias expansion.
  * bash52-007
    This patch fixes several problems with alias expansion inside command
    substitutions when in POSIX mode.
  * bash52-008
    Array subscript expansion can inappropriately quote brackets if the expression
    contains < or >.
  * bash52-009
    Bash arithmetic expansion should allow `@' and `*' to be used as associative
    array keys in expressions.

OBS-URL: https://build.opensuse.org/request/show/1035012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=184
2022-11-12 16:40:01 +00:00
Dominique Leuenberger
0f52577aef Accepting request 1032788 from Base:System
- Set DEFAULT_LOADABLE_BUILTINS_PATH to get BASH_LOADABLES_PATH
  correct (boo#1204567)

OBS-URL: https://build.opensuse.org/request/show/1032788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=183
2022-11-04 16:31:21 +00:00
Dominique Leuenberger
82811b871b Accepting request 1030166 from Base:System
- Explicit require versioned libreadline8 as we face new ABI
  functions used by the bash (boo#1204336)

OBS-URL: https://build.opensuse.org/request/show/1030166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=182
2022-10-23 14:32:35 +00:00
Dominique Leuenberger
15ad3805f7 Accepting request 1010475 from Base:System
- Don't strip binaries
- Work around a signal mask issue with qemu linux-user emulation (forwarded request 1010321 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1010475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=181
2022-10-18 10:44:09 +00:00
Richard Brown
d93a48fedf Accepting request 1008386 from Base:System
- Add upstream patches
  * bash52-001
    Expanding unset arrays in an arithmetic context can cause a
    segmentation fault.
  * bash52-002
    Starting bash with an invalid locale specification for
    LC_ALL/LANG/LC_CTYPE can cause the shell to crash.
- Do not run checks in parallel as it eats memory, a lot of memory
- Disable alternate array implementation as it eats a lot of memory

- Update to final bash 5.2 
  a. When replacing a history entry, make sure the existing entry has a non-NULL
     timestamp before copying it; it may have been added by the application, not
     the history library.

- Modernize run-tests 

- add checks

- Enable parallel builds by splitting clean and all at make time
- Update to bash 5.2 rc4
  Pos. aa is now enabled by default.
  m. Readline now checks for changes to locale settings (LC_ALL/LC_CTYPE/LANG)
     each time it is called, and modifies the appropriate locale-specific display
- Port patches
  * bash-2.03-manual.patch
  * bash-5.2.dif

- Update to bash 5.2 rc2
  gg. Since there is no `declare -' equivalent of `local -', make sure to use

OBS-URL: https://build.opensuse.org/request/show/1008386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=180
2022-10-11 15:59:13 +00:00
Dominique Leuenberger
bfb64dd4c6 Accepting request 1004899 from Base:System
- Enable parallel builds by slpitting clean and all at make time
  (Thanks to Christopher Yeleighton)
- Do not copy more than 1 byte for \(aq becoming a "'" in
  quotes-man2html.patch

- Small change in quotes-man2html.patch
  * Use a simple "'" aka quote instead of "&prime;" for "\(aq"

- Add patch quotes-man2html.patch
  * Fix boo#1203091 -- BASH(1) Manual Page: Unprocessed macro aq

OBS-URL: https://build.opensuse.org/request/show/1004899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=179
2022-09-21 12:38:57 +00:00
Dominique Leuenberger
31ff11e881 Accepting request 975257 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/975257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=178
2022-05-10 13:09:36 +00:00
Dominique Leuenberger
e218a8ca03 Accepting request 964694 from Base:System
- Do use old legacy PreReq to get bash installed before bash-sh 
  but do not require bash-sh by bash (bsc#1197448)

OBS-URL: https://build.opensuse.org/request/show/964694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=177
2022-03-29 16:13:42 +00:00
Dominique Leuenberger
49d28572c6 Accepting request 958697 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/958697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=176
2022-03-05 13:42:54 +00:00
Dominique Leuenberger
e1a9e26d8a Accepting request 947929 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=175
2022-01-25 16:35:35 +00:00
Dominique Leuenberger
54539e42a6 Accepting request 935465 from Base:System
- avoid duplicating COPYING file in bash-doc (already in main package in
  licensedir)

OBS-URL: https://build.opensuse.org/request/show/935465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=174
2021-12-06 22:59:16 +00:00
Dominique Leuenberger
053dfe8cc1 Accepting request 932216 from Base:System
- Update bash 5.1 to patch level 12
  * Add official patch bash51-009
    The bash malloc implementation of malloc_usable_size() does not follow the
    specification. This can cause library functions that use it to overwrite
    memory bounds checking.
  * Add official patch bash51-010
    If `wait -n' is interrupted by a trapped signal other than SIGINT, it does
    not completely clean up state, and that can prevent subsequent calls to
    `wait -n' from working correctly.
  * Add official patch bash51-011
    When reading a compound assignment, and running it through the parser to
    split it into words, we need to save and restore any alias we're currently
    expanding.
  * Add official patch bash51-012
    There is a possible race condition that arises when a child process receives
    a signal trapped by the parent before it can reset the signal dispositions.
    The child process is not supposed to trap the signal in this circumstance.

- Using package bash-sh instead of the update-alternative
  mechanism.

OBS-URL: https://build.opensuse.org/request/show/932216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=173
2021-12-01 19:46:32 +00:00
Richard Brown
b178b31a83 Accepting request 922406 from Base:System
- Install bash_builtins manpage under the correct name (forwarded request 922382 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/922406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=172
2021-10-08 20:04:33 +00:00
Dominique Leuenberger
fa4044c056 Accepting request 908369 from Base:System
- Use a get_version_number.sh script 

- Get patch lvl by running command to find it instead of hardcoding
- Remove old SUSE RPM constructs
- Clean spec file

OBS-URL: https://build.opensuse.org/request/show/908369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=171
2021-08-02 10:04:14 +00:00
Dominique Leuenberger
ae08d1b174 Accepting request 897522 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/897522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=170
2021-06-09 19:51:28 +00:00
Dominique Leuenberger
8c5eb20c8f Accepting request 890765 from Base:System
- Add official patch bash51-005
  * Fix two memory leaks when assigning arrays using compound assignment syntax.
- Add official patch bash51-006
  * Make sure child processes forked to run command substitutions are in the
    proper process group.
- Add official patch bash51-007
  * The code to check readline versions in an inputrc file had the sense of the
    comparisons reversed. 
- Add official patch bash51-008
  * Process substitution FIFOs opened by child processes as targets of redirections
    were not removed appropriately, leaving remnants in the file system.

OBS-URL: https://build.opensuse.org/request/show/890765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=169
2021-05-11 21:03:26 +00:00
Dominique Leuenberger
57c1e77a9f Accepting request 862386 from Base:System
- Update to final bash 5.1
  * Which is mainly the last rc3 veresion
- Add official patch bash51-001
  There is a missing dependency on a constructed file, which can cause highly
  parellel builds to fail.
- Add official patch bash51-002
  If there are no jobs, and the `-n' and `-p' options are both supplied to
  `wait', bash can assign a value to the variable name specified with `-p'
  instead of leaving it unset.
- Add official patch bash51-003
  Bash does not put a command substitution process that is started to perform an
  expansion in a child process into the right process group where it can receive
  keyboard-generated signals.
- Add official patch bash51-004
  If a key-value compound array assignment to an associative array is supplied
  as an assignment statement argument to the `declare' command that declares the
  array, the assignment doesn't perform the correct word expansions.
  This patch makes key-value assignment and subscript assignment perform the
  same expansions when they're supplied as an argument to `declare'.

- Update to bash 5.1 rc3
  * The `assoc_expand_once' option now affects the evaluation of the -v primary
    to test and the [[ compound command.

- Update to bash 5.1 rc2
  * Process substitutions started from an interactive shell no longer have their
    standard input implicitly redirected from /dev/null.
  * Fixed an issue with setting the SIGINT trap handler in an interactive shell
    when temporarily running $PROMPT_COMMAND non-interactively.

OBS-URL: https://build.opensuse.org/request/show/862386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=168
2021-01-20 17:22:49 +00:00
Dominique Leuenberger
2b6c7ab9cd Accepting request 852327 from Base:System
OBS-URL: https://build.opensuse.org/request/show/852327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=167
2020-12-07 13:59:49 +00:00
Dominique Leuenberger
685e0c41c8 Accepting request 836440 from Base:System
OBS-URL: https://build.opensuse.org/request/show/836440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=166
2020-10-08 11:05:35 +00:00
Dominique Leuenberger
6253e270e8 Accepting request 824704 from Base:System
OBS-URL: https://build.opensuse.org/request/show/824704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=165
2020-08-17 09:59:12 +00:00
Dominique Leuenberger
672664dd08 Accepting request 820865 from Base:System
- Add official patch bash50-018
  * In certain cases, bash does not perform quoted null removal on patterns
    that are used as part of word expansions such as ${parameter##pattern}, so
    empty patterns are treated as non-empty.

OBS-URL: https://build.opensuse.org/request/show/820865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=164
2020-08-02 10:27:22 +00:00
Dominique Leuenberger
5c5b226f69 Accepting request 806032 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/806032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=163
2020-05-19 12:43:22 +00:00
Dominique Leuenberger
185f4e530f Accepting request 798881 from Base:System
OBS-URL: https://build.opensuse.org/request/show/798881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=162
2020-05-09 17:48:12 +00:00
Dominique Leuenberger
9ff90d2ba9 Accepting request 791138 from Base:System
- Add temporary patch bash50-fix-016-close-new-fifos.patch from upstream
  to fix upstream patch bash50-016

- move man pages back to main package. It's just 100k

OBS-URL: https://build.opensuse.org/request/show/791138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=161
2020-04-08 17:54:04 +00:00
Dominique Leuenberger
6733e0a613 Accepting request 774145 from Base:System
- Add official patch bash50-012
  When using previous-history to go back beyond the beginning of the history list,
  it's possible to move to an incorrect partial line.
- Add official patch bash50-013
  Reading history entries with timestamps can result in history entries joined
  by linefeeds.
- Add official patch bash50-014
  If the current line is empty, using the emacs C-xC-e binding to enter the
  editor will edit the previous command instead of the current (empty) one.
- Add official patch bash50-015
  If alias expansion is enabled when processing the command argument to the
  `-c' option, an alias is defined in that command, and the command ends with
  the invocation of that alias, the shell's command parser can prematurely
  terminate before the entire command is executed.
- Add official patch bash50-016
  Bash waits too long to reap /dev/fd process substitutions used as redirections
  with loops and group commands, which can lead to file descriptor exhaustion.

OBS-URL: https://build.opensuse.org/request/show/774145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=160
2020-02-21 15:39:52 +00:00
Dominique Leuenberger
b7588219e3 Accepting request 738886 from Base:System
- Remove PILOTPORT and PILOTRATE environment variable from
  default ~/.bashrc (/etc/skel/.bashrc) (bsc#1123510)
- Move definitions of environment variables from ~/.bashrc to
  ~/.profile (/etc/skel/.profile)

OBS-URL: https://build.opensuse.org/request/show/738886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=159
2019-10-25 16:37:38 +00:00
Dominique Leuenberger
5ec2e41882 Accepting request 733440 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/733440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=158
2019-10-10 09:48:27 +00:00
Yuchen Lin
c528d4aba8 Accepting request 729452 from Base:System
OBS-URL: https://build.opensuse.org/request/show/729452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=157
2019-09-20 12:45:28 +00:00
Dominique Leuenberger
9521864c40 Accepting request 725335 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/725335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=156
2019-09-07 09:23:54 +00:00
Yuchen Lin
0b5da1973e Accepting request 697366 from Base:System
- Add official patch bash50-004
  * In bash-5.0, the `wait' builtin without arguments waits for all children of the
    shell. This includes children it `inherited' at shell invocation time. This
    patch modifies the behavior to not wait for these inherited children, some
    of which might be long-lived.
- Add official patch bash50-005
  * In certain cases, bash optimizes out a fork() call too early and prevents
    traps from running.
- Add official patch bash50-006
  * Bash-5.0 did not build successfully if SYSLOG_HISTORY was defined without
    also defining SYSLOG_SHOPT.
- Add official patch bash50-007
  * Running `exec' when job control was disabled, even temporarily, but after it
    had been initialized, could leave the terminal in the wrong process group for
    the executed process.

OBS-URL: https://build.opensuse.org/request/show/697366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=155
2019-04-28 17:56:42 +00:00
Dominique Leuenberger
45ca510a09 Accepting request 691415 from Base:System
- Add temporary fix from upstream for boo#1128936

- Add patch assignment-preceding-builtin.patch from upstream
  mailing list. Note that this break backward behaviour with
  bash-4.4 but implies that POSIX mode is more correct 

- Replace the temporary patch with official bash50-003

OBS-URL: https://build.opensuse.org/request/show/691415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=154
2019-04-08 08:29:52 +00:00
Dominique Leuenberger
688e4e1bc8 Accepting request 684640 from Base:System
OBS-URL: https://build.opensuse.org/request/show/684640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=153
2019-03-18 09:33:32 +00:00
Dominique Leuenberger
3eaeedece0 Revert /bin/sh handling, see https://bugzilla.opensuse.org/show_bug.cgi?id=1129036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=152
2019-03-13 08:47:41 +00:00
Dominique Leuenberger
aa8b621240 Accepting request 683701 from Base:System
- Update temporary patch from upstream to make sed testsuite
  work again

- Requires(postun) -> Requires(preun)

- Do not link /bin/sh as slave alternative to /usr/bin/sh

- Add temporary patch from upstream to fix boo#1127700

- Refine and harden update-alternatives work flow
- Move header and Makefile from bash-loadables to bash-devel 

- Make update-alternatives work flawless

- Put "sh" under control of update-alternatives

OBS-URL: https://build.opensuse.org/request/show/683701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=151
2019-03-13 08:04:43 +00:00
Dominique Leuenberger
a8fb8c6599 Accepting request 672490 from Base:System
- Add upstream patches bash50-001 and bash50-002

OBS-URL: https://build.opensuse.org/request/show/672490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=150
2019-02-14 13:10:51 +00:00
Dominique Leuenberger
f9e495fcc1 Accepting request 664075 from Base:System
- Update to bash 5.0 (final)
  a. Tilde expansion isn't performed on indexed array subscripts, even for
     backwards compatibility.
  b. The shell doesn't exit in posix mode if the eval builtin gets a parse
     error when run by the command builtin.
  c. Fixed a bug that caused a shell comment in an alias to not find the end
     of the alias properly.
  d. Reverted a change from April, 2018 that caused strings containing
     backslashes to be flagged as glob patterns.
- Modify patches
  * bash-2.03-manual.patch
  * bash-4.3-loadables.dif
  * bash-5.0.dif

- Update to bash 5.0 rc1
  a. Fix to initial word completion detection code.
  b. Fixed a bug that caused issues with assignment statements containing ^A in
     the value assigned when IFS contains ^A.
  c. Added a fallback to fnmatch() when strcoll can't correctly deal with
     bracket expression character equivalence classes.
  d. Fixed a bug that caused $BASH_COMMAND to contain the trap handler command
     when running a trap handler containing [[ or (( commands.
  e. Fixed a bug that caused nameref assignments in the temporary environment
     to potentially create variables with invalid names.
  f. Fixed a bug that caused `local -' to turn off alias expansion in scripts.
  g. Fixed a parser issue with a command string containing EOF after an invalid
     command as an argument to a special builtin not causing a posix-mode shell
     to exit.
  h. Made a slight change to the FNV-1 string hash algorithm used for associative
     arrays (corrected the initial seed).

OBS-URL: https://build.opensuse.org/request/show/664075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=149
2019-01-29 13:38:13 +00:00
Dominique Leuenberger
63bcf57eb3 Accepting request 621861 from Base:System
- Add bash-memmove.patch to make bash.html build reproducible (boo#1100488)

- In patch bash-4.4.dif avoid setgroups(2) but use initgroups(3) (boo#1095670)

OBS-URL: https://build.opensuse.org/request/show/621861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=148
2018-07-17 07:36:24 +00:00
Yuchen Lin
5d6883a93f Accepting request 614491 from Base:System
OBS-URL: https://build.opensuse.org/request/show/614491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=147
2018-06-13 13:13:01 +00:00
Dominique Leuenberger
2466663b26 Accepting request 598555 from Base:System
- Add patch bash-4.4-wait-sigint-handler.patch to fix bug bsc#1086247
  that is repeating self inserting trap due external command in the
  trap.

OBS-URL: https://build.opensuse.org/request/show/598555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=146
2018-04-22 12:35:33 +00:00
Dominique Leuenberger
52bb5e5bd0 Accepting request 587961 from Base:System
- Make sure that correct readline-devel version is used (current 7.0) 

- Correct documentation path 

- Due package split removed patches (for the bots)
  * readline-6.2-xmalloc.dif
  * readline-6.2-endpw.dif
  * readline-6.3-destdir.patch
  * readline-6.2-metamode.patch
  * readline-7.0.dif
  * readline-6.3-input.dif
  * readline-5.2-conf.patch
  * readline-6.3-rltrace.patch

- Split readline off into its own package

OBS-URL: https://build.opensuse.org/request/show/587961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=145
2018-03-22 10:52:33 +00:00
Dominique Leuenberger
032a7bf688 Accepting request 580635 from Base:System
- Create readline-devel-static package to re-enable static libraries
  again (boo#1082913)

- Use %license (boo#1082318)

OBS-URL: https://build.opensuse.org/request/show/580635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=144
2018-03-07 09:28:20 +00:00
Dominique Leuenberger
b399fd66b9 Accepting request 573586 from Base:System
OBS-URL: https://build.opensuse.org/request/show/573586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=143
2018-02-10 16:52:08 +00:00
Dominique Leuenberger
270f9a687a Accepting request 570849 from Base:System
- Add patches 13-18 to bash-4.4-patches.tar.bz2
  * 13: If a here-document contains a command substitution, the
    command substitution can get access to the file descriptor used
    to write the here-document.
  * 14: Under some circumstances, functions that return via the
    `return' builtin do not clean up memory they allocated to keep
    track of FIFOs.
  * 15: Process substitution can leak internal quoting to the
    parser in the invoked subshell.
  * 16: Bash can perform trap processing while reading command
    substitution output instead of waiting until the command
    completes.
  * 17: There is a memory leak when `read -e' is used to read a
    line using readline.
  * 18: Under certain circumstances (e.g., reading from /dev/zero),
    read(2) will not return -1 even when interrupted by a signal.
    The read builtin needs to check for signals in this case.
- partial cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/570849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=142
2018-02-03 14:35:40 +00:00
Dominique Leuenberger
324187c675 Accepting request 569479 from Base:System
- Modify patch bash-4.3-pathtemp.patch to avoid crash at full
  file system (boo#1076909)

OBS-URL: https://build.opensuse.org/request/show/569479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=141
2018-01-29 13:54:57 +00:00
Dominique Leuenberger
ab109129c5 Accepting request 555156 from Base:System
- Enable multibyte characters by default

OBS-URL: https://build.opensuse.org/request/show/555156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=140
2017-12-12 20:19:15 +00:00
Dominique Leuenberger
662bbff064 Accepting request 528605 from Base:System
- Modify patch bash-4.4.dif to let bashline.h install as well as
  this header file is included by general.h due to the same patch
  (boo#1060069)

OBS-URL: https://build.opensuse.org/request/show/528605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=139
2017-10-02 14:43:53 +00:00
Dominique Leuenberger
88c38ea3a2 Accepting request 498391 from Base:System
Make build reproducible in spite of profile based optimizations (boo#1040589) (forwarded request 498339 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/498391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=138
2017-06-02 08:30:54 +00:00
Dominique Leuenberger
5292863f38 Accepting request 491274 from Base:System
- Simplify patch readline-5.2-conf.patch 

- Do not throw info and manual pages away

OBS-URL: https://build.opensuse.org/request/show/491274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=137
2017-05-17 08:45:13 +00:00
Dominique Leuenberger
4a5e3669b9 Accepting request 460239 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/460239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=136
2017-03-05 16:49:22 +00:00
Dominique Leuenberger
8a56a515bb Accepting request 453464 from Base:System
- Add upstream patch readline70-002 which replace old one
  There is a race condition in add_history() that can be triggered by a fatal
  signal arriving between the time the history length is updated and the time
  the history list update is completed. A later attempt to reference an
  invalid history entry can cause a crash.
- Add upstream patch readline70-003
  Readline-7.0 uses pselect(2) to allow readline to handle signals that do not
  interrupt read(2), such as SIGALRM, before reading another character.  The
  signal mask used in the pselect call did not take into account signals the
  calling application blocked before calling readline().

- Add upstream patch bash44-006 
  Out-of-range negative offsets to popd can cause the shell to crash
  attempting to free an invalid memory block.
- Remove patch popd-offset-overflow.patch to use bash44-006
- Add upstream patch bash44-007 
  When performing filename completion, bash dequotes the directory
  name being completed, which can result in match failures and
  potential unwanted expansion.
- Duplicate bash44-007 as readline70-002 as it seems to be missed
- Add upstream patch bash44-008 
  Under certain circumstances, bash will evaluate arithmetic
  expressions as part of reading an expression token even when
  evaluation is suppressed. This happens while evaluating a
  conditional expression and skipping over the failed branch of the
  expression.
- Add upstream patch bash44-009 
  There is a race condition in add_history() that can be triggered
  by a fatal signal arriving between the time the history length
  is updated and the time the history list update is completed.

OBS-URL: https://build.opensuse.org/request/show/453464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=135
2017-02-08 11:11:42 +00:00
Ludwig Nussel
7b1c07848c Accepting request 446820 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/446820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=134
2016-12-22 14:59:15 +00:00
Dominique Leuenberger
d7fe9b7c58 Accepting request 443921 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/443921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=133
2016-12-09 08:30:05 +00:00
Dominique Leuenberger
9f7d0d14b0 Accepting request 441826 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/441826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=132
2016-11-28 14:02:37 +00:00
Dominique Leuenberger
f9e6e2a00c Accepting request 437140 from Base:System
- no-null-warning.patch: Don't warn about null bytes in command
  substitution (forwarded request 437120 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/437140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=131
2016-10-26 11:25:39 +00:00
Dominique Leuenberger
5c7cf3420f Accepting request 417861 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/417861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=130
2016-08-25 07:48:24 +00:00
Dominique Leuenberger
ae2e766e86 Accepting request 406709 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/406709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=129
2016-07-16 20:09:38 +00:00
Dominique Leuenberger
590963db18 Accepting request 396733 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/396733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=128
2016-05-26 21:52:26 +00:00
Dominique Leuenberger
82aa0535bc Accepting request 341009 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/341009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=127
2015-10-28 16:15:10 +00:00
Dominique Leuenberger
e7edaf1ebf Accepting request 329522 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/329522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=126
2015-09-11 07:00:03 +00:00
Stephan Kulow
9463063c1f Accepting request 314679 from Base:System
(forwarded request 314678 from coolo)

OBS-URL: https://build.opensuse.org/request/show/314679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=125
2015-07-21 11:23:28 +00:00
Dominique Leuenberger
98f9c23753 Accepting request 309045 from Base:System
- Add upstream patch bash43-034
  If neither the -f nor -v options is supplied to unset, and a name argument is
  found to be a function and unset, subsequent name arguments are not treated as
  variables before attempting to unset a function by that name.
- Add upstream patch bash43-035
  A locale with a long name can trigger a buffer overflow and core dump.  This
  applies on systems that do not have locale_charset in libc, are not using
  GNU libiconv, and are not using the libintl that ships with bash in lib/intl.
- Add upstream patch bash43-036
  When evaluating and setting integer variables, and the assignment fails to
  create a variable (for example, when performing an operation on an array
  variable with an invalid subscript), bash attempts to dereference a null
  pointer, causing a segmentation violation.
- Add upstream patch bash43-037
  If an associative array uses `@' or `*' as a subscript, `declare -p' produces
  output that cannot be reused as input.
- Add upstream patch bash43-038
  There are a number of instances where `time' is not recognized as a reserved
  word when the shell grammar says it should be.

OBS-URL: https://build.opensuse.org/request/show/309045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=124
2015-05-30 10:32:50 +00:00
Dominique Leuenberger
9b15088ac4 Accepting request 307691 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/307691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=123
2015-05-20 21:15:26 +00:00
Dominique Leuenberger
fb4331bbd3 Accepting request 291558 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/291558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=122
2015-03-23 11:12:10 +00:00
Dominique Leuenberger
852daf4dbb Accepting request 287711 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/287711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=121
2015-03-05 16:04:24 +00:00
Stephan Kulow
0447f3e0de Accepting request 254104 from Base:System
- Replace patches bash-4.2-heredoc-eof-delim.patch and
  bash-4.2-parse-exportfunc.patch with the official upstream
  patch levels bash42-052 and bash42-053

- Replace patch bash-4.2-CVE-2014-7187.patch with upstream patch
  level bash42-051

- Add patches
  bash-4.2-heredoc-eof-delim.patch for bsc#898812, CVE-2014-6277:
  more troubles with functions
  bash-4.2-parse-exportfunc.patch for bsc#898884, CVE-2014-6278:
  code execution after original 6271 fix

- Make bash-4.2-extra-import-func.patch an optional patch due
  instruction

- Remove and replace patches
  bash-4.2-CVE-2014-6271.patch
  bash-4.2-BSC898604.patch
  bash-4.2-CVE-2014-7169.patch
  with bash upstream patch 48, patch 49, and patch 50
- Add patch bash-4.2-extra-import-func.patch which is based on the
  BSD patch of Christos.  As further enhancements the option
  import-functions is mentioned in the manual page and a shopt
  switch is added to enable and disable import-functions on the fly

OBS-URL: https://build.opensuse.org/request/show/254104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=120
2014-10-15 14:19:27 +00:00
Stephan Kulow
88c38ce9ec Accepting request 252744 from Base:System
- Add patches
  bash-4.2-BSC898604.patch for bsc#898604: functions via environment
  hardening
  bash-4.2-CVE-2014-7169.patch for bsc#898346, CVE-2014-7169:
  incremental parsing fix for function environment issue
  bash-4.2-CVE-2014-7187.patch for bsc#898603, CVE-2014-7186,
  CVE-2014-7187: bad handling of HERE documents and for loop issue

OBS-URL: https://build.opensuse.org/request/show/252744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=119
2014-09-29 10:40:44 +00:00
Stephan Kulow
407b15a83a Accepting request 251830 from Base:System
- Add bash-4.2-CVE-2014-6271.patch
  to fix CVE-2014-6271, the unexpected code execution with
  environment variables (bnc#896776)

- Add patch bash-4.2-error-getpwd.patch
  which is the backport of the corrected german error message for
  a failing getpwd (bnc#895475)

OBS-URL: https://build.opensuse.org/request/show/251830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=118
2014-09-28 17:53:46 +00:00
Stephan Kulow
e3b6fd6553 Accepting request 241291 from Base:System
- Don't use outdated C standard (forwarded request 241275 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/241291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=116
2014-07-19 09:04:26 +00:00
Stephan Kulow
b992b0a86d Accepting request 231049 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/231049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=115
2014-04-25 14:06:58 +00:00
Stephan Kulow
f46181f349 Accepting request 228434 from Base:System
- Add bash upstream patch 46 to fix a problem introduced by patch
  32 a problem with "$@" and arrays expanding empty positional
  parameters or array elements when using substring expansion,
  pattern substitution, or case modfication.  The empty parameters
  or array elements are removed instead of expanding to empty
  strings ("").
- Add readline upstream patch 5: The readline shared library
  helper script needs to be updated for Mac OS X 10.9

OBS-URL: https://build.opensuse.org/request/show/228434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=114
2014-04-06 07:54:10 +00:00
Stephan Kulow
9e405dd297 Accepting request 226577 from Base:System
- CVE-2014-2524: bash,readline: temporary file misuse in _rl_tropen (bnc#868822)
  Even if used only by developers to debug readline library do not
  open temporary files from public location without O_EXCL

OBS-URL: https://build.opensuse.org/request/show/226577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=113
2014-03-19 12:57:40 +00:00
Stephan Kulow
834406f4e2 Accepting request 220503 from Base:System
- Add upstream patch bash-4.2-prompt-dirtrim.patch
  bash patch tar ball to solve some some cases strange output
  displayed in the prompt if PROMPT_DIRTRIM i sset.

OBS-URL: https://build.opensuse.org/request/show/220503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=112
2014-02-01 08:40:12 +00:00
Stephan Kulow
b403b18821 Accepting request 182923 from Base:System
- Reintroduce patch bash-4.2-winch.dif to solve bnc#828877
  accordingly to my test and upstream (search on bug-bash@gnu.org
  for message-id <51DFEB10.8080302@case.edu>)

OBS-URL: https://build.opensuse.org/request/show/182923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=110
2013-07-12 18:42:19 +00:00
Stephan Kulow
9c1af624db Accepting request 182487 from Base:System
- Add bash-4.2-strcpy.patch from upstream mailing list to patch
  collection tar ball to avoid when using \w in the prompt and
  changing the directory outside of HOME the a strcpy work on
  overlapping memory areas.

OBS-URL: https://build.opensuse.org/request/show/182487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=109
2013-07-11 11:27:19 +00:00
Stephan Kulow
64c6f29e63 Accepting request 177600 from Base:System
- add a conflict between readline5 and readline6-32bit

- Do not restart the sighandler after a trap is reset (bnc#820149)

OBS-URL: https://build.opensuse.org/request/show/177600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=108
2013-06-05 09:39:39 +00:00
Stephan Kulow
2f79f28753 Accepting request 160437 from Base:System
- Add patch from upstream mailing list to speed up array handling 
- Add patch from upstream mailing list to avoid fdleaks
- Use lsdiff to determine the depth of the leading slashes in a
  patch file

- Disable workaround for bnc#382214 due bnc#806628, let's see when
  the old bug will be up again.
- Update bash 4.2 to patch level 45
  * When SIGCHLD is trapped, and a SIGCHLD trap handler runs when
    a pending `read -t' invocation times out and generates SIGALRM,
    bash can crash with a segmentation fault.
  * When converting a multibyte string to a wide character string
    as part of pattern matching, bash does not handle the end of
    the string correctly, causing the search for the NUL to go
    beyond the end of the string and reference random memory.
    Depending on the contents of that memory, bash can produce
    errors or crash. 
  * The <&n- and >&n- redirections, which move one file descriptor
    to another, leave the file descriptor closed when applied to
    builtins or compound commands.
- Use screen to provide a controlling terminal for running the
  test suite

OBS-URL: https://build.opensuse.org/request/show/160437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=107
2013-03-22 10:00:46 +00:00
Stephan Kulow
e43fd04a14 Accepting request 155228 from Base:System
- config-guess-sub-update.patch:
  Update config.guess/sub for aarch64
- Fix check for negated warning switch (forwarded request 155178 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/155228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=106
2013-02-12 16:41:35 +00:00
Stephan Kulow
76a527a341 Accepting request 147710 from Base:System
- Avoid autoconf on older products 
- Apply audit patch variant to readline as well as we use a shared
  libreadline
- Avoid bash-devel on older products as older GNU make do not have
  a realpath builtin

- Do not trigger the export of COLUMNS or LINES due enforced
  checkwinsize (bnc#793536)

- Update bash 4.2 to patch level 42
  * Missing I/O errors if output redirection applied to builtin
    commands when the file descriptor was closed
  * Process substitution incorrectly inherited a flag that
    inhibited using the temporary environment for variable lookups
    if it was providing the filename to a redirection.
  * Compilation failed after specifying the `minimal config' option

OBS-URL: https://build.opensuse.org/request/show/147710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=104
2013-01-11 14:53:46 +00:00
Stephan Kulow
308446697d Accepting request 140210 from Base:System
- Update bash 4.2 to patch level 39
  * Official fix for the last crash fix
  * Avoid variable expansion in arithmetic expressions when
    evaluation is being suppressed

OBS-URL: https://build.opensuse.org/request/show/140210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=103
2012-11-10 15:54:08 +00:00
Stephan Kulow
6bc8fa4d33 Accepting request 138510 from Base:System
- Do not mix xmalloc/xfree of libreadline and bash by making the
  libreadline version weak symbols instead of private symbols

OBS-URL: https://build.opensuse.org/request/show/138510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=102
2012-10-18 13:40:07 +00:00
Ismail Dönmez
620ba19cf0 Accepting request 131527 from Base:System
- Add patch from upstream mailing list to avoids crash

OBS-URL: https://build.opensuse.org/request/show/131527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=101
2012-08-26 09:30:53 +00:00
Stephan Kulow
3ea938fdfd Accepting request 128462 from Base:System
- Update bash 4.2 to patch level 37
  * Attempting to redo (using `.') the vi editing mode `cc', `dd',
    or `yy' commands leads to an infinite loop.

- Do not mask internal _rl symbols as internal as there are many
  tools out there which uses them (gdb as an example) 

- Update bash 4.2 to patch level 36

OBS-URL: https://build.opensuse.org/request/show/128462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=100
2012-07-23 07:53:35 +00:00
Stephan Kulow
028d63100a Accepting request 128214 from Base:System
- libreadlib: try to avoid to bind references of the symbols
  rl_instream and rl_outstream
- libreadlib: make private symbols really private

- Increase buffer for libreadline messsages if required
- Include stdio.h in libreadline header files to get the declaration
  of FILES correct.

OBS-URL: https://build.opensuse.org/request/show/128214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=99
2012-07-18 15:12:06 +00:00
Ismail Dönmez
b5ebf2c441 Accepting request 127401 from Base:System
- Update bash 4.2 to patch level 36 
  * Patch 25: When used in a shell function,
    `declare -g -a array=(compound assignment)' creates a local
    variable instead of a global one.
  * Patch 26: The `lastpipe' option does not behave correctly on
    machines where the open file limit is less than 256.
  * Patch 27: When the `extglob' shell option is enabled, pattern
    substitution does not work correctly in the presence of
    multibyte characters.
  * Patch 28: When using a word expansion for which the right hand
    side is evaluated, certain expansions of quoted null strings
    include spurious ^? characters.
  * Patch 29: Bash-4.2 tries to leave completed directory names as
    the user typed them, without expanding them to a full pathname.
    One effect of this is that shell variables used in pathnames
    being completed (e.g., $HOME) are left unchanged, but the `$'
    is quoted by readline because it is a special character to the shell.
  * Patch 30: When attempting to glob strings in a multibyte locale,
    and those strings contain invalid multibyte characters that cause
    mbsnrtowcs to return 0, the globbing code loops infinitely.
  * Patch 31: A change between bash-4.1 and bash-4.2 to prevent the
    readline input hook from being called too frequently had the side
    effect of causing delays when reading pasted input on systems such
    as Mac OS X.  This patch fixes those delays while retaining the
    bash-4.2 behavior.
  * Patch 32: Bash-4.2 has problems with DEL characters in the
    expanded value of variables used in the same quoted string as
    variables that expand to nothing.
  * Patch 33: Bash uses a static buffer when expanding the /dev/fd
    prefix for the test and conditional commands, among other uses,

OBS-URL: https://build.opensuse.org/request/show/127401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=98
2012-07-12 08:40:09 +00:00
Stephan Kulow
d1b54809ae Accepting request 126183 from Base:System
license update: GPL-3.0+
Upstream declares the bash license to be GPL-3.0+ - not GPL-2.0+ (forwarded request 126173 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/126183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=97
2012-06-26 15:44:59 +00:00
Stephan Kulow
4862cd53a5 Accepting request 112694 from Base:System
- Remove not required patch (was a fix for bnc#141394) which now
  cause a wrong behaviour if applied (bnc#755453)

OBS-URL: https://build.opensuse.org/request/show/112694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=95
2012-04-12 07:19:35 +00:00
Stephan Kulow
bfef3f9e5f Accepting request 109071 from Base:System
- Update bash 4.2 to patch level 24

OBS-URL: https://build.opensuse.org/request/show/109071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=94
2012-03-16 12:10:46 +00:00
Stephan Kulow
c997f8246a Accepting request 108671 from Base:System
- Avoid endless loop in user completion caused by endpw patches

OBS-URL: https://build.opensuse.org/request/show/108671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=93
2012-03-12 07:53:23 +00:00
Stephan Kulow
777dc3cc7d Accepting request 108164 from Base:System
- Add small patch for be able to use nanoseconds in comparision
  of time stamps of files (bnc#750640)

- Reenable patch for bnc#725657 with latest change from latest
  git repository of the patch.

OBS-URL: https://build.opensuse.org/request/show/108164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=92
2012-03-07 19:08:45 +00:00
Stephan Kulow
889ec077aa Accepting request 97325 from Base:System
add autoconf to buildrequires (forwarded request 97319 from coolo)

OBS-URL: https://build.opensuse.org/request/show/97325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=91
2011-12-21 08:59:24 +00:00
Stephan Kulow
67ba6d57c3 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=90
2011-12-06 17:00:24 +00:00
Stephan Kulow
966be9a259 Accepting request 93690 from Base:System
- Make build check quiet

- Update bash 4.2 to patch level 20
- Update readline 6.2 to patch level 2

OBS-URL: https://build.opensuse.org/request/show/93690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=89
2011-11-28 11:53:02 +00:00
Stephan Kulow
8f84cf8e30 Accepting request 92891 from Base:System
- Disable endpwent() in rl_username_completion_function() as this
  cause a deadlock in a futex of the glibc (bnc#731556)

OBS-URL: https://build.opensuse.org/request/show/92891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=88
2011-11-22 16:47:19 +00:00
Stephan Kulow
9c386002b9 Accepting request 92268 from Base:System
- Enforce bind references to global function symbols to the
  definition within libreadline

OBS-URL: https://build.opensuse.org/request/show/92268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=87
2011-11-21 11:34:18 +00:00
Stephan Kulow
bb6a8145cd Accepting request 91781 from Base:System
- Use libtinfo if available otherwise libncurses, this avoids
  linkage against libncursesw of libreadline (required due
  bnc #729226)

OBS-URL: https://build.opensuse.org/request/show/91781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=86
2011-11-16 16:16:54 +00:00
Stephan Kulow
b3a91e6ea5 Accepting request 90996 from Base:System
- Avoid memory mapped /var/run/nscd/passwd at shutdown by simply
  unmapping this only used area if parent is systemd or SysVinit

- Always close get(pw|gr)func with endpw() respectivly with endgr()
  to avoid memory mapped passwd/groups of cache files from nscd

OBS-URL: https://build.opensuse.org/request/show/90996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=85
2011-11-14 10:49:43 +00:00
Stephan Kulow
db0cf88772 Accepting request 89909 from Base:System
- Disable last patch as it seems a bit broken (bnc#725657)

OBS-URL: https://build.opensuse.org/request/show/89909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=84
2011-11-02 10:47:20 +00:00
Stephan Kulow
35b8cbaf14 Accepting request 89301 from Base:System
- Add direxpand patch from upstream (bnc#725657)

- Add patch from upstream mailing list to avoid memory leak by
  reassigning associative array variable

OBS-URL: https://build.opensuse.org/request/show/89301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=83
2011-10-26 13:20:35 +00:00
Lars Vogdt
a84268a298 Accepting request 83604 from Base:System
- remove autoreqprov and author lists

OBS-URL: https://build.opensuse.org/request/show/83604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=81
2011-09-19 19:03:41 +00:00
Sascha Peilicke
d3cd89ff5b Autobuild autoformatter for 74276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=80
2011-06-22 08:46:38 +00:00
Sascha Peilicke
81c6d74110 Accepting request 74276 from Base:System
- Add fix from upstream mailing list to avoid crash

- use original source URLs

- Fix the fix for bug bnc#681286 to be able to avoid both a not 
  expanding glob as well as the infinit loop in multi byte locale

- Update bash 4.2 to patch level 10
- Add patch from upstream to avoid loosing quoted-nulls
- Add modified patch to avod endless loop in UTF-8 locale

OBS-URL: https://build.opensuse.org/request/show/74276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=79
2011-06-22 08:46:26 +00:00
Sascha Peilicke
9ce4fa6324 Autobuild autoformatter for 64832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=78
2011-03-22 16:51:14 +00:00
Sascha Peilicke
c9180584a1 Accepting request 64832 from Base:System
Accepted submit request 64832 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/64832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=77
2011-03-22 16:51:06 +00:00
Sascha Peilicke
a3c3808eb0 Autobuild autoformatter for 64208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=76
2011-03-16 09:11:09 +00:00
Sascha Peilicke
3b373403a5 Accepting request 64208 from Base:System
Accepted submit request 64208 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/64208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=75
2011-03-16 09:11:02 +00:00
Sascha Peilicke
e4f935ccc2 Autobuild autoformatter for 63708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=74
2011-03-09 12:18:41 +00:00
Sascha Peilicke
1b4d2f2c08 Accepting request 63708 from Base:System
Accepted submit request 63708 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/63708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=73
2011-03-09 12:18:30 +00:00
Sascha Peilicke
9bca88d3da Accepting request 63648 from Base:System
Accepted submit request 63648 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/63648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=72
2011-03-09 08:20:04 +00:00
c839598003 Autobuild autoformatter for 62831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=71
2011-02-27 12:31:41 +00:00
f94863a4bf Accepting request 62831 from Base:System
Accepted submit request 62831 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/62831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=70
2011-02-27 12:31:35 +00:00
Ruediger Oertel
20eb86ef10 Autobuild autoformatter for 61575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=69
2011-02-18 10:51:53 +00:00
Ruediger Oertel
352dd8bc77 Accepting request 61575 from Base:System
Accepted submit request 61575 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/61575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=68
2011-02-18 10:50:51 +00:00
OBS User autobuild
1ed380dd4c Autobuild autoformatter for 50902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=66
2010-10-20 13:19:01 +00:00
Ruediger Oertel
15c030c632 Accepting request 50902 from Base:System
Accepted submit request 50902 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/50902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=65
2010-10-20 13:18:53 +00:00
OBS User autobuild
54d0935c01 Accepting request 50573 from Base:System
Copy from Base:System/bash based on submit request 50573 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/50573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=64
2010-10-14 13:06:17 +00:00
OBS User autobuild
d2f8a901aa Accepting request 47126 from Base:System
Copy from Base:System/bash based on submit request 47126 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/47126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=63
2010-09-09 12:46:02 +00:00
OBS User autobuild
a49fa568f6 Accepting request 45640 from Base:System
Copy from Base:System/bash based on submit request 45640 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/45640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=62
2010-08-24 15:13:13 +00:00
OBS User autobuild
c1941ee452 Accepting request 45552 from Base:System
Copy from Base:System/bash based on submit request 45552 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/45552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=61
2010-08-13 21:58:54 +00:00
OBS User autobuild
7a951e61f5 Accepting request 44201 from Base:System
Copy from Base:System/bash based on submit request 44201 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/44201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=60
2010-07-30 10:31:48 +00:00
OBS User autobuild
1e85e05f47 Accepting request 43232 from Base:System
Copy from Base:System/bash based on submit request 43232 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/43232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=59
2010-07-19 11:22:41 +00:00
OBS User autobuild
c77a9fa3ed Accepting request 40621 from Base:System
Copy from Base:System/bash based on submit request 40621 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/40621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=56
2010-05-25 11:57:58 +00:00
OBS User autobuild
0e4d4f6ca4 Accepting request 37741 from Base:System
Copy from Base:System/bash based on submit request 37741 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/37741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=55
2010-04-13 19:20:11 +00:00
OBS User autobuild
bc4b18b244 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=54 2010-03-18 14:36:32 +00:00
OBS User autobuild
b3dd9b6684 Accepting request 34438 from Base:System
Copy from Base:System/bash based on submit request 34438 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/34438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=53
2010-03-12 16:15:49 +00:00
OBS User autobuild
d183b1b2b9 Accepting request 34010 from Base:System
Copy from Base:System/bash based on submit request 34010 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/34010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=52
2010-03-04 15:06:08 +00:00
OBS User autobuild
0c91902444 Accepting request 33340 from Base:System
Copy from Base:System/bash based on submit request 33340 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/33340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=51
2010-02-25 10:11:42 +00:00
OBS User autobuild
42f9c8ce9e Accepting request 32844 from Base:System
Copy from Base:System/bash based on submit request 32844 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/32844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=50
2010-02-18 11:17:29 +00:00
OBS User autobuild
4eec0932b1 Accepting request 26846 from Base:System
Copy from Base:System/bash based on submit request 26846 from user coolo

OBS-URL: https://build.opensuse.org/request/show/26846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=49
2009-12-18 11:33:21 +00:00
OBS User autobuild
8e62967cfc Accepting request 26685 from Base:System
Copy from Base:System/bash based on submit request 26685 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/26685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=48
2009-12-16 07:57:10 +00:00
OBS User autobuild
b62e526b6a Accepting request 25564 from Base:System
Copy from Base:System/bash based on submit request 25564 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/25564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=47
2009-12-08 11:47:32 +00:00
OBS User autobuild
2450b963c8 Accepting request 21411 from Base:System
Copy from Base:System/bash based on submit request 21411 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/21411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=45
2009-10-02 21:19:06 +00:00
OBS User autobuild
314acd9ace Accepting request 20239 from Base:System
Copy from Base:System/bash based on submit request 20239 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/20239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=44
2009-09-10 10:39:25 +00:00

View File

@ -0,0 +1,48 @@
name: OSC Pull Custom Image Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches: [ factory ]
jobs:
osc_job:
runs-on: osc_patch_label
name: opensuse osc custom container checkout test
steps:
- name: Checkout the repo code
uses: actions/checkout@v3
- name: List all files in the repo
run: |
echo "Workspace: ${{ gitea.workspace }}"
/usr/bin/ls ${{ gitea.workspace }}
- name: Using OBS checkout (remote)
with:
osc_user: 'alexlau'
osc_cred: 'osc.credentials.PlaintextConfigFileCredentialsManager'
osc_path: 'home:alexlau:branches:openSUSE:Factory'
osc_package: 'bash'
env: # Or as an environment variable
osc_pass: ${{ secrets.OSCPASS }}
run:
OSC_CONFIG= OSC_USERNAME=$INPUT_OSC_USER OSC_CREDENTIALS_MGR_CLASS=$INPUT_OSC_CRED OSC_PASSWORD=$osc_pass osc checkout $INPUT_OSC_PATH $INPUT_OSC_PACKAGE
- name: OBS format spec check (local)
with:
osc_user: 'alexlau'
osc_cred: 'osc.credentials.PlaintextConfigFileCredentialsManager'
osc_path: 'home:alexlau:branches:openSUSE:Factory'
osc_package: 'bash'
env: # Or as an environment variable
osc_pass: ${{ secrets.OSCPASS }}
run: |
cd $INPUT_OSC_PATH/$INPUT_OSC_PACKAGE
OSC_CONFIG= OSC_USERNAME=$INPUT_OSC_USER OSC_CREDENTIALS_MGR_CLASS=$INPUT_OSC_CRED OSC_PASSWORD=$osc_pass osc service run format_spec_file
- name: OBS soiurce validate (local)
with:
osc_user: 'alexlau'
osc_cred: 'osc.credentials.PlaintextConfigFileCredentialsManager'
osc_path: 'home:alexlau:branches:openSUSE:Factory'
osc_package: 'bash'
env: # Or as an environment variable
osc_pass: ${{ secrets.OSCPASS }}
run: |
cd $INPUT_OSC_PATH/$INPUT_OSC_PACKAGE
OSC_CONFIG= OSC_USERNAME=$INPUT_OSC_USER OSC_CREDENTIALS_MGR_CLASS=$INPUT_OSC_CRED OSC_PASSWORD=$osc_pass osc service run source_validator