1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= standard ravensys
7 SDESC[ravensys]= Minimal alias for fetch for Solaris Ravensys root
8 SDESC[standard]= Program to retrieve files via http/s and ftp
9 HOMEPAGE= https://www.gnu.org/software/wget/
14 DISTFILE[1]= wget-1.19.5.tar.gz:main
16 SPKGS[ravensys]= primary
17 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= RAVENSYS
22 OPTIONS_STANDARD= none
23 VOPTS[ravensys]= RAVENSYS=ON
25 USES= charsetfix cpe pkgconfig
27 LICENSE= GPLv3+:primary
28 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
29 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING
30 LICENSE_AWK= TERMS:"^\#include"
31 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/main.c
35 FPC_EQUIVALENT= ftp/wget
39 CONFIGURE_ARGS= --with-ssl=openssl
40 --with-ssl-prefix={{OPENSSLBASE}}
43 CONFIGURE_ENV= MAKEINFO="{{MAKEINFO}}"
45 CPPFLAGS= -I{{OPENSSLINC}}
46 LDFLAGS= -L{{OPENSSLLIB}}
48 [RAVENSYS].DESCRIPTION= Minimal static version used as alias for fetch
49 [RAVENSYS].BUILDRUN_DEPENDS_OFF= pcre:shared:standard
50 libmetalink:primary:standard
51 libidn2:primary:standard
52 libunistring:primary:standard
53 [RAVENSYS].BUILD_DEPENDS_OFF= pcre:static:standard
54 [RAVENSYS].BUILD_DEPENDS_ON= zlib:static:standard
55 libressl:single:static
56 [RAVENSYS].CONFIGURE_ARGS_OFF= --enable-pcre
59 --with-libidn={{LOCALBASE}}
60 --with-libunistring-prefix={{LOCALBASE}}
61 [RAVENSYS].INFO_OFF= primary:wget
62 [RAVENSYS].RUN_DEPENDS_ON= nss:caroot:standard
63 [RAVENSYS].SUB_FILES_ON= fetch
64 [RAVENSYS].USES_OFF= gettext-runtime
70 [RAVENSYS].USES_ON= iconv:build
73 ${REINPLACE_CMD} -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \
74 ${WRKSRC}/doc/Makefile.in
75 ${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
76 ${WRKSRC}/doc/sample.wgetrc* \
77 ${WRKSRC}/doc/wget.texi
79 post-install-RAVENSYS-ON:
80 ${RM} ${STAGEDIR}${PREFIX}/etc/wgetrc.sample
81 ${INSTALL_SCRIPT} ${WRKDIR}/fetch ${STAGEDIR}${PREFIX}/bin
83 post-patch-RAVENSYS-ON:
85 -e '/^all: wget.info/ s,wget.info,,' \
86 -e '/^all-am:/ s, $$(INFO_DEPS),,' \
87 -e '/^install-data-am:/ s, install-info-am,,' \
88 ${WRKSRC}/doc/Makefile.in
90 [FILE:996:descriptions/desc.primary]
91 GNU wget is a free software package for retrieving files using HTTP,
92 HTTPS and FTP, the most widely-used Internet protocols. It is a
93 non-interactive command-line tool, so it may easily be called from
94 scripts, cron jobs, terminals without X-Windows support, etc.
96 GNU wget has many features to make retrieving large files or mirroring
97 entire web or FTP sites easy, including:
99 o Can resume aborted downloads, using REST and RANGE
100 o Can use filename wild cards and recursively mirror directories
101 o NLS-based message files for many different languages
102 o Optionally converts absolute links in downloaded documents to
103 relative, so that downloaded documents may link to each other locally
104 o Supports HTTP and SOCKS proxies
105 o Supports HTTP cookies
106 o Supports persistent HTTP connections
107 o Unattended / background operation
108 o Uses local file timestamps to determine whether documents need to
109 be re-downloaded when mirroring
110 o GNU wget is distributed under the GNU General Public License.
114 b39212abe1a73f2b28f4c6cb223c738559caac91d6e416a6d91d4b9d55c9faee 4455797 wget-1.19.5.tar.gz
117 [FILE:1476:manifests/plist.primary.standard]
118 @sample etc/wgetrc.sample
120 share/locale/be/LC_MESSAGES/wget.mo
121 share/locale/bg/LC_MESSAGES/wget.mo
122 share/locale/ca/LC_MESSAGES/wget.mo
123 share/locale/cs/LC_MESSAGES/wget.mo
124 share/locale/da/LC_MESSAGES/wget.mo
125 share/locale/de/LC_MESSAGES/wget.mo
126 share/locale/el/LC_MESSAGES/wget.mo
127 share/locale/en_GB/LC_MESSAGES/wget.mo
128 share/locale/eo/LC_MESSAGES/wget.mo
129 share/locale/es/LC_MESSAGES/wget.mo
130 share/locale/et/LC_MESSAGES/wget.mo
131 share/locale/eu/LC_MESSAGES/wget.mo
132 share/locale/fi/LC_MESSAGES/wget.mo
133 share/locale/fr/LC_MESSAGES/wget.mo
134 share/locale/ga/LC_MESSAGES/wget.mo
135 share/locale/gl/LC_MESSAGES/wget.mo
136 share/locale/he/LC_MESSAGES/wget.mo
137 share/locale/hr/LC_MESSAGES/wget.mo
138 share/locale/hu/LC_MESSAGES/wget.mo
139 share/locale/id/LC_MESSAGES/wget.mo
140 share/locale/it/LC_MESSAGES/wget.mo
141 share/locale/ja/LC_MESSAGES/wget.mo
142 share/locale/lt/LC_MESSAGES/wget.mo
143 share/locale/nb/LC_MESSAGES/wget.mo
144 share/locale/nl/LC_MESSAGES/wget.mo
145 share/locale/pl/LC_MESSAGES/wget.mo
146 share/locale/pt/LC_MESSAGES/wget.mo
147 share/locale/pt_BR/LC_MESSAGES/wget.mo
148 share/locale/ro/LC_MESSAGES/wget.mo
149 share/locale/ru/LC_MESSAGES/wget.mo
150 share/locale/sk/LC_MESSAGES/wget.mo
151 share/locale/sl/LC_MESSAGES/wget.mo
152 share/locale/sr/LC_MESSAGES/wget.mo
153 share/locale/sv/LC_MESSAGES/wget.mo
154 share/locale/tr/LC_MESSAGES/wget.mo
155 share/locale/uk/LC_MESSAGES/wget.mo
156 share/locale/vi/LC_MESSAGES/wget.mo
157 share/locale/zh_CN/LC_MESSAGES/wget.mo
158 share/locale/zh_TW/LC_MESSAGES/wget.mo
159 share/man/man1/wget.1.gz
162 [FILE:18:manifests/plist.primary.ravensys]
168 [FILE:2029:files/fetch.in]
171 # Make wget masquerade as fetch
173 # -q : (quiet), wget=--quiet
174 # -o : (output=file), wget=--output-document
175 # --no-verify-peer, wget=--no-check-certificate
176 # -Fpr : (force-restart, passive (default), restart, keep output),
178 # --require-size, wget= NOT SUPPORTED (mimickable?)
179 # assume env: SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
181 VERBOSITY="--no-verbose"
182 CERTS="--no-check-certificate --ca-certificate %%PREFIX%%/share/certs/ca-root-nss.crt"
188 while test ${#} -gt 0
196 -F|-p|-r|-Fpr|-Fp|-pF|-Fr|-rF|-pr|-rp|-rpF|-rFp|-pFr|-prF)
214 BEGIN { remotelen = 0 }\
215 /^Length:/ { remotelen = $2}\
218 if (!remotelen) { print "continue" }\
220 if ((remotelen != knownlen) && (remotelen != "unspecified"))\
221 { printf ("size mismatch: expected %d, actual %d\n", knownlen, remotelen) }\
223 { print "continue" }\
227 LASTSEG='{ print $NF }'
228 checkfile=$(echo ${URL} | awk -F'/' "${LASTSEG}")
229 BPATH1=$(/usr/bin/dirname ${0})
230 BASEPATH=$(cd ${BPATH1} && /bin/pwd)
231 WGET="${BASEPATH}/wget"
233 if [ -n "${OUTPUT_FILE}" ]; then
234 # If this is a directory, set directory prefix
235 if [ -d "${OUTPUT_FILE}" ]; then
236 SENDTO="--output-document ${OUTPUT_FILE}/${checkfile}"
238 SENDTO="--output-document ${OUTPUT_FILE}"
241 SENDTO="--output-document ${checkfile}"
243 if [ ${REQUIRE_SIZE} -gt 0 ]; then
244 message=$(${WGET} --spider ${URL} 2>&1 | awk -v knownlen=${REQUIRE_SIZE} "${GETLENGTH}")
245 if [ "${message}" != "continue" ]; then
250 COMMAND="${WGET} ${VERBOSITY} ${CERTS} ${URL} ${SENDTO}"