07a490
#% define beta_tag rc2
07a490
%define patchleveltag .46
07a490
%define baseversion 4.2
07a490
%bcond_without tests
07a490
07a490
Version: %{baseversion}%{patchleveltag}
07a490
Name: bash
07a490
Summary: The GNU Bourne Again shell
8bbf73
Release: 31%{?dist}
07a490
Group: System Environment/Shells
07a490
License: GPLv3+
07a490
Url: http://www.gnu.org/software/bash
07a490
Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz
07a490
07a490
# For now there isn't any doc
07a490
#Source2: ftp://ftp.gnu.org/gnu/bash/bash-doc-%{version}.tar.gz
07a490
07a490
Source1: dot-bashrc
07a490
Source2: dot-bash_profile
07a490
Source3: dot-bash_logout
07a490
07a490
# Official upstream patches
07a490
Patch001: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-001
07a490
Patch002: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-002
07a490
Patch003: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-003
07a490
Patch004: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-004
07a490
Patch005: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-005
07a490
Patch006: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-006
07a490
Patch007: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-007
07a490
Patch008: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-008
07a490
Patch009: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-009
07a490
Patch010: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-010
07a490
Patch011: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-011
07a490
Patch012: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-012
07a490
Patch013: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-013
07a490
Patch014: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-014
07a490
Patch015: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-015
07a490
Patch016: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-016
07a490
Patch017: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-017
07a490
Patch018: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-018
07a490
Patch019: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-019
07a490
Patch020: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-020
07a490
Patch021: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-021
07a490
Patch022: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-022
07a490
Patch023: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-023
07a490
Patch024: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-024
07a490
Patch025: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-025
07a490
Patch026: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-026
07a490
Patch027: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-027
07a490
Patch028: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-028
07a490
Patch029: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-029
07a490
Patch030: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-030
07a490
Patch031: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-031
07a490
Patch032: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-032
07a490
Patch033: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033
07a490
Patch034: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-034
07a490
Patch035: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-035
07a490
Patch036: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-036
07a490
Patch037: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-037
07a490
Patch038: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-038
07a490
Patch039: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-039
07a490
Patch040: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-040
07a490
Patch041: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-041
07a490
Patch042: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-042
07a490
Patch043: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-043
07a490
Patch044: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-044
07a490
Patch045: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-045
07a490
Patch046: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-046
07a490
#1175647 - shellshock related parser bugs
07a490
Patch052: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-052
07a490
Patch053: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-053
07a490
07a490
# Other patches
07a490
Patch101: bash-2.02-security.patch
07a490
Patch102: bash-2.03-paths.patch
07a490
Patch103: bash-2.03-profile.patch
07a490
Patch104: bash-2.05a-interpreter.patch
07a490
Patch105: bash-2.05b-debuginfo.patch
07a490
Patch106: bash-2.05b-manso.patch
07a490
Patch107: bash-2.05b-pgrp_sync.patch
07a490
Patch108: bash-2.05b-readline-oom.patch
07a490
Patch109: bash-2.05b-xcc.patch
07a490
Patch110: bash-3.2-audit.patch
07a490
Patch111: bash-3.2-ssh_source_bash.patch
07a490
Patch112: bash-bashbug.patch
07a490
Patch113: bash-infotags.patch
07a490
Patch114: bash-requires.patch
07a490
Patch115: bash-setlocale.patch
07a490
Patch116: bash-tty-tests.patch
07a490
07a490
# 484809, check if interp section is NOBITS
07a490
Patch117: bash-4.0-nobits.patch
07a490
07a490
# Do the same CFLAGS in generated Makefile in examples
07a490
Patch118: bash-4.1-examples.patch
07a490
07a490
# Builtins like echo and printf won't report errors
07a490
# when output does not succeed due to EPIPE
07a490
Patch119: bash-4.1-broken_pipe.patch
07a490
07a490
# Enable system-wide .bash_logout for login shells
07a490
Patch120: bash-4.2-rc2-logout.patch
07a490
07a490
# Static analyzis shows some issues in bash-2.05a-interpreter.patch
07a490
Patch121: bash-4.2-coverity.patch
07a490
07a490
# Don't call malloc in signal handler
07a490
Patch122: bash-4.1-defer-sigchld-trap.patch
07a490
07a490
# 799958, updated info about trap
07a490
Patch123: bash-4.2-manpage_trap.patch
07a490
07a490
# 695656, block the signal and unblock it after the new handler is installed
07a490
Patch124: bash-4.2-signal.patch
07a490
07a490
# https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow
07a490
Patch125: bash-4.2-size_type.patch
07a490
07a490
# 903833, Fix missing close(), fixes fd leaks
07a490
Patch126: bash-4.2-missing_closes.patch
07a490
Patch127: bash-4.1-trap.patch
07a490
07a490
# 1112709 - mention ulimit -c and -f POSIX block size
07a490
Patch128: bash-4.2-man-ulimit.patch
07a490
07a490
# 1116301 - inhibit brace expansion in some cases
07a490
Patch129: bash-4.2-brace-expand.patch
07a490
07a490
# 1102813 - fix bash visual mode
07a490
Patch130: bash-4.2-noecho.patch
07a490
07a490
# 1126370 - provide a better description for some bash builtins
07a490
Patch131: bash-4.2-manpage.patch
07a490
07a490
# 1126396 - prevent bash from hanging with certain history settings
07a490
Patch132: bash-4.2-history-hang.patch
07a490
07a490
# 1126401 - properly document extglob behaviour
07a490
Patch133: bash-4.2-extglob-man.patch
07a490
07a490
# 1141648 - properly document extglob behaviour
07a490
Patch134: bash-4.2-env-inject.patch
07a490
07a490
# 1146324 - cve-2014-7169
07a490
07a490
Patch135: bash-4.2-cve-2014-7169-0.patch
07a490
Patch136: bash-4.2-cve-2014-7169-1.patch
07a490
Patch137: bash-4.2-cve-2014-7169-2.patch
07a490
07a490
#1172214 - Bash leaks memory when doing a pattern-substitution
07a490
Patch138: bash-4.2-double-alloc.patch
07a490
07a490
#1196566 - IFS incorrectly splitting herestrings
07a490
Patch139: bash-4.2-ifs-in-temp-env.patch
07a490
07a490
#1165793
07a490
Patch140: bash-4.2-check-debugger.patch
07a490
07a490
#1212775
07a490
Patch141: bash-4.2-case-in-command-subst.patch
07a490
07a490
#1237213 - export when fnname contains hyphens
07a490
Patch142: bash-4.2-enable-hyphened-fn-export.patch
07a490
07a490
#1326302
07a490
Patch143: fix-shopt-lastpipe-mode-crash.patch
07a490
07a490
#1372806
07a490
Patch144: bash-4.3-trapped-signals.patch
07a490
07a490
#1403255
07a490
Patch145: bash-4.4-param-expansion.patch
07a490
07a490
#1377496
07a490
Patch146: bash-4.4-pipeline-pgrp.patch
07a490
07a490
#1267478
07a490
Patch147: bash-4.2-missing-opt-cd.patch
07a490
07a490
#1264101 - Plug a leak related to compound assignments
07a490
Patch148: bash-4.2-leak-compound.patch
07a490
07a490
#1379237
07a490
Patch149: bash-4.3-cve-2016-0634.patch
07a490
07a490
#1426026
07a490
Patch150: bash-4.3-cve-2016-7543.patch
07a490
07a490
#1429838
07a490
Patch151: bash-cve-2016-9401.patch
07a490
07a490
#1473245
07a490
Patch152: bash-4.3-pipefd-leak.patch
07a490
07a490
#1487615 - bash fails to execute commands containing multibyte characters
07a490
Patch153: bash-4.3-wshouldquote.patch
07a490
8bbf73
#1495398 - Append '/' while tab completing directory names
8bbf73
Patch154: bash-4.3-dircomp-append-slash.patch
8bbf73
07a490
BuildRequires: texinfo bison
07a490
BuildRequires: ncurses-devel
07a490
BuildRequires: autoconf, gettext
07a490
Conflicts: filesystem < 3
07a490
Provides: /bin/sh
07a490
Provides: /bin/bash
07a490
07a490
%description
07a490
The GNU Bourne Again shell (Bash) is a shell or command language
07a490
interpreter that is compatible with the Bourne shell (sh). Bash
07a490
incorporates useful features from the Korn shell (ksh) and the C shell
07a490
(csh). Most sh scripts can be run by bash without modification.
07a490
07a490
%package doc
07a490
Summary: Documentation files for %{name}
07a490
Group: Development/Languages
07a490
Requires: %{name} = %{version}-%{release}
07a490
07a490
%description doc
07a490
This package contains documentation files for %{name}.
07a490
07a490
%define pkgdocdir %{_datadir}/doc/%{name}-%{version}
07a490
07a490
%prep
07a490
#%setup -q -a 2
07a490
%setup -q -n %{name}-%{baseversion}
07a490
07a490
# Official upstream patches
07a490
%patch001 -p0 -b .001
07a490
%patch002 -p0 -b .002
07a490
%patch003 -p0 -b .003
07a490
%patch004 -p0 -b .004
07a490
%patch005 -p0 -b .005
07a490
%patch006 -p0 -b .006
07a490
%patch007 -p0 -b .007
07a490
%patch008 -p0 -b .008
07a490
%patch009 -p0 -b .009
07a490
%patch010 -p0 -b .010
07a490
%patch011 -p0 -b .011
07a490
%patch012 -p0 -b .012
07a490
%patch013 -p0 -b .013
07a490
%patch014 -p0 -b .014
07a490
%patch015 -p0 -b .015
07a490
%patch016 -p0 -b .016
07a490
%patch017 -p0 -b .017
07a490
%patch018 -p0 -b .018
07a490
%patch019 -p0 -b .019
07a490
%patch020 -p0 -b .020
07a490
%patch021 -p0 -b .021
07a490
%patch022 -p0 -b .022
07a490
%patch023 -p0 -b .023
07a490
%patch024 -p0 -b .024
07a490
%patch025 -p0 -b .025
07a490
%patch026 -p0 -b .026
07a490
%patch027 -p0 -b .027
07a490
%patch028 -p0 -b .028
07a490
%patch029 -p0 -b .029
07a490
%patch030 -p0 -b .030
07a490
%patch031 -p0 -b .031
07a490
%patch032 -p0 -b .032
07a490
%patch033 -p0 -b .033
07a490
%patch034 -p0 -b .034
07a490
%patch035 -p0 -b .035
07a490
%patch036 -p0 -b .036
07a490
%patch037 -p0 -b .037
07a490
%patch038 -p0 -b .038
07a490
%patch039 -p0 -b .039
07a490
%patch040 -p0 -b .040
07a490
%patch041 -p0 -b .041
07a490
%patch042 -p0 -b .042
07a490
%patch043 -p0 -b .043
07a490
%patch044 -p0 -b .044
07a490
%patch045 -p0 -b .045
07a490
%patch046 -p0 -b .046
07a490
07a490
# Other patches
07a490
%patch101 -p1 -b .security
07a490
%patch102 -p1 -b .paths
07a490
%patch103 -p1 -b .profile
07a490
%patch104 -p1 -b .interpreter
07a490
%patch105 -p1 -b .debuginfo
07a490
%patch106 -p1 -b .manso
07a490
%patch107 -p1 -b .pgrp_sync
07a490
%patch108 -p1 -b .readline_oom
07a490
%patch109 -p1 -b .xcc
07a490
%patch110 -p1 -b .audit
07a490
%patch111 -p1 -b .ssh_source_bash
07a490
%patch112 -p1 -b .bashbug
07a490
%patch113 -p1 -b .infotags
07a490
%patch114 -p1 -b .requires
07a490
%patch115 -p1 -b .setlocale
07a490
%patch116 -p1 -b .tty_tests
07a490
%patch117 -p1 -b .nobits
07a490
%patch118 -p1 -b .examples
07a490
%patch119 -p1 -b .broken_pipe
07a490
%patch120 -p1 -b .logout
07a490
%patch121 -p1 -b .coverity
07a490
%patch122 -p1 -b .defer_sigchld_trap
07a490
%patch123 -p1
07a490
%patch124 -p1 -b .signal
07a490
%patch125 -p1 -b .size_type
07a490
%patch126 -p1 -b .missing_closes
07a490
%patch127 -p1 -b .trap
07a490
%patch128 -p1 -b .ulimit
07a490
%patch129 -p1 -b .expand
07a490
%patch130 -p1 -b .noecho
07a490
%patch131 -p1 -b .manpage
07a490
%patch132 -p1 -b .hang
07a490
%patch133 -p1 -b .man
07a490
%patch134 -p0 -b .inject
07a490
%patch135 -p0 -b .7169-0
07a490
%patch136 -p0 -b .7169-1
07a490
%patch137 -p0 -b .7169-2
07a490
%patch052 -p0 -b .052
07a490
%patch053 -p0 -b .053
07a490
%patch138 -p1 -b .double-alloc
07a490
%patch139 -p1 -b .temp-env
07a490
%patch140 -p1 -b .check-debugger
07a490
%patch141 -p1 -b .command-subst
07a490
%patch142 -p0 -b .export
07a490
%patch143 -p1 -b .fix-shopt-lastpipe-mode
07a490
%patch144 -p1 -b .trapped-signals
07a490
%patch145 -p1 -b .param-expansion
07a490
%patch146 -p1 -b .pipeline-pgrp
07a490
%patch147 -p1 -b .cd-e
07a490
%patch148 -p1 -b .leak-compound
07a490
%patch149 -p1 -b .cve-2016-0634
07a490
%patch150 -p1 -b .cve-2016-7543
07a490
%patch151 -p1 -b .cve-2016-9401
07a490
%patch152 -p1 -b .pipefd-leak
07a490
%patch153 -p1 -b .wshouldquote
8bbf73
%patch154 -p1 -b .append-slash
07a490
07a490
echo %{version} > _distribution
07a490
echo %{release} > _patchlevel
07a490
07a490
%build
07a490
autoconf
07a490
%configure --with-bash-malloc=no --with-afs
07a490
07a490
# Recycles pids is neccessary. When bash's last fork's pid was X
07a490
# and new fork's pid is also X, bash has to wait for this same pid.
07a490
# Without Recycles pids bash will not wait.
07a490
make "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`"
07a490
07a490
%install
07a490
rm -rf $RPM_BUILD_ROOT
07a490
07a490
if [ -e autoconf ]; then
07a490
  # Yuck. We're using autoconf 2.1x.
