mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-01-14 02:01:39 +00:00
* bootstrap.conf: Add canonicalize module.
* cfg.mk: Added exclusions to no new line at EOF for binary files used in tests.
* configure.ac: Check for libgpgme
* docs/wget2_manual.md: Added manual entries for --verify-sig, --gnupg-homedir, and new exit codes.
* fuzz/Makefile.am: Amend linker options
* include/wget/wget.h: Add error codes for GPG signature verification.
* po/POTFILES.in: Add new files.
* src/Makefile.am: Add src/gpgme.c and src/wget_gpgme.h
* src/gpgme.c: Using new error codes, and better signature verification failure detection.
* src/job.c (job_free): Free sig_filename
* src/options.c: Add new options --gnupg-homedir and --verify-sig
* src/wget.c: Verify the signature if possible, exit with the proper status code,
print error messages
* src/wget_gpgme.h: Add documentation.
* src/wget_job.h: Extend struct JOB
* src/wget_options.h: Add new status codes, add new members to struct config
* tests/Makefile.am: Added new tests.
* tests/gpg-test-util.h: Common GPG testing functionality (tries to verify a signature, expects exit code ... etc).
* tests/gpg/helloworld.txt: Text that has been signed in the .sig files.
* tests/gpg/helloworld.txt.{invalid,no-pub,missing,trusted}.sig: Signatures on helloworld.txt with properties described by their names.
* tests/gpg/openpgp-revocs.d/*: Revocation certs for the fake "homedir"
* tests/gpg/private-keys-v1.d/*: The not-so-private private keys used to sign the test file.
* tests/gpg/pubring.kbx: Fake gnupg homedir public key ring.
* tests/gpg/test-gpg-*.c: Tests.
* tests/valgrind-supressions: Supress failures due to oddness with GPGME.
* unit-tests/Makefile.am: Add src/gpgme.o to BASE_OBJS
153 lines
2.1 KiB
Plaintext
153 lines
2.1 KiB
Plaintext
# bootstrap.conf - Bootstrap configuration.
|
|
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 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
|
|
gnulib_name=libgnu
|
|
gnulib_tool_option_extras="--makefile-name=gnulib.mk"
|
|
use_libtool=1
|
|
SKIP_PO=1
|
|
checkout_only_file=
|
|
|
|
gnulib_modules="
|
|
accept
|
|
bind
|
|
c-strcase
|
|
c-strcasestr
|
|
c-ctype
|
|
calloc-posix
|
|
canonicalize
|
|
clock-time
|
|
close
|
|
closedir
|
|
cond
|
|
connect
|
|
crypto/md2
|
|
crypto/md5
|
|
crypto/sha1
|
|
crypto/sha256
|
|
crypto/sha512
|
|
dirname
|
|
dup2
|
|
errno
|
|
fclose
|
|
fcntl
|
|
fdopen
|
|
fflush
|
|
flock
|
|
fnmatch-gnu
|
|
fopen
|
|
fstat
|
|
fsync
|
|
ftruncate
|
|
futimens
|
|
getaddrinfo
|
|
getpass
|
|
getsockname
|
|
gettext-h
|
|
gettime
|
|
gitlog-to-changelog
|
|
glob
|
|
iconv
|
|
inet_pton
|
|
inline
|
|
inttypes
|
|
ioctl
|
|
isatty
|
|
lib-symbol-visibility
|
|
listen
|
|
lock
|
|
maintainer-makefile
|
|
malloc-posix
|
|
memchr
|
|
mkdir
|
|
mkstemp
|
|
msvc-nothrow
|
|
nanosleep
|
|
netdb
|
|
netinet_in
|
|
nl_langinfo
|
|
open
|
|
opendir
|
|
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
|
|
thread
|
|
time_r
|
|
unistd
|
|
unlink
|
|
warnings
|
|
write
|
|
"
|
|
|
|
# Build prerequisites
|
|
buildreq="\
|
|
autoconf 2.62
|
|
automake 1.11.1
|
|
autopoint -
|
|
flex 2.5.35
|
|
gettext 0.18.2
|
|
git 1.4.4
|
|
gperf -
|
|
lzip -
|
|
makeinfo -
|
|
rsync -
|
|
tar -
|
|
"
|