升级bash 4.3.30(1) (修复ShellShock漏洞)
*版权所有,学习使用,谢绝商用。*
升级bash 4.3.30(1) (修复ShellShock漏洞)
系统环境
操作系统:全量安装的RHAS 4.7
[root@aca83f25 ~]# lsb_release -a
LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
Release: 4
Codename: NahantUpdate7
bash版本: 3.00.15(1)
[root@aca83f25 ~]# bash --version
GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
检测ShellShock漏洞情况
测试方法1: 执行命令: env ‘x=() { :;}; echo vulnerable’ ‘BASH_FUNC_x()=() { :;}; echo vulnerable’ bash -c “echo test”
[root@aca83f25 ~]# env 'x=() { :;}; echo vulnerable' 'BASH_FUNC_x()=() { :;}; echo vulnerable' bash -c "echo test"
vulnerable
bash: BASH_FUNC_x(): line 0: syntax error near unexpected token `)'
bash: BASH_FUNC_x(): line 0: `BASH_FUNC_x() () { :;}; echo vulnerable'
bash: error importing function definition for `BASH_FUNC_x'
test
测试方法2: 执行命令:cd /tmp; rm -f /tmp/echo; env ‘x=() { (a)=>' bash -c “echo date”; cat /tmp/echo
[root@aca83f25 ~]# cd /tmp; rm -f /tmp/echo; env 'x=() { (a)=>\' bash -c "echo date"; cat /tmp/echo
bash: x: line 1: syntax error near unexpected token `='
bash: x: line 1: `'
bash: error importing function definition for `x'
五 10月 10 17:15:43 CST 2014
[root@aca83f25 tmp]#
测试方法3: 使用bashcheck脚本进行检测
注:由于RHAS 4.7默认没有安装git工具,需另行安装。
使用git下载脚本,并检测:
[root@aca83f25 ~]# cd ~
[root@aca83f25 ~]# git clone https://github.com/hannob/bashcheck.git
Initialized empty Git repository in /root/bashcheck/.git/
remote: Counting objects: 94, done.
remote: Total 94 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (94/94), done.
[root@aca83f25 ~]# cd bashcheck/
[root@aca83f25 bashcheck]# ls -l
总用量 16
-rwxr-xr-x 1 root root 2827 10月 11 00:47 bashcheck
-rw-r--r-- 1 root root 6555 10月 11 00:47 LICENSE
-rw-r--r-- 1 root root 2802 10月 11 00:47 README.md
[root@aca83f25 bashcheck]# chmod a+x bashcheck
[root@aca83f25 bashcheck]# ./bashcheck
Testing /bin/bash ...
GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu)
Variable function parser active, maybe vulnerable to unknown parser bugs
Vulnerable to CVE-2014-6271 (original shellshock)
Vulnerable to CVE-2014-7169 (taviso bug)
Vulnerable to CVE-2014-7186 (redir_stack bug)
Test for CVE-2014-7187 not reliable without address sanitizer
Vulnerable to CVE-2014-6277 (lcamtuf bug #1)
Not vulnerable to CVE-2014-6278 (lcamtuf bug #2)
或者,到github进行下载,链接为https://github.com/hannob/bashcheck,点击右侧中的“Download ZIP”按扭,下载得到bashcheck-master.zip文件,解压,并将目录中的bashcheck文件上传到服务器。
可以看到bash漏洞还未曾修复
bash升级安装过程
1. 下载bash4.3及相关补丁
使用wget下载bash4.3及相关补丁:
[root@aca83f25 bashcheck]# cd ~
[root@aca83f25 ~]# mkdir bash4.3-with_patches
[root@aca83f25 ~]# cd bash4.3-with_patches/
[root@aca83f25 bash4.3-with_patches]# cat >bash4.3_wgetlist <<EOF
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3.tar.gz
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-001
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-002
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-003
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-004
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-005
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-006
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-007
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-008
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-009
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-010
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-011
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-012
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-013
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-014
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-015
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-016
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-017
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-018
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-019
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-020
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-021
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-022
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-023
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-024
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-025
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-026
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-027
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-028
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-029
> http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-030
> EOF
[root@aca83f25 bash4.3-with_patches]# wget -i bash4.3_wgetlist
--13:19:32-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3.tar.gz
=> `bash-4.3.tar.gz'
正在解析主机 mirror.bjtu.edu.cn... 218.249.29.40, 2001:da8:205::58
Connecting to mirror.bjtu.edu.cn|218.249.29.40|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:7,955,839 (7.6M) [application/octet-stream]
0% [ ] 0 --.--K/s
0% [ ] 36,869 174.75K/s
0% [ ] 72,569 174.55K/s
1% [> ] 106,841 172.18K/s
1% [> ] 142,541 170.79K/s
2% [=> ] 179,669 171.17K/s
2% [=> ] 196,053 153.78K/s
3% [==> ] 246,785 165.65K/s
3% [==> ] 282,485 165.78K/s
3% [==> ] 316,757 165.95K/s
4% [===> ] 351,029 166.08K/s
4% [===> ] 388,157 166.71K/s
5% [====> ] 422,429 166.81K/s
5% [====> ] 456,701 166.91K/s
6% [=====> ] 493,829 167.38K/s
6% [=====> ] 528,101 167.17K/s ETA 00:43
7% [=====> ] 562,373 167.23K/s ETA 00:43
7% [======> ] 596,645 166.05K/s ETA 00:43
7% [======> ] 630,917 166.16K/s ETA 00:43
8% [=======> ] 665,189 166.18K/s ETA 00:43
8% [=======> ] 702,317 166.55K/s ETA 00:42
9% [========> ] 739,445 166.40K/s ETA 00:42
9% [========> ] 776,573 168.70K/s ETA 00:42
10% [=========> ] 813,701 168.09K/s ETA 00:42
10% [=========> ] 865,785 160.38K/s ETA 00:42
11% [==========> ] 926,513 168.11K/s ETA 00:42
12% [===========> ] 965,069 168.06K/s ETA 00:42
12% [===========> ] 999,341 168.11K/s ETA 00:42
13% [===========> ] 1,036,469 168.14K/s ETA 00:42
13% [============> ] 1,070,741 168.16K/s ETA 00:40
13% [============> ] 1,109,297 168.77K/s ETA 00:40
14% [=============> ] 1,143,569 168.37K/s ETA 00:40
14% [=============> ] 1,179,269 168.61K/s ETA 00:40
15% [==============> ] 1,216,397 168.64K/s ETA 00:40
15% [==============> ] 1,252,097 168.59K/s ETA 00:39
16% [===============> ] 1,287,797 168.62K/s ETA 00:39
16% [===============> ] 1,323,497 168.64K/s ETA 00:39
17% [===============> ] 1,356,341 168.34K/s ETA 00:39
17% [================> ] 1,393,469 167.95K/s ETA 00:39
17% [================> ] 1,429,169 176.51K/s ETA 00:38
18% [=================> ] 1,466,297 168.69K/s ETA 00:38
18% [=================> ] 1,501,997 168.20K/s ETA 00:38
19% [==================> ] 1,536,269 167.93K/s ETA 00:38
19% [==================> ] 1,573,397 168.36K/s ETA 00:38
20% [===================> ] 1,607,669 168.34K/s ETA 00:37
20% [===================> ] 1,644,797 168.70K/s ETA 00:37
21% [===================> ] 1,681,925 168.17K/s ETA 00:37
21% [====================> ] 1,719,053 168.59K/s ETA 00:37
22% [====================> ] 1,753,325 168.62K/s ETA 00:37
22% [=====================> ] 1,790,453 168.13K/s ETA 00:35
22% [=====================> ] 1,826,153 168.67K/s ETA 00:35
23% [======================> ] 1,861,853 168.60K/s ETA 00:35
23% [======================> ] 1,896,125 168.74K/s ETA 00:35
24% [=======================> ] 1,930,397 168.71K/s ETA 00:35
24% [=======================> ] 1,966,097 169.28K/s ETA 00:34
25% [=======================> ] 2,001,797 169.09K/s ETA 00:34
25% [========================> ] 2,036,069 169.16K/s ETA 00:34
26% [========================> ] 2,073,197 169.08K/s ETA 00:34
26% [=========================> ] 2,116,713 154.82K/s ETA 00:34
27% [==========================> ] 2,193,149 166.31K/s ETA 00:34
28% [==========================> ] 2,228,849 166.72K/s ETA 00:34
28% [===========================> ] 2,263,121 166.81K/s ETA 00:34
28% [===========================> ] 2,298,821 166.34K/s ETA 00:34
29% [============================> ] 2,333,093 166.43K/s ETA 00:32
29% [============================> ] 2,356,617 154.06K/s ETA 00:32
30% [=============================> ] 2,435,909 165.20K/s ETA 00:32
31% [=============================> ] 2,471,609 164.85K/s ETA 00:32
31% [==============================> ] 2,507,309 164.75K/s ETA 00:31
31% [==============================> ] 2,543,009 165.22K/s ETA 00:31
32% [===============================> ] 2,577,281 164.88K/s ETA 00:31
32% [===============================> ] 2,611,553 164.95K/s ETA 00:31
33% [===============================> ] 2,645,825 164.86K/s ETA 00:31
33% [================================> ] 2,680,097 164.53K/s ETA 00:30
34% [================================> ] 2,715,797 164.94K/s ETA 00:30
34% [=================================> ] 2,751,497 178.24K/s ETA 00:30
35% [=================================> ] 2,785,769 166.88K/s ETA 00:30
35% [==================================> ] 2,821,469 166.51K/s ETA 00:30
35% [==================================> ] 2,858,597 166.92K/s ETA 00:29
36% [==================================> ] 2,892,869 166.62K/s ETA 00:29
36% [===================================> ] 2,927,141 166.70K/s ETA 00:29
37% [===================================> ] 2,961,413 168.45K/s ETA 00:29
37% [====================================> ] 2,977,797 155.43K/s ETA 00:29
38% [====================================> ] 3,051,377 167.11K/s ETA 00:29
38% [=====================================> ] 3,087,077 167.65K/s ETA 00:29
39% [=====================================> ] 3,122,777 167.64K/s ETA 00:29
39% [======================================> ] 3,158,477 167.71K/s ETA 00:29
40% [======================================> ] 3,194,177 167.62K/s ETA 00:27
40% [=======================================> ] 3,231,305 168.09K/s ETA 00:27
41% [=======================================> ] 3,265,577 167.82K/s ETA 00:27
41% [========================================> ] 3,301,277 167.35K/s ETA 00:27
41% [========================================> ] 3,336,977 167.79K/s ETA 00:27
42% [========================================> ] 3,372,677 167.45K/s ETA 00:26
42% [=========================================> ] 3,406,949 167.47K/s ETA 00:26
43% [=========================================> ] 3,441,221 167.51K/s ETA 00:26
43% [==========================================> ] 3,475,493 167.17K/s ETA 00:26
44% [==========================================> ] 3,503,301 154.74K/s ETA 00:26
45% [===========================================> ] 3,581,165 166.16K/s ETA 00:26
45% [===========================================> ] 3,615,437 178.47K/s ETA 00:26
45% [============================================> ] 3,652,565 167.38K/s ETA 00:26
46% [============================================> ] 3,686,837 166.92K/s ETA 00:26
46% [=============================================> ] 3,722,537 166.93K/s ETA 00:24
47% [=============================================> ] 3,759,665 167.29K/s ETA 00:24
47% [==============================================> ] 3,793,937 167.40K/s ETA 00:24
48% [==============================================> ] 3,829,637 167.00K/s ETA 00:24
48% [===============================================> ] 3,866,765 167.35K/s ETA 00:24
49% [===============================================> ] 3,902,465 167.71K/s ETA 00:23
49% [===============================================> ] 3,936,737 167.43K/s ETA 00:23
49% [================================================> ] 3,973,865 167.35K/s ETA 00:23
50% [================================================> ] 4,009,565 167.70K/s ETA 00:23
50% [=================================================> ] 4,048,121 167.62K/s ETA 00:23
51% [=================================================> ] 4,083,821 167.32K/s ETA 00:22
51% [==================================================> ] 4,118,093 180.85K/s ETA 00:22
52% [==================================================> ] 4,155,221 168.92K/s ETA 00:22
52% [===================================================> ] 4,190,921 168.86K/s ETA 00:22
53% [===================================================> ] 4,225,193 168.94K/s ETA 00:22
53% [====================================================> ] 4,260,893 168.50K/s ETA 00:21
54% [====================================================> ] 4,298,021 169.06K/s ETA 00:21
54% [====================================================> ] 4,332,293 168.64K/s ETA 00:21
54% [=====================================================> ] 4,369,421 169.07K/s ETA 00:21
55% [=====================================================> ] 4,405,121 168.53K/s ETA 00:21
55% [======================================================> ] 4,439,393 168.55K/s ETA 00:20
56% [======================================================> ] 4,473,665 168.32K/s ETA 00:20
56% [=======================================================> ] 4,509,365 168.92K/s ETA 00:20
57% [=======================================================> ] 4,537,925 166.31K/s ETA 00:20
57% [=======================================================> ] 4,555,061 160.46K/s ETA 00:20
57% [=======================================================> ] 4,573,625 156.03K/s ETA 00:19
58% [========================================================> ] 4,652,165 168.78K/s ETA 00:19
58% [=========================================================> ] 4,687,865 168.83K/s ETA 00:19
59% [=========================================================> ] 4,722,137 168.50K/s ETA 00:19
59% [==========================================================> ] 4,756,409 168.50K/s ETA 00:19
60% [==========================================================> ] 4,794,965 169.01K/s ETA 00:18
60% [===========================================================> ] 4,830,665 168.98K/s ETA 00:18
61% [===========================================================> ] 4,864,937 168.83K/s ETA 00:18
61% [===========================================================> ] 4,899,209 168.64K/s ETA 00:18
62% [============================================================> ] 4,936,337 168.64K/s ETA 00:18
62% [============================================================> ] 4,972,037 168.55K/s ETA 00:17
62% [=============================================================> ] 5,007,737 168.73K/s ETA 00:17
63% [=============================================================> ] 5,043,437 168.71K/s ETA 00:17
63% [==============================================================> ] 5,077,709 168.73K/s ETA 00:17
64% [==============================================================> ] 5,111,981 172.21K/s ETA 00:17
64% [===============================================================> ] 5,146,253 180.46K/s ETA 00:16
65% [===============================================================> ] 5,180,525 180.69K/s ETA 00:16
65% [===============================================================> ] 5,216,225 168.98K/s ETA 00:16
66% [================================================================> ] 5,251,925 169.05K/s ETA 00:16
66% [================================================================> ] 5,286,197 168.63K/s ETA 00:16
66% [=================================================================> ] 5,320,469 168.70K/s ETA 00:15
67% [=================================================================> ] 5,356,169 168.90K/s ETA 00:15
67% [==================================================================> ] 5,391,869 168.94K/s ETA 00:15
68% [==================================================================> ] 5,427,569 168.91K/s ETA 00:15
68% [==================================================================> ] 5,463,269 169.51K/s ETA 00:15
69% [===================================================================> ] 5,500,397 169.02K/s ETA 00:14
69% [===================================================================> ] 5,534,669 169.04K/s ETA 00:14
70% [====================================================================> ] 5,570,369 169.49K/s ETA 00:14
70% [====================================================================> ] 5,606,069 169.11K/s ETA 00:14
70% [=====================================================================> ] 5,644,625 169.37K/s ETA 00:14
71% [=====================================================================> ] 5,680,325 169.30K/s ETA 00:13
71% [======================================================================> ] 5,714,597 169.02K/s ETA 00:13
72% [======================================================================> ] 5,751,725 169.42K/s ETA 00:13
72% [======================================================================> ] 5,775,249 155.23K/s ETA 00:13
73% [=======================================================================> ] 5,857,397 167.80K/s ETA 00:12
74% [========================================================================> ] 5,891,669 167.84K/s ETA 00:12
74% [========================================================================> ] 5,928,797 168.23K/s ETA 00:12
75% [=========================================================================> ] 5,967,353 168.17K/s ETA 00:12
75% [=========================================================================> ] 6,003,053 168.12K/s ETA 00:12
75% [==========================================================================> ] 6,037,325 168.14K/s ETA 00:11
76% [==========================================================================> ] 6,074,453 168.24K/s ETA 00:11
76% [===========================================================================> ] 6,108,725 168.03K/s ETA 00:11
77% [===========================================================================> ] 6,142,997 167.67K/s ETA 00:11
77% [===========================================================================> ] 6,181,553 168.15K/s ETA 00:11
78% [============================================================================> ] 6,217,253 167.70K/s ETA 00:10
78% [============================================================================> ] 6,251,525 167.80K/s ETA 00:10
79% [=============================================================================> ] 6,288,653 167.71K/s ETA 00:10
79% [=============================================================================> ] 6,325,781 167.59K/s ETA 00:10
79% [==============================================================================> ] 6,360,053 183.11K/s ETA 00:10
80% [==============================================================================> ] 6,395,753 169.21K/s ETA 00:09
80% [===============================================================================> ] 6,431,453 168.70K/s ETA 00:09
81% [===============================================================================> ] 6,465,725 168.77K/s ETA 00:09
81% [===============================================================================> ] 6,499,997 168.54K/s ETA 00:09
82% [================================================================================> ] 6,537,125 168.92K/s ETA 00:09
82% [================================================================================> ] 6,571,397 168.91K/s ETA 00:08
83% [=================================================================================> ] 6,605,669 168.59K/s ETA 00:08
83% [=================================================================================> ] 6,642,797 169.14K/s ETA 00:08
83% [==================================================================================> ] 6,679,925 168.98K/s ETA 00:08
84% [==================================================================================> ] 6,717,053 168.99K/s ETA 00:08
84% [===================================================================================> ] 6,752,753 168.87K/s ETA 00:07
85% [===================================================================================> ] 6,787,025 168.94K/s ETA 00:07
85% [===================================================================================> ] 6,824,153 169.00K/s ETA 00:07
86% [====================================================================================> ] 6,859,853 168.97K/s ETA 00:07
86% [====================================================================================> ] 6,895,553 168.85K/s ETA 00:07
87% [=====================================================================================> ] 6,931,253 169.39K/s ETA 00:05
87% [=====================================================================================> ] 6,966,953 168.88K/s ETA 00:05
88% [======================================================================================> ] 7,001,225 168.90K/s ETA 00:05
88% [======================================================================================> ] 7,038,353 169.18K/s ETA 00:05
88% [=======================================================================================> ] 7,074,053 169.16K/s ETA 00:05
89% [=======================================================================================> ] 7,108,325 168.70K/s ETA 00:04
89% [=======================================================================================> ] 7,129,745 164.81K/s ETA 00:04
89% [=======================================================================================> ] 7,146,881 159.49K/s ETA 00:04
90% [========================================================================================> ] 7,164,017 154.03K/s ETA 00:04
91% [=========================================================================================> ] 7,251,125 169.09K/s ETA 00:04
91% [=========================================================================================> ] 7,290,357 154.74K/s ETA 00:03
92% [==========================================================================================> ] 7,369,649 167.17K/s ETA 00:03
93% [===========================================================================================> ] 7,405,349 167.14K/s ETA 00:03
93% [===========================================================================================> ] 7,441,049 167.56K/s ETA 00:03
93% [============================================================================================> ] 7,476,749 167.21K/s ETA 00:03
94% [============================================================================================> ] 7,511,021 167.21K/s ETA 00:02
94% [============================================================================================> ] 7,548,149 167.58K/s ETA 00:02
95% [=============================================================================================> ] 7,585,277 167.34K/s ETA 00:02
95% [=============================================================================================> ] 7,619,549 167.36K/s ETA 00:02
96% [==============================================================================================> ] 7,656,677 167.40K/s ETA 00:02
96% [==============================================================================================> ] 7,692,377 167.52K/s ETA 00:01
97% [===============================================================================================> ] 7,728,077 167.88K/s ETA 00:01
97% [===============================================================================================> ] 7,763,777 171.88K/s ETA 00:01
98% [================================================================================================> ] 7,799,477 179.01K/s ETA 00:01
98% [================================================================================================> ] 7,833,749 167.07K/s ETA 00:01
98% [================================================================================================> ] 7,868,021 167.09K/s ETA 00:00
99% [=================================================================================================> ] 7,905,149 169.25K/s ETA 00:00
99% [=================================================================================================> ] 7,940,849 168.94K/s ETA 00:00
100%[==================================================================================================>] 7,955,839 169.03K/s ETA 00:00
13:20:18 (167.55 KB/s) - `bash-4.3.tar.gz' saved [7955839/7955839]
--13:20:18-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-001
=> `bash43-001'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,617 (1.6K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,617 --.--K/s
13:20:18 (140.19 MB/s) - `bash43-001' saved [1617/1617]
--13:20:18-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-002
=> `bash43-002'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,594 (1.6K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,594 --.--K/s
13:20:19 (190.02 MB/s) - `bash43-002' saved [1594/1594]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-003
=> `bash43-003'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,465 (1.4K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,465 --.--K/s
13:20:19 (127.01 MB/s) - `bash43-003' saved [1465/1465]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-004
=> `bash43-004'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,534 (1.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,534 --.--K/s
13:20:19 (182.87 MB/s) - `bash43-004' saved [1534/1534]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-005
=> `bash43-005'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2,636 (2.6K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 2,636 --.--K/s
13:20:19 (179.56 MB/s) - `bash43-005' saved [2636/2636]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-006
=> `bash43-006'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,445 (1.4K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,445 --.--K/s
13:20:19 (125.28 MB/s) - `bash43-006' saved [1445/1445]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-007
=> `bash43-007'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,331 (1.3K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,331 --.--K/s
13:20:19 (126.93 MB/s) - `bash43-007' saved [1331/1331]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-008
=> `bash43-008'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:4,575 (4.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 4,575 --.--K/s
13:20:19 (1.55 MB/s) - `bash43-008' saved [4575/4575]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-009
=> `bash43-009'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2,413 (2.4K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 2,413 --.--K/s
13:20:19 (209.20 MB/s) - `bash43-009' saved [2413/2413]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-010
=> `bash43-010'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:5,357 (5.2K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 5,357 --.--K/s
13:20:19 (1.09 MB/s) - `bash43-010' saved [5357/5357]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-011
=> `bash43-011'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,533 (1.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,533 --.--K/s
13:20:19 (69.62 MB/s) - `bash43-011' saved [1533/1533]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-012
=> `bash43-012'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,365 (1.3K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,365 --.--K/s
13:20:19 (100.14 MB/s) - `bash43-012' saved [1365/1365]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-013
=> `bash43-013'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2,151 (2.1K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 2,151 --.--K/s
13:20:19 (97.68 MB/s) - `bash43-013' saved [2151/2151]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-014
=> `bash43-014'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:3,533 (3.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 3,533 --.--K/s
13:20:19 (280.78 MB/s) - `bash43-014' saved [3533/3533]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-015
=> `bash43-015'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,894 (1.8K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,894 --.--K/s
13:20:19 (180.63 MB/s) - `bash43-015' saved [1894/1894]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-016
=> `bash43-016'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:3,674 (3.6K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 3,674 --.--K/s
13:20:19 (318.53 MB/s) - `bash43-016' saved [3674/3674]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-017
=> `bash43-017'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,565 (1.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,565 --.--K/s
13:20:19 (135.68 MB/s) - `bash43-017' saved [1565/1565]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-018
=> `bash43-018'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,315 (1.3K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,315 --.--K/s
13:20:19 (114.01 MB/s) - `bash43-018' saved [1315/1315]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-019
=> `bash43-019'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2,610 (2.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 2,610 --.--K/s
13:20:19 (191.47 MB/s) - `bash43-019' saved [2610/2610]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-020
=> `bash43-020'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2,777 (2.7K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 2,777 --.--K/s
13:20:19 (220.70 MB/s) - `bash43-020' saved [2777/2777]
--13:20:19-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-021
=> `bash43-021'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,623 (1.6K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,623 --.--K/s
13:20:20 (154.78 MB/s) - `bash43-021' saved [1623/1623]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-022
=> `bash43-022'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,782 (1.7K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,782 --.--K/s
13:20:20 (188.83 MB/s) - `bash43-022' saved [1782/1782]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-023
=> `bash43-023'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:3,414 (3.3K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 3,414 --.--K/s
13:20:20 (295.99 MB/s) - `bash43-023' saved [3414/3414]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-024
=> `bash43-024'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,909 (1.9K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,909 --.--K/s
13:20:20 (151.71 MB/s) - `bash43-024' saved [1909/1909]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-025
=> `bash43-025'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:3,940 (3.8K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 3,940 --.--K/s
13:20:20 (313.12 MB/s) - `bash43-025' saved [3940/3940]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-026
=> `bash43-026'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,575 (1.5K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,575 --.--K/s
13:20:20 (136.55 MB/s) - `bash43-026' saved [1575/1575]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-027
=> `bash43-027'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:6,889 (6.7K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 6,889 --.--K/s
13:20:20 (689.93 KB/s) - `bash43-027' saved [6889/6889]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-028
=> `bash43-028'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:69,606 (68K) [application/octet-stream]
0% [ ] 0 --.--K/s
57% [=======================================================> ] 39,728 186.49K/s
100%[==================================================================================================>] 69,606 179.86K/s
13:20:20 (179.64 KB/s) - `bash43-028' saved [69606/69606]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-029
=> `bash43-029'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1,824 (1.8K) [application/octet-stream]
0% [ ] 0 --.--K/s
100%[==================================================================================================>] 1,824 --.--K/s
13:20:20 (158.14 MB/s) - `bash43-029' saved [1824/1824]
--13:20:20-- http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/bash43-030
=> `bash43-030'
Reusing existing connection to mirror.bjtu.edu.cn:80.
已发出 HTTP 请求,正在等待回应... 200 OK
长度:63,206 (62K) [application/octet-stream]
0% [ ] 0 --.--K/s
60% [==========================================================> ] 38,301 182.60K/s
100%[==================================================================================================>] 63,206 179.01K/s
13:20:21 (178.50 KB/s) - `bash43-030' saved [63206/63206]
下载完毕 --13:20:21--
下载了:8,157,991 字节,共 31 个文件
如果服务器不连接互联网,则手工下载源码包和补丁,并上传到服务器。 登陆http://mirror.bjtu.edu.cn/gnu/bash/下载bash4.3.tar.gz源码包并上传到服务器。 登陆http://mirror.bjtu.edu.cn/gnu/bash/bash-4.3-patches/下载bash43-001至bash43-030共30个补丁并上传到服务器。
2. 查看下载的源码包和补丁是否正确。
[root@aca83f25 bash4.3-with_patches]# ls -l
总用量 8180
-rw-r--r-- 1 root root 1617 2014-03-28 bash43-001
-rw-r--r-- 1 root root 1594 2014-03-28 bash43-002
-rw-r--r-- 1 root root 1465 2014-03-28 bash43-003
-rw-r--r-- 1 root root 1534 2014-03-28 bash43-004
-rw-r--r-- 1 root root 2636 2014-03-28 bash43-005
-rw-r--r-- 1 root root 1445 2014-03-28 bash43-006
-rw-r--r-- 1 root root 1331 2014-03-28 bash43-007
-rw-r--r-- 1 root root 4575 2014-03-28 bash43-008
-rw-r--r-- 1 root root 2413 4月 10 23:49 bash43-009
-rw-r--r-- 1 root root 5357 4月 10 23:49 bash43-010
-rw-r--r-- 1 root root 1533 4月 10 23:50 bash43-011
-rw-r--r-- 1 root root 1365 5月 15 20:29 bash43-012
-rw-r--r-- 1 root root 2151 5月 15 20:29 bash43-013
-rw-r--r-- 1 root root 3533 5月 15 20:29 bash43-014
-rw-r--r-- 1 root root 1894 5月 15 20:30 bash43-015
-rw-r--r-- 1 root root 3674 5月 15 20:30 bash43-016
-rw-r--r-- 1 root root 1565 5月 15 20:30 bash43-017
-rw-r--r-- 1 root root 1315 5月 15 20:30 bash43-018
-rw-r--r-- 1 root root 2610 8月 2 03:34 bash43-019
-rw-r--r-- 1 root root 2777 8月 2 03:34 bash43-020
-rw-r--r-- 1 root root 1623 8月 2 03:34 bash43-021
-rw-r--r-- 1 root root 1782 8月 2 03:35 bash43-022
-rw-r--r-- 1 root root 3414 8月 18 22:55 bash43-023
-rw-r--r-- 1 root root 1909 8月 18 22:55 bash43-024
-rw-r--r-- 1 root root 3940 9月 24 22:24 bash43-025
-rw-r--r-- 1 root root 1575 9月 27 05:02 bash43-026
-rw-r--r-- 1 root root 6889 9月 28 10:38 bash43-027
-rw-r--r-- 1 root root 69606 10月 2 01:29 bash43-028
-rw-r--r-- 1 root root 1824 10月 3 10:14 bash43-029
-rw-r--r-- 1 root root 63206 10月 6 07:01 bash43-030
-rw-r--r-- 1 root root 7955839 2014-02-26 bash-4.3.tar.gz
-rw-r--r-- 1 root root 1941 10月 10 13:19 bash4.3_wgetlist
3. 解压源码包
[root@aca83f25 bash4.3-with_patches]# tar -zxvf bash-4.3.tar.gz
bash-4.3/
bash-4.3/CWRU/
bash-4.3/CWRU/misc/
bash-4.3/CWRU/misc/open-files.c
bash-4.3/CWRU/misc/sigs.c
bash-4.3/CWRU/misc/sigstat.c
bash-4.3/CWRU/misc/bison
bash-4.3/CWRU/misc/errlist.c
bash-4.3/CWRU/misc/hpux10-dlfcn.h
bash-4.3/CWRU/PLATFORMS
bash-4.3/CWRU/README
bash-4.3/CWRU/changelog
bash-4.3/CWRU/sh-redir-hack
bash-4.3/builtins/
bash-4.3/builtins/Makefile.in
bash-4.3/builtins/alias.def
bash-4.3/builtins/bind.def
bash-4.3/builtins/break.def
bash-4.3/builtins/builtin.def
bash-4.3/builtins/caller.def
bash-4.3/builtins/cd.def
bash-4.3/builtins/colon.def
bash-4.3/builtins/command.def
bash-4.3/builtins/complete.def
bash-4.3/builtins/common.c
bash-4.3/builtins/declare.def
bash-4.3/builtins/echo.def
bash-4.3/builtins/enable.def
bash-4.3/builtins/eval.def
bash-4.3/builtins/evalfile.c
bash-4.3/builtins/evalstring.c
bash-4.3/builtins/exec.def
bash-4.3/builtins/exit.def
bash-4.3/builtins/fc.def
bash-4.3/builtins/fg_bg.def
bash-4.3/builtins/gen-helpfiles.c
bash-4.3/builtins/getopt.c
bash-4.3/builtins/getopt.h
bash-4.3/builtins/getopts.def
bash-4.3/builtins/hash.def
bash-4.3/builtins/help.def
bash-4.3/builtins/let.def
bash-4.3/builtins/history.def
bash-4.3/builtins/jobs.def
bash-4.3/builtins/kill.def
bash-4.3/builtins/mapfile.def
bash-4.3/builtins/mkbuiltins.c
bash-4.3/builtins/printf.def
bash-4.3/builtins/pushd.def
bash-4.3/builtins/read.def
bash-4.3/builtins/reserved.def
bash-4.3/builtins/return.def
bash-4.3/builtins/set.def
bash-4.3/builtins/setattr.def
bash-4.3/builtins/shift.def
bash-4.3/builtins/shopt.def
bash-4.3/builtins/source.def
bash-4.3/builtins/suspend.def
bash-4.3/builtins/test.def
bash-4.3/builtins/times.def
bash-4.3/builtins/trap.def
bash-4.3/builtins/type.def
bash-4.3/builtins/ulimit.def
bash-4.3/builtins/umask.def
bash-4.3/builtins/wait.def
bash-4.3/builtins/psize.c
bash-4.3/builtins/psize.sh
bash-4.3/builtins/inlib.def
bash-4.3/builtins/bashgetopt.c
bash-4.3/builtins/common.h
bash-4.3/builtins/bashgetopt.h
bash-4.3/cross-build/
bash-4.3/cross-build/cygwin32.cache
bash-4.3/cross-build/x86-beos.cache
bash-4.3/cross-build/opennt.cache
bash-4.3/doc/
bash-4.3/doc/FAQ
bash-4.3/doc/Makefile.in
bash-4.3/doc/bash.1
bash-4.3/doc/bashbug.1
bash-4.3/doc/builtins.1
bash-4.3/doc/rbash.1
bash-4.3/doc/README
bash-4.3/doc/INTRO
bash-4.3/doc/texinfo.tex
bash-4.3/doc/bashref.texi
bash-4.3/doc/version.texi
bash-4.3/doc/bashref.info
bash-4.3/doc/article.ms
bash-4.3/doc/htmlpost.sh
bash-4.3/doc/infopost.sh
bash-4.3/doc/fdl.texi
bash-4.3/doc/fdl.txt
bash-4.3/doc/article.ps
bash-4.3/doc/rose94.ps
bash-4.3/doc/bash.ps
bash-4.3/doc/bashbug.ps
bash-4.3/doc/builtins.ps
bash-4.3/doc/rbash.ps
bash-4.3/doc/bashref.ps
bash-4.3/doc/bash.0
bash-4.3/doc/bashref.dvi
bash-4.3/doc/bashbug.0
bash-4.3/doc/builtins.0
bash-4.3/doc/rbash.0
bash-4.3/doc/article.txt
bash-4.3/doc/bash.html
bash-4.3/doc/bashref.html
bash-4.3/doc/article.pdf
bash-4.3/doc/bash.pdf
bash-4.3/doc/bashref.pdf
bash-4.3/doc/rose94.pdf
bash-4.3/doc/aosa-bash.pdf
bash-4.3/examples/
bash-4.3/examples/complete/
bash-4.3/examples/complete/bash_completion
bash-4.3/examples/complete/cdfunc
bash-4.3/examples/complete/complete-examples
bash-4.3/examples/complete/bashcc-1.0.1.tar.gz
bash-4.3/examples/functions/
bash-4.3/examples/functions/array-stuff
bash-4.3/examples/functions/array-to-string
bash-4.3/examples/functions/autoload
bash-4.3/examples/functions/autoload.v2
bash-4.3/examples/functions/autoload.v3
bash-4.3/examples/functions/basename
bash-4.3/examples/functions/csh-compat
bash-4.3/examples/functions/dirname
bash-4.3/examples/functions/exitstat
bash-4.3/examples/functions/external
bash-4.3/examples/functions/fact
bash-4.3/examples/functions/fstty
bash-4.3/examples/functions/func
bash-4.3/examples/functions/inetaddr
bash-4.3/examples/functions/inpath
bash-4.3/examples/functions/isnum2
bash-4.3/examples/functions/isvalidip
bash-4.3/examples/functions/ksh-cd
bash-4.3/examples/functions/ksh-compat-test
bash-4.3/examples/functions/kshenv
bash-4.3/examples/functions/login
bash-4.3/examples/functions/notify.bash
bash-4.3/examples/functions/seq
bash-4.3/examples/functions/seq2
bash-4.3/examples/functions/shcat
bash-4.3/examples/functions/shcat2
bash-4.3/examples/functions/sort-pos-params
bash-4.3/examples/functions/substr
bash-4.3/examples/functions/substr2
bash-4.3/examples/functions/whatis
bash-4.3/examples/functions/whence
bash-4.3/examples/functions/which
bash-4.3/examples/scripts/
bash-4.3/examples/scripts/cat.sh
bash-4.3/examples/scripts/center
bash-4.3/examples/scripts/inpath
bash-4.3/examples/scripts/shprompt
bash-4.3/examples/scripts/spin.bash
bash-4.3/examples/scripts/xterm_title
bash-4.3/examples/scripts/zprintf
bash-4.3/examples/startup-files/
bash-4.3/examples/startup-files/README
bash-4.3/examples/startup-files/Bashrc.bfox
bash-4.3/examples/startup-files/Bash_aliases
bash-4.3/examples/startup-files/Bash_profile
bash-4.3/examples/startup-files/bash-profile
bash-4.3/examples/startup-files/bashrc
bash-4.3/examples/misc/
bash-4.3/examples/misc/aliasconv.sh
bash-4.3/examples/misc/aliasconv.bash
bash-4.3/examples/misc/cshtobash
bash-4.3/examples/loadables/
bash-4.3/examples/loadables/perl/
bash-4.3/examples/loadables/perl/Makefile.in
bash-4.3/examples/loadables/perl/README
bash-4.3/examples/loadables/perl/bperl.c
bash-4.3/examples/loadables/perl/iperl.c
bash-4.3/examples/loadables/README
bash-4.3/examples/loadables/template.c
bash-4.3/examples/loadables/Makefile.in
bash-4.3/examples/loadables/necho.c
bash-4.3/examples/loadables/hello.c
bash-4.3/examples/loadables/print.c
bash-4.3/examples/loadables/realpath.c
bash-4.3/examples/loadables/sleep.c
bash-4.3/examples/loadables/strftime.c
bash-4.3/examples/loadables/truefalse.c
bash-4.3/examples/loadables/finfo.c
bash-4.3/examples/loadables/cat.c
bash-4.3/examples/loadables/logname.c
bash-4.3/examples/loadables/basename.c
bash-4.3/examples/loadables/dirname.c
bash-4.3/examples/loadables/tty.c
bash-4.3/examples/loadables/pathchk.c
bash-4.3/examples/loadables/tee.c
bash-4.3/examples/loadables/rmdir.c
bash-4.3/examples/loadables/head.c
bash-4.3/examples/loadables/printenv.c
bash-4.3/examples/loadables/push.c
bash-4.3/examples/loadables/id.c
bash-4.3/examples/loadables/whoami.c
bash-4.3/examples/loadables/uname.c
bash-4.3/examples/loadables/sync.c
bash-4.3/examples/loadables/mkdir.c
bash-4.3/examples/loadables/ln.c
bash-4.3/examples/loadables/mypid.c
bash-4.3/examples/loadables/unlink.c
bash-4.3/examples/INDEX.txt
bash-4.3/examples/INDEX.html
bash-4.3/include/
bash-4.3/include/ansi_stdlib.h
bash-4.3/include/chartypes.h
bash-4.3/include/filecntl.h
bash-4.3/include/gettext.h
bash-4.3/include/maxpath.h
bash-4.3/include/memalloc.h
bash-4.3/include/ocache.h
bash-4.3/include/posixdir.h
bash-4.3/include/posixjmp.h
bash-4.3/include/posixselect.h
bash-4.3/include/posixstat.h
bash-4.3/include/posixtime.h
bash-4.3/include/posixwait.h
bash-4.3/include/shmbchar.h
bash-4.3/include/shmbutil.h
bash-4.3/include/shtty.h
bash-4.3/include/stat-time.h
bash-4.3/include/stdc.h
bash-4.3/include/systimes.h
bash-4.3/include/typemax.h
bash-4.3/include/unionwait.h
bash-4.3/lib/
bash-4.3/lib/glob/
bash-4.3/lib/glob/doc/
bash-4.3/lib/glob/doc/Makefile
bash-4.3/lib/glob/doc/glob.texi
bash-4.3/lib/glob/Makefile.in
bash-4.3/lib/glob/sm_loop.c
bash-4.3/lib/glob/smatch.c
bash-4.3/lib/glob/strmatch.c
bash-4.3/lib/glob/strmatch.h
bash-4.3/lib/glob/glob.c
bash-4.3/lib/glob/glob.h
bash-4.3/lib/glob/glob_loop.c
bash-4.3/lib/glob/gmisc.c
bash-4.3/lib/glob/xmbsrtowcs.c
bash-4.3/lib/glob/collsyms.h
bash-4.3/lib/glob/ndir.h
bash-4.3/lib/intl/
bash-4.3/lib/intl/ChangeLog
bash-4.3/lib/intl/Makefile.in
bash-4.3/lib/intl/VERSION
bash-4.3/lib/intl/bindtextdom.c
bash-4.3/lib/intl/config.charset
bash-4.3/lib/intl/dcgettext.c
bash-4.3/lib/intl/dcigettext.c
bash-4.3/lib/intl/dcngettext.c
bash-4.3/lib/intl/dgettext.c
bash-4.3/lib/intl/dngettext.c
bash-4.3/lib/intl/eval-plural.h
bash-4.3/lib/intl/explodename.c
bash-4.3/lib/intl/finddomain.c
bash-4.3/lib/intl/gettext.c
bash-4.3/lib/intl/gettextP.h
bash-4.3/lib/intl/gmo.h
bash-4.3/lib/intl/hash-string.h
bash-4.3/lib/intl/intl-compat.c
bash-4.3/lib/intl/l10nflist.c
bash-4.3/lib/intl/libgnuintl.h.in
bash-4.3/lib/intl/log.c
bash-4.3/lib/intl/loadinfo.h
bash-4.3/lib/intl/loadmsgcat.c
bash-4.3/lib/intl/localcharset.c
bash-4.3/lib/intl/localcharset.h
bash-4.3/lib/intl/locale.alias
bash-4.3/lib/intl/localealias.c
bash-4.3/lib/intl/localename.c
bash-4.3/lib/intl/ngettext.c
bash-4.3/lib/intl/os2compat.c
bash-4.3/lib/intl/os2compat.h
bash-4.3/lib/intl/osdep.c
bash-4.3/lib/intl/plural-exp.c
bash-4.3/lib/intl/plural-exp.h
bash-4.3/lib/intl/plural.c
bash-4.3/lib/intl/plural.y
bash-4.3/lib/intl/ref-add.sin
bash-4.3/lib/intl/ref-del.sin
bash-4.3/lib/intl/relocatable.c
bash-4.3/lib/intl/relocatable.h
bash-4.3/lib/intl/textdomain.c
bash-4.3/lib/malloc/
bash-4.3/lib/malloc/Makefile.in
bash-4.3/lib/malloc/getpagesize.h
bash-4.3/lib/malloc/imalloc.h
bash-4.3/lib/malloc/mstats.h
bash-4.3/lib/malloc/shmalloc.h
bash-4.3/lib/malloc/table.h
bash-4.3/lib/malloc/watch.h
bash-4.3/lib/malloc/alloca.c
bash-4.3/lib/malloc/malloc.c
bash-4.3/lib/malloc/stats.c
bash-4.3/lib/malloc/table.c
bash-4.3/lib/malloc/trace.c
bash-4.3/lib/malloc/watch.c
bash-4.3/lib/malloc/xmalloc.c
bash-4.3/lib/malloc/xleaktrace
bash-4.3/lib/malloc/stub.c
bash-4.3/lib/malloc/i386-alloca.s
bash-4.3/lib/malloc/x386-alloca.s
bash-4.3/lib/readline/
bash-4.3/lib/readline/doc/
bash-4.3/lib/readline/doc/Makefile
bash-4.3/lib/readline/doc/version.texi
bash-4.3/lib/readline/doc/rlman.texi
bash-4.3/lib/readline/doc/rltech.texi
bash-4.3/lib/readline/doc/rluser.texi
bash-4.3/lib/readline/doc/rluserman.texi
bash-4.3/lib/readline/doc/history.texi
bash-4.3/lib/readline/doc/hstech.texi
bash-4.3/lib/readline/doc/hsuser.texi
bash-4.3/lib/readline/doc/fdl.texi
bash-4.3/lib/readline/examples/
bash-4.3/lib/readline/examples/Makefile
bash-4.3/lib/readline/examples/excallback.c
bash-4.3/lib/readline/examples/fileman.c
bash-4.3/lib/readline/examples/manexamp.c
bash-4.3/lib/readline/examples/histexamp.c
bash-4.3/lib/readline/examples/rltest.c
bash-4.3/lib/readline/examples/rl-callbacktest.c
bash-4.3/lib/readline/examples/rl.c
bash-4.3/lib/readline/examples/rlcat.c
bash-4.3/lib/readline/examples/Inputrc
bash-4.3/lib/readline/COPYING
bash-4.3/lib/readline/Makefile.in
bash-4.3/lib/readline/ChangeLog
bash-4.3/lib/readline/README
bash-4.3/lib/readline/STANDALONE
bash-4.3/lib/readline/readline.c
bash-4.3/lib/readline/vi_mode.c
bash-4.3/lib/readline/emacs_keymap.c
bash-4.3/lib/readline/vi_keymap.c
bash-4.3/lib/readline/history.c
bash-4.3/lib/readline/histexpand.c
bash-4.3/lib/readline/histsearch.c
bash-4.3/lib/readline/histfile.c
bash-4.3/lib/readline/funmap.c
bash-4.3/lib/readline/keymaps.c
bash-4.3/lib/readline/util.c
bash-4.3/lib/readline/terminal.c
bash-4.3/lib/readline/xfree.c
bash-4.3/lib/readline/xmalloc.c
bash-4.3/lib/readline/search.c
bash-4.3/lib/readline/isearch.c
bash-4.3/lib/readline/parens.c
bash-4.3/lib/readline/rltty.c
bash-4.3/lib/readline/compat.c
bash-4.3/lib/readline/complete.c
bash-4.3/lib/readline/bind.c
bash-4.3/lib/readline/display.c
bash-4.3/lib/readline/signals.c
bash-4.3/lib/readline/kill.c
bash-4.3/lib/readline/text.c
bash-4.3/lib/readline/undo.c
bash-4.3/lib/readline/macro.c
bash-4.3/lib/readline/input.c
bash-4.3/lib/readline/callback.c
bash-4.3/lib/readline/mbutil.c
bash-4.3/lib/readline/misc.c
bash-4.3/lib/readline/nls.c
bash-4.3/lib/readline/shell.c
bash-4.3/lib/readline/colors.c
bash-4.3/lib/readline/parse-colors.c
bash-4.3/lib/readline/savestring.c
bash-4.3/lib/readline/tilde.c
bash-4.3/lib/readline/tilde.h
bash-4.3/lib/readline/rldefs.h
bash-4.3/lib/readline/rlconf.h
bash-4.3/lib/readline/rlmbutil.h
bash-4.3/lib/readline/rlshell.h
bash-4.3/lib/readline/rltty.h
bash-4.3/lib/readline/rltypedefs.h
bash-4.3/lib/readline/rlwinsize.h
bash-4.3/lib/readline/readline.h
bash-4.3/lib/readline/tcap.h
bash-4.3/lib/readline/keymaps.h
bash-4.3/lib/readline/history.h
bash-4.3/lib/readline/histlib.h
bash-4.3/lib/readline/chardefs.h
bash-4.3/lib/readline/posixdir.h
bash-4.3/lib/readline/posixjmp.h
bash-4.3/lib/readline/posixselect.h
bash-4.3/lib/readline/posixstat.h
bash-4.3/lib/readline/ansi_stdlib.h
bash-4.3/lib/readline/rlstdc.h
bash-4.3/lib/readline/rlprivate.h
bash-4.3/lib/readline/colors.h
bash-4.3/lib/readline/parse-colors.h
bash-4.3/lib/readline/xmalloc.h
bash-4.3/lib/sh/
bash-4.3/lib/sh/Makefile.in
bash-4.3/lib/sh/casemod.c
bash-4.3/lib/sh/clktck.c
bash-4.3/lib/sh/clock.c
bash-4.3/lib/sh/dprintf.c
bash-4.3/lib/sh/eaccess.c
bash-4.3/lib/sh/fmtullong.c
bash-4.3/lib/sh/fmtulong.c
bash-4.3/lib/sh/fmtumax.c
bash-4.3/lib/sh/fnxform.c
bash-4.3/lib/sh/fpurge.c
bash-4.3/lib/sh/getcwd.c
bash-4.3/lib/sh/getenv.c
bash-4.3/lib/sh/inet_aton.c
bash-4.3/lib/sh/input_avail.c
bash-4.3/lib/sh/itos.c
bash-4.3/lib/sh/mailstat.c
bash-4.3/lib/sh/makepath.c
bash-4.3/lib/sh/mbscasecmp.c
bash-4.3/lib/sh/mbschr.c
bash-4.3/lib/sh/mbscmp.c
bash-4.3/lib/sh/memset.c
bash-4.3/lib/sh/mktime.c
bash-4.3/lib/sh/netconn.c
bash-4.3/lib/sh/oslib.c
bash-4.3/lib/sh/netopen.c
bash-4.3/lib/sh/pathcanon.c
bash-4.3/lib/sh/pathphys.c
bash-4.3/lib/sh/rename.c
bash-4.3/lib/sh/setlinebuf.c
bash-4.3/lib/sh/shmatch.c
bash-4.3/lib/sh/shmbchar.c
bash-4.3/lib/sh/shquote.c
bash-4.3/lib/sh/shtty.c
bash-4.3/lib/sh/snprintf.c
bash-4.3/lib/sh/spell.c
bash-4.3/lib/sh/strcasecmp.c
bash-4.3/lib/sh/strcasestr.c
bash-4.3/lib/sh/strchrnul.c
bash-4.3/lib/sh/strdup.c
bash-4.3/lib/sh/strerror.c
bash-4.3/lib/sh/strftime.c
bash-4.3/lib/sh/stringlist.c
bash-4.3/lib/sh/stringvec.c
bash-4.3/lib/sh/strnlen.c
bash-4.3/lib/sh/strpbrk.c
bash-4.3/lib/sh/strstr.c
bash-4.3/lib/sh/strtod.c
bash-4.3/lib/sh/strtol.c
bash-4.3/lib/sh/strtoimax.c
bash-4.3/lib/sh/strtoll.c
bash-4.3/lib/sh/strtoul.c
bash-4.3/lib/sh/strtoull.c
bash-4.3/lib/sh/strtoumax.c
bash-4.3/lib/sh/strtrans.c
bash-4.3/lib/sh/times.c
bash-4.3/lib/sh/timeval.c
bash-4.3/lib/sh/tmpfile.c
bash-4.3/lib/sh/uconvert.c
bash-4.3/lib/sh/ufuncs.c
bash-4.3/lib/sh/unicode.c
bash-4.3/lib/sh/vprint.c
bash-4.3/lib/sh/wcsdup.c
bash-4.3/lib/sh/wcsnwidth.c
bash-4.3/lib/sh/wcswidth.c
bash-4.3/lib/sh/winsize.c
bash-4.3/lib/sh/zcatfd.c
bash-4.3/lib/sh/zgetline.c
bash-4.3/lib/sh/zmapfd.c
bash-4.3/lib/sh/zread.c
bash-4.3/lib/sh/zwrite.c
bash-4.3/lib/termcap/
bash-4.3/lib/termcap/Makefile.in
bash-4.3/lib/termcap/ltcap.h
bash-4.3/lib/termcap/termcap.c
bash-4.3/lib/termcap/termcap.h
bash-4.3/lib/termcap/tparam.c
bash-4.3/lib/termcap/version.c
bash-4.3/lib/tilde/
bash-4.3/lib/tilde/README
bash-4.3/lib/tilde/Makefile.in
bash-4.3/lib/tilde/tilde.c
bash-4.3/lib/tilde/tilde.h
bash-4.3/lib/tilde/shell.c
bash-4.3/m4/
bash-4.3/m4/stat-time.m4
bash-4.3/m4/timespec.m4
bash-4.3/po/
bash-4.3/po/LINGUAS
bash-4.3/po/Makefile.in.in
bash-4.3/po/Makevars
bash-4.3/po/POTFILES.in
bash-4.3/po/README
bash-4.3/po/Rules-builtins
bash-4.3/po/Rules-quot
bash-4.3/po/bash.pot
bash-4.3/po/boldquot.sed
bash-4.3/po/en@boldquot.gmo
bash-4.3/po/en@boldquot.header
bash-4.3/po/en@boldquot.po
bash-4.3/po/en@quot.gmo
bash-4.3/po/en@quot.header
bash-4.3/po/en@quot.po
bash-4.3/po/af.gmo
bash-4.3/po/af.po
bash-4.3/po/bg.gmo
bash-4.3/po/bg.po
bash-4.3/po/._bg.po
bash-4.3/po/ca.gmo
bash-4.3/po/ca.po
bash-4.3/po/cs.gmo
bash-4.3/po/cs.po
bash-4.3/po/da.gmo
bash-4.3/po/da.po
bash-4.3/po/de.gmo
bash-4.3/po/de.po
bash-4.3/po/el.gmo
bash-4.3/po/el.po
bash-4.3/po/eo.gmo
bash-4.3/po/eo.po
bash-4.3/po/es.gmo
bash-4.3/po/es.po
bash-4.3/po/et.gmo
bash-4.3/po/et.po
bash-4.3/po/fi.gmo
bash-4.3/po/fi.po
bash-4.3/po/fr.gmo
bash-4.3/po/fr.po
bash-4.3/po/ga.gmo
bash-4.3/po/ga.po
bash-4.3/po/gl.gmo
bash-4.3/po/gl.po
bash-4.3/po/hr.gmo
bash-4.3/po/hr.po
bash-4.3/po/hu.gmo
bash-4.3/po/hu.po
bash-4.3/po/id.gmo
bash-4.3/po/id.po
bash-4.3/po/it.gmo
bash-4.3/po/it.po
bash-4.3/po/ja.gmo
bash-4.3/po/ja.po
bash-4.3/po/lt.gmo
bash-4.3/po/lt.po
bash-4.3/po/nl.gmo
bash-4.3/po/nl.po
bash-4.3/po/pl.gmo
bash-4.3/po/pl.po
bash-4.3/po/pt_BR.gmo
bash-4.3/po/pt_BR.po
bash-4.3/po/ro.gmo
bash-4.3/po/ro.po
bash-4.3/po/ru.gmo
bash-4.3/po/ru.po
bash-4.3/po/sk.gmo
bash-4.3/po/sk.po
bash-4.3/po/sl.gmo
bash-4.3/po/sr.po
bash-4.3/po/sr.gmo
bash-4.3/po/sl.po
bash-4.3/po/sv.gmo
bash-4.3/po/sv.po
bash-4.3/po/tr.gmo
bash-4.3/po/tr.po
bash-4.3/po/uk.gmo
bash-4.3/po/uk.po
bash-4.3/po/vi.gmo
bash-4.3/po/vi.po
bash-4.3/po/zh_CN.gmo
bash-4.3/po/zh_CN.po
bash-4.3/po/zh_TW.gmo
bash-4.3/po/zh_TW.po
bash-4.3/po/insert-header.sin
bash-4.3/po/quot.sed
bash-4.3/po/remove-potcdate.sin
bash-4.3/support/
bash-4.3/support/Makefile.in
bash-4.3/support/bashversion.c
bash-4.3/support/checkbashisms
bash-4.3/support/config.guess
bash-4.3/support/config.rpath
bash-4.3/support/config.sub
bash-4.3/support/printenv.sh
bash-4.3/support/printenv.c
bash-4.3/support/bash.xbm
bash-4.3/support/missing
bash-4.3/support/mkclone
bash-4.3/support/mkconffiles
bash-4.3/support/mkdirs
bash-4.3/support/mkinstalldirs
bash-4.3/support/mkversion.sh
bash-4.3/support/mksignames.c
bash-4.3/support/signames.c
bash-4.3/support/bashbug.sh
bash-4.3/support/man2html.c
bash-4.3/support/recho.c
bash-4.3/support/zecho.c
bash-4.3/support/xcase.c
bash-4.3/support/SYMLINKS
bash-4.3/support/fixlinks
bash-4.3/support/install.sh
bash-4.3/support/texi2dvi
bash-4.3/support/texi2html
bash-4.3/support/xenix-link.sh
bash-4.3/support/shobj-conf
bash-4.3/support/rlvers.sh
bash-4.3/tests/
bash-4.3/tests/misc/
bash-4.3/tests/misc/dev-tcp.tests
bash-4.3/tests/misc/perf-script
bash-4.3/tests/misc/perftest
bash-4.3/tests/misc/read-nchars.tests
bash-4.3/tests/misc/redir-t2.sh
bash-4.3/tests/misc/run-r2.sh
bash-4.3/tests/misc/sigint-1.sh
bash-4.3/tests/misc/sigint-2.sh
bash-4.3/tests/misc/sigint-3.sh
bash-4.3/tests/misc/sigint-4.sh
bash-4.3/tests/misc/test-minus-e.1
bash-4.3/tests/misc/test-minus-e.2
bash-4.3/tests/misc/wait-bg.tests
bash-4.3/tests/README
bash-4.3/tests/COPYRIGHT
bash-4.3/tests/alias.tests
bash-4.3/tests/alias1.sub
bash-4.3/tests/alias.right
bash-4.3/tests/appendop.tests
bash-4.3/tests/appendop1.sub
bash-4.3/tests/appendop2.sub
bash-4.3/tests/appendop.right
bash-4.3/tests/arith-for.tests
bash-4.3/tests/arith-for.right
bash-4.3/tests/arith.tests
bash-4.3/tests/arith.right
bash-4.3/tests/arith1.sub
bash-4.3/tests/arith2.sub
bash-4.3/tests/arith3.sub
bash-4.3/tests/arith4.sub
bash-4.3/tests/arith5.sub
bash-4.3/tests/arith6.sub
bash-4.3/tests/array.tests
bash-4.3/tests/array.right
bash-4.3/tests/array1.sub
bash-4.3/tests/array2.sub
bash-4.3/tests/array3.sub
bash-4.3/tests/array4.sub
bash-4.3/tests/array5.sub
bash-4.3/tests/array6.sub
bash-4.3/tests/array7.sub
bash-4.3/tests/array8.sub
bash-4.3/tests/array9.sub
bash-4.3/tests/array10.sub
bash-4.3/tests/array11.sub
bash-4.3/tests/array12.sub
bash-4.3/tests/array13.sub
bash-4.3/tests/array14.sub
bash-4.3/tests/array15.sub
bash-4.3/tests/array16.sub
bash-4.3/tests/array-at-star
bash-4.3/tests/array2.right
bash-4.3/tests/assoc.tests
bash-4.3/tests/assoc.right
bash-4.3/tests/assoc1.sub
bash-4.3/tests/assoc2.sub
bash-4.3/tests/assoc3.sub
bash-4.3/tests/assoc4.sub
bash-4.3/tests/assoc5.sub
bash-4.3/tests/assoc6.sub
bash-4.3/tests/assoc7.sub
bash-4.3/tests/braces.tests
bash-4.3/tests/braces.right
bash-4.3/tests/builtins.tests
bash-4.3/tests/builtins.right
bash-4.3/tests/builtins1.sub
bash-4.3/tests/builtins2.sub
bash-4.3/tests/builtins3.sub
bash-4.3/tests/builtins4.sub
bash-4.3/tests/source1.sub
bash-4.3/tests/source2.sub
bash-4.3/tests/source3.sub
bash-4.3/tests/source4.sub
bash-4.3/tests/source5.sub
bash-4.3/tests/source6.sub
bash-4.3/tests/source7.sub
bash-4.3/tests/case.tests
bash-4.3/tests/case.right
bash-4.3/tests/case1.sub
bash-4.3/tests/casemod.tests
bash-4.3/tests/casemod.right
bash-4.3/tests/comsub.tests
bash-4.3/tests/comsub.right
bash-4.3/tests/comsub1.sub
bash-4.3/tests/comsub-eof.tests
bash-4.3/tests/comsub-eof0.sub
bash-4.3/tests/comsub-eof1.sub
bash-4.3/tests/comsub-eof2.sub
bash-4.3/tests/comsub-eof3.sub
bash-4.3/tests/comsub-eof4.sub
bash-4.3/tests/comsub-eof5.sub
bash-4.3/tests/comsub-eof.right
bash-4.3/tests/comsub-posix.tests
bash-4.3/tests/comsub-posix.right
bash-4.3/tests/comsub-posix1.sub
bash-4.3/tests/comsub-posix2.sub
bash-4.3/tests/comsub-posix3.sub
bash-4.3/tests/cond.tests
bash-4.3/tests/cond.right
bash-4.3/tests/cond-regexp1.sub
bash-4.3/tests/cond-regexp2.sub
bash-4.3/tests/cond-regexp3.sub
bash-4.3/tests/coproc.tests
bash-4.3/tests/coproc.right
bash-4.3/tests/cprint.tests
bash-4.3/tests/cprint.right
bash-4.3/tests/dbg-support.right
bash-4.3/tests/dbg-support.sub
bash-4.3/tests/dbg-support.tests
bash-4.3/tests/dbg-support2.right
bash-4.3/tests/dbg-support2.tests
bash-4.3/tests/dbg-support3.sub
bash-4.3/tests/dollar-at-star
bash-4.3/tests/dollar-at-star1.sub
bash-4.3/tests/dollar-at1.sub
bash-4.3/tests/dollar-at2.sub
bash-4.3/tests/dollar-at3.sub
bash-4.3/tests/dollar-at4.sub
bash-4.3/tests/dollar-at5.sub
bash-4.3/tests/dollar-at6.sub
bash-4.3/tests/dollar-star1.sub
bash-4.3/tests/dollar-star2.sub
bash-4.3/tests/dollar-star3.sub
bash-4.3/tests/dollar-star4.sub
bash-4.3/tests/dollar-star5.sub
bash-4.3/tests/dollar-star6.sub
bash-4.3/tests/dollar-star7.sub
bash-4.3/tests/dollar.right
bash-4.3/tests/dstack.tests
bash-4.3/tests/dstack.right
bash-4.3/tests/dstack2.tests
bash-4.3/tests/dstack2.right
bash-4.3/tests/errors.tests
bash-4.3/tests/errors.right
bash-4.3/tests/errors1.sub
bash-4.3/tests/errors2.sub
bash-4.3/tests/errors3.sub
bash-4.3/tests/execscript
bash-4.3/tests/exec.right
bash-4.3/tests/exec1.sub
bash-4.3/tests/exec2.sub
bash-4.3/tests/exec3.sub
bash-4.3/tests/exec4.sub
bash-4.3/tests/exec5.sub
bash-4.3/tests/exec6.sub
bash-4.3/tests/exec7.sub
bash-4.3/tests/exec8.sub
bash-4.3/tests/exec9.sub
bash-4.3/tests/exp.tests
bash-4.3/tests/exp.right
bash-4.3/tests/exp1.sub
bash-4.3/tests/exp2.sub
bash-4.3/tests/exp3.sub
bash-4.3/tests/exp4.sub
bash-4.3/tests/exp5.sub
bash-4.3/tests/exp6.sub
bash-4.3/tests/extglob.tests
bash-4.3/tests/extglob.right
bash-4.3/tests/extglob1.sub
bash-4.3/tests/extglob1a.sub
bash-4.3/tests/extglob2.tests
bash-4.3/tests/extglob2.right
bash-4.3/tests/extglob3.tests
bash-4.3/tests/extglob3.right
bash-4.3/tests/func.tests
bash-4.3/tests/func.right
bash-4.3/tests/func1.sub
bash-4.3/tests/func2.sub
bash-4.3/tests/func3.sub
bash-4.3/tests/func4.sub
bash-4.3/tests/getopts.tests
bash-4.3/tests/getopts.right
bash-4.3/tests/getopts1.sub
bash-4.3/tests/getopts2.sub
bash-4.3/tests/getopts3.sub
bash-4.3/tests/getopts4.sub
bash-4.3/tests/getopts5.sub
bash-4.3/tests/getopts6.sub
bash-4.3/tests/run-all
bash-4.3/tests/getopts7.sub
bash-4.3/tests/glob.tests
bash-4.3/tests/glob1.sub
bash-4.3/tests/glob.right
bash-4.3/tests/globstar.tests
bash-4.3/tests/globstar.right
bash-4.3/tests/globstar1.sub
bash-4.3/tests/globstar2.sub
bash-4.3/tests/heredoc.tests
bash-4.3/tests/heredoc.right
bash-4.3/tests/heredoc1.sub
bash-4.3/tests/heredoc2.sub
bash-4.3/tests/heredoc3.sub
bash-4.3/tests/herestr.tests
bash-4.3/tests/herestr.right
bash-4.3/tests/histexp.tests
bash-4.3/tests/histexp.right
bash-4.3/tests/history.tests
bash-4.3/tests/history.right
bash-4.3/tests/history.list
bash-4.3/tests/history1.sub
bash-4.3/tests/history2.sub
bash-4.3/tests/ifs.tests
bash-4.3/tests/ifs.right
bash-4.3/tests/ifs-posix.tests
bash-4.3/tests/ifs-posix.right
bash-4.3/tests/input-line.sh
bash-4.3/tests/input-line.sub
bash-4.3/tests/input.right
bash-4.3/tests/intl.tests
bash-4.3/tests/intl1.sub
bash-4.3/tests/intl2.sub
bash-4.3/tests/intl.right
bash-4.3/tests/iquote.tests
bash-4.3/tests/iquote.right
bash-4.3/tests/iquote1.sub
bash-4.3/tests/invert.tests
bash-4.3/tests/invert.right
bash-4.3/tests/jobs.tests
bash-4.3/tests/jobs1.sub
bash-4.3/tests/jobs2.sub
bash-4.3/tests/jobs3.sub
bash-4.3/tests/jobs4.sub
bash-4.3/tests/jobs5.sub
bash-4.3/tests/jobs.right
bash-4.3/tests/lastpipe.right
bash-4.3/tests/lastpipe.tests
bash-4.3/tests/lastpipe1.sub
bash-4.3/tests/mapfile.data
bash-4.3/tests/mapfile.right
bash-4.3/tests/mapfile.tests
bash-4.3/tests/mapfile1.sub
bash-4.3/tests/more-exp.tests
bash-4.3/tests/more-exp.right
bash-4.3/tests/nameref.tests
bash-4.3/tests/nameref1.sub
bash-4.3/tests/nameref2.sub
bash-4.3/tests/nameref3.sub
bash-4.3/tests/nameref4.sub
bash-4.3/tests/nameref5.sub
bash-4.3/tests/nameref6.sub
bash-4.3/tests/nameref7.sub
bash-4.3/tests/run-case
bash-4.3/tests/nameref8.sub
bash-4.3/tests/nameref.right
bash-4.3/tests/new-exp.tests
bash-4.3/tests/new-exp1.sub
bash-4.3/tests/new-exp2.sub
bash-4.3/tests/new-exp3.sub
bash-4.3/tests/new-exp4.sub
bash-4.3/tests/new-exp5.sub
bash-4.3/tests/new-exp6.sub
bash-4.3/tests/new-exp7.sub
bash-4.3/tests/new-exp8.sub
bash-4.3/tests/new-exp9.sub
bash-4.3/tests/new-exp.right
bash-4.3/tests/nquote.tests
bash-4.3/tests/nquote.right
bash-4.3/tests/nquote1.sub
bash-4.3/tests/nquote2.sub
bash-4.3/tests/nquote1.tests
bash-4.3/tests/nquote1.right
bash-4.3/tests/nquote2.tests
bash-4.3/tests/nquote2.right
bash-4.3/tests/printf1.sub
bash-4.3/tests/nquote3.tests
bash-4.3/tests/nquote3.right
bash-4.3/tests/nquote4.tests
bash-4.3/tests/nquote4.right
bash-4.3/tests/nquote5.tests
bash-4.3/tests/nquote5.right
bash-4.3/tests/posix2.tests
bash-4.3/tests/posix2.right
bash-4.3/tests/posixexp.tests
bash-4.3/tests/posixexp.right
bash-4.3/tests/posixexp1.sub
bash-4.3/tests/posixexp2.sub
bash-4.3/tests/posixexp2.tests
bash-4.3/tests/posixexp2.right
bash-4.3/tests/posixpat.tests
bash-4.3/tests/posixpat.right
bash-4.3/tests/posixpipe.tests
bash-4.3/tests/posixpipe.right
bash-4.3/tests/prec.right
bash-4.3/tests/precedence
bash-4.3/tests/printf.tests
bash-4.3/tests/printf.right
bash-4.3/tests/printf2.sub
bash-4.3/tests/printf3.sub
bash-4.3/tests/printf4.sub
bash-4.3/tests/quote.tests
bash-4.3/tests/quote.right
bash-4.3/tests/quote1.sub
bash-4.3/tests/read.tests
bash-4.3/tests/read.right
bash-4.3/tests/read1.sub
bash-4.3/tests/read2.sub
bash-4.3/tests/read3.sub
bash-4.3/tests/read4.sub
bash-4.3/tests/read5.sub
bash-4.3/tests/read6.sub
bash-4.3/tests/redir.tests
bash-4.3/tests/redir.right
bash-4.3/tests/redir1.sub
bash-4.3/tests/redir2.sub
bash-4.3/tests/run-cond
bash-4.3/tests/redir3.sub
bash-4.3/tests/redir3.in1
bash-4.3/tests/redir3.in2
bash-4.3/tests/redir4.sub
bash-4.3/tests/redir4.in1
bash-4.3/tests/redir5.sub
bash-4.3/tests/redir6.sub
bash-4.3/tests/redir7.sub
bash-4.3/tests/redir8.sub
bash-4.3/tests/redir9.sub
bash-4.3/tests/redir10.sub
bash-4.3/tests/rhs-exp.tests
bash-4.3/tests/rhs-exp.right
bash-4.3/tests/rhs-exp1.sub
bash-4.3/tests/rsh.tests
bash-4.3/tests/rsh.right
bash-4.3/tests/run-minimal
bash-4.3/tests/run-alias
bash-4.3/tests/run-appendop
bash-4.3/tests/run-arith-for
bash-4.3/tests/run-arith
bash-4.3/tests/run-array
bash-4.3/tests/run-ifs
bash-4.3/tests/run-array2
bash-4.3/tests/run-assoc
bash-4.3/tests/run-braces
bash-4.3/tests/run-builtins
bash-4.3/tests/run-casemod
bash-4.3/tests/run-comsub
bash-4.3/tests/run-comsub-eof
bash-4.3/tests/run-comsub-posix
bash-4.3/tests/run-coproc
bash-4.3/tests/run-cprint
bash-4.3/tests/run-dbg-support
bash-4.3/tests/run-dbg-support2
bash-4.3/tests/run-dirstack
bash-4.3/tests/run-dollars
bash-4.3/tests/run-errors
bash-4.3/tests/run-execscript
bash-4.3/tests/run-exp-tests
bash-4.3/tests/run-extglob
bash-4.3/tests/run-extglob2
bash-4.3/tests/run-extglob3
bash-4.3/tests/run-func
bash-4.3/tests/run-getopts
bash-4.3/tests/run-glob-test
bash-4.3/tests/run-globstar
bash-4.3/tests/run-heredoc
bash-4.3/tests/run-herestr
bash-4.3/tests/run-histexpand
bash-4.3/tests/run-history
bash-4.3/tests/run-ifs-posix
bash-4.3/tests/run-input-test
bash-4.3/tests/run-intl
bash-4.3/tests/run-iquote
bash-4.3/tests/run-invert
bash-4.3/tests/run-jobs
bash-4.3/tests/run-lastpipe
bash-4.3/tests/run-mapfile
bash-4.3/tests/run-more-exp
bash-4.3/tests/run-nameref
bash-4.3/tests/run-new-exp
bash-4.3/tests/run-nquote
bash-4.3/tests/run-nquote1
bash-4.3/tests/run-nquote2
bash-4.3/tests/run-nquote3
bash-4.3/tests/run-nquote4
bash-4.3/tests/run-nquote5
bash-4.3/tests/run-posix2
bash-4.3/tests/run-posixexp
bash-4.3/tests/run-posixexp2
bash-4.3/tests/run-posixpat
bash-4.3/tests/run-posixpipe
bash-4.3/tests/run-precedence
bash-4.3/tests/run-printf
bash-4.3/tests/run-quote
bash-4.3/tests/run-read
bash-4.3/tests/run-redir
bash-4.3/tests/run-rhs-exp
bash-4.3/tests/run-rsh
bash-4.3/tests/run-set-e
bash-4.3/tests/run-set-x
bash-4.3/tests/run-shopt
bash-4.3/tests/run-strip
bash-4.3/tests/run-test
bash-4.3/tests/run-tilde
bash-4.3/tests/run-trap
bash-4.3/tests/run-tilde2
bash-4.3/tests/run-type
bash-4.3/tests/run-varenv
bash-4.3/tests/run-vredir
bash-4.3/tests/set-e.tests
bash-4.3/tests/set-e1.sub
bash-4.3/tests/set-e2.sub
bash-4.3/tests/set-e3.sub
bash-4.3/tests/set-e3a.sub
bash-4.3/tests/set-e.right
bash-4.3/tests/set-x.tests
bash-4.3/tests/set-x1.sub
bash-4.3/tests/set-x.right
bash-4.3/tests/shopt.tests
bash-4.3/tests/shopt.right
bash-4.3/tests/strip.tests
bash-4.3/tests/strip.right
bash-4.3/tests/test.tests
bash-4.3/tests/test.right
bash-4.3/tests/tilde.tests
bash-4.3/tests/tilde.right
bash-4.3/tests/tilde2.tests
bash-4.3/tests/tilde2.right
bash-4.3/tests/trap.tests
bash-4.3/tests/trap.right
bash-4.3/tests/trap1.sub
bash-4.3/tests/trap2.sub
bash-4.3/tests/trap2a.sub
bash-4.3/tests/trap3.sub
bash-4.3/tests/trap4.sub
bash-4.3/tests/trap5.sub
bash-4.3/tests/type.tests
bash-4.3/tests/type.right
bash-4.3/tests/type1.sub
bash-4.3/tests/type2.sub
bash-4.3/tests/type3.sub
bash-4.3/tests/type4.sub
bash-4.3/tests/unicode1.sub
bash-4.3/tests/unicode2.sub
bash-4.3/tests/unicode3.sub
bash-4.3/tests/varenv.right
bash-4.3/tests/varenv.sh
bash-4.3/tests/varenv1.sub
bash-4.3/tests/varenv2.sub
bash-4.3/tests/version
bash-4.3/tests/varenv3.sub
bash-4.3/tests/varenv4.sub
bash-4.3/tests/varenv5.sub
bash-4.3/tests/varenv6.sub
bash-4.3/tests/version.mini
bash-4.3/tests/vredir.tests
bash-4.3/tests/vredir.right
bash-4.3/tests/vredir1.sub
bash-4.3/tests/vredir2.sub
bash-4.3/tests/vredir3.sub
bash-4.3/tests/vredir4.sub
bash-4.3/tests/vredir5.sub
bash-4.3/tests/vredir6.sub
bash-4.3/ABOUT-NLS
bash-4.3/ChangeLog
bash-4.3/CHANGES
bash-4.3/COMPAT
bash-4.3/COPYING
bash-4.3/INSTALL
bash-4.3/MANIFEST
bash-4.3/NEWS
bash-4.3/NOTES
bash-4.3/POSIX
bash-4.3/README
bash-4.3/RBASH
bash-4.3/AUTHORS
bash-4.3/Y2K
bash-4.3/configure.ac
bash-4.3/Makefile.in
bash-4.3/configure
bash-4.3/config-top.h
bash-4.3/config-bot.h
bash-4.3/config.h.in
bash-4.3/aclocal.m4
bash-4.3/array.c
bash-4.3/arrayfunc.c
bash-4.3/assoc.c
bash-4.3/eval.c
bash-4.3/print_cmd.c
bash-4.3/general.c
bash-4.3/list.c
bash-4.3/locale.c
bash-4.3/stringlib.c
bash-4.3/variables.c
bash-4.3/make_cmd.c
bash-4.3/copy_cmd.c
bash-4.3/unwind_prot.c
bash-4.3/dispose_cmd.c
bash-4.3/bashhist.c
bash-4.3/hashcmd.c
bash-4.3/hashlib.c
bash-4.3/parse.y
bash-4.3/pathexp.c
bash-4.3/subst.c
bash-4.3/shell.c
bash-4.3/trap.c
bash-4.3/sig.c
bash-4.3/siglist.c
bash-4.3/version.c
bash-4.3/flags.c
bash-4.3/jobs.c
bash-4.3/input.c
bash-4.3/mailcheck.c
bash-4.3/test.c
bash-4.3/expr.c
bash-4.3/alias.c
bash-4.3/execute_cmd.c
bash-4.3/findcmd.c
bash-4.3/redir.c
bash-4.3/bashline.c
bash-4.3/braces.c
bash-4.3/bracecomp.c
bash-4.3/nojobs.c
bash-4.3/error.c
bash-4.3/xmalloc.c
bash-4.3/pcomplete.c
bash-4.3/pcomplib.c
bash-4.3/mksyntax.c
bash-4.3/alias.h
bash-4.3/builtins.h
bash-4.3/bashhist.h
bash-4.3/bashline.h
bash-4.3/conftypes.h
bash-4.3/patchlevel.h
bash-4.3/variables.h
bash-4.3/array.h
bash-4.3/arrayfunc.h
bash-4.3/assoc.h
bash-4.3/jobs.h
bash-4.3/findcmd.h
bash-4.3/hashlib.h
bash-4.3/quit.h
bash-4.3/flags.h
bash-4.3/shell.h
bash-4.3/syntax.h
bash-4.3/pathexp.h
bash-4.3/parser.h
bash-4.3/pcomplete.h
bash-4.3/sig.h
bash-4.3/test.h
bash-4.3/trap.h
bash-4.3/general.h
bash-4.3/unwind_prot.h
bash-4.3/input.h
bash-4.3/error.h
bash-4.3/command.h
bash-4.3/externs.h
bash-4.3/siglist.h
bash-4.3/subst.h
bash-4.3/dispose_cmd.h
bash-4.3/hashcmd.h
bash-4.3/bashansi.h
bash-4.3/bashjmp.h
bash-4.3/bashintl.h
bash-4.3/make_cmd.h
bash-4.3/execute_cmd.h
bash-4.3/redir.h
bash-4.3/bashtypes.h
bash-4.3/mailcheck.h
bash-4.3/xmalloc.h
bash-4.3/y.tab.c
bash-4.3/y.tab.h
bash-4.3/parser-built
bash-4.3/pathnames.h.in
4. 给源代码打补丁
将所有补丁文件复制到源码目录,cd到源码目录,使用命令patch -p0 < PATCH_FILENAME 依次给源码打上所有30个补丁(**或者使用命令for i in `seq 1 30`; do printf “patch -p0 < bash43-%.3d\n” $i ; done | bash 批量打上所有补丁**) |
[root@aca83f25 bash4.3-with_patches]# mv bash43-0* bash-4.3
[root@aca83f25 bash4.3-with_patches]# cd bash-4.3
[root@aca83f25 bash-4.3]# for i in `seq 1 30`; do printf "patch -p0 < bash43-%.3d\n" $i ; done|bash
patching file test.c
patching file patchlevel.h
patching file trap.c
patching file patchlevel.h
patching file lib/readline/readline.c
patching file patchlevel.h
patching file lib/readline/readline.c
Hunk #1 succeeded at 966 (offset 1 line).
patching file patchlevel.h
patching file parse.y
patching file y.tab.c
patching file patchlevel.h
patching file jobs.c
patching file patchlevel.h
patching file arrayfunc.c
patching file patchlevel.h
patching file lib/glob/gmisc.c
patching file lib/glob/glob.c
patching file patchlevel.h
patching file parse.y
patching file y.tab.c
patching file patchlevel.h
patching file externs.h
patching file lib/sh/shquote.c
patching file pcomplete.c
patching file patchlevel.h
patching file lib/readline/display.c
patching file patchlevel.h
patching file jobs.c
patching file patchlevel.h
patching file lib/readline/display.c
patching file patchlevel.h
patching file subst.c
patching file patchlevel.h
patching file bashline.c
patching file patchlevel.h
patching file lib/glob/glob.c
patching file lib/glob/gmisc.c
patching file patchlevel.h
patching file variables.c
patching file patchlevel.h
patching file arrayfunc.c
patching file patchlevel.h
patching file lib/readline/input.c
patching file builtins/read.def
patching file patchlevel.h
patching file shell.h
patching file parse.y
patching file y.tab.c
patching file patchlevel.h
patching file lib/readline/misc.c
patching file patchlevel.h
patching file execute_cmd.c
patching file patchlevel.h
patching file subst.h
patching file subst.c
patching file patchlevel.h
patching file subst.c
patching file patchlevel.h
patching file builtins/common.h
patching file builtins/evalstring.c
patching file variables.c
patching file subst.c
patching file patchlevel.h
patching file parse.y
patching file y.tab.c
patching file patchlevel.h
patching file variables.c
patching file patchlevel.h
patching file parse.y
patching file y.tab.c
patching file patchlevel.h
patching file make_cmd.c
patching file copy_cmd.c
patching file patchlevel.h
patching file builtins/evalstring.c
patching file parse.y
patching file shell.h
patching file y.tab.c
patching file patchlevel.h
5. 开始进行编译安装
执行如下三个命令进行编译安装: ./configure make make install
[root@aca83f25 bash-4.3]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Beginning configuration for bash-4.3-release for x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for ranlib... ranlib
checking for bison... bison -y
checking whether make sets $(MAKE)... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for preprocessor stringizing operator... yes
checking for long double with more range or precision than double... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/time.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for localeconv... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for limits.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for locale.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/param.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/ptem.h... no
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working strcoll... yes
checking return type of signal handlers... void
checking for __setostype... no
checking for wait3... yes
checking for mkfifo... yes
checking for dup2... yes
checking for eaccess... no
checking for fcntl... yes
checking for getdtablesize... yes
checking for getgroups... yes
checking for gethostname... yes
checking for getpagesize... (cached) yes
checking for getpeername... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for kill... yes
checking for killpg... yes
checking for lstat... yes
checking for readlink... yes
checking for sbrk... yes
checking for select... yes
checking for setdtablesize... no
checking for setitimer... yes
checking for tcgetpgrp... yes
checking for uname... yes
checking for ulimit... yes
checking for waitpid... yes
checking for rename... yes
checking for bcopy... yes
checking for bzero... yes
checking for confstr... yes
checking for faccessat... no
checking for fnmatch... yes
checking for getaddrinfo... yes
checking for gethostbyname... yes
checking for getservbyname... yes
checking for getservent... yes
checking for inet_aton... yes
checking for imaxdiv... yes
checking for memmove... yes
checking for pathconf... yes
checking for putenv... (cached) yes
checking for raise... yes
checking for regcomp... yes
checking for regexec... yes
checking for setenv... (cached) yes
checking for setlinebuf... yes
checking for setlocale... (cached) yes
checking for setvbuf... yes
checking for siginterrupt... yes
checking for strchr... yes
checking for sysconf... yes
checking for syslog... yes
checking for tcgetattr... yes
checking for times... yes
checking for ttyname... yes
checking for tzset... yes
checking for unsetenv... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for isascii... yes
checking for isblank... yes
checking for isgraph... yes
checking for isprint... yes
checking for isspace... yes
checking for isxdigit... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getcwd... (cached) yes
checking for memset... yes
checking for strcasecmp... (cached) yes
checking for strcasestr... yes
checking for strerror... yes
checking for strftime... yes
checking for strnlen... yes
checking for strpbrk... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... (cached) yes
checking for strtoll... yes
checking for strtoull... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for dprintf... yes
checking for strchrnul... yes
checking for strdup... (cached) yes
checking whether AUDIT_USER_TTY is declared... no
checking whether confstr is declared... yes
checking whether printf is declared... yes
checking whether sbrk is declared... yes
checking whether setregid is declared... yes
checking whether strcpy is declared... yes
checking whether strsignal is declared... yes
checking whether strtold is declared... yes
checking for broken strtold... no
checking for declaration of strtoimax... yes
checking for declaration of strtol... yes
checking for declaration of strtoll... yes
checking for declaration of strtoul... yes
checking for declaration of strtoull... yes
checking for declaration of strtoumax... yes
checking for alarm... yes
checking for fpurge... no
checking for __fpurge... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for working mktime... yes
checking for argz.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for malloc.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for dcgettext... yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for stpcpy... (cached) yes
checking for strcspn... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsnrtowcs... yes
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... yes
checking for wctype... yes
checking for wcswidth... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for iswctype... yes
checking for nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters...
checking for locale_charset... no
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlclose... yes
checking for dlsym... yes
checking whether sys_siglist is declared... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for off_t... (cached) yes
checking for mode_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for ssize_t... yes
checking for time_t... yes
checking for long long... long long
checking for unsigned long long... unsigned long long
checking return type of signal handlers... (cached) void
checking for sig_atomic_t in signal.h... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of char *... 8
checking size of double... 8
checking size of long long... 8
checking for u_int... yes
checking for u_long... yes
checking for bits16_t... no
checking for u_bits16_t... no
checking for bits32_t... no
checking for u_bits32_t... no
checking for bits64_t... no
checking for ptrdiff_t... yes
checking whether stat file-mode macros are broken... no
checking whether #! works in shell scripts... yes
checking whether the ctype macros accept non-ascii characters... yes
checking if dup2 fails to clear the close-on-exec flag... no
checking whether pgrps need synchronization... no
checking for type of signal functions... posix
checking for sys_errlist and sys_nerr... yes
checking for sys_siglist in system C library... yes
checking for _sys_siglist in signal.h or unistd.h... yes
checking for _sys_siglist in system C library... yes
checking whether signal handlers are of type void... yes
checking for clock_t... yes
checking for sigset_t... yes
checking for sig_atomic_t... yes
checking for quad_t... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for socklen_t... yes
checking for size and type of struct rlimit fields... rlim_t
checking size of intmax_t... 8
checking for struct termios.c_line... yes
checking for struct termio.c_line... yes
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... yes
checking for struct dirent.d_namlen... no
checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
checking for struct timeval in sys/time.h and time.h... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct timezone in sys/time.h and time.h... yes
checking for offset of exit status in return status from wait... 8
checking for struct timespec in <time.h>... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for the existence of strsignal... yes
checking if opendir() opens non-directories... no
checking whether ulimit can substitute for getdtablesize... yes
checking whether fpurge is declared... no
checking to see if getenv can be redefined... yes
checking if getcwd() will dynamically allocate memory with 0 size... yes
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking whether or not strcoll and strcmp differ... no
checking for standard-conformant snprintf... yes
checking for standard-conformant vsnprintf... yes
checking for standard-conformant putenv declaration... yes
checking for standard-conformant unsetenv declaration... yes
checking for printf floating point output in hex notation... yes
checking if signal handlers must be reinstalled when invoked... no
checking for presence of necessary job control definitions... present
checking for presence of named pipes... present
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking for FIONREAD in sys/ioctl.h... yes
checking whether WCONTINUED flag to waitpid is unavailable or available but broken... no
checking for speed_t in sys/types.h... no
checking whether getpw functions are declared in pwd.h... yes
checking for unusable real-time signals due to large values... no
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking whether /dev/fd is available... standard
checking whether /dev/stdin stdout stderr are available... present
checking for default mail directory... /var/mail
checking shared object configuration for loadable builtins... supported
configure: creating ./config.status
config.status: creating Makefile
config.status: creating builtins/Makefile
config.status: creating lib/readline/Makefile
config.status: creating lib/glob/Makefile
config.status: creating lib/intl/Makefile
config.status: creating lib/malloc/Makefile
config.status: creating lib/sh/Makefile
config.status: creating lib/termcap/Makefile
config.status: creating lib/tilde/Makefile
config.status: creating doc/Makefile
config.status: creating support/Makefile
config.status: creating po/Makefile.in
config.status: creating examples/loadables/Makefile
config.status: creating examples/loadables/perl/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
[root@aca83f25 bash-4.3]# make
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -rdynamic -g -O2 -rdynamic -g -O2 -o mksyntax ./mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh ./support/mkversion.sh -b -S . -s release -d 4.3 -o newversion.h \
&& mv newversion.h version.h
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -DBUILDTOOL -c -o buildversion.o ./version.c
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -rdynamic -g -O2 -rdynamic -g -O2 -o bashversion ./support/bashversion.c buildversion.o
***********************************************************
* *
* GNU bash, version 4.3.30(1)-release (x86_64-unknown-linux-gnu)
* *
***********************************************************
rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c shell.c
rm -f eval.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c eval.c
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/builtins'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 mkbuiltins.c
In file included from mkbuiltins.c:409:
mkbuiltins.c: In function `array_add':
mkbuiltins.c:1026: warning: passing arg 1 of `xrealloc' from incompatible pointer type
gcc -rdynamic -g -O2 -rdynamic -g -O2 -o mkbuiltins mkbuiltins.o -ldl
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D . ./alias.def ./bind.def ./break.def ./builtin.def ./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def ./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def ./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def ./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def ./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def ./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def ./complete.def ./mapfile.def
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/builtins'
rm -f y.tab.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c y.tab.c
rm -f general.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c general.c
rm -f make_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c make_cmd.c
rm -f print_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c print_cmd.c
rm -f dispose_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c dispose_cmd.c
rm -f execute_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c execute_cmd.c
rm -f variables.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c variables.c
rm -f copy_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c copy_cmd.c
rm -f error.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c error.c
rm -f expr.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c expr.c
expr.c:210: warning: conflicting types for built-in function 'exp2'
rm -f flags.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c flags.c
rm -f jobs.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c jobs.c
rm -f subst.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c subst.c
rm -f hashcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c hashcmd.c
rm -f hashlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c hashlib.c
rm -f mailcheck.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c mailcheck.c
rm -f mksignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -DBUILDTOOL -c ./support/mksignames.c
rm -f buildsignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -DBUILDTOOL -o buildsignames.o -c ./support/signames.c
rm -f mksignames
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -rdynamic -g -O2 -rdynamic -g -O2 -o mksignames mksignames.o buildsignames.o
rm -f lsignames.h
./mksignames lsignames.h
if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi
rm -f trap.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c trap.c
rm -f input.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c input.c
rm -f unwind_prot.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c unwind_prot.c
rm -f pathexp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c pathexp.c
rm -f sig.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c sig.c
rm -f test.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c test.c
rm -f version.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c version.c
rm -f alias.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c alias.c
rm -f array.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c array.c
rm -f arrayfunc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c arrayfunc.c
rm -f assoc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c assoc.c
rm -f braces.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c braces.c
rm -f bracecomp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c bracecomp.c
rm -f bashhist.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c bashhist.c
rm -f bashline.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c bashline.c
rm -f list.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c list.c
rm -f stringlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c stringlib.c
rm -f locale.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c locale.c
rm -f findcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c findcmd.c
rm -f redir.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c redir.c
rm -f pcomplete.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c pcomplete.c
pcomplete.c: In function `pcomp_filename_completion_function':
pcomplete.c:781: warning: passing arg 1 of `sh_contains_quotes' discards qualifiers from pointer target type
rm -f pcomplib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c pcomplib.c
rm -f syntax.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c syntax.c
rm -f xmalloc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c xmalloc.c
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/builtins'
rm -f builtins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 builtins.c
rm -f alias.o
./mkbuiltins -D . alias.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 alias.c || ( rm -f alias.c ; exit 1 )
rm -f alias.c
rm -f bind.o
./mkbuiltins -D . bind.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 bind.c || ( rm -f bind.c ; exit 1 )
rm -f bind.c
rm -f break.o
./mkbuiltins -D . break.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 break.c || ( rm -f break.c ; exit 1 )
rm -f break.c
rm -f builtin.o
./mkbuiltins -D . builtin.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 builtin.c || ( rm -f builtin.c ; exit 1 )
rm -f builtin.c
rm -f caller.o
./mkbuiltins -D . caller.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 caller.c || ( rm -f caller.c ; exit 1 )
rm -f caller.c
rm -f cd.o
./mkbuiltins -D . cd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 cd.c || ( rm -f cd.c ; exit 1 )
rm -f cd.c
rm -f colon.o
./mkbuiltins -D . colon.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 colon.c || ( rm -f colon.c ; exit 1 )
rm -f colon.c
rm -f command.o
./mkbuiltins -D . command.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 command.c || ( rm -f command.c ; exit 1 )
rm -f command.c
rm -f common.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 common.c
rm -f declare.o
./mkbuiltins -D . declare.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 declare.c || ( rm -f declare.c ; exit 1 )
rm -f declare.c
rm -f echo.o
./mkbuiltins -D . echo.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 echo.c || ( rm -f echo.c ; exit 1 )
rm -f echo.c
rm -f enable.o
./mkbuiltins -D . enable.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 enable.c || ( rm -f enable.c ; exit 1 )
rm -f enable.c
rm -f eval.o
./mkbuiltins -D . eval.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 eval.c || ( rm -f eval.c ; exit 1 )
rm -f eval.c
rm -f evalfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 evalfile.c
rm -f evalstring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 evalstring.c
evalstring.c: In function `parse_and_execute':
evalstring.c:208: warning: passing arg 1 of `sigemptyset' discards qualifiers from pointer target type
evalstring.c:209: warning: passing arg 3 of `sigprocmask' discards qualifiers from pointer target type
evalstring.c:288: warning: passing arg 2 of `sigprocmask' discards qualifiers from pointer target type
evalstring.c: In function `parse_string':
evalstring.c:460: warning: passing arg 1 of `sigemptyset' discards qualifiers from pointer target type
evalstring.c:461: warning: passing arg 3 of `sigprocmask' discards qualifiers from pointer target type
evalstring.c:513: warning: passing arg 2 of `sigprocmask' discards qualifiers from pointer target type
rm -f exec.o
./mkbuiltins -D . exec.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 exec.c || ( rm -f exec.c ; exit 1 )
rm -f exec.c
rm -f exit.o
./mkbuiltins -D . exit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 exit.c || ( rm -f exit.c ; exit 1 )
rm -f exit.c
rm -f fc.o
./mkbuiltins -D . fc.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 fc.c || ( rm -f fc.c ; exit 1 )
rm -f fc.c
rm -f fg_bg.o
./mkbuiltins -D . fg_bg.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 fg_bg.c || ( rm -f fg_bg.c ; exit 1 )
rm -f fg_bg.c
rm -f hash.o
./mkbuiltins -D . hash.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 hash.c || ( rm -f hash.c ; exit 1 )
rm -f hash.c
rm -f help.o
./mkbuiltins -D . help.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 help.c || ( rm -f help.c ; exit 1 )
rm -f help.c
rm -f history.o
./mkbuiltins -D . history.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 history.c || ( rm -f history.c ; exit 1 )
rm -f history.c
rm -f jobs.o
./mkbuiltins -D . jobs.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 jobs.c || ( rm -f jobs.c ; exit 1 )
rm -f jobs.c
rm -f kill.o
./mkbuiltins -D . kill.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 kill.c || ( rm -f kill.c ; exit 1 )
rm -f kill.c
rm -f let.o
./mkbuiltins -D . let.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 let.c || ( rm -f let.c ; exit 1 )
rm -f let.c
rm -f mapfile.o
./mkbuiltins -D . mapfile.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 mapfile.c || ( rm -f mapfile.c ; exit 1 )
rm -f mapfile.c
rm -f pushd.o
./mkbuiltins -D . pushd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 pushd.c || ( rm -f pushd.c ; exit 1 )
rm -f pushd.c
rm -f read.o
./mkbuiltins -D . read.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 read.c || ( rm -f read.c ; exit 1 )
rm -f read.c
rm -f return.o
./mkbuiltins -D . return.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 return.c || ( rm -f return.c ; exit 1 )
rm -f return.c
rm -f set.o
./mkbuiltins -D . set.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 set.c || ( rm -f set.c ; exit 1 )
rm -f set.c
rm -f setattr.o
./mkbuiltins -D . setattr.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 setattr.c || ( rm -f setattr.c ; exit 1 )
rm -f setattr.c
rm -f shift.o
./mkbuiltins -D . shift.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 shift.c || ( rm -f shift.c ; exit 1 )
rm -f shift.c
rm -f source.o
./mkbuiltins -D . source.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 source.c || ( rm -f source.c ; exit 1 )
rm -f source.c
rm -f suspend.o
./mkbuiltins -D . suspend.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 suspend.c || ( rm -f suspend.c ; exit 1 )
rm -f suspend.c
rm -f test.o
./mkbuiltins -D . test.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 test.c || ( rm -f test.c ; exit 1 )
rm -f test.c
rm -f times.o
./mkbuiltins -D . times.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 times.c || ( rm -f times.c ; exit 1 )
rm -f times.c
rm -f trap.o
./mkbuiltins -D . trap.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 trap.c || ( rm -f trap.c ; exit 1 )
rm -f trap.c
rm -f type.o
./mkbuiltins -D . type.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 type.c || ( rm -f type.c ; exit 1 )
rm -f type.c
gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -rdynamic -g -O2 -rdynamic -g -O2 -o psize.aux ./psize.c
/bin/sh ./psize.sh > pipesize.h
rm -f ulimit.o
./mkbuiltins -D . ulimit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 ulimit.c || ( rm -f ulimit.c ; exit 1 )
rm -f ulimit.c
rm -f umask.o
./mkbuiltins -D . umask.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 umask.c || ( rm -f umask.c ; exit 1 )
rm -f umask.c
rm -f wait.o
./mkbuiltins -D . wait.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 wait.c || ( rm -f wait.c ; exit 1 )
rm -f wait.c
rm -f getopts.o
./mkbuiltins -D . getopts.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 getopts.c || ( rm -f getopts.c ; exit 1 )
rm -f getopts.c
rm -f shopt.o
./mkbuiltins -D . shopt.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 shopt.c || ( rm -f shopt.c ; exit 1 )
rm -f shopt.c
rm -f printf.o
./mkbuiltins -D . printf.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 printf.c || ( rm -f printf.c ; exit 1 )
rm -f printf.c
rm -f getopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 getopt.c
rm -f bashgetopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 bashgetopt.c
rm -f complete.o
./mkbuiltins -D . complete.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 complete.c || ( rm -f complete.c ; exit 1 )
rm -f complete.c
rm -f libbuiltins.a
ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o
ranlib libbuiltins.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/builtins'
making lib/glob/libglob.a in ./lib/glob
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/lib/glob'
rm -f glob.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 glob.c
rm -f strmatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 strmatch.c
rm -f smatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 smatch.c
rm -f xmbsrtowcs.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 xmbsrtowcs.c
rm -f gmisc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 gmisc.c
rm -f -f libglob.a
ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o
test -n "ranlib" && ranlib libglob.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/lib/glob'
making lib/sh/libsh.a in ./lib/sh
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/lib/sh'
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 clktck.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 clock.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 getenv.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 oslib.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 setlinebuf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 strnlen.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 itos.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 zread.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 zwrite.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 shtty.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 shmatch.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 eaccess.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 netconn.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 netopen.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 timeval.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 makepath.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 pathcanon.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 pathphys.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 tmpfile.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 stringlist.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 stringvec.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 spell.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 shquote.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 strtrans.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 snprintf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 mailstat.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fmtulong.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fmtullong.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fmtumax.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 zcatfd.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 zmapfd.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 winsize.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 wcsdup.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fpurge.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 zgetline.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 mbscmp.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 uconvert.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 ufuncs.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 casemod.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 input_avail.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 mbscasecmp.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fnxform.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 unicode.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 shmbchar.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 wcsnwidth.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 mbschr.c
rm -f libsh.a
ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o wcsnwidth.o mbschr.o
test -n "ranlib" && ranlib libsh.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/lib/sh'
making lib/readline/libreadline.a in ./lib/readline
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/lib/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 bind.c
bind.c: In function `rl_function_of_keyseq':
bind.c:754: warning: comparison is always true due to limited range of data type
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 display.c
display.c: In function `rl_character_len':
display.c:2200: warning: comparison is always true due to limited range of data type
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 text.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 nls.c
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 misc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 shell.c
rm -f savestring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 savestring.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 -DREADLINE_LIBRARY -c ./tilde.c
rm -f colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/root/bash4.3-with_patches/bash-4.3 -I../.. -I../../lib -g -O2 compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/lib/readline'
making lib/readline/libhistory.a in ./lib/readline
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/lib/readline'
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/lib/readline'
making lib/tilde/libtilde.a in ./lib/tilde
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/lib/tilde'
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 tilde.c
rm -f libtilde.a
ar cr libtilde.a tilde.o
test -n "ranlib" && ranlib libtilde.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/lib/tilde'
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/lib/malloc'
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -DRCHECK -Dbotch=programming_error -c malloc.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -DRCHECK -Dbotch=programming_error -c trace.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -DRCHECK -Dbotch=programming_error -c stats.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -DRCHECK -Dbotch=programming_error -c table.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -DRCHECK -Dbotch=programming_error -c watch.c
rm -f libmalloc.a
ar cr libmalloc.a malloc.o trace.o stats.o table.o watch.o
test -n "ranlib" && ranlib libmalloc.a
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/lib/malloc'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -rdynamic -g -O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde -lmalloc -ldl
ls -l bash
-rwxr-xr-x 1 root root 3154888 10月 10 13:26 bash
size bash
text data bss dec hex filename
933307 38256 23704 995267 f2fc3 bash
[root@aca83f25 bash-4.3]# make install
mkdir -p -- /usr/local/share/doc/bash
( cd ./po/ ; make DESTDIR= installdirs )
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/po'
/bin/sh /root/bash4.3-with_patches/bash-4.3/./support/mkinstalldirs /usr/local/share
mkdir -p -- /usr/local/share/locale/en@quot/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/en@boldquot/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/af/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/bg/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/ca/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/cs/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/da/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/de/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/el/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/eo/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/es/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/et/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/fi/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/ga/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/gl/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/hr/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/hu/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/id/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/it/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/ja/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/lt/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/nl/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/pl/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/pt_BR/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/ro/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/ru/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/sk/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/sl/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/sr/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/sv/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/tr/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/uk/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/vi/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/zh_CN/LC_MESSAGES
mkdir -p -- /usr/local/share/locale/zh_TW/LC_MESSAGES
if test "bash" = "gettext-tools"; then \
/bin/sh /root/bash4.3-with_patches/bash-4.3/./support/mkinstalldirs /usr/local/share/gettext/po; \
else \
: ; \
fi
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/po'
/usr/bin/install -c -m 0755 bash /usr/local/bin/bash
/usr/bin/install -c -m 0555 bashbug /usr/local/bin/bashbug
/usr/bin/install -c -m 644 ./CHANGES ./COMPAT ./NEWS ./POSIX ./RBASH ./README /usr/local/share/doc/bash
( cd ./doc ; make \
man1dir=/usr/local/share/man/man1 man1ext=.1 \
man3dir=/usr/local/share/man/man3 man3ext=.3 \
infodir=/usr/local/share/info htmldir=/usr/local/share/doc/bash DESTDIR= install )
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/doc'
/bin/sh ../support/mkinstalldirs /usr/local/share/man/man1
/bin/sh ../support/mkinstalldirs /usr/local/share/info
/bin/sh ../support/mkinstalldirs /usr/local/share/doc/bash
if test -n "/usr/local/share/doc/bash" ; then \
/bin/sh ../support/mkinstalldirs /usr/local/share/doc/bash ; \
fi
/bin/sh ./infopost.sh < ./bashref.info > bash.info ; \
/usr/bin/install -c -m 644 ./bash.1 /usr/local/share/man/man1/bash.1
/usr/bin/install -c -m 644 ./bashbug.1 /usr/local/share/man/man1/bashbug.1
/usr/bin/install -c -m 644 ./FAQ ./INTRO /usr/local/share/doc/bash
if test -f bash.info; then d=.; else d=.; fi; \
/usr/bin/install -c -m 644 $d/bash.info /usr/local/share/info/bash.info
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
install-info --dir-file=/usr/local/share/info/dir /usr/local/share/info/bash.info; \
else true; fi
if test -n "/usr/local/share/doc/bash" ; then \
/usr/bin/install -c -m 644 ./bash.html /usr/local/share/doc/bash ; \
/usr/bin/install -c -m 644 ./bashref.html /usr/local/share/doc/bash ; \
fi
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/doc'
( cd ./builtins ; make DESTDIR= install )
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/builtins'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/builtins'
( cd ./po/ ; make DESTDIR= install )
make[1]: Entering directory `/root/bash4.3-with_patches/bash-4.3/po'
test -z "en@quot.gmo en@boldquot.gmo af.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo lt.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo" || make en@quot.gmo en@boldquot.gmo af.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo lt.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo
make[2]: Entering directory `/root/bash4.3-with_patches/bash-4.3/po'
make[2]: “en@quot.gmo”是最新的。
make[2]: “en@boldquot.gmo”是最新的。
make[2]: “af.gmo”是最新的。
make[2]: “bg.gmo”是最新的。
make[2]: “ca.gmo”是最新的。
make[2]: “cs.gmo”是最新的。
make[2]: “da.gmo”是最新的。
make[2]: “de.gmo”是最新的。
make[2]: “el.gmo”是最新的。
make[2]: “eo.gmo”是最新的。
make[2]: “es.gmo”是最新的。
make[2]: “et.gmo”是最新的。
make[2]: “fi.gmo”是最新的。
make[2]: “fr.gmo”是最新的。
make[2]: “ga.gmo”是最新的。
make[2]: “gl.gmo”是最新的。
make[2]: “hr.gmo”是最新的。
make[2]: “hu.gmo”是最新的。
make[2]: “id.gmo”是最新的。
make[2]: “it.gmo”是最新的。
make[2]: “ja.gmo”是最新的。
make[2]: “lt.gmo”是最新的。
make[2]: “nl.gmo”是最新的。
make[2]: “pl.gmo”是最新的。
make[2]: “pt_BR.gmo”是最新的。
make[2]: “ro.gmo”是最新的。
make[2]: “ru.gmo”是最新的。
make[2]: “sk.gmo”是最新的。
make[2]: “sl.gmo”是最新的。
make[2]: “sr.gmo”是最新的。
make[2]: “sv.gmo”是最新的。
make[2]: “tr.gmo”是最新的。
make[2]: “uk.gmo”是最新的。
make[2]: “vi.gmo”是最新的。
make[2]: “zh_CN.gmo”是最新的。
make[2]: “zh_TW.gmo”是最新的。
make[2]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/po'
touch stamp-po
/bin/sh /root/bash4.3-with_patches/bash-4.3/./support/mkinstalldirs /usr/local/share
installing en@quot.gmo as /usr/local/share/locale/en@quot/LC_MESSAGES/bash.mo
installing en@boldquot.gmo as /usr/local/share/locale/en@boldquot/LC_MESSAGES/bash.mo
installing af.gmo as /usr/local/share/locale/af/LC_MESSAGES/bash.mo
installing bg.gmo as /usr/local/share/locale/bg/LC_MESSAGES/bash.mo
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/bash.mo
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/bash.mo
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/bash.mo
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/bash.mo
installing el.gmo as /usr/local/share/locale/el/LC_MESSAGES/bash.mo
installing eo.gmo as /usr/local/share/locale/eo/LC_MESSAGES/bash.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/bash.mo
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/bash.mo
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/bash.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/bash.mo
installing ga.gmo as /usr/local/share/locale/ga/LC_MESSAGES/bash.mo
installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/bash.mo
installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/bash.mo
installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/bash.mo
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/bash.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/bash.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/bash.mo
installing lt.gmo as /usr/local/share/locale/lt/LC_MESSAGES/bash.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/bash.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/bash.mo
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/bash.mo
installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/bash.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/bash.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/bash.mo
installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/bash.mo
installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/bash.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/bash.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/bash.mo
installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/bash.mo
installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/bash.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/bash.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/bash.mo
if test "bash" = "gettext-tools"; then \
/bin/sh /root/bash4.3-with_patches/bash-4.3/./support/mkinstalldirs /usr/local/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /usr/local/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/root/bash4.3-with_patches/bash-4.3/po'
6. 查看升级后的bash版本
注意:由于当前终端依然使用旧的bash环境,直接使用命令bash –version会查到旧的bash版本号
[root@aca83f25 bash-4.3]# bash --version
GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
使用命令bash 开启一个新的子shell环境,并查看版本:
[root@aca83f25 bash-4.3]# bash
[root@aca83f25 bash-4.3]# bash --version
GNU bash,版本 4.3.30(1)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
许可证 GPLv3+: GNU GPL 许可证第三版或者更新版本 <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
或者直接退出终端,并重新登陆
升级完成后,再次检测ShellShock漏洞情况
使用bashcheck脚本检测:
[root@aca83f25 bash-4.3]# cd /root/bashcheck/
[root@aca83f25 bashcheck]# ./bashcheck
Testing /usr/local/bin/bash ...
GNU bash,版本 4.3.30(1)-release (x86_64-unknown-linux-gnu)
Variable function parser pre/suffixed [%%, upstream], bugs not exploitable
Not vulnerable to CVE-2014-6271 (original shellshock)
Not vulnerable to CVE-2014-7169 (taviso bug)
Not vulnerable to CVE-2014-7186 (redir_stack bug)
Test for CVE-2014-7187 not reliable without address sanitizer
Not vulnerable to CVE-2014-6277 (lcamtuf bug #1)
Not vulnerable to CVE-2014-6278 (lcamtuf bug #2)
使用命令env ‘x=() { :;}; echo vulnerable’ ‘BASH_FUNC_x()=() { :;}; echo vulnerable’ bash -c “echo test”进行检测:
[root@aca83f25 bashcheck]#
[root@aca83f25 bashcheck]# env 'x=() { :;}; echo vulnerable' 'BASH_FUNC_x()=() { :;}; echo vulnerable' bash -c "echo test"
test
使用命令cd /tmp; rm -f /tmp/echo; env ‘x=() { (a)=>' bash -c “echo date”; cat /tmp/echo进行检测:
[root@aca83f25 bashcheck]# cd /tmp; rm -f /tmp/echo; env 'x=() { (a)=>\' bash -c "echo date"; cat /tmp/echo
date
cat: /tmp/echo: 没有那个文件或目录
[root@aca83f25 tmp]#
可以看到ShellShock漏洞已经修复。
注:如果需要修复bash 4.2版本的漏洞,则需要打补丁至051。升级方法可参照此文
blog comments powered by Disqus