Browse code

Upgrading version to 9.10.6-P1, fix CVE-2017-3145 (bug 2052956)

Change-Id: Iae15a1e20d39e094e39dfe893cb5bfeb7a3933f4
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4768
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>

Xiaolin Li authored on 2018/02/13 02:50:41
Showing 1 changed files
... ...
@@ -1,27 +1,27 @@
1
-Summary:	Domain Name System software
2
-Name:		bindutils
3
-Version:	9.10.4
4
-Release:	4%{?dist}
5
-License:	ISC
6
-URL:		http://www.isc.org/downloads/bind/
7
-Source0:	ftp://ftp.isc.org/isc/bind9/%{version}-P1/bind-%{version}-P8.tar.gz
8
-%define sha1 bind=33a4c37bb85f632e7002bc157e9d357e389466da
9
-Group:		Development/Tools
10
-Vendor:		VMware, Inc.
11
-Distribution:	Photon
12
-Requires:	openssl
1
+Summary:        Domain Name System software
2
+Name:           bindutils
3
+Version:        9.10.6
4
+Release:        1%{?dist}
5
+License:        ISC
6
+URL:            http://www.isc.org/downloads/bind/
7
+Source0:        ftp://ftp.isc.org/isc/bind9/%{version}-P1/bind-%{version}-P1.tar.gz
8
+%define sha1    bind=adb06033d5538f2412c8f61ffca123e293ca393a
9
+Group:          Development/Tools
10
+Vendor:         VMware, Inc.
11
+Distribution:   Photon
12
+Requires:       openssl
13 13
 Requires(pre):  /usr/sbin/useradd /usr/sbin/groupadd
14 14
 Requires(postun):/usr/sbin/userdel /usr/sbin/groupdel
15
-BuildRequires:	openssl-devel
15
+BuildRequires:  openssl-devel
16 16
 %description
17 17
 BIND is open source software that implements the Domain Name System (DNS) protocols 
18 18
 for the Internet. It is a reference implementation of those protocols, but it is 
19 19
 also production-grade software, suitable for use in high-volume and high-reliability applications.
20 20
 %prep
21
-%setup -qn bind-%{version}-P8
21
+%setup -qn bind-%{version}-P1
22 22
 %build
23 23
 ./configure \
24
-	--prefix=%{_prefix}
24
+    --prefix=%{_prefix}
25 25
 make -C lib/dns %{?_smp_mflags}
26 26
 make -C lib/isc %{?_smp_mflags}
27 27
 make -C lib/bind9 %{?_smp_mflags}
... ...
@@ -51,7 +51,7 @@ if ! getent passwd named >/dev/null; then
51 51
 fi
52 52
 %post -p /sbin/ldconfig
53 53
 
54
-%postun	
54
+%postun 
55 55
 /sbin/ldconfig
56 56
 if getent passwd named >/dev/null; then
57 57
     userdel named
... ...
@@ -67,8 +67,9 @@ fi
67 67
 %{_sysconfdir}/*
68 68
 %{_prefix}/lib/tmpfiles.d/named.conf
69 69
 
70
-
71 70
 %changelog
71
+*   Mon Feb 12 2018 Xiaolin Li <xiaolinl@vmware.com> 9.10.6-1
72
+-   Upgrading version to 9.10.6-P1, fix CVE-2017-3145
72 73
 *   Mon Sep 18 2017 Alexey Makhalov <amakhalov@vmware.com> 9.10.4-4
73 74
 -   Remove shadow from requires and use explicit tools for post actions
74 75
 *   Fri Apr 14 2017 Kumar Kaushik <kaushikk@vmware.com> 9.10.4-3