07a490
  export PATH=.:$PATH
07a490
fi
07a490
07a490
# Fix bug #83776
07a490
perl -pi -e 's,bashref\.info,bash.info,' doc/bashref.info
07a490
07a490
make DESTDIR=$RPM_BUILD_ROOT install
07a490
07a490
mkdir -p $RPM_BUILD_ROOT/etc
07a490
07a490
# make manpages for bash builtins as per suggestion in DOC/README
07a490
pushd doc
07a490
sed -e '
07a490
/^\.SH NAME/, /\\- bash built-in commands, see \\fBbash\\fR(1)$/{
07a490
/^\.SH NAME/d
07a490
s/^bash, //
07a490
s/\\- bash built-in commands, see \\fBbash\\fR(1)$//
07a490
s/,//g
07a490
b
07a490
}
07a490
d
07a490
' builtins.1 > man.pages
07a490
for i in echo pwd test kill; do
07a490
  perl -pi -e "s,$i,,g" man.pages
07a490
  perl -pi -e "s,  , ,g" man.pages
07a490
done
07a490
07a490
install -c -m 644 builtins.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/builtins.1
07a490
07a490
for i in `cat man.pages` ; do
07a490
  echo .so man1/builtins.1 > ${RPM_BUILD_ROOT}%{_mandir}/man1/$i.1
07a490
  chmod 0644 ${RPM_BUILD_ROOT}%{_mandir}/man1/$i.1
07a490
done
07a490
popd
07a490
07a490
# Link bash man page to sh so that man sh works.
07a490
ln -s bash.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/sh.1
07a490
07a490
# Not for printf, true and false (conflict with coreutils)
07a490
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/printf.1
07a490
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/true.1
07a490
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/false.1
07a490
07a490
ln -sf bash $RPM_BUILD_ROOT%{_bindir}/sh
07a490
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
07a490
mkdir -p $RPM_BUILD_ROOT/etc/skel
07a490
install -c -m644 %SOURCE1 $RPM_BUILD_ROOT/etc/skel/.bashrc
07a490
install -c -m644 %SOURCE2 $RPM_BUILD_ROOT/etc/skel/.bash_profile
07a490
install -c -m644 %SOURCE3 $RPM_BUILD_ROOT/etc/skel/.bash_logout
07a490
LONG_BIT=$(getconf LONG_BIT)
07a490
mv $RPM_BUILD_ROOT%{_bindir}/bashbug \
07a490
   $RPM_BUILD_ROOT%{_bindir}/bashbug-"${LONG_BIT}"
07a490
ln -s bashbug-"${LONG_BIT}" $RPM_BUILD_ROOT%{_bindir}/bashbug
07a490
ln -s bashbug.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bashbug-"$LONG_BIT".1
07a490
07a490
# Fix missing sh-bangs in example scripts (bug #225609).
07a490
for script in \
07a490
  examples/scripts/krand.bash \
07a490
  examples/scripts/bcsh.sh \
07a490
  examples/scripts/precedence \
07a490
  examples/scripts/shprompt
07a490
do
07a490
  cp "$script" "$script"-orig
07a490
  echo '#!/bin/bash' > "$script"
07a490
  cat "$script"-orig >> "$script"
07a490
  rm -f "$script"-orig
07a490
done
07a490
07a490
# bug #820192, need to add execable alternatives for regular built-ins
07a490
for ea in alias bg cd command fc fg getopts jobs read umask unalias wait
07a490
do
07a490
  cat <<EOF > "$RPM_BUILD_ROOT"/%{_bindir}/"$ea"
07a490
#!/bin/sh
07a490
builtin $ea "\$@"
07a490
EOF
07a490
chmod +x "$RPM_BUILD_ROOT"/%{_bindir}/"$ea"
07a490
done
07a490
07a490
%find_lang %{name}
07a490
07a490
# copy doc to /usr/share/doc
07a490
cat /dev/null > %{name}-doc.files
07a490
mkdir -p $RPM_BUILD_ROOT/%{pkgdocdir}/doc
07a490
cp -p COPYING $RPM_BUILD_ROOT/%{pkgdocdir}
07a490
# loadables aren't buildable
07a490
rm -rf examples/loadables
07a490
for file in CHANGES COMPAT NEWS NOTES POSIX examples\
07a490
    doc/{FAQ,INTRO,rose94.pdf,article.{pdf,txt},bashref.{html,pdf}}
07a490
do
07a490
  cp -rp "$file" $RPM_BUILD_ROOT/%{pkgdocdir}/"$file"
07a490
  echo "%%doc %{pkgdocdir}/$file" >> %{name}-doc.files
07a490
done
07a490
echo "%%doc %{pkgdocdir}/doc" >> %{name}-doc.files
07a490
07a490
07a490
%if %{with tests}
07a490
%check
07a490
make check
07a490
%endif
07a490
07a490
%clean
07a490
rm -rf $RPM_BUILD_ROOT
07a490
07a490
# ***** bash doesn't use install-info. It's always listed in %{_infodir}/dir
07a490
# to prevent prereq loops
07a490
07a490
# post is in lua so that we can run it without any external deps.  Helps
07a490
# for bootstrapping a new install.
07a490
# Jesse Keating 2009-01-29 (code from Ignacio Vazquez-Abrams)
07a490
# Roman Rakus 2011-11-07 (code from Sergey Romanov) #740611
07a490
%post -p <lua>
07a490
nl        = '\n'
07a490
sh        = '/bin/sh'..nl
07a490
bash      = '/bin/bash'..nl
07a490
f = io.open('/etc/shells', 'a+')
07a490
if f then
07a490
  local shells = nl..f:read('*all')..nl
07a490
  if not shells:find(nl..sh) then f:write(sh) end
07a490
  if not shells:find(nl..bash) then f:write(bash) end
07a490
  f:close()
07a490
end
07a490
07a490
%postun -p <lua>
07a490
-- Run it only if we are uninstalling
07a490
if arg[2] == "0"
07a490
then
07a490
  t={}
07a490
  for line in io.lines("/etc/shells")
07a490
  do
07a490
    if line ~= "/bin/bash" and line ~= "/bin/sh"
07a490
    then
07a490
      table.insert(t,line)
07a490
    end
