/
niceSOFT
/
wget2
Обзор
Документация
Войти
/
niceSOFT
/
wget2
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
bootstrap.conf
203 строки
3 KB
Tim Rühsen
Replace atoi, atol, atoll with error checking functions
21 июл 2026, 00:02
Не верифицирован
21 июл 2026, 00:02
964bf41
Код
Авторство
О чём код?
# bootstrap.conf - Bootstrap configuration. # Copyright (C) 2007-2026 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-h atoll bind bool 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-h 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-h ioctl isatty lib-symbol-visibility limits-h link listen lock maintainer-makefile malloc-posix memchr mkdir mkstemp msvc-nothrow nanosleep netdb-h netinet_in-h 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-h stddef-h stdint-h stat strcase strchrnul strdup-posix strerror strndup strstr strtoll sys_file-h sys_socket-h sys_stat-h sys_time-h sys_types-h sys_uio-h thread time_r unistd-h unlink update-copyright warnings wcwidth write xgethostname xstrtol xstrtoll " # Build prerequisites buildreq="\ autoconf 2.69 automake 1.11.1 autopoint - flex 2.5.35 gettext 0.21 git 1.6.4 lzip - makeinfo - pkg-config - tar - " clone_wiki() { if $use_git; then printf "Wget2 Wiki Cloning in progress...\n" git submodule update --init -- wiki wiki_status=$? if [ $wiki_status -eq 0 ] then printf "\033[1;32mWiki pages cloned\033[0m\n" else printf "\033[1;31mUnable to clone wiki but no issues you can continue\033[0m\n" fi fi } bootstrap_post_pull_hook() { clone_wiki } 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. sed -i 's/^PACKAGE_GNU =$/PACKAGE_GNU = yes/' po/Makevars.template }