summaryrefslogtreecommitdiffstats
path: root/rules/wget.in
blob: eab930100e7bdba4d0b94b107d842b2316e3bc4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
## SECTION=networking

menuconfig WGET
	tristate
	prompt "wget                          "
	depends on !BUSYBOX_WGET || ALLYES
	select LIBC_RT
	select GCCLIBS_GCC_S
	select GNUTLS	if WGET_SSL_GNUTLS
	select OPENSSL	if WGET_SSL_OPENSSL
	select ZLIB	if WGET_ZLIB
	help
	  GNU wget is a commandline mirroring tool.

	  It is a network utility to retrieve files from the
	  Web using http and ftp, the two most widely used
	  Internet protocols. It works non-interactively,
	  so it will work in the background, after having
	  logged off. The program supports recursive retrieval
	  of web-authoring pages as well as ftp sites -- you
	  can use wget to make mirrors of archives and
	  home pages or to travel the Web like a WWW robot.

	  Wget works particularly well with slow or unstable
	  connections by continuing to retrieve a document
	  until the document is fully downloaded. Re-getting
	  files from where it left off works on servers
	  (both http and ftp) that support it.

	  Both http and ftp retrievals can be time stamped,
	  so wget can see if the remote file has changed
	  since the last retrieval and automatically retrieve
	  the new version if it has.

	  Wget supports proxy servers; this can lighten the
	  network load, speed up retrieval, and provide
	  access behind firewalls.

	  http://www.gnu.org/software/wget/

if WGET

choice
	prompt "SSL support"
	default WGET_SSL_NONE

	config WGET_SSL_OPENSSL
		bool
		prompt "OpenSSL"
		help
		  Wget uses OpenSSL

	config WGET_SSL_GNUTLS
		bool
		prompt "GNU TLS"
		help
		  Wget uses GNU TLS

	config WGET_SSL_NONE
		bool
		prompt "none"
		help
		  No SSL support for wget

endchoice

config WGET_SSL
	string
	default "openssl"	if WGET_SSL_OPENSSL
	default "gnutls"	if WGET_SSL_GNUTLS
	default "no"		if WGET_SSL_NONE

config WGET_ZLIB
	bool "zlib support"
	help
	  Build wget with zlib support

endif

comment "BusyBox's wget is selected!"
	depends on BUSYBOX_WGET