07a490
  end
07a490
07a490
  f = io.open("/etc/shells", "w+")
07a490
  for n,line in pairs(t)
07a490
  do
07a490
    f:write(line.."\n")
07a490
  end
07a490
  f:close()
07a490
end
07a490
07a490
%files -f %{name}.lang
07a490
%defattr(-,root,root)
07a490
%config(noreplace) /etc/skel/.b*
07a490
%{_bindir}/sh
07a490
%{_bindir}/bash
07a490
%{_bindir}/alias
07a490
%{_bindir}/bg
07a490
%{_bindir}/cd
07a490
%{_bindir}/command
07a490
%{_bindir}/fc
07a490
%{_bindir}/fg
07a490
%{_bindir}/getopts
07a490
%{_bindir}/jobs
07a490
%{_bindir}/read
07a490
%{_bindir}/umask
07a490
%{_bindir}/unalias
07a490
%{_bindir}/wait
07a490
%dir %{pkgdocdir}/
07a490
%doc %{pkgdocdir}/COPYING
07a490
%attr(0755,root,root) %{_bindir}/bashbug*
07a490
%{_infodir}/bash.info*
07a490
%{_mandir}/*/*
07a490
%{_mandir}/*/..1*
07a490
07a490
%files doc -f %{name}-doc.files
07a490
%defattr(-, root, root)
07a490
07a490
# For now there isn't any doc
07a490
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
07a490
07a490
%changelog
8bbf73
* Tue May 22 2018 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-31
8bbf73
- Append '/' while tab completing directory names
8bbf73
  Resolves: #1495398
8bbf73
07a490
* Mon Sep 25 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-30
07a490
- Check for multibyte characters in commands
07a490
  Resolves: #1487615
07a490
07a490
* Thu Aug 03 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-29
07a490
- Fix a pipe fd leak in process substitution
07a490
  Resolves: #1473245
07a490
07a490
* Tue Mar 07 2017 Kamil Dudka 
07a490
- CVE-2016-9401 - Fix crash when '-' is passed as second sign to popd
07a490
  Resolves: #1429838
07a490
07a490
* Fri Feb 24 2017 Kamil Dudka 
07a490
- CVE-2016-7543: Fix for arbitrary code execution via SHELLOPTS+PS4 variables
07a490
  Resolves: #1426026
07a490
07a490
* Thu Feb 09 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-26
07a490
- CVE-2016-0634: Fix for arbitrary code execution via malicious hostname
07a490
  Resolves: #1379237
07a490
07a490
* Thu Feb 09 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-25
07a490
- Plug a leak related to compound assignments
07a490
  Resolves: #1264101
07a490
07a490
* Thu Feb 09 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-24
07a490
- Recognize cd -e
07a490
  Resolves: #1267478 
07a490
07a490
* Thu Feb 09 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-23
07a490
- Add a condition before setting pipeline_pgrp to shell_pgrp
07a490
  Resolves: #1377496
07a490
07a490
* Thu Feb 09 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-22
07a490
- Avoid crash in parameter expansion while expanding long strings
07a490
  Resolves: #1403255
07a490
07a490
* Wed Oct 12 2016 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-21
07a490
- Fix a crash in trap signal handling
07a490
  Resolves: #1372806
07a490
07a490
* Tue Jul 12 2016 Siteshwar Vashisht <svashisht@redhat.com> - 4.2.46-20
07a490
- Fix a crash when lastpipe mode is enabled
07a490
  Resolves: #1326302
07a490
07a490
* Wed Jul 08 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-19
07a490
- Add a necessary declaration to common.h
07a490
  Related: #1165793
07a490
07a490
* Tue Jul 07 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-18
07a490
- Allow importing exported functions with hyphens
07a490
  Resolves: #1237213
07a490
07a490
* Mon May 18 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-17
07a490
- Make sure a case statement works in command subst
07a490
  Resolves: #1212775
07a490
07a490
* Fri May 15 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-16
07a490
- Emit warning when --debugger option is used and no debugger is installed
07a490
  Resolves: #1165793
07a490
07a490
* Thu May 14 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-15
07a490
- Add a CI configfile
07a490
  Related: #1165793
07a490
07a490
* Mon Apr 27 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-14
07a490
- IFS incorrectly splitting herestrings
07a490
  Resolves: #1196566
07a490
07a490
* Mon Apr 27 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-13
07a490
- PatternSub code allocates twice
07a490
  Resolves: #1172214
07a490
07a490
* Sun Jan 11 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-12
07a490
- Shellshock related parser bugs - patches
07a490
  Related: #1175647
07a490
07a490
* Thu Jan 08 2015 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-11
07a490
- Shellshock related parser bugs (actually upstream patches 52 and 53)
07a490
  Resolves: #1175647
07a490
07a490
* Fri Sep 26 2014 Michal Hlavinka <mhlavink@redhat.com> - 4.2.46-10
07a490
- CVE-2014-7169
07a490
  Resolves: #1146325
07a490
- amend #1146324 patch to match upstream's
07a490
07a490
* Mon Sep 15 2014  Ondrej Oprala <ooprala@redhat.com> - 4.2.46-9
07a490
- fix-up the patch
07a490
  Related: #1141648
07a490
07a490
* Mon Sep 15 2014  Ondrej Oprala <ooprala@redhat.com> - 4.2.46-8
07a490
- check for fishy environment
07a490
  Resolves: #1141648
07a490
07a490
* Mon Aug 04 2014 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-7
07a490
- Properly document extglob behaviour
07a490
  Resolves: #1126401
07a490
07a490
* Mon Aug 04 2014 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-6
07a490
- Prevent bash from hanging with certain history settings
07a490
  Resolves: #1126396
07a490
07a490
* Mon Aug 04 2014 Ondrej Oprala <ooprala@redhat.com> - 4.2.46-5
07a490
- Document continue, break and suspend
07a490
  Resolves: #1126370
07a490
07a490
* Wed Jul 24 2014 Ondrej Oprala 
07a490
- Fix bash visual mode
07a490
  Resolves: #1102813
07a490
07a490
* Tue Jul 22 2014 Ondrej Oprala 
07a490
- Inhibit brace expansion in some cases
07a490
  Resolves: #1116301
07a490
07a490
* Mon Jul 21 2014 Ondrej Oprala 
07a490
- Mention ulimit -c and -f block size in POSIX mode
07a490
  Resolves: #1112709
07a490
07a490
* Thu Jun 18 2014 Ondrej Oprala 
07a490
- Patchlevel 46
07a490
  Resolves: #1073683
07a490
07a490
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.2.45-5
07a490
- Mass rebuild 2014-01-24
07a490
07a490
* Fri Jan 24 2014 Ondrej Oprala 
07a490
- Backport a patch from #964687 (resolves #1034915)
07a490
07a490
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.2.45-3
07a490
- Mass rebuild 2013-12-27
07a490
07a490
* Fri Aug 09 2013 Roman Rakus <rrakus@redhat.com> - 4.2.45-2
07a490
- Added suggestion to .bashrc how to disable autopaging in systemctl
07a490
  Resolves: #978841
07a490
07a490
* Mon Mar 11 2013 Roman Rakus <rrakus@redhat.com> - 4.2.45-1
07a490
- Patchlevel 45
07a490
07a490
* Thu Jan 31 2013 Roman Rakus <rrakus@redhat.com> - 4.2.42-3
07a490
- Fix usage of partial unitialized structure
07a490
  Resolves: #857948
07a490
07a490
* Thu Jan 31 2013 Roman Rakus <rrakus@redhat.com> - 4.2.42-2
07a490
- Fix fd leaks
07a490
  Resolves: #903833
07a490
07a490
* Thu Jan 03 2013 Roman Rakus <rrakus@redhat.com> - 4.2.42-1
07a490
- Patchlevel 42
07a490
07a490
* Thu Nov 29 2012 Roman Rakus <rrakus@redhat.com> - 4.2.39-3
07a490
- Use unsigned type for size
07a490
07a490
* Tue Nov 27 2012 Roman Rakus <rrakus@redhat.com> - 4.2.39-2
07a490
- Create bashbug symlink
07a490
07a490
* Fri Nov 02 2012 Roman Rakus <rrakus@redhat.com> - 4.2.39-1
07a490
- Patchlevel 39
07a490
07a490
* Tue Aug 28 2012 Roman Rakus <rrakus@redhat.com> - 4.2.37-8
07a490
- Fix a comments in rpm changelog
07a490
07a490
* Tue Aug 28 2012 Roman Rakus <rrakus@redhat.com> - 4.2.37-7
07a490
- Update info about trap in man page
07a490
  Resolves: #799958
07a490
- instead of setting the signal handler to SIG_IGN while installing
07a490
  the new trap handler, block the signal and unblock it after the new handler
07a490
  is installed
07a490
  Resolves: #695656
07a490
07a490
* Wed Aug 22 2012 Ondrej Oprala <ooprala@redhat.com> - 4.2.37-6
07a490
- Revert revision 4.2.37-5 - already fixed upstream
07a490
07a490
* Tue Aug 21 2012 Ondrej Oprala <ooprala@redhat.com> - 4.2.37-5
07a490
- Don't filter out environmental variables with
07a490
  a dot in the name
07a490
  Resolves: #819995
07a490
07a490
* Wed Aug 08 2012 Roman Rakus <rrakus@redhat.com> - 4.2.37-4
07a490
- Added doc subdir to bash-doc ownership list
07a490
  Resolves: #846734
07a490
07a490
* Tue Jul 24 2012 Roman Rakus <rrakus@redhat.com> - 4.2.37-3
07a490
- Increment patchlevel tag
07a490
07a490
* Tue Jul 24 2012 Roman Rakus <rrakus@redhat.com> - 4.2.36-3
07a490
- Patchlevel 37
07a490
07a490
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.36-2
07a490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
07a490
07a490
* Tue Jul 10 2012 Roman Rakus <rrakus@redhat.com> - 4.2.36-1
07a490
- Patchlevel 36
07a490
07a490
* Sat Jun 23 2012 Roman Rakus <rrakus@redhat.com> - 4.2.29-3
07a490
- Remove /bin from DEFAULT_PATH_VALUE
07a490
  Resolves: #834571
