head 1.14; access; symbols pkgsrc-2023Q4:1.14.0.24 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.22 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.20 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.18 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.16 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.14 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.14.0.12 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.14.0.10 pkgsrc-2022Q1-base:1.14 pkgsrc-2021Q4:1.14.0.8 pkgsrc-2021Q4-base:1.14 pkgsrc-2021Q3:1.14.0.6 pkgsrc-2021Q3-base:1.14 pkgsrc-2021Q2:1.14.0.4 pkgsrc-2021Q2-base:1.14 pkgsrc-2021Q1:1.14.0.2 pkgsrc-2021Q1-base:1.14 pkgsrc-2020Q4:1.13.0.10 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.8 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.6 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.2 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.4 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.12.0.8 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.6 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.4 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.2 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.11.0.2 pkgsrc-2018Q3-base:1.11 pkgsrc-2018Q2:1.10.0.6 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.4 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.2 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.9.0.30 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.26 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.24 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.22 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.20 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.18 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.16 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.14 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.12 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.10 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.8 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.6 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.4 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.2 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.8.0.2 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.7.0.14 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.12 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.10 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.8 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.6 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.4 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.2 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.6.0.4 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.2 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.5.0.16 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.14 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.12 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.10 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.8 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.6 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.4 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.4.0.36 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.34 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.32 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.22 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.14 date 2021.01.08.18.18.58; author schmonz; state Exp; branches; next 1.13; commitid oTaHHFkhzOlk5XCC; 1.13 date 2019.11.03.11.45.58; author rillig; state Exp; branches; next 1.12; commitid llzTCvoTAgLcNoJB; 1.12 date 2018.11.04.16.34.57; author bsiegert; state Exp; branches; next 1.11; commitid wb6eViax8dD35EYA; 1.11 date 2018.07.28.12.29.20; author bsiegert; state Exp; branches; next 1.10; commitid ItqPva7RYouDUTLA; 1.10 date 2017.11.14.09.51.13; author leot; state Exp; branches; next 1.9; commitid cJlvmN2XqPxNgZeA; 1.9 date 2014.04.26.11.17.18; author tron; state Exp; branches; next 1.8; commitid Onxd6EHYtiYvsbyx; 1.8 date 2014.01.28.08.19.30; author tron; state Exp; branches; next 1.7; commitid ZYqR5y1XSmnCjRmx; 1.7 date 2012.06.12.15.46.02; author wiz; state Exp; branches; next 1.6; 1.6 date 2011.10.24.15.22.01; author ryoon; state Exp; branches; next 1.5; 1.5 date 2009.10.31.02.29.14; author wiz; state Exp; branches; next 1.4; 1.4 date 2005.12.05.23.55.15; author rillig; state Exp; branches; next 1.3; 1.3 date 2005.10.05.13.29.49; author wiz; state Exp; branches; next 1.2; 1.2 date 2005.05.31.10.01.39; author dillo; state Exp; branches; next 1.1; 1.1 date 2005.02.09.17.51.47; author tv; state Exp; branches; next ; desc @@ 1.14 log @Instead of auto-choosing openssl if gnutls is not selected, use PKG_OPTIONS_OPTIONAL_GROUPS and allow building with neither. The default remains openssl. @ text @# $NetBSD: options.mk,v 1.13 2019/11/03 11:45:58 rillig Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.wget PKG_SUPPORTED_OPTIONS= idn inet6 psl PKG_OPTIONS_OPTIONAL_GROUPS= ssl PKG_OPTIONS_GROUP.ssl= gnutls openssl PKG_SUGGESTED_OPTIONS= idn inet6 openssl psl .include "../../mk/bsd.options.mk" ### ### Support IDN ### .if !empty(PKG_OPTIONS:Midn) .include "../../devel/libidn2/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" CONFIGURE_ARGS+= --enable-iri .else CONFIGURE_ARGS+= --disable-iri .endif ### ### Support IPv6 ### .if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif ### ### Support SSL ### .if !empty(PKG_OPTIONS:Mgnutls) . include "../../security/gnutls/buildlink3.mk" CONFIGURE_ARGS+=--with-ssl=gnutls .elif !empty(PKG_OPTIONS:Mopenssl) . include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+=--with-ssl=openssl .else CONFIGURE_ARGS+=--with-ssl=no .endif ### ### Support Public Suffix List ### .if !empty(PKG_OPTIONS:Mpsl) . include "../../www/libpsl/buildlink3.mk" CONFIGURE_ARGS+=--with-libpsl .else CONFIGURE_ARGS+=--without-libpsl .endif @ 1.13 log @net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.12 2018/11/04 16:34:57 bsiegert Exp $ d5 1 a5 1 PKG_OPTIONS_REQUIRED_GROUPS= ssl d37 1 a37 1 .else d40 2 @ 1.12 log @Enable the psl option by default for wget. Enabling the PSL is a good thing for security and privacy, as it protects against all sorts of cookie shenanigans. Bump revision. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.11 2018/07/28 12:29:20 bsiegert Exp $ d3 2 a4 2 PKG_OPTIONS_VAR= PKG_OPTIONS.wget PKG_SUPPORTED_OPTIONS= idn inet6 psl d6 2 a7 2 PKG_OPTIONS_GROUP.ssl= gnutls openssl PKG_SUGGESTED_OPTIONS= idn inet6 openssl psl @ 1.11 log @Add a "psl" option (off by default) to build wget with PSL. This improves privacy by restricting cookies to a well-known list of public suffixes. We can consider turning that option on by default in the future. Fixes PR pkg/53459. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.10 2017/11/14 09:51:13 leot Exp $ d7 1 a7 1 PKG_SUGGESTED_OPTIONS= idn inet6 openssl @ 1.10 log @wget: Use devel/libidn2 and adjust `idn' option logic in options.mk Since wget-1.19, libidn2 is needed for the IDN/IRIs support. Adjust the `idn' package option logic to reflect that and explicitly ask for it via CONFIGURE_ARGS. This should also fix the build without the `idn' option selected pointed out by john heasley via PR pkg/52726. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.9 2014/04/26 11:17:18 tron Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= idn inet6 d41 10 @ 1.9 log @The "ssl" option group is required. Other values than "gnutls" or "openssl" are not allowed and it is therefore not possible to build this package without SSL support (which is good). Remove makefile snippet which made it look like it was possible to do this. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.8 2014/01/28 08:19:30 tron Exp $ d15 1 a15 1 .include "../../devel/libidn/buildlink3.mk" d17 3 @ 1.8 log @Remove duplicate options. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.7 2012/06/12 15:46:02 wiz Exp $ d31 1 a31 4 .if !empty(PKG_OPTIONS:Mopenssl) . include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+=--with-ssl=openssl .elif !empty(PKG_OPTIONS:Mgnutls) d35 2 a36 1 CONFIGURE_ARGS+=--without-ssl @ 1.7 log @Add inet6 to default suggested options. It's 2012. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.6 2011/10/24 15:22:01 ryoon Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= gnutls idn inet6 openssl @ 1.6 log @Update to 1.13.4 * Remove ssl option, and add gnutls and openssl options. The default is openssl like before. * All security patches are included in upstream's tar ball. * Remove ac_cv_func_sigsetjmp=yes line, because not defined now. Tested on NetBSD/i386 4.0.1, 5.1 5.99.56. Changelog: * Changes in Wget 1.13.4 ** Now --version and --help work again. ** Fix a build error on solaris 10 sparc. ** Now --timestamping and --continue work well together. ** Return a network failure when FTP downloads fail and --timestamping is specified. * Changes in Wget 1.13.3 ** Support HTTP/1.1 ** Now by default the GNU TLS library for secure connections, instead of OpenSSL. ** Fix some portability issues. ** Handle properly malformed status line in a HTTP response. ** Ignore zero length domains in $no_proxy. ** Set new cookies after an authorization failure. ** Exit with failure if -k is specified and -O is not a regular file. ** Cope better with unclosed html tags. ** Print diagnostic messages to stderr, not stdout. ** Do not use an additional HEAD request when --content-disposition is used, but use directly GET. ** Report the average transfer speed correctly when multiple URL's are specified and -c influences the transferred data amount. ** GNU TLS backend works again. ** Now --timestamping and --continue works well together. ** By default, on server redirects, use the original URL to get the local file name. Close CVE-2010-2252. This introduces a backward-incompatibility; any script that relies on the old behaviour must use --trust-server-names. ** Fix a problem when -k is used and some URLs are specified trough CSS. ** Convert correctly URLs that need to be encoded to local files when following links. ** Use persistent connections with proxies supporting them. ** Print the total download time as part of the summary for recursive downloads. ** Now it is possible to specify a different startup configuration file trough the --config option. ** Fix an infinite loop with the error ' has sprung into existence' on a network error and -nc is used. ** Now --adjust-extension does not modify the file extension if the file ends in .htm. ** Support HTTP/1.1 307 redirects keep request method. ** Now --no-parent doesn't fetch undesired files if HTTP and HTTPS are used by the same host on different pages. ** Do not attempt to remove the file if it is not in the accept rules but it is the output destination file. ** Introduce `show_all_dns_entries' to print all IP addresses corresponding to a DNS name when it is resolved. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.5 2009/10/31 02:29:14 wiz Exp $ d7 1 a7 1 PKG_SUGGESTED_OPTIONS= idn openssl @ 1.5 log @Update to 1.12. Add default-on idn option (see fourth entry in ChangeLog below). ** Mailing list MOVED to bug-wget@@gnu.org ** SECURITY FIX: It had been possible to trick Wget into accepting SSL certificates that don't match the host name, through the trick of embedding NUL characters into the certs' common name. Fixed by Joao Ferreira . ** Added support for CSS. This includes: - Parsing links from CSS files, and from CSS content found in HTML style tags and attributes. - Supporting conversion of links found within CSS content, when --convert-links is specified. - Ensuring that CSS files end in the ".css" filename extension, when --convert-links is specified. CSS support in Wget is thanks to Ted Mielczarek . ** Added support for Internationalized Resource Identifiers (IRIs, RFC 3987). When support is enabled (requires libidn and libiconv), links with non-ASCII bytes are translated from their source encoding to UTF-8 before percent-encoding. IRI support was added by Saint Xavier , as his project for the Google Summer of Code. ** Wget now provides more sensible exit status codes when downloads don't proceed as expected (see the manual). ** --default-page option (and associated wgetrc command) added to support alternative default names for index.html. ** --ask-password option (and associated wgetrc command) added to support password prompts at the console. ** The --input-file option now also handles retrieving links from an external file. ** The output generated by the --version option now includes information on how it was built, and the set of configure-time options that were selected. ** --html-extension has been renamed to --adjust-extension, to reflect the fact that it now also applies to CSS content. --html-extension is still acceptable, but is now deprecated. ** An "ascii" specifier is now accepted by --restrict-file-names, which forces the percent-encoding of all non-ASCII bytes ** Several previously existing, but undocumented .wgetrc options are now documented: save_headers, spider, and user_agent, auth_no_challenge, and keep_session_cookies. Also added documentation for the "lowercase" and "uppercase" values for --restrict-file-names, which had been present since Wget 1.11. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2005/12/05 23:55:15 rillig Exp $ d4 4 a7 2 PKG_SUPPORTED_OPTIONS= idn inet6 ssl PKG_SUGGESTED_OPTIONS= idn ssl d31 1 a31 1 .if !empty(PKG_OPTIONS:Mssl) d33 4 a36 1 CONFIGURE_ARGS+=--with-ssl=${SSLBASE:Q} @ 1.4 log @Ran "pkglint --autofix", which corrected some of the quoting issues in CONFIGURE_ARGS. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.3 2005/10/05 13:29:49 wiz Exp $ d4 2 a5 2 PKG_SUPPORTED_OPTIONS= inet6 ssl PKG_SUGGESTED_OPTIONS= ssl d10 8 @ 1.3 log @Remove some more *LEGACY* settings that are over a month old and thus were before 2005Q3. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.2 2005/05/31 10:01:39 dillo Exp $ d23 1 a23 1 CONFIGURE_ARGS+=--with-ssl=${SSLBASE} @ 1.2 log @Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.1 2005/02/09 17:51:47 tv Exp $ a5 1 PKG_OPTIONS_LEGACY_VARS+= WGET_USE_SSL:ssl @ 1.1 log @Split out wget's options into an options.mk. Migrate WET_USE_SSL to PKG_OPTIONS.wget=ssl (on by default, as previously). @ text @d1 1 a1 11 # $NetBSD$ # Global and legacy options .if defined(WGET_USE_SSL) BUILD_DEFS+= WGET_USE_SSL . if !empty(WGET_USE_SSL:M[Yy][Ee][Ss]) PKG_DEFAULT_OPTIONS+= ssl . endif .else PKG_DEFAULT_OPTIONS+= ssl # on by default .endif d5 3 @