Hello community, here is the log from the commit of package dash.15063 for openSUSE:Leap:15.1:Update checked in at 2020-11-26 18:26:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.1:Update/dash.15063 (Old) and /work/SRC/openSUSE:Leap:15.1:Update/.dash.15063.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dash.15063" Thu Nov 26 18:26:51 2020 rev:1 rq:850246 version:0.5.11.2 Changes: -------- New Changes file: --- /dev/null 2020-11-18 17:46:03.679371574 +0100 +++ /work/SRC/openSUSE:Leap:15.1:Update/.dash.15063.new.5913/dash.changes 2020-11-26 18:26:54.207204299 +0100 @@ -0,0 +1,135 @@ +------------------------------------------------------------------- +Thu Nov 19 22:34:02 UTC 2020 - Dirk Mueller <[email protected]> + +- add check-nflag-in-evaltree.patch (bsc#1178978) + +------------------------------------------------------------------- +Sun Oct 18 18:08:34 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 0.5.11.2 (bsc#1177691): + * shell: Group readdir64/dirent64 with open64 +- add LICENSE file + +------------------------------------------------------------------- +Sun Aug 16 17:55:38 UTC 2020 - Dirk Mueller <[email protected]> + +- 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 <[email protected]> + +- Add -fcommon to %optflags in order to fix boo#1160260. + +------------------------------------------------------------------- +Thu Oct 25 06:07:40 UTC 2018 - [email protected] + +- 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 - [email protected] + +- 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 - [email protected] + +- Use fnmatch and glob from glibc +- Use url for source + +------------------------------------------------------------------- +Fri Oct 10 05:49:53 UTC 2014 - [email protected] + +- 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 - [email protected] + +- install into %{_bindir} and add a compatibility symlink to /bin +- reenable commandline editor + +------------------------------------------------------------------- +Thu Oct 6 22:04:40 UTC 2011 - [email protected] + +- remove libeditline dependency again as libeditline lives in /usr + +------------------------------------------------------------------- +Thu Oct 6 17:50:16 UTC 2011 - [email protected] + +- 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 - [email protected] + +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) + +------------------------------------------------------------------- +Mon Jul 19 10:57:38 UTC 2010 - [email protected] + +- update to version 0.5.6.1 + - bugfixes + +------------------------------------------------------------------- +Fri Feb 19 11:47:33 UTC 2010 - [email protected] + +- cleaned up specfile + +------------------------------------------------------------------- +Sat Feb 13 12:00:22 UTC 2010 - [email protected] + +- do not provide ash + +------------------------------------------------------------------- +Sat Feb 13 11:06:54 UTC 2010 - [email protected] + +- initial packaging of dash + New: ---- check-nflag-in-evaltree.patch dash-0.5.11.2.tar.gz dash.changes dash.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dash.spec ++++++ # # spec file for package dash # # Copyright (c) 2020 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.11.2 Release: 0 Summary: POSIX-compliant Implementation of /bin/sh License: BSD-3-Clause Group: System/Shells URL: http://gondor.apana.org.au/~herbert/dash/ Source: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz # PATCH-FIX-UPSTREAM: https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=29d6f2148f10213de4e904d515e792d2cf8c968e Patch1: check-nflag-in-evaltree.patch 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. %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 mkdir -p %{buildroot}/bin ln -s %{_bindir}/dash %{buildroot}/bin/dash %files %license COPYING %doc ChangeLog %{_bindir}/dash /bin/dash %{_mandir}/man1/dash.1%{?ext_man} %changelog ++++++ check-nflag-in-evaltree.patch ++++++ From 29d6f2148f10213de4e904d515e792d2cf8c968e Mon Sep 17 00:00:00 2001 From: Herbert Xu <[email protected]> Date: Thu, 4 Jun 2020 21:53:55 +1000 Subject: eval: Check nflag in evaltree instead of cmdloop This patch moves the nflag check from cmdloop into evaltree. This is so that nflag will be in force even if we enter the shell via a path other than cmdloop, e.g., through sh -c. Reported-by: Joey Hess <[email protected]> Signed-off-by: Herbert Xu <[email protected]> --- src/eval.c | 3 +++ src/main.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/eval.c b/src/eval.c index d10be38..9476fbb 100644 --- a/src/eval.c +++ b/src/eval.c @@ -213,6 +213,9 @@ evaltree(union node *n, int flags) setstackmark(&smark); + if (nflag) + goto out; + if (n == NULL) { TRACE(("evaltree(NULL) called\n")); goto out; diff --git a/src/main.c b/src/main.c index 7a28534..5c49fdc 100644 --- a/src/main.c +++ b/src/main.c @@ -233,7 +233,7 @@ cmdloop(int top) out2str("\nUse \"exit\" to leave shell.\n"); } numeof++; - } else if (nflag == 0) { + } else { int i; job_warning = (job_warning == 2) ? 1 : 0; -- cgit 1.2.3-1.el7 _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
