2010-05-07 04:51:08 +08:00
|
|
|
# bootstrap.conf - Bootstrap configuration.
|
2019-02-10 18:29:48 +08:00
|
|
|
# Copyright (C) 2007-2012, 2018-2019 Free Software Foundation, Inc.
|
2010-05-07 04:51:08 +08:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2018-01-14 18:15:32 +08:00
|
|
|
# GNU Wget is distributed in the hope that it will be useful, but
|
2010-05-07 04:51:08 +08:00
|
|
|
# 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
|
2018-01-14 18:15:32 +08:00
|
|
|
# along with this program. If not, see `https://www.gnu.org/licenses/'.
|
2010-05-07 04:51:08 +08:00
|
|
|
|
|
|
|
# gnulib library name
|
|
|
|
gnulib_name=libgnu
|
2019-05-02 18:53:19 +08:00
|
|
|
gnulib_tool_option_extras="--makefile-name=gnulib.mk"
|
2010-05-07 04:51:08 +08:00
|
|
|
use_libtool=0
|
|
|
|
checkout_only_file=
|
|
|
|
|
|
|
|
# gnulib modules used by this package.
|
|
|
|
gnulib_modules="
|
2010-05-07 18:28:26 +08:00
|
|
|
accept
|
2010-05-07 04:51:08 +08:00
|
|
|
alloca
|
|
|
|
announce-gen
|
2011-11-05 05:25:00 +08:00
|
|
|
base32
|
2010-05-07 18:28:26 +08:00
|
|
|
bind
|
2010-05-07 04:51:08 +08:00
|
|
|
c-ctype
|
2014-11-18 00:16:54 +08:00
|
|
|
c-strcase
|
2014-12-12 22:45:32 +08:00
|
|
|
c-strcasestr
|
2011-04-19 18:33:46 +08:00
|
|
|
clock-time
|
2010-05-07 18:28:26 +08:00
|
|
|
close
|
|
|
|
connect
|
2014-12-19 23:07:38 +08:00
|
|
|
dirname
|
2011-04-03 08:15:22 +08:00
|
|
|
fcntl
|
2015-11-17 07:36:06 +08:00
|
|
|
flock
|
2014-12-05 18:57:28 +08:00
|
|
|
fnmatch
|
2016-08-15 03:04:58 +08:00
|
|
|
fopen
|
2011-04-19 18:33:46 +08:00
|
|
|
futimens
|
2012-03-21 03:41:14 +08:00
|
|
|
ftello
|
2010-06-15 22:35:29 +08:00
|
|
|
getaddrinfo
|
2014-12-12 23:11:31 +08:00
|
|
|
getline
|
2010-05-16 04:34:33 +08:00
|
|
|
getopt-gnu
|
2010-05-07 04:51:08 +08:00
|
|
|
getpass-gnu
|
2010-05-07 18:28:26 +08:00
|
|
|
getpeername
|
|
|
|
getsockname
|
2018-01-31 16:01:54 +08:00
|
|
|
gettext-h
|
2014-12-21 22:50:29 +08:00
|
|
|
gitlog-to-changelog
|
2012-05-13 22:46:15 +08:00
|
|
|
git-version-gen
|
2010-05-07 04:51:08 +08:00
|
|
|
gnupload
|
2017-03-24 18:36:01 +08:00
|
|
|
group-member
|
2017-01-13 19:54:35 +08:00
|
|
|
hostent
|
2011-04-04 02:23:31 +08:00
|
|
|
ioctl
|
2011-08-11 18:15:51 +08:00
|
|
|
iconv
|
2010-06-04 00:09:52 +08:00
|
|
|
iconv-h
|
2017-01-13 19:54:35 +08:00
|
|
|
inet_ntop
|
2017-01-13 22:38:15 +08:00
|
|
|
intprops
|
|
|
|
inttypes
|
2016-06-13 02:55:03 +08:00
|
|
|
langinfo
|
2017-01-13 22:38:15 +08:00
|
|
|
limits-h
|
2016-08-02 00:27:32 +08:00
|
|
|
link
|
2010-05-07 18:28:26 +08:00
|
|
|
listen
|
2010-05-07 04:51:08 +08:00
|
|
|
maintainer-makefile
|
2014-09-12 16:03:20 +08:00
|
|
|
mbiter
|
2011-04-14 22:02:43 +08:00
|
|
|
mbtowc
|
2014-12-05 18:57:28 +08:00
|
|
|
memrchr
|
2011-04-19 17:31:25 +08:00
|
|
|
mkdir
|
2012-03-21 03:41:14 +08:00
|
|
|
mkstemp
|
2013-05-18 04:36:36 +08:00
|
|
|
mkostemp
|
2017-01-13 19:54:35 +08:00
|
|
|
nanosleep
|
2016-08-02 14:41:30 +08:00
|
|
|
crypto/md2
|
|
|
|
crypto/md4
|
2010-05-16 07:34:17 +08:00
|
|
|
crypto/md5
|
2011-11-05 05:25:00 +08:00
|
|
|
crypto/sha1
|
2015-05-31 05:51:55 +08:00
|
|
|
crypto/sha256
|
Add support for Metalink's md5, sha1, sha224, sha384, and sha512 hashes
* bootstrap.conf: Add crypto/sha512
* src/metalink.c (retrieve_from_metalink): Add md5, sha1, sha224,
sha384, and sha512 support
Metalink's checksum verification was limited to sha256. This patch
adds support for md5, sha1, sha224, sha384, and sha512.
2016-07-28 16:59:11 +08:00
|
|
|
crypto/sha512
|
2016-08-15 03:04:58 +08:00
|
|
|
open
|
2016-10-07 19:23:27 +08:00
|
|
|
pipe-posix
|
2016-07-23 02:10:41 +08:00
|
|
|
posix_spawn
|
2010-05-07 04:51:08 +08:00
|
|
|
quote
|
|
|
|
quotearg
|
|
|
|
recv
|
2012-05-10 03:18:23 +08:00
|
|
|
regex
|
2010-05-07 04:51:08 +08:00
|
|
|
select
|
|
|
|
send
|
2010-05-07 18:28:26 +08:00
|
|
|
setsockopt
|
2017-01-13 22:38:15 +08:00
|
|
|
signal-h
|
2011-08-11 20:23:39 +08:00
|
|
|
sigprocmask
|
2011-04-14 18:07:43 +08:00
|
|
|
sigpipe
|
2010-05-27 19:59:46 +08:00
|
|
|
snprintf
|
2010-05-07 04:51:08 +08:00
|
|
|
socket
|
2014-12-05 18:57:28 +08:00
|
|
|
spawn-pipe
|
2017-01-13 22:38:15 +08:00
|
|
|
stat
|
2010-05-07 04:51:08 +08:00
|
|
|
stdbool
|
2016-08-11 01:09:34 +08:00
|
|
|
stdint
|
2014-12-05 18:57:28 +08:00
|
|
|
strcase
|
2011-05-26 04:14:07 +08:00
|
|
|
strerror_r-posix
|
2016-09-07 16:40:43 +08:00
|
|
|
strpbrk
|
2014-12-05 18:57:28 +08:00
|
|
|
strptime
|
2012-03-21 03:41:14 +08:00
|
|
|
strtok_r
|
2018-04-16 01:00:32 +08:00
|
|
|
strtol
|
2014-12-05 18:57:28 +08:00
|
|
|
strtoll
|
2016-08-02 00:27:32 +08:00
|
|
|
symlink
|
2017-01-13 22:38:15 +08:00
|
|
|
sys_types
|
2014-12-05 18:57:28 +08:00
|
|
|
timegm
|
2011-11-05 05:25:00 +08:00
|
|
|
tmpdir
|
2016-08-02 00:27:32 +08:00
|
|
|
unlink
|
2011-04-14 22:02:43 +08:00
|
|
|
unlocked-io
|
2010-05-07 04:51:08 +08:00
|
|
|
update-copyright
|
2016-11-03 23:41:05 +08:00
|
|
|
libunistring-optional
|
2017-02-05 01:01:44 +08:00
|
|
|
unistr/u8-strlen
|
|
|
|
unicase/u8-tolower
|
2018-02-09 04:31:37 +08:00
|
|
|
utime
|
|
|
|
utime-h
|
2017-01-13 19:54:35 +08:00
|
|
|
utimens
|
2010-07-09 20:56:40 +08:00
|
|
|
vasprintf
|
2011-10-23 19:23:46 +08:00
|
|
|
vsnprintf
|
2017-02-05 02:30:38 +08:00
|
|
|
wcwidth
|
2010-05-07 04:51:08 +08:00
|
|
|
write
|
2016-09-07 16:40:43 +08:00
|
|
|
xmemdup0
|
2014-10-22 07:10:21 +08:00
|
|
|
xstrndup
|
2010-05-07 04:51:08 +08:00
|
|
|
"
|
|
|
|
|
|
|
|
gnulib_extra_files="
|
|
|
|
$build_aux/install-sh
|
|
|
|
$build_aux/mdate-sh
|
|
|
|
$build_aux/texinfo.tex
|
|
|
|
$build_aux/depcomp
|
|
|
|
$build_aux/config.guess
|
|
|
|
$build_aux/config.sub
|
|
|
|
$build_aux/config.rpath
|
|
|
|
doc/INSTALL
|
|
|
|
"
|
2010-06-10 16:06:03 +08:00
|
|
|
|
|
|
|
# Build prerequisites
|
|
|
|
buildreq="\
|
2011-03-20 05:25:35 +08:00
|
|
|
autoconf 2.62
|
|
|
|
automake 1.11.1
|
2010-06-10 16:06:03 +08:00
|
|
|
autopoint -
|
2010-07-10 00:08:39 +08:00
|
|
|
gettext 0.17
|
2010-06-10 16:06:03 +08:00
|
|
|
git 1.4.4
|
|
|
|
makeinfo -
|
|
|
|
perl 5.5
|
|
|
|
rsync -
|
|
|
|
tar -
|
2011-03-20 05:25:35 +08:00
|
|
|
xz -
|
2014-11-25 16:52:40 +08:00
|
|
|
flex -
|
2017-07-31 20:56:32 +08:00
|
|
|
gperf -
|
2010-06-10 16:06:03 +08:00
|
|
|
"
|
2017-02-15 20:03:10 +08:00
|
|
|
|
|
|
|
bootstrap_post_import_hook ()
|
|
|
|
{
|
|
|
|
# We need to patch unicase/special-casing-table.h for gperf < 3.1
|
|
|
|
GPERF_VER=$(gperf --version | {
|
|
|
|
IFS=' .' read x y major minor bugfix _
|
|
|
|
printf "%d%02d%02d" $major $minor $bugfix
|
|
|
|
})
|
|
|
|
|
|
|
|
if [ $GPERF_VER -lt 30100 ]; then
|
2017-02-15 21:45:23 +08:00
|
|
|
echo "Creating lib/unicase/special-casing-table.h for gperf < 3.1"
|
2017-04-18 16:43:20 +08:00
|
|
|
gperf -m 10 lib/unicase/special-casing-table.gperf | \
|
|
|
|
sed -e "s/gl_unicase_special_lookup.*/gl_unicase_special_lookup\ \(const char \*str, size_t len\)/g" \
|
|
|
|
> lib/unicase/special-casing-table.h
|
2017-02-15 20:03:10 +08:00
|
|
|
fi
|
|
|
|
}
|