1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= File retrieval tool using HTTP, HTTPS, and FTP
8 HOMEPAGE= https://gitlab.com/gnuwget/wget2
13 DISTFILE[1]= wget2-2.0.1.tar.gz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= doxygen:single:standard
23 BUILDRUN_DEPENDS= pcre2:primary:standard
24 libidn2:primary:standard
25 brotli:single:standard
27 gnutls:primary:standard
28 libpsl:single:standard
29 libnghttp2:single:standard
30 gpgme:primary:standard
31 RUN_DEPENDS= nss:caroot:standard
33 USES= cpe gmake pkgconfig iconv libtool makeinfo
34 python:build gettext zstd bz2 zlib xz
38 FPC_EQUIVALENT= www/wget2
41 CONFIGURE_ARGS= --with-openssl=no
47 INSTALL_TARGET= install-strip
48 INSTALL_REQ_TOOLCHAIN= yes
50 CFLAGS= -Wno-attributes
53 ${RM} ${STAGEDIR}${PREFIX}/bin/wget2_noinstall
55 [FILE:2176:descriptions/desc.primary]
56 GNU Wget2 is the successor of GNU Wget, a file and recursive website
57 downloader. Some features:
59 * Support for HTTP/1.1 and HTTP/2.0 protocol
60 * brotli decompression support (Accept-Encoding: br)
61 * zstandard decompression support, RFC8478 (Accept-Encoding: zstd)
62 * lzip decompression support, (Accept-Encoding: lzip)
63 * HPKP - HTTP Public Key Pinning (RFC7469) with persistent database
64 * TCP Fast Open for plain text and for HTTPS
65 * TLS Session Resumption including persistent session data cache
66 * TLS False Start (with GnuTLS >= 3.5.0)
67 * HTTP2 support via nghttp2 and GnuTLS ALPN including streaming/pipelining
68 * Use libpsl for cookie domain checking (using Public Suffix List)
69 * Support link conversion (-k/--convert-links and -K/--backup-converted)
70 * Support for RFC 6266 compliant Content-Disposition
71 * RFC 6797 HSTS (HTTP Strict Transport Security)
72 * Support for bzip2 Content-Encoding / Accept-Encoding compression type
73 * Support for XZ Content-Encoding / Accept-Encoding compression type
74 * Support scanning RSS 2.0 feeds.
75 * Support scanning Atom 1.0 feeds.
76 * Support scanning URLs from local Sitemap XML file
77 * Support scanning sitemap files given in robots.txt
78 * Support arbitrary number of proxies for parallel downloads
79 * Multithreaded download of single files (option --chunk-size)
80 * Internationalized Domain Names in Applications
81 * ICEcast / SHOUTcast support via library (see examples/getstream.c)
82 * respect /robots.txt "Robot Exclusion Standard" / <META name="robots">
83 * IDN support for international domains
85 * cookies (session/non-session), detection of supercookies via PSL
86 * recursive download of websites with or without spanning hosts
87 * download of single web pages / resources
88 * zlib/gzip compressed HTTP/HTTPS downloads (gzip, deflate)
89 * number of parallel download threads is adjustable
90 * support for keep-alive connections
91 * included CSS, HTML, XML parser needed for recursive downloads
93 * HTTPS via libgnutls (and basic WolfSSL support)
94 * support for Metalink RFC 6249 (Metalink/HTTP: Mirrors and Hashes)
95 * support for Metalink RFC 5854 (Metalink Download Description Formats)
97 * IPv4 and IPv6 support
101 0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1 3780748 wget2-2.0.1.tar.gz
104 [FILE:638:manifests/plist.primary]
114 lib/pkgconfig/libwget.pc
119 libwget-dns-caching.3.gz
129 libwget-parse_atom.3.gz
130 libwget-parse_sitemap.3.gz
134 libwget-stringmap.3.gz
142 [FILE:1005:manifests/plist.nls]
143 share/locale/ca/LC_MESSAGES/wget2.mo
144 share/locale/cs/LC_MESSAGES/wget2.mo
145 share/locale/de/LC_MESSAGES/wget2.mo
146 share/locale/eo/LC_MESSAGES/wget2.mo
147 share/locale/es/LC_MESSAGES/wget2.mo
148 share/locale/et/LC_MESSAGES/wget2.mo
149 share/locale/fi/LC_MESSAGES/wget2.mo
150 share/locale/fr/LC_MESSAGES/wget2.mo
151 share/locale/ga/LC_MESSAGES/wget2.mo
152 share/locale/hr/LC_MESSAGES/wget2.mo
153 share/locale/hu/LC_MESSAGES/wget2.mo
154 share/locale/id/LC_MESSAGES/wget2.mo
155 share/locale/it/LC_MESSAGES/wget2.mo
156 share/locale/ja/LC_MESSAGES/wget2.mo
157 share/locale/nb/LC_MESSAGES/wget2.mo
158 share/locale/nl/LC_MESSAGES/wget2.mo
159 share/locale/pl/LC_MESSAGES/wget2.mo
160 share/locale/pt_BR/LC_MESSAGES/wget2.mo
161 share/locale/ro/LC_MESSAGES/wget2.mo
162 share/locale/ru/LC_MESSAGES/wget2.mo
163 share/locale/sk/LC_MESSAGES/wget2.mo
164 share/locale/sr/LC_MESSAGES/wget2.mo
165 share/locale/sv/LC_MESSAGES/wget2.mo
166 share/locale/tr/LC_MESSAGES/wget2.mo
167 share/locale/uk/LC_MESSAGES/wget2.mo
168 share/locale/vi/LC_MESSAGES/wget2.mo
169 share/locale/zh_CN/LC_MESSAGES/wget2.mo
172 [FILE:1625:patches/patch-config.h.in]
173 --- config.h.in.orig 2022-05-27 09:45:56 UTC
175 @@ -2686,11 +2686,7 @@
176 _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be
178 /* Applies to: functions. */
179 -#if _GL_HAS_ATTRIBUTE (nonnull)
180 -# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
182 # define _GL_ATTRIBUTE_NONNULL(args)
185 /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is
186 not meant to be NUL-terminated. */
187 @@ -2824,29 +2820,9 @@
188 && defined __GNUC__ && ! defined __cplusplus))))
189 # define _GL_EXTERN_INLINE_STDHEADER_BUG
192 - ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
193 - : (199901L <= __STDC_VERSION__ \
194 - && !defined __HP_cc \
195 - && !(defined __SUNPRO_C && __STDC__))) \
196 - && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
197 # define _GL_INLINE inline
198 # define _GL_EXTERN_INLINE extern inline
199 # define _GL_EXTERN_INLINE_IN_USE
200 -#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
201 - && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
202 -# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
203 - /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
204 -# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
206 -# define _GL_INLINE extern inline
208 -# define _GL_EXTERN_INLINE extern
209 -# define _GL_EXTERN_INLINE_IN_USE
211 -# define _GL_INLINE static _GL_UNUSED
212 -# define _GL_EXTERN_INLINE static _GL_UNUSED
215 #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
216 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
219 [FILE:427:patches/patch-lib_libc-config.h]
220 --- lib/libc-config.h.orig 2022-01-03 12:27:17 UTC
221 +++ lib/libc-config.h
226 +#if defined __FreeBSD__ || defined __DragonFly__
228 +#define __nonnull(...)
231 /* On glibc this includes <features.h> and <sys/cdefs.h> and #defines
232 _FEATURES_H, __WORDSIZE, and __set_errno. On FreeBSD 11 and
233 DragonFlyBSD 5.9 it includes <sys/cdefs.h> which defines __nonnull.
236 [FILE:837:patches/patch-lib_string.in.h]
237 --- lib/string.in.h.orig 2022-04-07 02:15:05 UTC
239 @@ -569,7 +569,7 @@ _GL_FUNCDECL_RPL (strndup, char *,
240 _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE);
241 _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n));
243 -# if !@HAVE_DECL_STRNDUP@ || __GNUC__ >= 11
244 +# if !@HAVE_DECL_STRNDUP@ || (__GNUC__ >= 11 && !defined strndup)
245 _GL_FUNCDECL_SYS (strndup, char *,
246 (char const *__s, size_t __n)
247 _GL_ARG_NONNULL ((1))
248 @@ -579,7 +579,7 @@ _GL_CXXALIAS_SYS (strndup, char *, (char
250 _GL_CXXALIASWARN (strndup);
253 +# if __GNUC__ >= 11 && !defined strndup
254 /* For -Wmismatched-dealloc: Associate strndup with free or rpl_free. */
255 _GL_FUNCDECL_SYS (strndup, char *,
256 (char const *__s, size_t __n)