summaryrefslogtreecommitdiff
path: root/package/wget
AgeCommit message (Collapse)Author
2017-02-13wget: bump to 1.19.1 to fix build issueThomas Petazzoni
Due to the patches we have on wget 1.19, we need to autoreconf. Unfortunately, when the autoreconfiguration process occurs with host-gettext already built and installed, the build of wget fails with a fairly weird error: In file included from str-two-way.h:44:0, from c-strcasestr.c:37: ./stdint.h:89:5: error: #if with no expression #if As explained in http://git.net/ml/bug-gnulib-gnu/2017-01/msg00067.html and the links pointed by this page, this is due to an incompatibility between the newer version of gnulib used in wget, and an older .m4 file in gettext. In the context of Buildroot, the easiest way to avoid the issue is to not autoreconf wget. The wget project has conveniently released a 1.19.1 release, which contains our two patches, plus just one small feature addition. It is therefore reasonable to apply this as a solution to this build issue. Fixes: http://autobuild.buildroot.net/results/b62ac6fd5ce36453935c309e112262467cf0e3bf/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-02-11wget: add upstream patch to fix build failureRahul Bedarkar
Fixes: http://autobuild.buildroot.net/results/c86/c8657563e63e1012a3ae3c0c47663a951e280022 Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-02-08wget: add upstream patch to fix build failureRahul Bedarkar
Fixes: http://autobuild.buildroot.net/results/fed/fed53124d43c37629295ddc4cdc371f4dc862860 Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-02-06wget: bump version to 1.19Vicente Olivert Riera
package/wget/0001-utils-rename-base64_-encode-decode.patch already included in this release, so drop it: http://git.savannah.gnu.org/cgit/wget.git/commit/?id=e4e9d3c1c801190b5c8232284b26d170924b1696 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-11wget: fix static link with gnutlsRahul Bedarkar
When statically linking with gnutls, we get definition clash error for base64_encode which is also defined by gnutls. This commit adds patch to rename base64_{encode,decode} defined in wget. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-11wget: fix ssl detection in static libs configurationRahul Bedarkar
When building wget with openssl in static libs configuration, wget build system fails detect openssl because it doesn't specify LD flags for private libs used by openssl. This specifically happens when we pass --with-libssl-prefix to configure which tries to find ssl using custom flags. If we don't specify --with-libssl-prefix, it relies on pkg-config files to detect ssl and it's LD flags which helps with static linking. This commit removes --with-libssl-prefix conf opts. Since this case is similar to gnutls, we remove same conf opts for gnutls as well. wget can be built with either gnutls or openssl crypto libraries, so separate optional support for both is not required. This commit also does minor optimization by checking for either gnutls or openssl while at it. Fixes: http://autobuild.buildroot.net/results/c6a/c6abdff37b86471cf8b0ceffeff5472042923de0/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-04package: move busybox show others dependency to per-packageThomas Petazzoni
Having the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependencies in package/Config.in is not very practical: it makes this file not very readable, and puts the dependency away from the package itself, which can sometimes be confusing. Therefore, this commit moves the dependency in each package Config.in file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-10wget: security bump to version 1.18Gustavo Zacarias
Fixes: CVE-2016-4971 - By default, on server redirects to a FTP resource, use the original URL to get the local file name. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-12wget: bump to version 1.17.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-31packages: indentation cleanupJerzy Grzegorek
This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-09wget: bump to version 1.16.3Gustavo Zacarias
Fixes a regression of quiet mode not being quiet. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-02wget: bump version to 1.16.2Vicente Olivert Riera
- Bump version to 1.16.2 - Update the hash file Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-10wget: add host-pkgconf dependencyGustavo Zacarias
Uses pkgconfig since 1.16.1+ to find libraries. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-08wget: bump version to 1.16.1Vicente Olivert Riera
- Bump version to 1.16.1 - Update hash file Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-27wget: bump to version 1.16Gustavo Zacarias
Add hash file. And drop autoreconf/gettextize/patch, it's upstream now. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-17package/wget: use the new gettextize infraYann E. MORIN
Instead of using a custom hook to gettextize wget, use the new gettextize infra we just added in the previous patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-01wget: add optional libuuid dependencyPeter Korsgaard
Reported-by: Alexander Potashev <a.potashev@geoscan.aero> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-24wget: fix host-gettext build dependency raceYann E. MORIN
Currently, the gettextization of wget works by chance: - host-gettext is added as a dependency to wget; - gettextize is run as a post-patch hook. But the dependencies are only guaranteed to be built and installed for the configure step, not the patch step. Because post-patch hooks are part of the patch step, we have no guarantee that the dependency to host-gettext is done by the time we gettextize wget. This happens to work by chance, since wget sorts alphabetically after gettext, so we indeed have host-gettext built and installed by the time we need to gettextize wget. This is prone to fail in the parallel build case, since we can no longer rely on alphabetical order in that case. Instead, run gettextize in PRE_CONFIGURE_HOOKS to avoid the race. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [baruch: make the fix independent from the gettextize infra] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-03wget: fix autoreconf brokenessGustavo Zacarias
Fix failed AUTORECONF under certain circumstances where gettext infra is much newer (>= 0.18) than what wget source expects (~ 0.17). Do this by gettextizing the source before AUTORECONFing. If this becomes common we may need a FOO_GETTEXTIZE generic option, but for now this seems to be the only package that needs so. Fixes: http://autobuild.buildroot.net/results/c0f/c0f7c801f61fdc310cde64342060b00a70155431/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-03wget: fix build against uclibc snapshotBaruch Siach
Same fix as a728e2fe3 (coreutils: fix build against uclibc snapshot). uClibc development version adds support for POSIX spawn routines. However, unlike glibc these routines are in librt. This breaks gnulib autoconf detection. Teach gnulib autoconf to look for POSIX spawn in librt. Fixes: http://autobuild.buildroot.net/results/bc20297dad0f0e9b7fa79fe835b9754fbce6dfdf/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-01-21wget: bump to version 1.15Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-10Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire
When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-22wget: Fix error in texi2pod on Perl 5.18Andrew Ruder
This gets around the following build errors that occurs on a system with perl 5.18: [...] wget.pod around line 2151: Expected text after =item, not a number wget.pod around line 2156: Expected text after =item, not a number wget.pod around line 2162: Expected text after =item, not a number [...] This is already committed upstream and this patch will be unnecessary in wget 1.15 when it is released: commit 7f43748544f26008d0dd337704f02a6ed3200aaf Author: Dave Reisner <dreisner@archlinux.org> Date: Mon Jun 17 23:31:46 2013 +0530 Fix error in texi2pod intriduced with Perl 5.18 Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-14Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire
This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-09-08change package tarball compression to xz whenever possibleJerzy Grzegorek
[Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-08-24wget: bump to version 1.14Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-06-26wget: requires wchar supportPeter Korsgaard
Fixes http://autobuild.buildroot.net/results/431853a9fda593fba41c1176ecee0bdfe38ce441 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-06wget: needs MMUGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-15wget: bump to version 1.13.4 and improvementsGustavo Zacarias
* Bump wget to version 1.13.4 * Enable wget again on !wchar toolchains * Enable support for gnutls Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29package: remove useless arguments from AUTOTARGETSThomas Petazzoni
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22wget: needs WCHAR support in toolchainPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22package: remove redundant DISABLE_{IPV6,NLS,LARGEFILE} configure argsPeter Korsgaard
Makefile.autotools.in automatically adds these to the configure invocation, so there's no need to explicitly list them. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22wget: bump to 1.12 and migrate to Makefile.autotools.inGustavo Zacarias
Closes #1111. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard
We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03package: Remove unnecessary dependencies on uclibc.Will Newton
A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-01-16package/: convert to DOWNLOAD helperPeter Korsgaard
2008-12-08package/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-07-17Kconfig: remove 'default n'Peter Korsgaard
'default n' is the default, so there's no need to say it explicitly.
2008-03-26Applied patch from Nathanael D. Noblet <nathanael@gnat.ca> to fixHamish Moffatt
broken GNU download paths. Also fix gnuchess, xboard and classpath packages to use $(BR2_GNU_MIRROR) rather than hardcoded urls.
2008-03-11buildroot: Use BR2_GNU_MIRROR everywherePeter Korsgaard
Patch by Nigel Kukard.
2008-03-06cleanup wget makefileJohn Voltz
2008-02-12Run $(CONFIG_UPDATE) after unpacking sourcesHamish Moffatt
Patch from Dan Nicolaescu
2007-08-21- sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer
toolchain/*/*.mk */Makefile.in -l)
2007-07-11Use <package>_VERSION in all <package>.mk instead of <package>_VERUlf Samuelsson
2007-07-09- the TARGET_CONFIGURE_OPTS have to be passed after $(MAKE).Bernhard Reutner-Fischer
Fixes build breakage as seen by Ulf et al.
2007-06-27- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-03-14yet more LDFLAGS handling fixupsEric Andersen