wget: Update to 1.16.2. Fix dependencies.

This commit is contained in:
Alexpux 2015-03-04 09:39:44 +03:00
parent 492e8b9ef6
commit 27a892960f
2 changed files with 29 additions and 5 deletions

View File

@ -1,30 +1,34 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com> # Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=wget pkgname=wget
pkgver=1.16.1 pkgver=1.16.2
pkgrel=1 pkgrel=1
pkgdesc="A network utility to retrieve files from the Web" pkgdesc="A network utility to retrieve files from the Web"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.gnu.org/software/wget/wget.html" url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3') license=('GPL3')
groups=('base-devel') groups=('base-devel')
depends=('gcc-libs' 'openssl' 'libiconv' 'libidn' 'libintl' 'libpcre' 'zlib') depends=('gcc-libs' 'libiconv' 'libidn' 'libintl' 'libpcre' 'libuuid' 'openssl' 'zlib')
makedepends=('gettext-devel' 'libidn-devel' 'libuuid-devel' 'openssl-devel' 'pcre-devel' 'zlib-devel')
checkdepends=('perl-HTTP-Daemon' 'perl-IO-Socket-SSL') checkdepends=('perl-HTTP-Daemon' 'perl-IO-Socket-SSL')
optdepends=('ca-certificates: HTTPS downloads') optdepends=('ca-certificates: HTTPS downloads')
backup=('etc/wgetrc') backup=('etc/wgetrc')
install=wget.install install=wget.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
1.13.4-sysconfdir.patch 1.13.4-sysconfdir.patch
wget-1.14-msys2.patch) wget-1.14-msys2.patch
sha1sums=('21cd7eee08ab5e5a14fccde22a7aec55b5fcd6fc' fix-gettext-version.patch)
sha1sums=('a77b455ad01620ea3b709db2e07e6841da518f38'
'SKIP' 'SKIP'
'da9a76951c305b456931c7ed462c12b99fd94d79' 'da9a76951c305b456931c7ed462c12b99fd94d79'
'6ce8d54edf11cef9223780e2c249231f331194f9') '6ce8d54edf11cef9223780e2c249231f331194f9'
'c512b77d9f2e56f9870633be54cf2abd156280c6')
prepare() { prepare() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
patch -p2 -i "${srcdir}/1.13.4-sysconfdir.patch" patch -p2 -i "${srcdir}/1.13.4-sysconfdir.patch"
patch -p1 -i "${srcdir}/wget-1.14-msys2.patch" patch -p1 -i "${srcdir}/wget-1.14-msys2.patch"
patch -p1 -i "${srcdir}/fix-gettext-version.patch"
autoreconf -fiv autoreconf -fiv
cat >> doc/sample.wgetrc <<EOF cat >> doc/sample.wgetrc <<EOF

View File

@ -0,0 +1,20 @@
--- wget-1.16.2/configure.ac.orig 2015-03-04 09:15:13.615800000 +0300
+++ wget-1.16.2/configure.ac 2015-03-04 09:15:33.817800000 +0300
@@ -48,7 +48,7 @@
dnl
dnl Automake setup
dnl
-AM_INIT_AUTOMAKE([1.9])
+AM_INIT_AUTOMAKE([1.14])
dnl
dnl Get cannonical host
@@ -177,7 +177,7 @@
dnl Gettext
dnl
AM_GNU_GETTEXT([external],[need-ngettext])
-AM_GNU_GETTEXT_VERSION([0.17])
+AM_GNU_GETTEXT_VERSION([0.18])
AC_PROG_RANLIB