wget: Update to 1.15

This commit is contained in:
Alexpux 2014-01-23 14:02:45 +04:00
parent 09b995324b
commit ff8bbb4c58
2 changed files with 7 additions and 91 deletions

View File

@ -1,32 +1,29 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=wget
pkgver=1.14
pkgrel=2
pkgver=1.15
pkgrel=1
pkgdesc="A network utility to retrieve files from the Web"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
groups=('base-devel')
depends=('gcc-libs' 'openssl' 'libiconv' 'libidn' 'libintl' 'libpcre' 'zlib')
checkdepends=('perl-http-daemon' 'perl-io-socket-ssl')
checkdepends=('perl-HTTP-Daemon' 'perl-IO-Socket-SSL')
optdepends=('ca-certificates: HTTPS downloads')
backup=('etc/wgetrc')
backup=('usr/etc/wgetrc')
install=wget.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
1.13.4-sysconfdir.patch
wget-pod-fixes.patch
wget-1.14-msys2.patch)
sha1sums=('cfa0906e6f72c1c902c29b52d140c22ecdcd617e'
sha1sums=('e9fb1d25fa04f9c69e74e656a3174dca02700ba1'
'SKIP'
'da9a76951c305b456931c7ed462c12b99fd94d79'
'aae4be72657c7a8e9dbedb7109cd2d8562a325d2'
'ffdba68b87e1ffd59a6bd71075c6f554d0d13d3e')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p2 -i "${srcdir}/1.13.4-sysconfdir.patch"
patch -p1 -i "${srcdir}/wget-pod-fixes.patch"
patch -p1 -i "${srcdir}/wget-1.14-msys2.patch"
cat >> doc/sample.wgetrc <<EOF
@ -44,8 +41,8 @@ build() {
--without-libintl-prefix \
--without-libpth-prefix \
--without-libssl-prefix \
--without-libgnutls-prefix \
ac_cv_header_spawn_h=no
--without-libgnutls-prefix
#ac_cv_header_spawn_h=no
make
}

View File

@ -1,81 +0,0 @@
diff -Naur wget-1.14.orig/doc/wget.texi wget-1.14.new/doc/wget.texi
--- wget-1.14.orig/doc/wget.texi 2012-08-04 02:41:52.000000000 -0600
+++ wget-1.14.new/doc/wget.texi 2013-05-26 11:18:52.986107183 -0600
@@ -876,7 +876,7 @@
actions of one.
@cindex proxy
-@itemx --no-proxy
+@item --no-proxy
Don't use proxies, even if the appropriate @code{*_proxy} environment
variable is defined.
@@ -977,7 +977,7 @@
whose encoding does not match the one used locally.
@cindex IPv6
-@itemx -4
+@item -4
@itemx --inet4-only
@itemx -6
@itemx --inet6-only
@@ -2106,32 +2106,32 @@
@table @asis
-@item 0
+@item C<0>
No problems occurred.
-@item 1
+@item C<1>
Generic error code.
-@item 2
+@item C<2>
Parse error---for instance, when parsing command-line options, the
@samp{.wgetrc} or @samp{.netrc}...
-@item 3
+@item C<3>
File I/O error.
-@item 4
+@item C<4>
Network failure.
-@item 5
+@item C<5>
SSL verification failure.
-@item 6
+@item C<6>
Username/password authentication failure.
-@item 7
+@item C<7>
Protocol errors.
-@item 8
+@item C<8>
Server issued an error response.
@end table
@@ -3094,7 +3094,7 @@
Change setting of passive @sc{ftp}, equivalent to the
@samp{--passive-ftp} option.
-@itemx password = @var{string}
+@item password = @var{string}
Specify password @var{string} for both @sc{ftp} and @sc{http} file retrieval.
This command can be overridden using the @samp{ftp_password} and
@samp{http_password} command for @sc{ftp} and @sc{http} respectively.
@@ -3605,7 +3605,7 @@
may be specified from within Wget itself.
@table @samp
-@itemx --no-proxy
+@item --no-proxy
@itemx proxy = on/off
This option and the corresponding command may be used to suppress the
use of proxy, even if the appropriate environment variables are set.