Accepting request 345013 from home:AndreasStieger:branches:network:utilities
GNU wget 1.17 OBS-URL: https://build.opensuse.org/request/show/345013 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=55
This commit is contained in:
parent
9b30fffc60
commit
601d2297c0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:67f7b7b0f5c14db633e3b18f53172786c001e153d545cfc85d82759c5c2ffb37
|
|
||||||
size 1794148
|
|
Binary file not shown.
3
wget-1.17.tar.xz
Normal file
3
wget-1.17.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bd69d63acbf329a8286ccebbe63cd4fecc998718131a0d4b2ab9239542d2bb87
|
||||||
|
size 1884628
|
BIN
wget-1.17.tar.xz.sig
Normal file
BIN
wget-1.17.tar.xz.sig
Normal file
Binary file not shown.
@ -5,13 +5,13 @@
|
|||||||
tests/Makefile.am | 1 +
|
tests/Makefile.am | 1 +
|
||||||
4 files changed, 55 insertions(+), 1 deletion(-)
|
4 files changed, 55 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: wget-1.16.1/configure.ac
|
Index: wget-1.17/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- wget-1.16.1.orig/configure.ac
|
--- wget-1.17.orig/configure.ac
|
||||||
+++ wget-1.16.1/configure.ac
|
+++ wget-1.17/configure.ac
|
||||||
@@ -466,6 +466,22 @@ else
|
@@ -507,6 +507,22 @@ AS_IF([test x"$with_metalink" != xno], [
|
||||||
fi
|
])
|
||||||
|
])
|
||||||
|
|
||||||
+dnl
|
+dnl
|
||||||
+dnl libproxy support
|
+dnl libproxy support
|
||||||
@ -32,11 +32,11 @@ Index: wget-1.16.1/configure.ac
|
|||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
dnl Checks for IPv6
|
dnl Checks for IPv6
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
Index: wget-1.16.1/src/Makefile.am
|
Index: wget-1.17/src/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- wget-1.16.1.orig/src/Makefile.am
|
--- wget-1.17.orig/src/Makefile.am
|
||||||
+++ wget-1.16.1/src/Makefile.am
|
+++ wget-1.17/src/Makefile.am
|
||||||
@@ -37,7 +37,7 @@ endif
|
@@ -41,7 +41,7 @@ endif
|
||||||
|
|
||||||
# The following line is losing on some versions of make!
|
# The following line is losing on some versions of make!
|
||||||
DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\" -DLOCALEDIR=\"$(localedir)\"
|
DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\" -DLOCALEDIR=\"$(localedir)\"
|
||||||
@ -45,13 +45,13 @@ Index: wget-1.16.1/src/Makefile.am
|
|||||||
|
|
||||||
EXTRA_DIST = css.l css.c css_.c build_info.c.in
|
EXTRA_DIST = css.l css.c css_.c build_info.c.in
|
||||||
|
|
||||||
Index: wget-1.16.1/src/retr.c
|
Index: wget-1.17/src/retr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- wget-1.16.1.orig/src/retr.c
|
--- wget-1.17.orig/src/retr.c
|
||||||
+++ wget-1.16.1/src/retr.c
|
+++ wget-1.17/src/retr.c
|
||||||
@@ -57,6 +57,10 @@ as that of the covered work. */
|
@@ -58,6 +58,10 @@ as that of the covered work. */
|
||||||
#include "html-url.h"
|
|
||||||
#include "iri.h"
|
#include "iri.h"
|
||||||
|
#include "hsts.h"
|
||||||
|
|
||||||
+#ifdef HAVE_LIBPROXY
|
+#ifdef HAVE_LIBPROXY
|
||||||
+#include "proxy.h"
|
+#include "proxy.h"
|
||||||
@ -60,7 +60,7 @@ Index: wget-1.16.1/src/retr.c
|
|||||||
/* Total size of downloaded files. Used to enforce quota. */
|
/* Total size of downloaded files. Used to enforce quota. */
|
||||||
SUM_SIZE_INT total_downloaded_bytes;
|
SUM_SIZE_INT total_downloaded_bytes;
|
||||||
|
|
||||||
@@ -1268,7 +1272,40 @@ getproxy (struct url *u)
|
@@ -1296,7 +1300,40 @@ getproxy (struct url *u)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!proxy || !*proxy)
|
if (!proxy || !*proxy)
|
||||||
@ -101,10 +101,10 @@ Index: wget-1.16.1/src/retr.c
|
|||||||
|
|
||||||
/* Handle shorthands. `rewritten_storage' is a kludge to allow
|
/* Handle shorthands. `rewritten_storage' is a kludge to allow
|
||||||
getproxy() to return static storage. */
|
getproxy() to return static storage. */
|
||||||
Index: wget-1.16.1/tests/Makefile.am
|
Index: wget-1.17/tests/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- wget-1.16.1.orig/tests/Makefile.am
|
--- wget-1.17.orig/tests/Makefile.am
|
||||||
+++ wget-1.16.1/tests/Makefile.am
|
+++ wget-1.17/tests/Makefile.am
|
||||||
@@ -32,6 +32,7 @@
|
@@ -32,6 +32,7 @@
|
||||||
#
|
#
|
||||||
# Version: @VERSION@
|
# Version: @VERSION@
|
||||||
|
25
wget.changes
25
wget.changes
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 18 10:15:45 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
- GNU wget 1.17:
|
||||||
|
* Remove FTP passive to active fallback due to privacy concerns.
|
||||||
|
[boo#944858] CVE-2015-7665 was assigned to this problem in a
|
||||||
|
tails context
|
||||||
|
* Add support for --if-modified-since.
|
||||||
|
* Add support for metalink through --input-metalink and
|
||||||
|
--metalink-over-http.
|
||||||
|
* Add support for HSTS through --hsts and --hsts-file.
|
||||||
|
* Add option to restrict filenames under VMS.
|
||||||
|
* Add support for --rejected-log which logs to a separate file the
|
||||||
|
reasons why URLs are being rejected and some context around it.
|
||||||
|
* Add support for FTPS.
|
||||||
|
* Do not download/save file on error when --spider enabled
|
||||||
|
* Add --convert-file-only option. This option converts only the
|
||||||
|
filename part of the URLs, leaving the rest of the URLs
|
||||||
|
untouched.
|
||||||
|
- packaging changes:
|
||||||
|
* enable metalink support (in ring1)
|
||||||
|
* use system pcre (in ring 0)
|
||||||
|
* use system libuuid (in ring 1)
|
||||||
|
* build with libpsl for cookie domain checking (new)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 9 14:05:22 UTC 2015 - astieger@suse.com
|
Mon Mar 9 14:05:22 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
47
wget.spec
47
wget.spec
@ -17,39 +17,50 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_with regression_tests
|
%bcond_with regression_tests
|
||||||
|
|
||||||
Name: wget
|
Name: wget
|
||||||
Version: 1.16.3
|
Version: 1.17
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Tool for Mirroring FTP and HTTP Servers
|
Summary: A Tool for Mirroring FTP and HTTP Servers
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Networking/Web/Utilities
|
Group: Productivity/Networking/Web/Utilities
|
||||||
Url: https://www.gnu.org/software/wget/
|
Url: https://www.gnu.org/software/wget/
|
||||||
Source: https://ftp.gnu.org/gnu/wget/%name-%version.tar.xz
|
Source: https://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.xz
|
||||||
Source1: https://ftp.gnu.org/gnu/wget/%name-%version.tar.xz.sig
|
Source1: https://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.xz.sig
|
||||||
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=wget&download=1#/wget.keyring
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=wget&download=1#/wget.keyring
|
||||||
Patch0: wgetrc.patch
|
Patch0: wgetrc.patch
|
||||||
Patch1: wget-libproxy.patch
|
Patch1: wget-libproxy.patch
|
||||||
Patch6: wget-1.14-no-ssl-comp.patch
|
Patch6: wget-1.14-no-ssl-comp.patch
|
||||||
# PATCH-FIX-OPENSUSE fix pod syntax for perl 5.18 coolo@suse.de
|
# PATCH-FIX-OPENSUSE fix pod syntax for perl 5.18 coolo@suse.de
|
||||||
Patch7: wget-fix-pod-syntax.diff
|
Patch7: wget-fix-pod-syntax.diff
|
||||||
BuildRequires: libpng-devel
|
|
||||||
%if 0%{suse_version} > 1110
|
|
||||||
BuildRequires: libproxy-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libidn-devel
|
BuildRequires: libidn-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: pkg-config >= 0.9.0
|
||||||
|
BuildRequires: xz
|
||||||
|
# FIXME: use proper Requires(pre/post/preun/...)
|
||||||
|
PreReq: %{install_info_prereq}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if %{?suse_version} > 1110
|
||||||
|
BuildRequires: pkgconfig(libmetalink)
|
||||||
|
BuildRequires: pkgconfig(libpcre)
|
||||||
|
BuildRequires: pkgconfig(libpsl)
|
||||||
|
BuildRequires: pkgconfig(uuid)
|
||||||
|
%else
|
||||||
|
BuildRequires: libmetalink-devel
|
||||||
|
BuildRequires: libpsl-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: pcre-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1110
|
||||||
|
BuildRequires: libproxy-devel
|
||||||
|
%endif
|
||||||
%if %{with regression_tests}
|
%if %{with regression_tests}
|
||||||
# For the Testsuite
|
# For the Testsuite
|
||||||
BuildRequires: perl-HTTP-Daemon
|
BuildRequires: perl-HTTP-Daemon
|
||||||
BuildRequires: perl-IO-Socket-SSL
|
BuildRequires: perl-IO-Socket-SSL
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkg-config
|
|
||||||
BuildRequires: xz
|
|
||||||
PreReq: %install_info_prereq
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Wget enables you to retrieve WWW documents or FTP files from a server.
|
Wget enables you to retrieve WWW documents or FTP files from a server.
|
||||||
@ -58,27 +69,29 @@ This can be done in script files or via the command line.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
%if 0%{suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch6
|
%patch6
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
# only wget-libproxy.patch needs this
|
# only wget-libproxy.patch needs this
|
||||||
autoreconf --force
|
autoreconf --force
|
||||||
%endif
|
%endif
|
||||||
%configure --with-ssl=openssl
|
%configure \
|
||||||
|
--with-ssl=openssl \
|
||||||
|
--with-metalink
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with regression_tests}
|
%if %{with regression_tests}
|
||||||
make -C tests/ check
|
make %{?_smp_mflags} -C tests/ check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
Reference in New Issue
Block a user