Browse code

ncurses : version bump to 20171007, fix CVE-2017-16879

Change-Id: I2b1cc8989dc929dd625fece5d6caf14762212826
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4456
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

xiaolin-vmware authored on 2017/12/07 04:59:07
Showing 1 changed files
... ...
@@ -1,16 +1,16 @@
1
-Summary:	Libraries for terminal handling of character screens
2
-Name:		ncurses
3
-Version:	6.0
4
-Release:	12%{?dist}
5
-License:	MIT
6
-URL:		http://invisible-island.net/ncurses/
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-%global ncursessubversion 20171007
11
-Source0:	ftp://ftp.invisible-island.net/ncurses/current/%{name}-%{version}-20171007.tgz
12
-%define sha1 ncurses=527be8da26f04f50c1d659e972fa7d0b762c3a80
13
-Requires:	ncurses-libs = %{version}-%{release}
1
+Summary:        Libraries for terminal handling of character screens
2
+Name:           ncurses
3
+Version:        6.0
4
+Release:        13%{?dist}
5
+License:        MIT
6
+URL:            http://invisible-island.net/ncurses/
7
+Group:          Applications/System
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+%global ncursessubversion 20171125
11
+Source0:        ftp://ftp.invisible-island.net/ncurses/current/%{name}-%{version}-20171125.tgz
12
+%define sha1    ncurses=179d79d707ac5040499294e3206fd558d52b604a
13
+Requires:       ncurses-libs = %{version}-%{release}
14 14
 %description
15 15
 The Ncurses package contains libraries for terminal-independent
16 16
 handling of character screens.
... ...
@@ -32,17 +32,17 @@ Provides: libncurses.so.5()(64bit)
32 32
 This package contains the ABI version 5 of the ncurses libraries for
33 33
 compatibility.
34 34
 
35
-%package	devel
36
-Summary:	Header and development files for ncurses
37
-Requires:	%{name} = %{version}-%{release}
38
-Provides:	pkgconfig(ncurses)
39
-%description	devel
35
+%package        devel
36
+Summary:        Header and development files for ncurses
37
+Requires:       %{name} = %{version}-%{release}
38
+Provides:       pkgconfig(ncurses)
39
+%description    devel
40 40
 It contains the libraries and header files to create applications 
41 41
 
42
-%package	terminfo
43
-Summary:	terminfo files for ncurses
44
-Requires:	%{name} = %{version}-%{release}
45
-%description	terminfo
42
+%package        terminfo
43
+Summary:        terminfo files for ncurses
44
+Requires:       %{name} = %{version}-%{release}
45
+%description    terminfo
46 46
 It contains all terminfo files
47 47
 
48 48
 %prep
... ...
@@ -53,33 +53,33 @@ mkdir v6
53 53
 pushd v6
54 54
 ln -s ../configure .
55 55
 ./configure \
56
-	--prefix=%{_prefix} \
57
-	--mandir=%{_mandir} \
58
-	--with-shared \
59
-	--without-debug \
60
-	--enable-pc-files \
61
-	--enable-widec \
62
-	--disable-lp64 \
63
-	--with-chtype='long' \
64
-	--with-mmask-t='long' \
65
-	--disable-silent-rules
56
+    --prefix=%{_prefix} \
57
+    --mandir=%{_mandir} \
58
+    --with-shared \
59
+    --without-debug \
60
+    --enable-pc-files \
61
+    --enable-widec \
62
+    --disable-lp64 \
63
+    --with-chtype='long' \
64
+    --with-mmask-t='long' \
65
+    --disable-silent-rules
66 66
 make %{?_smp_mflags}
67 67
 popd
68 68
 mkdir v5
69 69
 pushd v5
70 70
 ln -s ../configure .
71 71
 ./configure \
72
-	--prefix=%{_prefix} \
73
-	--mandir=%{_mandir} \
74
-	--with-shared \
75
-	--without-debug \
76
-	--enable-pc-files \
77
-	--enable-widec \
78
-	--disable-lp64 \
79
-	--with-chtype='long' \
80
-	--with-mmask-t='long' \
81
-	--disable-silent-rules \
82
-	--with-abi-version=5
72
+    --prefix=%{_prefix} \
73
+    --mandir=%{_mandir} \
74
+    --with-shared \
75
+    --without-debug \
76
+    --enable-pc-files \
77
+    --enable-widec \
78
+    --disable-lp64 \
79
+    --with-chtype='long' \
80
+    --with-mmask-t='long' \
81
+    --disable-silent-rules \
82
+    --with-abi-version=5
83 83
 make %{?_smp_mflags}
84 84
 popd
85 85
 %install
... ...
@@ -110,7 +110,7 @@ cd test
110 110
 make
111 111
 
112 112
 %post libs -p /sbin/ldconfig
113
-%postun	libs -p /sbin/ldconfig
113
+%postun libs -p /sbin/ldconfig
114 114
 %post compat -p /sbin/ldconfig
115 115
 %postun compat -p /sbin/ldconfig
116 116
 %files
... ...
@@ -183,6 +183,8 @@ make
183 183
 %exclude %{_datadir}/terminfo/l/linux
184 184
 
185 185
 %changelog
186
+*   Wed Dec 06 2017 Xiaolin Li <xiaolinl@vmware.com> 6.0-13
187
+-   version bump to 20171007, fix CVE-2017-16879
186 188
 *   Tue Oct 10 2017 Bo Gan <ganb@vmware.com> 6.0-12
187 189
 -   version bump to 20171007
188 190
 -   Fix for CVE-2017-11112, CVE-2017-11113 and CVE-2017-13728