07a490
07a490
* Thu May 31 2012 Roman Rakus <rrakus@redhat.com> - 4.2.29-2
07a490
- Patchlevel 29
07a490
- Also keep release at -2, so we are newer then f16 and f17
07a490
07a490
* Tue May 29 2012 Roman Rakus <rrakus@redhat.com> - 4.2.28-2
07a490
- Provide exec-able alternatives to some builtins
07a490
  Resolves #820192
07a490
07a490
* Wed May 09 2012 Roman Rakus <rrakus@redhat.com> - 4.2.28-1
07a490
- Patchlevel 28
07a490
07a490
* Mon Apr 23 2012 Roman Rakus <rrakus@redhat.com> - 4.2.24-2
07a490
- Don't call malloc in signal handler
07a490
07a490
* Tue Mar 13 2012 Roman Rakus <rrakus@redhat.com> - 4.2.24-1
07a490
- Patchlevel 24
07a490
07a490
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 4.2.20-4
07a490
- install everything in /usr
07a490
  https://fedoraproject.org/wiki/Features/UsrMove
07a490
07a490
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.20-3
07a490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
07a490
07a490
* Thu Nov 24 2011 Roman Rakus <rrakus@redhat.com> - 4.2.20-2
07a490
- Add missing f:close() in postun
07a490
- Patchlevel 20
07a490
07a490
* Thu Nov 10 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-7
07a490
- erase /bin/bash and /bin/sh in postun only if we are uninstalling (#752827)
07a490
07a490
* Mon Nov 07 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-6
07a490
- Simplified lua post script (#740611)
07a490
07a490
* Fri Jul 29 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-5
07a490
- Clean up unneeded bash-doc files (Ville Skyttä) (#721116)
07a490
07a490
* Wed Jun 22 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-4
07a490
- Don't crash when use `read' with associative array (#715050)
07a490
07a490
* Tue Jun 07 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-3
07a490
- Added $HOME/.local/bin to PATH in .bash_profile (#699812)
07a490
07a490
* Thu May 05 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-2
07a490
- Inc. a release no.
07a490
07a490
* Thu May 05 2011 Roman Rakus <rrakus@redhat.com> - 4.2.10-1
07a490
- Patchlevel 10
07a490
07a490
* Thu Mar 31 2011 Roman Rakus <rrakus@redhat.com> - 4.2.8-2
07a490
- Remove bash-4.2-xdupmbstowcs2-patch, which introduced another bugs
07a490
07a490
* Tue Mar 15 2011 Roman Rakus <rrakus@redhat.com> - 4.2.8-1
07a490
- Patchlevel 8
07a490
07a490
* Tue Mar 15 2011 Roman Rakus <rrakus@redhat.com> - 4.2.7-3
07a490
- #684293, fix the infinite loop with invalid wide char
07a490
07a490
* Mon Mar 14 2011 Roman Rakus <rrakus@redhat.com> - 4.2.7-2
07a490
- Use lua script in postun
07a490
07a490
* Mon Mar 07 2011 Roman Rakus <rrakus@redhat.com> - 4.2.7-1
07a490
- Patchlevel 7
07a490
07a490
* Wed Mar 02 2011 Roman Rakus <rrakus@redhat.com> - 4.2.6-1
07a490
- Patchlevel 6
07a490
07a490
* Tue Mar 01 2011 Roman Rakus <rrakus@redhat.com> - 4.2.5-1
07a490
- Patchlevel 5
07a490
- Static analyzis show some issues in some patches
07a490
- Some cleanup
07a490
07a490
* Wed Feb 16 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-2
07a490
- pattern matching glitch, patch from upstream
07a490
07a490
* Wed Feb 16 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-1
07a490
- Release bash-4.2
07a490
07a490
* Mon Feb 14 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-0.2.rc2
07a490
- Enable system-wide .bash_logout for login shells
07a490
07a490
* Wed Feb 09 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-0.1.rc2
07a490
- Update to bash-4.2-rc2
07a490
07a490
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.9-6
07a490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
07a490
07a490
* Thu Jan 06 2011 Roman Rakus <rrakus@redhat.com> - 4.1.9-5
07a490
- Builtins like echo and printf won't report errors
07a490
  when output does not succeed due to EPIPE
07a490
07a490
* Thu Dec 16 2010 Roman Rakus <rrakus@redhat.com> - 4.1.9-4
07a490
- Drop doc/examples/loadables
07a490
07a490
* Wed Dec 01 2010 Roman Rakus <rrakus@redhat.com> - 4.1.9-3
07a490
- don't segfault when trying to bind int variable to array
07a490
  with bad array subsrcipt
07a490
  Resolves: #618289
07a490
07a490
* Fri Oct 15 2010 Ville Skyttä <ville.skytta@iki.fi> - 4.1.9-2
07a490
- Move doc dir ownership to main package.
07a490
- Preserve doc timestamps.
07a490
- Add --without tests option for building without running the test suite.
07a490
07a490
* Thu Oct 14 2010 Roman Rakus <rrakus@redhat.com> - 4.1.9-1
07a490
- Patch level 9
07a490
07a490
* Mon Aug 02 2010 Roman Rakus <rrakus@redhat.com> - 4.1.7-4
07a490
- Use better nomenclature for --rpm-requires bash option (#557134)
07a490
07a490
* Tue Jun 22 2010 Roman Rakus <rrakus@redhat.com> - 4.1.7-3
07a490
- Added missing patch
07a490
07a490
* Tue Jun 22 2010 Roman Rakus <rrakus@redhat.com> - 4.1.7-2
07a490
- Do the same CFLAGS in generated Makefile in examples
07a490
07a490
* Fri May 21 2010 Roman Rakus <rrakus@redhat.com> - 4.1.7-1
07a490
- Patch level 7
07a490
07a490
* Mon Apr 12 2010 Roman Rakus <rrakus@redhat.com> - 4.1.5-1
07a490
- Patch level 5
07a490
- There's no more need for Requires(post) ncurses-libs
07a490
07a490
* Tue Mar 30 2010 Roman Rakus <rrakus@redhat.com> - 4.1.2-4
07a490
- Corrected requires patch (#563301)
07a490
07a490
* Fri Jan 22 2010 rrakus@redhat.com 4.1.2-3
07a490
- Don't use cond-rmatch patch
07a490
- Use manso patch
07a490
- Include COPYING in base bash rpm
07a490
07a490
* Fri Jan 22 2010 rrakus@redhat.com 4.1.2-2
07a490
- Correct patchlevel 2
07a490
07a490
* Fri Jan 22 2010 Roman Rakus rrakus@redhat.com 4.1.2-1
07a490
- Patchlevel 4.2
07a490
- Removed old patch
07a490
- Returned back manso patch
07a490
07a490
* Fri Jan 08 2010 Roman Rakus rrakus@redhat.com 4.1.0-2
07a490
- Include COPYING in doc dir
07a490
07a490
* Mon Jan 04 2010 Roman Rakus <rrakus@redhat.com> - 4.1.0-1
07a490
- Upstream 4.1
07a490
07a490
* Sun Dec 27 2009 Roman Rakus <rrakus@redhat.com> - 4.1-0.2.rc1
07a490
- Fixed patch for fuzz=0
07a490
07a490
* Sun Dec 27 2009 Roman Rakus <rrakus@redhat.com> - 4.1-0.1.rc1
07a490
- Upstream 4.1.rc1
07a490
07a490
* Fri Dec 11 2009 Roman Rakus <rrakus@redhat.com> - 4.0.35-2
07a490
- Don't segfault when TERM=eterm* and EMACS is unset (#530911)
07a490
07a490
* Thu Oct 29 2009 Roman Rakus <rrakus@redhat.com> - 4.0.35-1
07a490
- Patch level 35
07a490
07a490
* Mon Oct 05 2009 Roman Rakus <rrakus@redhat.com> - 4.0.33-2
07a490
- Make symlink from bashbug-suffix to bashbug man pages
07a490
07a490
* Wed Sep 16 2009 Roman Rakus <rrakus@redhat.com> - 4.0.33-1
07a490
- Patch level 33
07a490
- spec file cleanup
07a490
07a490
* Fri Sep 04 2009 Roman Rakus <rrakus@redhat.com> - 4.0.28-3
07a490
- check if interp section is NOBITS
07a490
- define Recycles pids
07a490
07a490
* Wed Aug 26 2009 Roman Rakus <rrakus@redhat.com> - 4.0.28-2
07a490
- alloc memory for key in creation associative array (#518644)
07a490
07a490
* Tue Jul 28 2009 Roman Rakus <rrakus@redhat.com> - 4.0.28-1
07a490
- Upstream patch level 28
07a490
07a490
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.24-2
07a490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
07a490
07a490
* Tue May 19 2009 Roman Rakus <rrakus@redhat.com> - 4.0.24-1
07a490
- Upstream patch level 24
07a490
07a490
* Wed Apr 22 2009 Roman Rakus <rrakus@redhat.com> - 4.0.16-1
07a490
- better to use patch level in version tag like vim do
07a490
07a490
* Tue Apr 21 2009 Roman Rakus <rrakus@redhat.com> - 4.0-7.16
07a490
- Use patch level in Release tag
07a490
07a490
* Wed Apr 08 2009 Roman Rakus <rrakus@redhat.com> - 4.0-6
07a490
- Official upstream patch level 16
07a490
07a490
* Mon Mar 30 2009 Roman Rakus <rrakus@redhat.com> - 4.0-5
07a490
- Split documentation, use bash-doc package
07a490
  Resolves: #492447
07a490
07a490
* Sat Mar 21 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0-4
07a490
- Add full URLs to upstream patches
07a490
- Don't uselessly use %%version macro
07a490
07a490
* Wed Mar 11 2009 Roman Rakus <rrakus@redhat.com> - 4.0-3
07a490
- Official upstream patch level 10
07a490
07a490
* Wed Feb 25 2009 Roman Rakus <rrakus@redhat.com> - 4.0-2
07a490
- Save parser state in pcomplete.
07a490
  Resolves: #487257
07a490
07a490
* Tue Feb 24 2009 Roman Rakus <rrakus@redhat.com> - 4.0-1
07a490
- Release of bash-4.0
07a490
07a490
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.5.rc1
07a490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
07a490
07a490
* Wed Feb 11 2009 Roman Rakus <rrakus@redhat.com> - 4.0-0.4.rc1
07a490
- Fix handling pipelines with `set -e'
07a490
  Resolves: #483385
07a490
07a490
* Thu Jan 29 2009 Roman Rakus <rrakus@redhat.com> - 4.0-0.3.rc1
07a490
- No more debug output
07a490
  Resolves: #483002
07a490
07a490
* Wed Jan 28 2009 Jesse Keating <jkeating@redhat.com> - 4.0-0.2.rc1
07a490
- Replace post code with lua to be able to not have external deps
07a490
07a490
* Mon Jan 26 2009 Roman Rakus <rrakus@redhat.com> - 4.0-0.1.rc1
07a490
- Fixed release tag
07a490
07a490
* Wed Jan 21 2009 Roman Rakus <rrakus@redhat.com> - 4.0-rc1.1
07a490
- Bump to upstream bash-4.0-rc1
07a490
07a490
* Mon Dec 15 2008 Roman Rakus <rrakus@redhat.com> - 3.2-33
07a490
- fc builtin fix
07a490
  Resolves: #438841
07a490
07a490
* Mon Dec 15 2008 Roman Rakus <rrakus@redhat.com> - 3.2-32
07a490
- Enabling auditing
07a490
  Resolves: #476216
07a490
07a490
* Tue Dec 09 2008 Roman Rakus <rrakus@redhat.com> - 3.2-31
07a490
- Patchlevel 48
07a490
07a490
* Thu Dec 04 2008 Roman Rakus <rrakus@redhat.com> - 3.2-30
07a490
- Added check for `command_not_found_handler' shell function
07a490
  Resolves: #432579
07a490
07a490
* Tue Oct 28 2008 Jesse Keating <jkeating@redhat.com> - 3.2-29
07a490
- Add the Requires(post) back for ncurses-libs, so that rpm knows
07a490
  where to break the loop.  The post actually does require the curses
07a490
  libs for the sh calls.  Could consider doing this in LUA and not have
07a490
  any external deps.
07a490
07a490
* Thu Oct 23 2008 Roman Rakus <rrakus@redhat.com> - 3.2-28
07a490
- Removing Requires for mktemp and ncurses, which cause
07a490
  dependencing loop
07a490
- Enabling #define SSH_SOURCE_BASHRC, because ssh changed.
07a490
  Resolves: #458839
07a490
- Catch signals right after calling execve()
07a490
  Resolves: #455548
07a490
07a490
* Thu Jul 17 2008 Roman Rakus <rrakus@redhat.com> - 3.2-27
07a490
- Changes in man page - #442018, #445692, #446625, #453409
07a490
- Changed patches to satisfy fuzz=0
07a490
07a490
* Thu Jun  5 2008 Roman Rakus <rrakus@redhat.com> - 3.2-26
07a490
- Patchlevel 39
07a490
07a490
* Tue Jun  3 2008 Roman Rakus <rrakus@redhat.com> - 3.2-25
07a490
- #449512 - reverting back last change - don't use glob library
07a490
07a490
* Wed May 28 2008 Roman Rakus <rrakus@redhat.com> - 3.2-24
07a490
- #217359 - use posix glob library
07a490
07a490
* Thu May 22 2008 Roman Rakus <rrakus@redhat.com> - 3.2-23
07a490
- #446420 - COMP_WORDBREAKS settings now works
07a490
07a490
* Fri Feb 29 2008 Tomas Janousek <tjanouse@redhat.com> - 3.2-22
07a490
- drop /usr/bin/clear from /etc/skel/.bash_logout as suggested by #429406
07a490
07a490
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2-21
07a490
- Autorebuild for GCC 4.3
07a490
07a490
* Mon Jan 14 2008 Tomas Janousek <tjanouse@redhat.com> - 3.2-20
07a490
- Added bash32-026 upstream official patch
07a490
- Added bash32-027 upstream official patch (#249987)
07a490
- Added bash32-028 upstream official patch
07a490
- Added bash32-029 upstream official patch (#286861)
07a490
- Added bash32-030 upstream official patch
07a490
- Added bash32-031 upstream official patch (#358231)
07a490
- Added bash32-032 upstream official patch
07a490
- Added bash32-033 upstream official patch
07a490
- Fix insert command repeating in vi mode (#190350)
07a490
07a490
* Tue Nov 06 2007 Tomas Janousek <tjanouse@redhat.com> - 3.2-19
07a490
- fix cursor position when prompt has one invisible character (#358231)
07a490
- dropped examples/loadables/ from docs, since it wasn't possible to build them
07a490
  anyway (#174380)
07a490
- fix #286861: Wrong input confuses bash's arithmetic unit permanently
07a490
- fix #344411: $RANDOM stays the same when job executed in the background
07a490
07a490
* Fri Aug 31 2007 Pete Graner <pgraner@redhat.com> - 3.2-18
07a490
- Added bash32-021 upstream official patch
07a490
- Added bash32-025 upstream official patch
07a490
- Added bash32-024 upstream official patch
07a490
- Added bash32-023 upstream official patch
07a490
- Added bash32-022 upstream official patch
07a490
07a490
* Wed Aug 29 2007 Pete Graner <pgraner@redhat.com> - 3.2-17
07a490
- Added bash32-018 upstream official patch
07a490
- Added bash32-020 upstream official patch
07a490
- Added bash32-019 upstream official patch
07a490
07a490
* Thu Aug 23 2007 Pete Graner <pgraner@redhat.com> - 3.2-16
07a490
- Rebuild
07a490
07a490
* Mon Aug 20 2007 Pete Graner <pgraner@redhat.com> - 3.2-15
07a490
- Update to the Improve bash $RANDOM pseudo RNG (bug #234906) 
07a490
  now works with subshells and make $RANDOM on demand thus reducing the 
07a490
  amount of AVCs thrown.
07a490
07a490
* Thu Aug 16 2007 Pete Graner <pgraner@redhat.com> - 3.2-15
07a490
- Changed spec file License to GPLv2+
07a490
07a490
* Wed Aug 15 2007 Pete Graner <pgraner@redhat.com> - 3.2-13
07a490
- Improve bash $RANDOM pseudo RNG (bug #234906)
07a490
07a490
* Fri Jul 20 2007 Tim Waugh <twaugh@redhat.com> 3.2-12
07a490
- Quote environment variables in the post scriptlet to prevent upgrade
07a490
  failures (bug #249005).
07a490
07a490
* Thu Jul  5 2007 Tim Waugh <twaugh@redhat.com> 3.2-11
07a490
- Patchlevel 17 (bug #241647).
07a490
07a490
* Wed Jul  4 2007 Tim Waugh <twaugh@redhat.com> 3.2-10
07a490
- Clarification in the ulimit man page (bug #220657).
07a490
07a490
* Mon Feb 12 2007 Tim Waugh <twaugh@redhat.com> 3.2-9
07a490
- Rebuild to link with libtinfo instead of libncurses.
07a490
07a490
* Wed Feb  7 2007 Tim Waugh <twaugh@redhat.com> 3.2-8
07a490
- Avoid %%makeinstall (bug #225609).
07a490
07a490
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.2-7
07a490
- Reinstated this change:
07a490
  - Post requires ncurses (bug #224567).
07a490
- Reverted this change:
07a490
  - Added triggers for install-info (bug #225609).
07a490
07a490
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.2-6
07a490
- Reverted this change:
07a490
  - Post requires ncurses (bug #224567).
07a490
07a490
* Mon Feb  5 2007 Tim Waugh <twaugh@redhat.com> 3.2-5
07a490
- Added triggers for install-info (bug #225609).
07a490
- Use full path to utilities in scriptlets (bug #225609).
07a490
- Fix missing sh-bangs in example scripts (bug #225609).
07a490
- Post requires ncurses (bug #224567).
07a490
- Removed Prefix tag (bug #225609).
07a490
- Fixed BuildRoot tag (bug #225609).
07a490
- Removed trailing full-stop from summary (bug #225609).
07a490
- Spec file is now UTF-8 (bug #225609).
07a490
- Removed obsolete Obsoletes (bug #225609).
07a490
- Moved 'make check' to new 'check' section (bug #225609).
07a490
- Removed uses of RPM_SOURCE_DIR (bug #225609).
07a490
- Fixed macros in changelog (bug #225609).
07a490
- Changed tabs to spaces (bug #225609).
07a490
07a490
* Tue Jan 23 2007 Tim Waugh <twaugh@redhat.com> 3.2-4
07a490
- Slightly better .bash_logout (bug #223960).
07a490
07a490
* Fri Jan 19 2007 Tim Waugh <twaugh@redhat.com> 3.2-3
07a490
- Back out rmatch change introduced in 3.2 (bug #220087).
07a490
07a490
* Tue Jan 16 2007 Miroslav Lichvar <mlichvar@redhat.com> 3.2-2
07a490
- Link with ncurses.
07a490
07a490
* Fri Dec 15 2006 Tim Waugh <twaugh@redhat.com> 3.2-1
07a490
- Build requires autoconf and gettext.
07a490
- 3.2.  No longer need aq, login, ulimit, sighandler or read-memleak
07a490
  patches.
07a490
07a490
* Wed Jul 12 2006 Tim Waugh <twaugh@redhat.com> 3.1-17
07a490
- Fixed 'tags out of date' problem with 'info bash' (bug #150118).
07a490
07a490
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-16.1
07a490
- rebuild
07a490
07a490
* Wed Jun 28 2006 Tim Waugh <twaugh@redhat.com> 3.1-16
07a490
- Removed 'unset USERNAME' from default .bash_profile (bug #196735).
07a490
07a490
* Thu Jun 15 2006 Tim Waugh <twaugh@redhat.com> 3.1-15
07a490
- Updated requires patch to the ALT version.
07a490
07a490
* Wed May 31 2006 Tim Waugh <twaugh@redhat.com> 3.1-14
07a490
- More sighandler fixes, this time hypothetical.
07a490
07a490
* Thu May 26 2006 Tim Waugh <twaugh@redhat.com> 3.1-13
07a490
- Another fix for the sighandler patch (bug #192297).
07a490
07a490
* Thu Apr 13 2006 Tim Waugh <twaugh@redhat.com> 3.1-12
07a490
- Patchlevel 17.
07a490
07a490
* Tue Apr  4 2006 Tim Waugh <twaugh@redhat.com> 3.1-11
07a490
- Patchlevel 16.
07a490
07a490
* Thu Mar 23 2006 Tim Waugh <twaugh@redhat.com> 3.1-10
07a490
- Patchlevel 14.
07a490
07a490
* Thu Mar  2 2006 Tim Waugh <twaugh@redhat.com> 3.1-9
07a490
- Fixed duplicate documentation of ulimit '-x' option introduced by
07a490
  ulimit patch (bug #183596).
07a490
07a490
* Tue Feb 21 2006 Tim Waugh <twaugh@redhat.com> 3.1-8
07a490
- Patchlevel 10.
07a490
07a490
* Thu Feb 16 2006 Tim Waugh <twaugh@redhat.com> 3.1-7
07a490
- Patchlevel 8.
07a490
07a490
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-6.2
07a490
- bump again for double-long bug on ppc(64)
07a490
07a490
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-6.1
07a490
- rebuilt for new gcc4.1 snapshot and glibc changes
07a490
07a490
* Sun Feb  5 2006 Tim Waugh <twaugh@redhat.com> 3.1-6
07a490
- Patchlevel 7.
07a490
07a490
* Wed Jan 18 2006 Tim Waugh <twaugh@redhat.com>
07a490
- Removed inaccuracies from %%description (bug #178189).
07a490
07a490
* Fri Jan 13 2006 Tim Waugh <twaugh@redhat.com> 3.1-5
07a490
- Fix 'exec -l /bin/bash'.
07a490
07a490
* Thu Jan 12 2006 Tim Waugh <twaugh@redhat.com> 3.1-4
07a490
- Fix sighandler patch bug (bug #177545).
07a490
07a490
* Tue Jan 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-3
07a490
- Patchlevel 5.
07a490
07a490
* Fri Jan  6 2006 Tim Waugh <twaugh@redhat.com> 3.1-2
07a490
- No longer need loadables, mbinc or shellfunc patches.
07a490
- Use literal single-quote in bash man page where appropriate (bug #177051).
07a490
07a490
* Mon Jan  2 2006 Tim Waugh <twaugh@redhat.com> 3.1-1
07a490
- 3.1.
07a490
- No longer need ia64, utf8, multibyteifs, jobs, sigpipe,
07a490
  read-e-segfault, manpage, crash, pwd, afs, subshell patches.
07a490
- Remove wrap patch for now.
07a490
- Use upstream patch to fix arrays.
07a490
07a490
* Thu Dec 15 2005 Tim Waugh <twaugh@redhat.com> 3.0-41
07a490
- Missed another loop for improved sighandler patch (bug #169231).
07a490
07a490
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
07a490
- rebuilt
07a490
07a490
* Thu Dec  8 2005 Tim Waugh <twaugh@redhat.com> 3.0-40
07a490
- Fix read memleak when reading from non-blocking fd (bug #173283).
07a490
- Missed another loop for improved sighandler patch (bug #169231).
07a490
07a490
* Wed Dec  7 2005 Tim Waugh <twaugh@redhat.com> 3.0-39
07a490
- Missed a loop for improved sighandler patch (bug #169231).
07a490
07a490
* Tue Dec  6 2005 Tim Waugh <twaugh@redhat.com> 3.0-38
07a490
- Test out improved sighandler patch (bug #169231).
07a490
07a490
* Tue Nov 22 2005 Tim Waugh <twaugh@redhat.com> 3.0-37
07a490
- Applied patch from upstream to fix parsing problem (bug #146638).
07a490
07a490
* Wed Nov  9 2005 Tim Waugh <twaugh@redhat.com> 3.0-36
07a490
- Added Url: tag (bug #172770).
07a490
- Do not explicitly gzip info pages (bug #172770).
07a490
- Fix permissions on bashbug (bug #172770).
07a490
07a490
* Thu Oct  6 2005 Tim Waugh <twaugh@redhat.com> 3.0-35
07a490
- Fixed memory allocation bug in multibyteifs patch (bug #169996).
07a490
07a490
* Fri Sep 23 2005 Tim Waugh <twaugh@redhat.com>
07a490
- Use 'volatile' in sighandler patch.
07a490
07a490
* Wed Sep 21 2005 Tim Waugh <twaugh@redhat.com> 3.0-34
07a490
- Avoid writing history files during signal handling (bug #163235).
07a490
07a490
* Mon Aug  8 2005 Tim Waugh <twaugh@redhat.com> 3.0-33
07a490
- Fixed multibyte IFS handling for invalid input (bug #165243).
07a490
07a490
* Mon Aug  8 2005 Tim Waugh <twaugh@redhat.com> 3.0-32
07a490
- Fixed 'LC_ALL=C export LC_ALL' behaviour (bug #165249).
07a490
07a490
* Thu Jun 23 2005 Tim Waugh <twaugh@redhat.com>
07a490
- Added ulimit support for RLIMIT_NICE and RLIMIT_RTPRIO (bug #157049).
07a490
07a490
* Wed Jun  8 2005 Tim Waugh <twaugh@redhat.com>
07a490
- Move a comment in dot-bashrc (bug #159522).
07a490
07a490
* Tue May 10 2005 Tim Waugh <twaugh@redhat.com> 3.0-31
07a490
- Small fix for multibyteifs patch to prevent segfault (bug #157260).
07a490
07a490
* Wed Apr 20 2005 Tim Waugh <twaugh@redhat.com>
07a490
- Fixed AFS support for output redirection, so that the correct errors
07a490
  are reported for other filesystems (bug #155373).
07a490
07a490
* Tue Mar 15 2005 Tim Waugh <twaugh@redhat.com> 3.0-30
07a490
- Fix PS1 expansion crash when PWD is unset (bg #151116).
07a490
07a490
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 3.0-29
07a490
- Rebuild for new GCC.
07a490
07a490
* Thu Feb 17 2005 Tim Waugh <twaugh@redhat.com> 3.0-28
07a490
- Define _GNU_SOURCE in CPPFLAGS (bug #147573).
07a490
07a490
* Mon Feb 14 2005 Tim Waugh <twaugh@redhat.com>
07a490
- Reverted this change:
07a490
  - Added code to /etc/skel/.bash_logout to support the gpm selection buffer
07a490
    invalidation on virtual terminals (bug #115493).
07a490
07a490
* Mon Jan 31 2005 Tim Waugh <twaugh@redhat.com> 3.0-27
07a490
- Applied upstream patch to fix a potential NULL dereference.
07a490
07a490
* Fri Jan 28 2005 Tim Waugh <twaugh@redhat.com> 3.0-26
07a490
- Fixed job handling bug (bug #145124).
07a490
07a490
* Sun Dec  5 2004 Tim Waugh <twaugh@redhat.com> 3.0-25
07a490
- Applied patch from Florian La Roche to fix CPPFLAGS quoting in spec file.
07a490
07a490
* Tue Nov 30 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Fixed typo in man page (spotted on bug-bash).
07a490
07a490
* Thu Nov 18 2004 Tim Waugh <twaugh@redhat.com> 3.0-24
07a490
- Use upstream patch to fix bug #139575 and bug #139306.
07a490
07a490
* Thu Nov 18 2004 Tim Waugh <twaugh@redhat.com> 3.0-23
07a490
- Fixed last patch to avoid regressions (bug #139575).
07a490
07a490
* Mon Nov 15 2004 Tim Waugh <twaugh@redhat.com> 3.0-22
07a490
- Fixed prompt wrapping code to cope with zero-length prompts (bug #139306).
07a490
07a490
* Thu Nov 11 2004 Tim Waugh <twaugh@redhat.com> 3.0-21
07a490
- Added code to /etc/skel/.bash_logout to support the gpm selection buffer
07a490
  invalidation on virtual terminals (bug #115493).
07a490
07a490
* Wed Nov 10 2004 Tim Waugh <twaugh@redhat.com> 3.0-20
07a490
- Patchlevel 16.
07a490
07a490
* Mon Nov  1 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Patchlevel 15.
07a490
07a490
* Tue Oct 19 2004 Tim Waugh <twaugh@redhat.com> 3.0-17
07a490
- Patchlevel 14.
07a490
- No longer need brace patch.
07a490
07a490
* Wed Sep 29 2004 Tim Waugh <twaugh@redhat.com> 3.0-16
07a490
- Apply patch from Chet Ramey to fix brace expansion.
07a490
07a490
* Fri Sep 24 2004 Tim Waugh <twaugh@redhat.com> 3.0-15
07a490
- Minor fix for job handling.
07a490
07a490
* Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Add bashbug back in (with suffix).
07a490
07a490
* Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Remove bash2.
07a490
07a490
* Fri Sep 10 2004 Tim Waugh <twaugh@redhat.com> 3.0-14
07a490
- Don't run tests that read from /dev/tty.
07a490
- Patchlevel 13.
07a490
07a490
* Wed Sep  8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
07a490
- Check for EINVAL from waitpid() and avoid WCONTINUED in that case.
07a490
- Fixed jobs4 test.
07a490
- Applied experimental upstream patch for trap compatibility.
07a490
- Re-make documentation to reflect source changes.
07a490
07a490
* Tue Sep  7 2004 Tim Waugh <twaugh@redhat.com> 3.0-12
07a490
- Remove 'bashbug' from the documentation, because we don't ship it due
07a490
  to biarch concerns.
07a490
07a490
* Thu Sep  2 2004 Tim Waugh <twaugh@redhat.com> 3.0-11
07a490
- Fixed multibyte parameter length expansion.
07a490
07a490
* Tue Aug 31 2004 Tim Waugh <twaugh@redhat.com> 3.0-9
07a490
- Fix ulimits patch from Ulrich Drepper (bug #129800).
07a490
07a490
* Fri Aug 27 2004 Tim Waugh <twaugh@redhat.com> 3.0-8
07a490
- Provide support for new limits (bug #129800).
07a490
07a490
* Thu Aug 26 2004 Tim Waugh <twaugh@redhat.com> 3.0-7
07a490
- Use upstream patch for last fix.
07a490
07a490
* Thu Aug 26 2004 Tim Waugh <twaugh@redhat.com> 3.0-6
07a490
- Fixed history saved-line handling.
07a490
07a490
* Tue Aug 24 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Fixed multibyte IFS handling.
07a490
07a490
* Wed Aug 18 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Applied bug-bash list patch to fix pipefail.
07a490
07a490
* Tue Aug 17 2004 Tim Waugh <twaugh@redhat.com> 3.0-5
07a490
- Make trap usage string show POSIX usage (bug #128938).
07a490
- Updated ${x[@]:1} expansion fix from bug-bash list.
07a490
- Updated patch to fix unset array crash (from bug-bash list).
07a490
07a490
* Sun Aug 15 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Fix ${x[@]:1} expansion (William Park, bug-bash list).
07a490
07a490
* Tue Aug 10 2004 Tim Waugh <twaugh@redhat.com> 3.0-4
07a490
- Fix vi-change-char behaviour at EOL (bug #129526).
07a490
07a490
* Mon Aug  9 2004 Tim Waugh <twaugh@redhat.com> 3.0-3
07a490
- Applied bug-bash list patch to fix multiline PS1 prompting (bug #129382).
07a490
07a490
* Wed Aug  4 2004 Tim Waugh <twaugh@redhat.com> 3.0-2
07a490
- Fixed brace expansion (bug #129128).
07a490
- Build with AFS support again, since bug #86514 seems fixed upstream
07a490
  (bug #129094).
07a490
07a490
* Tue Aug  3 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Fixed crash when unsetting an unset array (from bug-bash list).
07a490
07a490
* Wed Jul 28 2004 Tim Waugh <twaugh@redhat.com> 3.0-1
07a490
- 3.0.
07a490
07a490
* Wed Jul 21 2004 Tim Waugh <twaugh@redhat.com> 2.05b-44
07a490
- Don't report SIGPIPE errors (bug #128274).
07a490
07a490
* Thu Jul  8 2004 Tim Waugh <twaugh@redhat.com> 2.05b-43
07a490
- Fixed command substitution problem (bug #127242).
07a490
07a490
* Mon Jun 28 2004 Tim Waugh <twaugh@redhat.com> 2.05b-42
07a490
- Fixed multibyte variable substitution patch (bug #126399).
07a490
07a490
* Thu Jun 17 2004 Karsten Hopp <karsten@redhat.de> 2.05b-41 
07a490
- remove bashbug script/docs to avoid conflicting files in
07a490
  biarch installs.
07a490
07a490
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
07a490
- rebuilt
07a490
07a490
* Fri Jun  4 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Build requires bison (bug #125307).
07a490
07a490
* Wed Jun  2 2004 Tim Waugh <twaugh@redhat.com> 2.05b-39
07a490
- Build requires libtermcap-devel (bug #125068).
07a490
07a490
* Wed May 19 2004 Tim Waugh <twaugh@redhat.com>
07a490
- Don't ship empty %%{_libdir}/bash (bug #123556).
07a490
07a490
* Thu Mar 11 2004 Tim Waugh <twaugh@redhat.com> 2.05b-38
07a490
- Apply patch from Nalin Dahyabhai fixing an overread.
07a490
07a490
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
07a490
- rebuilt
07a490
07a490
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
07a490
- rebuilt
07a490
07a490
* Thu Jan 22 2004 Tim Waugh <twaugh@redhat.com> 2.05b-36
07a490
- Fix the bug causing bindings to need reparsing .inputrc (bug #114101).
07a490
07a490
* Mon Jan  5 2004 Tim Waugh <twaugh@redhat.com> 2.05b-35
07a490
- Fix parameter expansion in multibyte locales (bug #112657).
07a490
- Run 'make check'.
07a490
07a490
* Tue Dec  9 2003 Tim Waugh <twaugh@redhat.com> 2.05b-34
07a490
- Build requires texinfo (bug #111171).
07a490
07a490
* Fri Nov 28 2003 Tim Waugh <twaugh@redhat.com> 2.05b-33
07a490
- Speed up UTF-8 command-line redrawing in the common case (bug #102353,
07a490
  bug #110777).
07a490
07a490
* Thu Nov  6 2003 Tim Waugh <twaugh@redhat.com> 2.05b-32
07a490
- Apply upstream patches (bug #109269 among others).
07a490
07a490
* Fri Oct 31 2003 Tim Waugh <twaugh@redhat.com>
07a490
- Fix bash.info (bug #83776).
07a490
07a490
* Tue Oct 28 2003 Tim Waugh <twaugh@redhat.com> 2.05b-31
07a490
- Add bash205b-007 patch to fix bug #106876.
07a490
07a490
* Thu Oct 23 2003 Tim Waugh <twaugh@redhat.com> 2.05b-30
07a490
- Rebuilt.
07a490
07a490
* Thu Sep 18 2003 Tim Waugh <twaugh@redhat.com> 2.05b-29.1
07a490
- Rebuilt.
07a490
07a490
* Thu Sep 18 2003 Tim Waugh <twaugh@redhat.com> 2.05b-29
07a490
- Avoid crashing on multibyte input when locale is set incorrectly
07a490
  (bug #74266).
07a490
07a490
* Fri Sep  5 2003 Tim Waugh <twaugh@redhat.com> 2.05b-28.1
07a490
- Rebuilt.
07a490
07a490
* Fri Sep  5 2003 Tim Waugh <twaugh@redhat.com> 2.05b-28
07a490
- Avoid built-in malloc implementation (bug #103768).
07a490
07a490
* Wed Sep  3 2003 Tim Waugh <twaugh@redhat.com> 2.05b-27.1
07a490
- Rebuilt.
07a490
07a490
* Wed Sep  3 2003 Tim Waugh <twaugh@redhat.com> 2.05b-27
07a490
- LFS support (bug #103627).
07a490
07a490
* Thu Jul 31 2003 Tim Waugh <twaugh@redhat.com> 2.05b-26.1
07a490
- Rebuilt.
07a490
07a490
* Thu Jul 31 2003 Tim Waugh <twaugh@redhat.com> 2.05b-26
07a490
- Merge bash-doc into main package (bug #100632).
07a490
07a490
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 2.05b-25
07a490
- rebuilt
07a490
07a490
* Mon May 12 2003 Tim Waugh <twaugh@redhat.com> 2.05b-24
07a490
- Fix completion display when multibyte or control characters are to be
07a490
  shown (bug #90201).
07a490
07a490
* Tue Mar 26 2003 Tim Waugh <twaugh@redhat.com> 2.05b-23
07a490
- Fix a warning message (bug #79629).
07a490
- Don't remove generated source during build, for debuginfo package.
07a490
- Don't build with AFS support (bug #86514).
07a490
07a490
* Tue Mar 25 2003 Tim Waugh <twaugh@redhat.com> 2.05b-22
07a490
- Really fix bug #78455.
07a490
07a490
* Tue Mar 11 2003 Tim Waugh <twaugh@redhat.com> 2.05b-21
07a490
- Don't explicitly strip binaries (bug #85995).
07a490
07a490
* Tue Feb 11 2003 Tim Waugh <twaugh@redhat.com> 2.05b-20
07a490
- Really fix bug #83331 for good.
07a490
07a490
* Mon Feb 10 2003 Tim Waugh <twaugh@redhat.com> 2.05b-19
07a490
- Fix builtins.1.
07a490
07a490
* Fri Feb  7 2003 Tim Waugh <twaugh@redhat.com> 2.05b-18
07a490
- Actually apply the patch (bug #83331).
07a490
07a490
* Wed Feb  5 2003 Tim Waugh <twaugh@redhat.com> 2.05b-17
07a490
- Fix history/UTF-8 bug (bug #83331).
07a490
07a490
* Sun Jan 26 2003 Tim Waugh <twaugh@redhat.com> 2.05b-16
07a490
- More tab-completion fixing (bug #72512).
07a490
07a490
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.05b-15
07a490
- rebuilt
07a490
07a490
* Wed Jan 15 2003 Tim Waugh <twaugh@redhat.com> 2.05b-14
07a490
- Force pgrp synchronization (bug #81653).
07a490
07a490
* Thu Dec 05 2002 Elliot Lee <sopwith@redhat.com> 2.05b-13
07a490
- (patch26) Don't call 'size' in makefile. Pointless, and interferes with 
07a490
  cross compiles.
07a490
07a490
* Tue Dec  3 2002 Tim Waugh <twaugh@redhat.com> 2.05b-12
07a490
- Prevent prompt overwriting output (bug #74383).
07a490
07a490
* Wed Nov 27 2002 Tim Waugh <twaugh@redhat.com> 2.05b-11
07a490
- Fix '-rbash' (bug #78455).
07a490
07a490
* Thu Nov 21 2002 Tim Waugh <twaugh@redhat.com> 2.05b-10
07a490
- Rebuild.
07a490
07a490
* Wed Nov 20 2002 Elliot Lee <sopwith@redhat.com>
07a490
- Use the configure macro instead of calling ./configure directly
07a490
07a490
* Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com>
07a490
- Revert previous change.
07a490
07a490
* Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 2.05b-8
07a490
- PreReq libtermcap.
07a490
07a490
* Fri Oct 18 2002 Tim Waugh <twaugh@redhat.com> 2.05b-7
07a490
- Add readline-init patch (bug #74925).
07a490
07a490
* Wed Oct 16 2002 Tim Waugh <twaugh@redhat.com> 2.05b-6
07a490
- Add the (4) patches from ftp.gnu.org (bug #75888, bug #72512).
07a490
- Ship '.' man page, which doesn't get picked up by glob.
07a490
- Don't install files not shipped when building.
07a490
- Locale shell variables fix (bug #74701).
07a490
07a490
* Fri Aug 23 2002 Tim Powers <timp@redhat.com> 2.05b-5
07a490
- re-bzip the docs, something was corrupted
07a490
07a490
* Thu Aug 22 2002 Tim Waugh <twaugh@redhat.com> 2.05b-4
07a490
- Fix history substitution modifiers in UTF-8 (bug #70294, bug #71186).
07a490
- Fix ADVANCE_CHAR at end of string (bug #70819).
07a490
- docs: CWRU/POSIX.NOTES no longer exists, but ship POSIX.
07a490
07a490
* Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 2.05b-3
07a490
- Fixed out of memory problem with readline.
07a490
07a490
* Tue Jul 23 2002 Phil Knirsch <pknirsch@redhat.com> 2.05b-2
07a490
- Added symlink for sh.1 in man1 section so that man sh works (#44039).
07a490
07a490
* Mon Jul 22 2002 Phil Knirsch <pknirsch@redhat.com> 2.05b-1
07a490
- Update to 2.05b
07a490
07a490
* Wed Jul 10 2002 Phil Knirsch <pknirsch@redhat.com> 2.05a-16
07a490
- Fixed readline utf8 problem (#68313).
07a490
07a490
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.05a-15
07a490
- automated rebuild
07a490
07a490
* Thu May 23 2002 Tim Powers <timp@redhat.com> 2.05a-14
07a490
- automated rebuild
07a490
07a490
* Fri Apr 12 2002 Tim Powers <timp@redhat.com> 2.05a-13
07a490
- don't build the stuff in examples/loadables. It breaks FHS
07a490
  compliance
07a490
07a490
* Fri Apr  5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-12
07a490
- Fix the fix for #62418
07a490
07a490
* Thu Apr  4 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-11
07a490
- Fix kill builtin (#62418)
07a490
07a490
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.0.5a-10
07a490
- Get rid of completion subpackage
07a490
- Use %%{_tmppath}
07a490
07a490
* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-9
07a490
- Add patch from Ulrich Drepper to get better error messages when trying
07a490
  to launch an application with a bad ELF interpreter (e.g. libc5 ld.so)
07a490
  (#60870)
07a490
07a490
* Fri Feb 22 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-8
07a490
- Update completion
07a490
07a490
* Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-7
07a490
- Update completion stuff and move it to a separate package
07a490
07a490
* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-6
07a490
- Add patches from Ian Macdonald <ian@caliban.org>
07a490
07a490
* Wed Jan 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-5
07a490
- Add programmable completion (optional)
07a490
07a490
* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-4
07a490
- Fix mailcheck (#57792)
07a490
07a490
* Tue Jan 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-3
07a490
- Fix autoconf mess
07a490
- Build --with-afs, some users may be using it
07a490
07a490
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
07a490
- automated rebuild
07a490
07a490
* Thu Nov 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-2
07a490
- Fix conflict with sh-utils (printf builtin manpage vs. printf binary manpage)
07a490
  (#56590)
07a490
07a490
* Tue Nov 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05a-1
07a490
- 2.05a
07a490
07a490
* Wed Oct 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
07a490
- disable s390x fix, not needed anymore
07a490
07a490
* Mon Oct  1 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-9
07a490
- Add patch from readline 4.2-3 to bash's internal libreadline
07a490
07a490
* Mon Jul  9 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-8
07a490
- Merge Pekka Savola's patch (RFE#47762)
07a490
07a490
* Mon Jul  2 2001 Pekka Savola <pekkas@netcore.fi>
07a490
- Add IPv6 patch from PLD (only redirection to /dev/{tcp,udp}/host/port
07a490
  support)
07a490
07a490
* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-7
07a490
- Add some bugfix patches from the maintainer
07a490
07a490
* Mon Jun 11 2001 Florian La Roche <Florian.LaRoche@redhat.de>
07a490
- added patch for s390x from <oliver.paukstadt@millenux.com>
07a490
07a490
* Wed May 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-5
07a490
- Don't set BASH_ENV in .bash_profile, it causes .bashrc to be sourced
07a490
  twice in interactive non-login shells.
07a490
- s/Copyright/License/
07a490
07a490
* Fri May  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-4
07a490
- Fix tempfile creation in bashbug
07a490
07a490
* Wed May  2 2001 Preston Brown <pbrown@redhat.com> 2.05-3
07a490
- bashrc moved to setup package
07a490
07a490
* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-2
07a490
- bash comes with its own copy of readline... Add the patches we're
07a490
  applying in the readline package.
07a490
07a490
* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.05-1
07a490
- Update to 2.05
07a490
- Change PROMPT_COMMAND in bashrc for xterms
07a490
  to something less space consuming (#24159)
07a490
- Provide plugs for alternate prompt commands (#30634), but don't
07a490
  default to them
07a490
07a490
* Mon Mar 19 2001 Preston Brown <pbrown@redhat.com>
07a490
- add default aliases for 'dir' and 'df' to have human readable output
07a490
07a490
* Wed Feb 28 2001 Matt Wilson <msw@redhat.com>
07a490
- don't Prereq: /sbin/install-info!
07a490
07a490
* Tue Feb 27 2001 Preston Brown <pbrown@redhat.com>
07a490
- noreplace config files
07a490
- don't own /etc/skel directory
07a490
07a490
* Wed Feb 22 2001 Harald Hoyer <harald@redhat.de>
07a490
- changed /etc/bashrc to work with backspace = 0177 (rxvt)
07a490
07a490
* Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
07a490
- changed /etc/skel/.bash_profile to "unset USERNAME"
07a490
07a490
* Mon Feb  5 2001 Yukihiro Nakai <ynakai@redhat.com>
07a490
- Delete Japanese resources from dot-bashrc
07a490
  and move them to each package.
07a490
07a490
* Fri Dec 15 2000 Yukihiro Nakai <ynakai@redhat.com>
07a490
- Add Japanese resource to dot-bashrc
07a490
07a490
* Mon Dec 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- rebuild to get rid of 0777 doc dirs
07a490
07a490
* Thu Nov 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- restore the ^Hs in documentation, they're highlighting sequences
07a490
  for less (#20654) 
07a490
07a490
* Fri Sep 15 2000 Florian La Roche <Florian.LaRoche@redhat.de>
07a490
- bash-2.04-export.patch is reported to fix compilation
07a490
  of older glibc-2.1 sources
07a490
07a490
* Tue Aug 22 2000 Matt Wilson <msw@redhat.com>
07a490
- fixed the summary of bash-doc to use %%{version} instead of "2.03"
07a490
07a490
* Tue Aug  8 2000 Bill Nottingham <notting@redhat.com>
07a490
- 'exit' in bashrc is very bad.
07a490
07a490
* Tue Aug  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- minor bashrc fix (Bug #8518)
07a490
07a490
* Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- Don't use tput etc. in bashrc if /usr isn't available (Bug #14116)
07a490
07a490
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
07a490
- automatic rebuild
07a490
07a490
* Thu Jun 22 2000 Bill Nottingham <notting@redhat.com>
07a490
- fix for some IA-64 issues from Stephane Eranian
07a490
07a490
* Thu Jun 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- Fix summary and description, they had old version numbers (Bug #12092)
07a490
07a490
* Tue Jun  6 2000 Bill Nottingham <notting@redhat.com>
07a490
- add /etc/skel/.bash* ; obsolete etcskel
07a490
07a490
* Tue May  2 2000 Bill Nottingham <notting@redhat.com>
07a490
- fix for shell functions on 64-bit architectures...
07a490
07a490
* Wed Mar 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- Add some backwards compatibility (for i in ; do something; done)
07a490
07a490
* Tue Mar 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- 2.04 final
07a490
- remove the echo, pwd, test and kill man pages from the package,
07a490
  we're getting them from sh-utils
07a490
07a490
* Sun Mar 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
07a490
- 2.04beta5
07a490
- adapt patches
07a490
- Fix up bashrc
07a490
- Don't put in bashrc1, this should be done by the bash1 package
07a490
- use install -c instead of plain install to work on *BSD
07a490
- remove the collected patches - they're now in the base version.
07a490
- make compressed man pages optional
07a490
07a490
* Thu Mar 16 2000 Florian La Roche <Florian.LaRoche@redhat.com>
07a490
- add some collected patches for bash2
07a490
- change it over to be the main bash package
07a490
- install man-pages root:root
07a490
- obsolete bash2, bash2-doc
07a490
07a490
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
07a490
- man pages are compressed
07a490
- fix description
07a490
07a490
* Thu Dec  2 1999 Ken Estes <kestes@staff.mail.com>
07a490
- updated patch to detect what executables are required by a script.
07a490
07a490
* Fri Sep 14 1999 Dale Lovelace <dale@redhat.com>
07a490
- Remove annoying ^H's from documentation
07a490
07a490
* Fri Jul 16 1999 Ken Estes <kestes@staff.mail.com>
07a490
- patch to detect what executables are required by a script.
07a490
07a490
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
07a490
- auto rebuild in the new build environment (release 4)
07a490
07a490
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
07a490
- strip binaries.
07a490
- include bash-doc correctly.
07a490
07a490
* Thu Mar 18 1999 Preston Brown <pbrown@redhat.com>
07a490
- fixed post/postun /etc/shells work.
07a490
07a490
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
07a490
- updated again text in the spec file
07a490
07a490
* Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com>
07a490
- updated text in spec file.
07a490
- update to 2.03.
07a490
07a490
* Fri Feb 12 1999 Cristian Gafton <gafton@redhat.com>
07a490
- build it as bash2 instead of bash
07a490
07a490
* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
07a490
- set 'NON_INTERACTIVE_LOGIN_SHELLS' so profile gets read
07a490
07a490
* Thu Jan 14 1999 Jeff Johnson <jbj@redhat.com>
07a490
- rename man pages in bash-doc to avoid packaging conflicts (#606).
07a490
07a490
* Wed Dec 02 1998 Cristian Gafton <gafton@redhat.com>
07a490
- patch for the arm
07a490
- use $RPM_ARCH-redhat-linux as the build target
07a490
07a490
* Tue Oct  6 1998 Bill Nottingham <notting@redhat.com>
07a490
- rewrite %%pre, axe %%postun (to avoid prereq loops)
07a490
07a490
* Wed Aug 19 1998 Jeff Johnson <jbj@redhat.com>
07a490
- resurrect for RH 6.0.
07a490
07a490
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
07a490
- update to 2.02.1
07a490
07a490
* Thu Jun 11 1998 Jeff Johnson <jbj@redhat.com>
07a490
- Package for 5.2.
07a490
07a490
* Mon Apr 20 1998 Ian Macdonald <ianmacd@xs4all.nl>
07a490
- added POSIX.NOTES doc file
07a490
- some extraneous doc files removed
07a490
- minor .spec file changes
07a490
07a490
* Sun Apr 19 1998 Ian Macdonald <ianmacd@xs4all.nl>
07a490
- upgraded to version 2.02
07a490
- Alpha, MIPS & Sparc patches removed due to lack of test platforms
07a490
- glibc & signal patches no longer required
07a490
- added documentation subpackage (doc)
07a490
07a490
* Fri Nov 07 1997 Donnie Barnes <djb@redhat.com>
07a490
- added signal handling patch from Dean Gaudet <dgaudet@arctic.org> that
07a490
  is based on a change made in bash 2.0.  Should fix some early exit
07a490
  problems with suspends and fg.
07a490
07a490
* Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
07a490
- added %%clean
07a490
07a490
* Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
07a490
- added comment explaining why install-info isn't used
07a490
- added mips patch 
07a490
07a490
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
07a490
- added BuildRoot
07a490
07a490
* Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
07a490
- built against glibc