Browse Source

upgrading package: bash 4.4.23 -> 5.0.0

master
parent
commit
40016ea19a
  1. 32
      bash/bash.patch
  2. 56
      bash/bash.spec

32
bash/bash.patch

@ -2,11 +2,11 @@ This patch documents two implemented and classical command
line options "-v" and "-x". It is derived from Debian GNU/Linux.
Index: doc/bash.1
--- doc/bash.1.orig 2014-02-06 15:03:52.000000000 +0100
+++ doc/bash.1 2014-03-01 12:28:01.673970389 +0100
@@ -117,6 +117,12 @@
This option allows the positional parameters to be set
when invoking an interactive shell.
--- doc/bash.1.orig 2019-01-02 15:14:30.000000000 +0100
+++ doc/bash.1 2019-01-07 20:08:18.484696000 +0100
@@ -122,6 +122,12 @@
when invoking an interactive shell or when reading input
through a pipe.
.TP
+.B \-v
+Print shell input lines as they are read.
@ -23,8 +23,8 @@ Index: doc/bash.1
This adds the OpenPKG packaging brand.
Index: version.c
--- version.c.orig 2013-03-10 18:20:13.000000000 +0100
+++ version.c 2014-03-01 12:28:01.673970389 +0100
--- version.c.orig 2019-01-02 15:39:37.000000000 +0100
+++ version.c 2019-01-07 20:08:18.484964000 +0100
@@ -83,7 +83,7 @@
show_shell_version (extended)
int extended;
@ -40,9 +40,9 @@ Index: version.c
Ensure that Autoconf and friends are not run.
Index: Makefile.in
--- Makefile.in.orig 2014-03-01 12:28:01.673970000 +0100
+++ Makefile.in 2014-03-01 12:28:12.774181498 +0100
@@ -728,7 +728,6 @@
--- Makefile.in.orig 2018-05-25 14:47:09.000000000 +0200
+++ Makefile.in 2019-01-07 20:08:18.485395000 +0100
@@ -775,7 +775,6 @@
# comment out for distribution
$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
@ -57,9 +57,9 @@ Fix Bash getcwd(3) run-time issue seen on Solaris where size argument
of 0 does not malloc buffer as expected by Bash code.
Index: builtins/common.c
--- builtins/common.c.orig 2012-02-15 22:44:07.000000000 +0100
+++ builtins/common.c 2014-03-01 12:28:01.684059100 +0100
@@ -553,10 +553,11 @@
--- builtins/common.c.orig 2018-07-12 22:51:23.000000000 +0200
+++ builtins/common.c 2019-01-07 20:08:18.485639000 +0100
@@ -569,10 +569,11 @@
if (the_current_working_directory == 0)
{
@ -79,8 +79,8 @@ Index: builtins/common.c
Fix building under Linux.
Index: externs.h
--- externs.h.orig 2014-01-02 20:58:20.000000000 +0100
+++ externs.h 2014-03-01 12:28:01.684059100 +0100
--- externs.h.orig 2018-12-08 17:15:54.000000000 +0100
+++ externs.h 2019-01-07 20:08:18.485852000 +0100
@@ -25,6 +25,7 @@
# define _EXTERNS_H_
@ -88,5 +88,5 @@ Index: externs.h
+#include <stdio.h>
/* Functions from expr.c. */
extern intmax_t evalexp __P((char *, int *));
#define EXP_EXPANDED 0x01

56
bash/bash.spec

@ -22,10 +22,10 @@
##
# package version
%define V_base_real 4.4
%define V_base_comp 44
%define V_plvl_raw 23
%define V_plvl_pad 023
%define V_base_real 5.0
%define V_base_comp 50
%define V_plvl_raw 0
%define V_plvl_pad 000
# package information
Name: bash
@ -38,35 +38,12 @@ Class: CORE
Group: Shell
License: GPL
Version: %{V_base_real}.%{V_plvl_raw}
Release: 20180601
Release: 20190107
# list of sources
Source0: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}.tar.gz
Source1: bash.txt
Patch0: bash.patch
Patch1: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-001
Patch2: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-002
Patch3: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-003
Patch4: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-004
Patch5: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-005
Patch6: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-006
Patch7: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-007
Patch8: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-008
Patch9: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-009
Patch10: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-010
Patch11: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-011
Patch12: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-012
Patch13: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-013
Patch14: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-014
Patch15: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-015
Patch16: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-016
Patch17: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-017
Patch18: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-018
Patch19: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-019
Patch20: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-020
Patch21: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-021
Patch22: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-022
Patch23: ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}-patches/bash%{V_base_comp}-023
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101
@ -96,29 +73,6 @@ PreReq: OpenPKG, openpkg >= 20160101
# unpack and patch distribution
%setup -q -n bash-%{V_base_real}
%patch -p0
%patch -p0 -P 1
%patch -p0 -P 2
%patch -p0 -P 3
%patch -p0 -P 4
%patch -p0 -P 5
%patch -p0 -P 6
%patch -p0 -P 7
%patch -p0 -P 8
%patch -p0 -P 9
%patch -p0 -P 10
%patch -p0 -P 11
%patch -p0 -P 12
%patch -p0 -P 13
%patch -p0 -P 14
%patch -p0 -P 15
%patch -p0 -P 16
%patch -p0 -P 17
%patch -p0 -P 18
%patch -p0 -P 19
%patch -p0 -P 20
%patch -p0 -P 21
%patch -p0 -P 22
%patch -p0 -P 23
# ensure generated data is not re-generated on-the-fly
sleep 1

Loading…
Cancel
Save