Sync from SUSE:ALP:Source:Standard:1.0 dash revision 832639674bd07224d836c135cfc87e26

This commit is contained in:
Adrian Schröter 2024-10-14 14:06:33 +02:00
commit 2a24f92481
4 changed files with 296 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
dash-0.5.12.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

192
dash.changes Normal file
View File

@ -0,0 +1,192 @@
-------------------------------------------------------------------
Tue Dec 27 10:30:43 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Fri Dec 23 06:51:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.5.12:
* eval: Test evalskip before flipping status for NNOT
* parser: Add VSBIT to ensure subtype is never zero
* eval: Check eflag after redirection error
* eval: Always set exitstatus in evaltree
* expand: Add ifsfree to expand to fix a logic error that causes a buffer over-read
* expand: Always quote caret when using fnmatch
* parser: Fix VSLENGTH parsing with trailing garbage
* shell: Fail if building --with-libedit and can't find libedit
* jobs: Only block in waitcmd on first run
* redir: Retry open64 on EINTR
* eval: Prevent recursive PS4 expansion
* jobs: Fix waitcmd busy loop
- drop check-nflag-in-evaltree.patch (upstream)
-------------------------------------------------------------------
Sat Oct 22 02:02:00 UTC 2022 - Luciano Santos <luc14n0@opensuse.org>
- Make dash-sh subpackage architecture independent since it only
contains a symbolic link.
-------------------------------------------------------------------
Thu Jan 27 17:38:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add dash-sh subpackage to be able to switch away from bash
-------------------------------------------------------------------
Mon Dec 20 10:46:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.5.11.5:
* parser: Fix VSLENGTH parsing with trailing garbage
-------------------------------------------------------------------
Mon Jun 7 19:27:42 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 0.5.11.4
* eval: Do not cache value of eflag in evaltree
-------------------------------------------------------------------
Tue Dec 29 19:23:59 UTC 2020 - Dirk Müller <dmueller@suse.com>
- update to 0.5.11.3:
* jobs: Only block in waitcmd on first run
-------------------------------------------------------------------
Thu Nov 19 22:34:02 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- add check-nflag-in-evaltree.patch (bsc#1178978)
-------------------------------------------------------------------
Sun Oct 18 18:08:34 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.5.11.2 (bsc#1177691):
* shell: Group readdir64/dirent64 with open64
- add LICENSE file
-------------------------------------------------------------------
Fri Oct 16 09:00:37 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Sun Aug 16 17:55:38 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.5.11.1:
* For complete list of changes see:
https://git.kernel.org/pub/scm/utils/dash/dash.git/log/?qt=range&q=v0.5.10..v0.5.11.1
-------------------------------------------------------------------
Tue Mar 31 11:29:51 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add -fcommon to %optflags in order to fix boo#1160260.
-------------------------------------------------------------------
Thu Oct 25 06:07:40 UTC 2018 - sean@suspend.net
- update to version 0.5.10
* For complete list of changes, see:
https://git.kernel.org/pub/scm/utils/dash/dash.git/log/?qt=range&q=v0.5.9.1..v0.5.10
- remove upstreamed patches:
* drop dash-0.5.7-do-not-close-stderr.patch
* drop dash-remove-backslash-before-in-double-quotes-in-variable.patch
-------------------------------------------------------------------
Sat Nov 4 23:15:40 UTC 2017 - aavindraa@gmail.com
- update to version 0.5.9.1 (bsc#1177691)
* For complete list of changes, see:
https://git.kernel.org/pub/scm/utils/dash/dash.git/log/?qt=range&q=v0.5.8..v0.5.9.1
- lint with spec-cleaner
-------------------------------------------------------------------
Thu Apr 9 08:19:38 UTC 2015 - mpluskal@suse.com
- Use fnmatch and glob from glibc
- Use url for source
-------------------------------------------------------------------
Fri Oct 10 05:49:53 UTC 2014 - gber@opensuse.org
- update to version 0.5.8
- Small optimisation of command -pv change
- Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin
- Change "characters" for printf precision to "bytes"
- Clarify "trap '' signals" syntax in manual page
- Clarify that 0 and EXIT are both acceptable for exit traps
- command: allow combining -p with -v
- getjob: Fix off-by-one error for multiple of four job numbers
- Propagate EXP_QPAT in subevalvar
- Initialise OPTIND after importing environment
- Fixed argument parsing crash in test
- Add newline when tracing in poplocalvars
- Markup fixes in manual for mandoc 1.12.1
- Use PRIdMAX instead of %j in printf
- Fix typo for wait in manual
- Add support for ulimit -r
- Avoid overflow for very long variable name
- Sanitise environment variable names on entry
- Allow building without LINEO support
- Add top-level autogen.sh
- Avoid imaxdiv when only one of the results is wanted
- Fix klibc DEBUG compilation
- Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving
dotcmd
-------------------------------------------------------------------
Fri Sep 27 11:32:47 UTC 2013 - gber@opensuse.org
- install into %{_bindir} and add a compatibility symlink to /bin
- reenable commandline editor
-------------------------------------------------------------------
Thu Oct 6 22:04:40 UTC 2011 - gber@opensuse.org
- remove libeditline dependency again as libeditline lives in /usr
-------------------------------------------------------------------
Thu Oct 6 17:50:16 UTC 2011 - gber@opensuse.org
- update to version 0.5.7
- optimize dash -c "command" to avoid a fork
- improve LINENO support
- dotcmd should exit with zero when doing nothing
- replace GPL noclobberopen code with the FreeBSD version
- do not split the result of tilde expansion
- use exit status 127 when the script to run does not exist
- document optional open parenthesis for case patterns
- use faccessat if available
- added dash-0.5.7-do-not-close-stderr.patch in order to prevent
stderr from being closed when /dev/tty fails to open (backported
from upstream git)
- added
dash-remove-backslash-before-in-double-quotes-in-variable.patch
which removes a backslash before } in double-quotes in variable
as it prevents the closing brace from terminating the
substitution (from FreeBSD/Debian)
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
-------------------------------------------------------------------
Mon Jul 19 10:57:38 UTC 2010 - guido+opensuse.org@berhoerster.name
- update to version 0.5.6.1
- bugfixes
-------------------------------------------------------------------
Fri Feb 19 11:47:33 UTC 2010 - guido+opensuse.org@berhoerster.name
- cleaned up specfile
-------------------------------------------------------------------
Sat Feb 13 12:00:22 UTC 2010 - guido+opensuse.org@berhoerster.name
- do not provide ash
-------------------------------------------------------------------
Sat Feb 13 11:06:54 UTC 2010 - guido+opensuse.org@berhoerster.name
- initial packaging of dash

78
dash.spec Normal file
View File

@ -0,0 +1,78 @@
#
# spec file for package dash
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2013 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: dash
Version: 0.5.12
Release: 0
Summary: POSIX-compliant Implementation of /bin/sh
License: BSD-3-Clause
Group: System/Shells
URL: http://gondor.apana.org.au/~herbert/dash/
Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
BuildRequires: libedit-devel
%description
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
possible without sacrificing speed where possible.
%package sh
Summary: Handle behaviour of /bin/sh
Group: System/Shells
Requires: dash = %{version}
Conflicts: alternative(sh)
Provides: alternative(sh)
BuildArch: noarch
%description sh
Use dash as /bin/sh implementation.
%prep
%setup -q
%autopatch -p1
%build
%global optflags %{optflags} -fcommon
%configure \
--enable-fnmatch \
--enable-glob \
--with-libedit
%make_build
%install
%make_install
# compatibility symlink to /bin
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/bin
ln -s %{_bindir}/dash %{buildroot}/bin/dash
%endif
ln -sf %{_bindir}/dash %{buildroot}%{_bindir}/sh
%files
%license COPYING
%doc ChangeLog
%{_bindir}/dash
%if 0%{?suse_version} < 1550
/bin/dash
%endif
%{_mandir}/man1/dash.1%{?ext_man}
%files sh
%{_bindir}/sh
%changelog