mirror of
https://github.com/mirror/wget.git
synced 2024-12-29 14:30:48 +08:00
00ae9b4ee2
* .travis.yml: Install libidn2-dev instead libidn11-dev. * bootstrap.conf: Add modules libunistring-optional, unistr/base, unicase/tolower. * configure.ac: Check for libidn2. * src/Makefile.am: Add $(LTLIBUNISTRING) to LDADD. * tests/Makefile.am: Set LDADD similar to LDADD in src/Makefile.am * src/connect.c: Use libidn2 code instead of libidn. * src/host.c: Likewise. * src/iri.c: Likewise. * src/iri.h: Likewise. * src/options.h: Likewise. * src/url.c: Likewise. * src/url.h: Likewise. * src/log.c: Fix C99 comment. IDN2003 should not be used any more due to security concerns. We use libunistring (resp. the unicode code from gnulib) for lowercasing UTF-8 before we give data to libidn2. TR#46 is missing, no support in libidn2 nor in libunistring.
51 lines
958 B
YAML
51 lines
958 B
YAML
sudo: no
|
|
|
|
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- darnir@gmail.com
|
|
- bug-wget@gnu.org
|
|
on_success: change
|
|
on_failure: always
|
|
|
|
env:
|
|
global:
|
|
- PERLLIB=$PERLLIB:../../tests
|
|
- PERL5LIB=$PERL5LIB:../../tests
|
|
matrix:
|
|
- SSL=""
|
|
- SSL="openssl"
|
|
- SSL="gnutls"
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- automake
|
|
- autoconf
|
|
- autopoint
|
|
- flex
|
|
- texinfo
|
|
- pkg-config
|
|
- libgnutls-dev
|
|
- libssl-dev
|
|
- make
|
|
- libhttp-daemon-perl
|
|
- libio-socket-ssl-perl
|
|
- libidn2-dev
|
|
- gettext
|
|
- texlive
|
|
- python3
|
|
- valgrind
|
|
- language-pack-tr
|
|
- language-pack-ru
|
|
|
|
script:
|
|
- make distclean || true
|
|
- ./bootstrap
|
|
- ./contrib/travis-ci $SSL
|