Change-Id: I3dd0a695b7f51c8170e6f9e79af6a979503a51e3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1782
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George
| ... | ... |
@@ -1,16 +1,16 @@ |
| 1 |
-Summary: A network utility to retrieve files from the Web |
|
| 2 |
-Name: wget |
|
| 3 |
-Version: 1.17.1 |
|
| 4 |
-Release: 2%{?dist}
|
|
| 5 |
-License: GPLv3+ |
|
| 6 |
-URL: http://www.gnu.org/software/wget/wget.html |
|
| 7 |
-Group: System Environment/NetworkingPrograms |
|
| 8 |
-Vendor: VMware, Inc. |
|
| 1 |
+Summary: A network utility to retrieve files from the Web |
|
| 2 |
+Name: wget |
|
| 3 |
+Version: 1.18 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 |
+License: GPLv3+ |
|
| 6 |
+URL: http://www.gnu.org/software/wget/wget.html |
|
| 7 |
+Group: System Environment/NetworkingPrograms |
|
| 8 |
+Vendor: VMware, Inc. |
|
| 9 | 9 |
Distribution: Photon |
| 10 |
-Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
| 11 |
-%define sha1 wget=8ae737ab2252607ce708f98d1dd7559ebf047f48 |
|
| 12 |
-Requires: openssl |
|
| 13 |
-BuildRequires: openssl-devel |
|
| 10 |
+Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
| 11 |
+%define sha1 wget=02d451e658f600ee519c42cbf4d3bfe4e49b6c4f |
|
| 12 |
+Requires: openssl |
|
| 13 |
+BuildRequires: openssl-devel |
|
| 14 | 14 |
%description |
| 15 | 15 |
The Wget package contains a utility useful for non-interactive |
| 16 | 16 |
downloading of files from the Web. |
| ... | ... |
@@ -19,22 +19,22 @@ downloading of files from the Web. |
| 19 | 19 |
|
| 20 | 20 |
%build |
| 21 | 21 |
./configure \ |
| 22 |
- CFLAGS="%{optflags}" \
|
|
| 23 |
- CXXFLAGS="%{optflags}" \
|
|
| 24 |
- --disable-silent-rules \ |
|
| 25 |
- --prefix=%{_prefix} \
|
|
| 26 |
- --bindir=%{_bindir} \
|
|
| 27 |
- --libdir=%{_libdir} \
|
|
| 28 |
- --sysconfdir=/etc \ |
|
| 29 |
- --with-ssl=openssl |
|
| 22 |
+ CFLAGS="%{optflags}" \
|
|
| 23 |
+ CXXFLAGS="%{optflags}" \
|
|
| 24 |
+ --disable-silent-rules \ |
|
| 25 |
+ --prefix=%{_prefix} \
|
|
| 26 |
+ --bindir=%{_bindir} \
|
|
| 27 |
+ --libdir=%{_libdir} \
|
|
| 28 |
+ --sysconfdir=/etc \ |
|
| 29 |
+ --with-ssl=openssl |
|
| 30 | 30 |
make %{?_smp_mflags}
|
| 31 | 31 |
%install |
| 32 | 32 |
[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
|
| 33 | 33 |
make DESTDIR=%{buildroot} install
|
| 34 | 34 |
install -vdm 755 %{buildroot}/etc
|
| 35 | 35 |
cat >> %{buildroot}/etc/wgetrc <<-EOF
|
| 36 |
-# default root certs location |
|
| 37 |
- ca_certificate=/etc/pki/tls/certs/ca-bundle.crt |
|
| 36 |
+# default root certs location |
|
| 37 |
+ ca_certificate=/etc/pki/tls/certs/ca-bundle.crt |
|
| 38 | 38 |
EOF |
| 39 | 39 |
rm -rf %{buildroot}/%{_infodir}
|
| 40 | 40 |
%find_lang %{name}
|
| ... | ... |
@@ -49,9 +49,11 @@ rm -rf %{buildroot}/*
|
| 49 | 49 |
%{_bindir}/*
|
| 50 | 50 |
%{_mandir}/man1/*
|
| 51 | 51 |
%changelog |
| 52 |
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.17.1-2 |
|
| 53 |
-- GA - Bump release of all rpms |
|
| 54 |
-* Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 1.17.1-1 |
|
| 55 |
-- Upgrade version |
|
| 56 |
-* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.15-1 |
|
| 57 |
-- Initial build. First version |
|
| 52 |
+* Tue Nov 29 2016 Anish Swaminathan <anishs@vmware.com> 1.18-1 |
|
| 53 |
+- Upgrade wget versions - fixes CVE-2016-7098 |
|
| 54 |
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.17.1-2 |
|
| 55 |
+- GA - Bump release of all rpms |
|
| 56 |
+* Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 1.17.1-1 |
|
| 57 |
+- Upgrade version |
|
| 58 |
+* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.15-1 |
|
| 59 |
+- Initial build. First version |