Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • tests/dash
  • refi64/tests-dash
2 results
Show changes
Commits on Source (4)
  • Apertis CI's avatar
    d0247c0e
  • Andrej Shadura's avatar
    Import Debian changes 0.5.11+git20200708+dd9ef66-5 · 42ab3d7d
    Andrej Shadura authored
    dash (0.5.11+git20200708+dd9ef66-5) unstable; urgency=medium
    
      * Actually set PATH_MAX for Hurd.
    
    dash (0.5.11+git20200708+dd9ef66-4) unstable; urgency=medium
    
      * Define PATH_MAX=4096 on Hurd.
    
    dash (0.5.11+git20200708+dd9ef66-3) unstable; urgency=medium
    
      [ Johannes 'josch' Schauer ]
      * Don’t rely on /usr/share/man/man1/ existing (Closes: #974825).
    
      [ Andrej Shadura ]
      * Disable libc glob support (Closes: #974900, #976685).
      * Apply upstream patch:
        - jobs: Only block in waitcmd on first run (Closes: #974705, #975010).
    
    dash (0.5.11+git20200708+dd9ef66-2) unstable; urgency=medium
    
      * Upload to unstable.
    
    dash (0.5.11+git20200708+dd9ef66-1) experimental; urgency=medium
    
      * New upstream snapshot
        (Closes: #541544, #541642, #692611, #930805).
      * Drop patches applied upstream.
    
    dash (0.5.10.2-7) unstable; urgency=medium
    
      * Provide machine-readable copyright file.
      * Use debhelper-compat instead of debian/compat.
      * Use dh 12.
      * Drop nostrip handling, it is build into dh_strip.
      * Wrap and sort Build-Depends.
      * Change the privmode long option name to privileged to match bash.
    
    dash (0.5.10.2-6) unstable; urgency=medium
    
      * Apply patch from Chris Lamb:
        - dash: Fix stack overflow from infinite recursion in script
          (Closes: #579815)
      * Apply upstream patches:
        - shell: Don't include config.h for native helpers
        - system: Disable glibc warning on sigsetmask
      * Apply patches proposed upstream:
        - options: Do not set commandname in procargs
        - histedit: Fix infinite loop when using 'fc -s'
          (Closes: #928072)
      * Update the CI pipeline (thanks to Iñaki Malerba).
      * Enable hardening for helpers.
    42ab3d7d
  • Ritesh Raj Sarraf's avatar
    Merge updates from debian/bullseye · 76db8316
    Ritesh Raj Sarraf authored
    76db8316
  • Apertis CI robot's avatar
Showing
with 1443 additions and 8467 deletions
# .gitignore for dash
# generated by autogen.sh
Makefile.in
/aclocal.m4
/autom4te.cache/
/compile
/config.h.in
/configure
/depcomp
/install-sh
/missing
# generated by configure
Makefile
.deps
.dirstamp
/config.cache
/config.h
/config.log
/config.status
/stamp-h1
# generated by make
/src/token_vars.h
# Apple debug symbol bundles
*.dSYM/
# backups and patch artefacts
*~
*.bak
*.orig
*.rej
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight*
.Trash*
*[Tt]humbs.db
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
aclocal \
&& autoheader \
&& automake --add-missing \
&& autoconf
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if __attribute__((__alias__())) is supported */
#undef HAVE_ALIAS_ATTRIBUTE
/* Define to 1 if you have the <alloca.h> header file. */
#undef HAVE_ALLOCA_H
/* Define to 1 if you have the `bsearch' function. */
#undef HAVE_BSEARCH
/* Define to 1 if you have the declaration of `isblank', and to 0 if you
don't. */
#undef HAVE_DECL_ISBLANK
/* Define to 1 if you have the `faccessat' function. */
#undef HAVE_FACCESSAT
/* Define to 1 if you have the `fnmatch' function. */
#undef HAVE_FNMATCH
/* Define to 1 if you have the `getpwnam' function. */
#undef HAVE_GETPWNAM
/* Define to 1 if you have the `getrlimit' function. */
#undef HAVE_GETRLIMIT
/* Define to 1 if you have the `glob' function. */
#undef HAVE_GLOB
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `isalpha' function. */
#undef HAVE_ISALPHA
/* Define to 1 if you have the `killpg' function. */
#undef HAVE_KILLPG
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `mempcpy' function. */
#undef HAVE_MEMPCPY
/* Define to 1 if you have the <paths.h> header file. */
#undef HAVE_PATHS_H
/* Define to 1 if you have the `sigsetmask' function. */
#undef HAVE_SIGSETMASK
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `stpcpy' function. */
#undef HAVE_STPCPY
/* Define to 1 if you have the `strchrnul' function. */
#undef HAVE_STRCHRNUL
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strsignal' function. */
#undef HAVE_STRSIGNAL
/* Define to 1 if you have the `strtod' function. */
#undef HAVE_STRTOD
/* Define to 1 if you have the `strtoimax' function. */
#undef HAVE_STRTOIMAX
/* Define to 1 if you have the `strtoumax' function. */
#undef HAVE_STRTOUMAX
/* Define if your `struct stat' has `st_mtim' */
#undef HAVE_ST_MTIM
/* Define to 1 if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define if your faccessat tells root all files are executable */
#undef HAVE_TRADITIONAL_FACCESSAT
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to printf format string for intmax_t */
#undef PRIdMAX
/* The size of `intmax_t', as computed by sizeof. */
#undef SIZEOF_INTMAX_T
/* The size of `long long int', as computed by sizeof. */
#undef SIZEOF_LONG_LONG_INT
/* Define if you build with -DSMALL */
#undef SMALL
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif
/* Version number of package */
#undef VERSION
/* Define if you build with -DWITH_LINENO */
#undef WITH_LINENO
/* Define to 1 if on MINIX. */
#undef _MINIX
/* Define to system shell path */
#undef _PATH_BSHELL
/* Define to devnull device node path */
#undef _PATH_DEVNULL
/* Define to tty device node path */
#undef _PATH_TTY
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
/* 64-bit operations are the same as 32-bit */
#undef fstat64
/* 64-bit operations are the same as 32-bit */
#undef lstat64
/* 64-bit operations are the same as 32-bit */
#undef open64
/* klibc has bsd_signal instead of signal */
#undef signal
/* 64-bit operations are the same as 32-bit */
#undef stat64
This diff is collapsed.
AC_INIT(dash, 0.5.10.2)
AC_INIT([dash],[0.5.11])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS(config.h)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
dnl Checks for programs.
AC_PROG_CC
AC_GNU_SOURCE
AC_PROG_YACC
AC_USE_SYSTEM_EXTENSIONS
AC_MSG_CHECKING([for build system compiler])
if test "$cross_compiling" = yes; then
......@@ -36,9 +37,10 @@ if test "$enable_static" = "yes"; then
export LDFLAGS="-static -Wl,--fatal-warnings"
fi
AC_ARG_ENABLE(fnmatch, AS_HELP_STRING(--enable-fnmatch, \
[Use fnmatch(3) from libc]))
AC_ARG_ENABLE(glob, AS_HELP_STRING(--enable-glob, [Use glob(3) from libc]))
AC_ARG_ENABLE(fnmatch, AS_HELP_STRING(--disable-fnmatch, \
[Do not use fnmatch(3) from libc]))
AC_ARG_ENABLE(glob, AS_HELP_STRING(--disable-glob, \
[Do not use glob(3) from libc]))
dnl Checks for libraries.
......@@ -121,12 +123,12 @@ if test "$enable_test_workaround" = "yes"; then
[Define if your faccessat tells root all files are executable])
fi
if test "$enable_fnmatch" = yes; then
if test "$enable_fnmatch" != no; then
use_fnmatch=
AC_CHECK_FUNCS(fnmatch, use_fnmatch=yes)
fi
if test "$use_fnmatch" = yes && test "$enable_glob" = yes; then
if test "$use_fnmatch" = yes && test "$enable_glob" != no; then
AC_CHECK_FUNCS(glob)
fi
......@@ -143,8 +145,20 @@ AC_CHECK_FUNC(stat64,, [
AC_DEFINE(fstat64, fstat, [64-bit operations are the same as 32-bit])
AC_DEFINE(lstat64, lstat, [64-bit operations are the same as 32-bit])
AC_DEFINE(stat64, stat, [64-bit operations are the same as 32-bit])
AC_DEFINE(readdir64, readdir,
[64-bit operations are the same as 32-bit])
AC_DEFINE(dirent64, dirent,
[64-bit operations are the same as 32-bit])
])
AC_CHECK_FUNC(glob64,, [
AC_DEFINE(glob64_t, glob_t, [64-bit operations are the same as 32-bit])
AC_DEFINE(glob64, glob, [64-bit operations are the same as 32-bit])
AC_DEFINE(globfree64, globfree,
[64-bit operations are the same as 32-bit])
])
dnl OS X apparently has stat64 but not open64.
AC_CHECK_FUNC(open64,, [
AC_DEFINE(open64, open, [64-bit operations are the same as 32-bit])
])
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc.
License: GPL-2+
Files: Makefile.in
Copyright: 1994-2011, Free Software
License: FSFULLR
Files: aclocal.m4
Copyright: 1996-2011, Free Software Foundation
License: FSFULLR
Copyright: no-info-found
License: BSD-3-clause or GPL-2+
Files: configure
configure.ac
Files: configure.ac
Copyright: 1992-1996, 1998-2012, Free Software Foundation, Inc.
License: FSFUL
Files: debian/*
Copyright: 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, Herbert Xu <herbert@debian.org>
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2014, Gerrit Pape <pape@smarden.org>
2009, Luk Claes <luk@debian.org>
2010, 2011, Jonathan Nieder <jrnieder@gmail.com>
2010, Adam D. Barratt <adam@adam-barratt.org.uk>
2010, Christian Perrier <bubulle@debian.org>
2013, Michael Gilbert <mgilbert@debian.org>
2016, Helmut Grohne <helmut@subdivi.de>
2016, Mattia Rizzolo <mattia@debian.org>
2016, Niels Thykier <niels@thykier.net>
2017, Adam Borowski <kilobyte@angband.pl>
2017, Ximin Luo <infinity0@debian.org>
2018, 2019, Andrej Shadura <andrewsh@debian.org>
License: BSD-3-clause
Files: debian/po/bg.po
debian/po/eu.po
debian/po/templates.pot
debian/po/tr.po
Copyright: YEAR THE PACKAGES COPYRIGHT HOLDER
License: BSD-3-clause
Files: debian/po/da.po
Copyright: 2010, Dash & nedenstående oversættere.
License: BSD-3-clause
Files: debian/po/de.po
Copyright: Helge Kreutzmann <debian@helgefjell.de>, 2006-2009.
License: BSD-3-clause
Files: debian/po/es.po
Copyright: 2008, 2009, Software in the Public Interest
License: BSD-3-clause
Files: debian/po/fr.po
Copyright: 2009, Debian French l10n team <debian-l10n-french@lists.debian.org>
License: BSD-3-clause
Files: debian/po/nl.po
Copyright: 2008-2010, THE PACKAGES COPYRIGHT HOLDER
License: BSD-3-clause
Files: debian/po/pt.po
Copyright: 2007, the package copyright holder
License: BSD-3-clause
Files: debian/po/pt_BR.po
debian/po/sk.po
Copyright: 2008, 2011, THE dashS COPYRIGHT HOLDER
License: BSD-3-clause
Files: debian/po/ro.po
debian/po/sr.po
Copyright: 2008, 2011, This file is distributed under the same license as the dash package.
License: BSD-3-clause
Files: debian/po/sv.po
Copyright: 2009, Martin Bagge <brother@bsnet.se>
License: BSD-3-clause
Files: debian/po/vi.po
Copyright: 2010, Free Software Foundation, Inc.
License: BSD-3-clause
Files: install-sh
Copyright: 1994, X Consortium
License: Expat
Files: src/*
Copyright: 1997-2005, 2007, Herbert Xu <herbert@gondor.apana.org.au>.
1989, 1991, 1993, 1995, The Regents of the University of California.
Copyright: no-info-found
License: BSD-3-clause
Files: src/Makefile.in
Copyright: 1994-2011, Free Software
License: FSFULLR
Files: src/arith_yylex.c
Copyright: 2002, Herbert Xu.
1993, The Regents of the University of California.
Copyright: no-info-found
License: BSD-3-clause
Files: src/bltin/echo.1
Copyright: no-info-found
License: BSD-3-clause
Files: src/bltin/test.c
......@@ -109,12 +33,11 @@ Copyright: 1999, Herbert Xu <herbert@gondor.apana.org.au>
License: BSD-3-clause
Files: src/miscbltin.h
Copyright: 1997-2005, Herbert Xu <herbert@gondor.apana.org.au>.
1997, Christos Zoulas.
Copyright: no-info-found
License: BSD-3-clause
Files: src/mksignames.c
Copyright: 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc.
Copyright: 1992, Free Software Foundation, Inc.
License: GPL-2+
Files: src/system.c
......@@ -122,3 +45,7 @@ Files: src/system.c
Copyright: 2004, Herbert Xu <herbert@gondor.apana.org.au>.
License: BSD-3-clause
Files: src/TOUR
Copyright: 1997-2005, 2007, Herbert Xu <herbert@gondor.apana.org.au>.
1989, 1991, 1993, 1995, The Regents of the University of California.
License: BSD-3-clause
dash (0.5.11+git20200708+dd9ef66-5apertis0) apertis; urgency=medium
* Sync from Debian debian/bullseye.
-- Apertis CI <devel@lists.apertis.org> Thu, 11 Mar 2021 08:28:16 +0000
dash (0.5.11+git20200708+dd9ef66-5) unstable; urgency=medium
* Actually set PATH_MAX for Hurd.
-- Andrej Shadura <andrewsh@debian.org> Thu, 10 Dec 2020 14:23:19 +0100
dash (0.5.11+git20200708+dd9ef66-4) unstable; urgency=medium
* Define PATH_MAX=4096 on Hurd.
-- Andrej Shadura <andrewsh@debian.org> Thu, 10 Dec 2020 10:55:18 +0100
dash (0.5.11+git20200708+dd9ef66-3) unstable; urgency=medium
[ Johannes 'josch' Schauer ]
* Don’t rely on /usr/share/man/man1/ existing (Closes: #974825).
[ Andrej Shadura ]
* Disable libc glob support (Closes: #974900, #976685).
* Apply upstream patch:
- jobs: Only block in waitcmd on first run (Closes: #974705, #975010).
-- Andrej Shadura <andrewsh@debian.org> Thu, 10 Dec 2020 10:07:56 +0100
dash (0.5.11+git20200708+dd9ef66-2) unstable; urgency=medium
* Upload to unstable.
-- Andrej Shadura <andrewsh@debian.org> Thu, 12 Nov 2020 08:58:00 +0100
dash (0.5.11+git20200708+dd9ef66-1) experimental; urgency=medium
* New upstream snapshot
(Closes: #541544, #541642, #692611, #930805).
* Drop patches applied upstream.
-- Andrej Shadura <andrewsh@debian.org> Sat, 08 Aug 2020 15:13:49 +0200
dash (0.5.10.2-7) unstable; urgency=medium
* Provide machine-readable copyright file.
* Use debhelper-compat instead of debian/compat.
* Use dh 12.
* Drop nostrip handling, it is build into dh_strip.
* Wrap and sort Build-Depends.
* Change the privmode long option name to privileged to match bash.
-- Andrej Shadura <andrewsh@debian.org> Mon, 30 Mar 2020 11:45:13 +0200
dash (0.5.10.2-6) unstable; urgency=medium
* Apply patch from Chris Lamb:
- dash: Fix stack overflow from infinite recursion in script
(Closes: #579815)
* Apply upstream patches:
- shell: Don't include config.h for native helpers
- system: Disable glibc warning on sigsetmask
* Apply patches proposed upstream:
- options: Do not set commandname in procargs
- histedit: Fix infinite loop when using 'fc -s'
(Closes: #928072)
* Update the CI pipeline (thanks to Iñaki Malerba).
* Enable hardening for helpers.
-- Andrej Shadura <andrewsh@debian.org> Thu, 18 Jul 2019 15:15:27 -0300
dash (0.5.10.2-5co2) apertis; urgency=medium
[ Andrej Shadura ]
......@@ -2075,4 +2147,3 @@ ash (0.3-1) unstable; urgency=low
* Initial Release.
-- Herbert Xu <herbert@debian.org> Thu, 19 Jun 1997 19:29:16 +1000
10
......@@ -3,7 +3,10 @@ Section: shells
Priority: optional
Maintainer: Andrej Shadura <andrewsh@debian.org>
Uploaders: Gerrit Pape <pape@smarden.org>
Build-Depends: po-debconf, dpkg-dev (>= 1.16.1), debhelper (>= 10)
Build-Depends:
debhelper-compat (= 12),
dpkg-dev (>= 1.16.1),
po-debconf
Standards-Version: 4.2.1
Homepage: http://gondor.apana.org.au/~herbert/dash/
Vcs-Git: https://salsa.debian.org/debian/dash.git
......
This package was debianized by Mark W. Eichin eichin@kitten.gen.ma.us on
Mon, 24 Feb 1997 16:00:16 -0500.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: dash
Upstream-Contact: dash@vger.kernel.org
Source: http://gondor.apana.org.au/~herbert/dash/
This package was re-ported from NetBSD and debianized by
Herbert Xu herbert@debian.org on Thu, 19 Jun 1997 19:29:16 +1000.
Files: *
Copyright:
1989-1994 The Regents of the University of California. All rights reserved.
1997 Christos Zoulas. All rights reserved.
1997-2018 Herbert Xu <herbert@gondor.apana.org.au>. All rights reserved.
Comment:
This code is derived from software contributed to Berkeley by Kenneth Almquist.
License: BSD-3-Clause
Files: Makefile.in
Copyright: 1994-2011, Free Software Foundation, Inc.
License: FSFULLR
Files: aclocal.m4
Copyright: 1996-2011, Free Software Foundation, Inc.
License: FSFULLR
Files: configure
Copyright: 1992-1996, 1998-2012, Free Software Foundation, Inc.
License: FSFUL
Files: debian/*
Copyright:
1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, Herbert Xu <herbert@debian.org>
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2014, Gerrit Pape <pape@smarden.org>
2009, Luk Claes <luk@debian.org>
2010, 2011, Jonathan Nieder <jrnieder@gmail.com>
2010, Adam D. Barratt <adam@adam-barratt.org.uk>
2010, Christian Perrier <bubulle@debian.org>
2013, Michael Gilbert <mgilbert@debian.org>
2016, Helmut Grohne <helmut@subdivi.de>
2016, Mattia Rizzolo <mattia@debian.org>
2016, Niels Thykier <niels@thykier.net>
2017, Adam Borowski <kilobyte@angband.pl>
2017, Ximin Luo <infinity0@debian.org>
2018, 2019, Andrej Shadura <andrewsh@debian.org>
License: BSD-3-clause
Files: debian/po/bg.po
Copyright: 2008, 2009, Damyan Ivanov <dmn@debian.org>
License: BSD-3-clause
Files: debian/po/eu.po
Copyright:
2008, Xabier Bilbao <xabidu@gmail.com>
2008, 2010, Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>
License: BSD-3-clause
This package was adopted by Gerrit Pape <pape@smarden.org> on
Fri, 28 May 2004 18:38:18 +0000.
Files: debian/po/tr.po
Copyright: 2008, 2011, Mert Dirik <mertdirik@gmail.com>
License: BSD-3-clause
It was downloaded from http://gondor.apana.org.au/~herbert/dash/files/
Files: debian/po/da.po
Copyright:
2004, Claus Hindsgaul <claus_h@image.dk>
2006, Claus Hindsgaul <claus.hindsgaul@gmail.com>
2010, Joe Hansen <joedalton2@yahoo.dk>
License: BSD-3-clause
Files: debian/po/de.po
Copyright: 2006-2009, Helge Kreutzmann <debian@helgefjell.de>
License: BSD-3-clause
Files: debian/po/es.po
Copyright:
2008, 2009, Software in the Public Interest
2008, Fernando Cerezal López <kryptos21@gmail.com>
2009, Francisco Javier Cuadrado <fcocuadrado@gmail.com>
License: BSD-3-clause
Files: debian/po/fr.po
Copyright: 2009, Julien Patriarca <patriarcaj@gmail.com>
License: BSD-3-clause
Copyright (c) 1989-1994
The Regents of the University of California. All rights reserved.
Copyright (c) 1997 Christos Zoulas. All rights reserved.
Copyright (c) 1997-2005
Herbert Xu <herbert@gondor.apana.org.au>. All rights reserved.
This code is derived from software contributed to Berkeley by Kenneth Almquist.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
mksignames.c:
This file is not directly linked with dash. However, its output is.
Copyright (C) 1992 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.
Bash is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License with
your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the
Debian GNU/Linux hello source package as the file COPYING. If not,
write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111 USA.
Files: debian/po/nl.po
Copyright:
2008, Thijs Kinkhorst <thijs@debian.org>
2010, Eric Spreen <erispre@gmail.com>
License: BSD-3-clause
Files: debian/po/pt.po
Copyright:
2008, André Luís Lopes <andrelop@debian.org>
2008-2010, Adriano Rafael Gomes <adrianorg@gmail.com>
License: BSD-3-clause
Files: debian/po/pt_BR.po
Copyright:
2008, André Luís Lopes <andrelop@debian.org>
2008-2010, Adriano Rafael Gomes <adrianorg@gmail.com>
License: BSD-3-clause
Files: debian/po/sk.po
Copyright:
2011, Slavko <linux@slavino.sk>
License: BSD-3-clause
Files: debian/po/ro.po
Copyright:
2008, Eddy Petrișor <eddy.petrisor@gmail.com>
2012, Andrei Popescu <andreimpopescu@gmail.com
License: BSD-3-clause
Files: debian/po/sr.po
Copyright:
2011, Zlatan Todorić <zlatan.todoric@gmail.com>
License: BSD-3-clause
Files: debian/po/sv.po
Copyright:
2008, Martin Ågren <martin.agren@gmail.com>
2009, Martin Bagge <brother@bsnet.se>
License: BSD-3-clause
Files: debian/po/vi.po
Copyright:
2005-2010, Clytie Siddall <clytie@riverland.net.au>
2010, Free Software Foundation, Inc.
License: BSD-3-clause
Files: install-sh
Copyright: 1994, X Consortium
License: Expat
Files:
depcomp
missing
Copyright: 1999, 2000, 2003—2012, Free Software Foundation, Inc.
License: GPL-2+ or BSD-3-clause
Files: src/bltin/test.c
Copyright: Erik Baalbergen, Eric Gisin, Arnold Robbins, J.T. Conklin
License: public-domain
Files: src/*
Copyright: 1997-2005, 2007, Herbert Xu <herbert@gondor.apana.org.au>.
1989, 1991, 1993, 1995, The Regents of the University of California.
License: BSD-3-clause
Files: src/Makefile.in
Copyright: 1994-2011, Free Software
License: FSFULLR
Files: src/mksignames.c
Copyright: 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc.
Comment: This file is not directly linked with dash. However, its output is.
License: GPL-2+
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
License: FSFUL
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
License: FSFULLR
This file is free software; the Free Software Foundation
gives unlimited permission to copy and/or distribute it,
with or without modifications, as long as this notice is preserved.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY, to the extent permitted by law; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.
Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from the X Consor-
tium.
.
FSF changes to this file are in the public domain.
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in ‘/usr/share/common-licenses/GPL-2’.
......@@ -132,8 +132,10 @@ if [ $debconf ]; then
db_get dash/sh
if [ "$RET" = true ]; then
claim_binsh /bin/sh dash
claim_binsh /usr/share/man/man1/sh.1.gz dash.1.gz \
/usr/share/man/man1/sh.distrib.1.gz
if [ -d /usr/share/man/man1/ ]; then
claim_binsh /usr/share/man/man1/sh.1.gz dash.1.gz \
/usr/share/man/man1/sh.distrib.1.gz
fi
else
unclaim_binsh /bin/sh dash
unclaim_binsh /usr/share/man/man1/sh.1.gz dash.1.gz \
......
"debian/":
"copyright": |2-
1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, Herbert Xu <herbert@debian.org>
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2014, Gerrit Pape <pape@smarden.org>
2009, Luk Claes <luk@debian.org>
2010, 2011, Jonathan Nieder <jrnieder@gmail.com>
2010, Adam D. Barratt <adam@adam-barratt.org.uk>
2010, Christian Perrier <bubulle@debian.org>
2013, Michael Gilbert <mgilbert@debian.org>
2016, Helmut Grohne <helmut@subdivi.de>
2016, Mattia Rizzolo <mattia@debian.org>
2016, Niels Thykier <niels@thykier.net>
2017, Adam Borowski <kilobyte@angband.pl>
2017, Ximin Luo <infinity0@debian.org>
2018, 2019, Andrej Shadura <andrewsh@debian.org>
"license": |-
BSD-3-clause
[DEFAULT]
debian-branch=debian/master
debian-branch=debian/unstable
upstream-branch=upstream/latest
upstream-vcs-tag=v%(version)s
include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
build:
extends: .build-unstable
reprotest:
extends: .test-reprotest
lintian:
extends: .test-lintian
autopkgtest:
extends: .test-autopkgtest
piuparts:
extends: .test-piuparts
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
Applied-Upstream: 0.5.10.2+, 413c6dc
From 413c6dcc3ca3891825ae8239251140882d7c6c6c Mon Sep 17 00:00:00 2001
From: Gerrit Pape <pape@smarden.org>
Date: Fri, 7 Sep 2018 10:34:14 +0200
Subject: [PATCH] main: Print \n upon EOF (CTRL-D) when run interactively
Exiting dash via a ^D instead of with "exit" causes dash to forget to
print a newline.
sh-3.1$ sh
sh-3.1$ ^D
sh-3.1$ dash
$ sh-3.1$
It is more neat and tidy to send a newline similarly to what bash does,
so it doesn't make the next prompt of the parent shell look ugly.
Suggested by jidanni.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
[reworded the patch description]
Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Bug-Debian: http://bugs.debian.org/476422
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
---
src/main.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index e8e4256..6d53e00 100644
--- a/src/main.c
+++ b/src/main.c
@@ -221,8 +221,15 @@ cmdloop(int top)
if (!top || numeof >= 50)
break;
if (!stoppedjobs()) {
- if (!Iflag)
+ if (!Iflag) {
+ if (iflag) {
+ out2c('\n');
+#ifdef FLUSHERR
+ flushout(out2);
+#endif
+ }
break;
+ }
out2str("\nUse \"exit\" to leave shell.\n");
}
numeof++;
--
2.19.1
From dc3e43ef32309782d0ef5ce72d0b0c89efd1c70f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Glondu?= <glondu@debian.org>
From: Stéphane Glondu <glondu@debian.org>
Date: Sun, 25 Sep 2011 19:28:27 +0200
Subject: [PATCH 4/6] [SHELL] Disable sh -c "command" -> sh -c "exec command"
optimization
Subject: shell: Disable sh -c "command" -> sh -c "exec command" optimization
Bugs #642706 (bin-prot FTBFS) and #642835 (sexplib310 FTBFS) can be
fixed by reverting the patch submitted at [1]. I don't understand why.
......@@ -20,10 +18,10 @@ Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index efd7da8..e1418a9 100644
index b2712cb..12dfc6e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -167,7 +167,7 @@ state2:
@@ -169,7 +169,7 @@ state2:
state3:
state = 4;
if (minusc)
......@@ -32,6 +30,3 @@ index efd7da8..e1418a9 100644
if (sflag || minusc == NULL) {
state4: /* XXX ??? - why isn't this before the "if" statement */
--
2.1.0
Applied-Upstream: 0.5.10.2+, 15a60c2
From 15a60c2357f772ccf953772859e8f9fc124442e2 Mon Sep 17 00:00:00 2001
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sat, 19 May 2018 02:39:45 +0800
Subject: [PATCH] jobs: Replace some uses of fmtstr with stpcpy/stpncpy
Some uses of fmtstr, particularly the ones without a format string,
can be replaced with stpcpy or stpncpy. This patch does that so
we don't have to introduce unnecessary format strings in order to
silence compiler warnings.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
---
src/jobs.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/jobs.c b/src/jobs.c
index 79a087e..601232d 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -407,12 +407,11 @@ out:
#endif
STATIC int
-sprint_status(char *s, int status, int sigonly)
+sprint_status(char *os, int status, int sigonly)
{
- int col;
+ char *s = os;
int st;
- col = 0;
st = WEXITSTATUS(status);
if (!WIFEXITED(status)) {
#if JOBS
@@ -428,21 +427,21 @@ sprint_status(char *s, int status, int sigonly)
goto out;
#endif
}
- col = fmtstr(s, 32, strsignal(st));
+ s = stpncpy(s, strsignal(st), 32);
#ifdef WCOREDUMP
if (WCOREDUMP(status)) {
- col += fmtstr(s + col, 16, " (core dumped)");
+ s = stpcpy(s, " (core dumped)");
}
#endif
} else if (!sigonly) {
if (st)
- col = fmtstr(s, 16, "Done(%d)", st);
+ s += fmtstr(s, 16, "Done(%d)", st);
else
- col = fmtstr(s, 16, "Done");
+ s = stpcpy(s, "Done");
}
out:
- return col;
+ return s - os;
}
static void
--
2.17.0