-
Notifications
You must be signed in to change notification settings - Fork 78
/
bootstrap.conf
197 lines (190 loc) · 2.95 KB
/
bootstrap.conf
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
# bootstrap.conf - Bootstrap configuration.
# Copyright (C) 2007-2024 Free Software Foundation, Inc.
#
# This file is part of GNU Wget.
#
# GNU Wget is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# GNU Wget is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see `https://www.gnu.org/licenses/'.
# gnulib library name
source_base=lib
tests_base=lib/tests
gnulib_name=libgnu
gnulib_tool_option_extras="--makefile-name=gnulib.mk"
use_libtool=1
checkout_only_file=
gnulib_modules="
accept
access
arpa_inet
atoll
bind
c-strcase
c-strcasestr
c-ctype
calloc-posix
canonicalize-lgpl
clock-time
close
closedir
cond
connect
crypto/md2
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
dirname
dup
dup2
errno
fclose
fcntl
fdopen
fflush
filename
flock
fnmatch-gnu
fopen
freopen
fstat
fsync
ftruncate
futimens
getaddrinfo
getpass
getsockname
gettext-h
gettime
gitlog-to-changelog
glob
iconv
inet_pton
inline
inttypes
ioctl
isatty
lib-symbol-visibility
limits-h
link
listen
lock
maintainer-makefile
malloc-posix
memchr
mkdir
mkstemp
msvc-nothrow
nanosleep
netdb
netinet_in
nl_langinfo
open
opendir
pclose
pipe-posix
progname
popen
poll
posix_spawn
pwrite
qsort_r
random_r
read
readdir
realloc-posix
recv
recvfrom
regex
rename
safe-read
safe-write
select
send
sendto
servent
setlocale
setsockopt
socket
sockets
socklen
spawn-pipe
stdarg
stdbool
stddef
stdint
stat
strcase
strchrnul
strdup-posix
strerror
strndup
strstr
strtoll
sys_file
sys_socket
sys_stat
sys_time
sys_types
sys_uio
thread
time_r
unistd
unlink
update-copyright
warnings
wcwidth
write
xgethostname
"
# Build prerequisites
buildreq="\
autoconf 2.62
automake 1.11.1
autopoint -
flex 2.5.35
gettext 0.18.2
git 1.4.4
lzip -
makeinfo -
pkg-config -
tar -
"
clone_wiki() {
echo "Wget2 Wiki Cloning in progress..."
git submodule update --init -- wiki
wiki_status=$?
if [ $wiki_status -eq 0 ]
then
echo "\033[1;32mWiki pages cloned\033[0m"
else
echo "\033[1;31mUnable to clone wiki but no issues you can continue\033[0m"
fi
}
bootstrap_epilogue() {
rm -f tests/.gitignore
rm -f tests/_Noreturn.h \
tests/arg-nonnull.h \
tests/c++defs.h \
tests/dummy.c \
tests/unused-parameter.h \
tests/warn-on-use.h
}
bootstrap_post_import_hook ()
{
# ./bootstrap calls 'autopoint --force' which will overwrite
# po/Makevars.template. So here we add what we need for a VPATH
# build. ./bootstrap will create po/Makevars from po/Makevars.template
# after our change.
echo 'PACKAGE_GNU = yes' >> po/Makevars.template
}
clone_wiki