IDNA: require libidn2 2.0.0

We require private symbols which dissapear at some point in
IDN2 releases in order to support old versions of libidn2. Simplify
the code by requiring only recent versions and avoid issues such
as #832.

Resolves: #832

Signed-off-by: Nikos Mavrogiannopoulos <[email protected]>
18 jobs for tmp-libidn-simplify in 72 minutes and 39 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Stage1 Testing
passed #492803530
linux docker shared
Debian.cross.aarch64-linux-gnu

01:03:45

passed #492803506
linux docker shared
Debian.cross.arm-linux-gnueabihf

01:12:35

passed #492803494
linux docker shared
Debian.cross.i686-linux-gnu

00:30:28

passed #492803522
linux docker shared
Debian.cross.mips-linux-gnu

01:09:56

passed #492803490
linux shared
Debian.x86_64

00:26:23

passed #492803416
linux shared
FIPS140-2.Fedora.x86_64

00:25:53

passed #492803471
linux docker shared
MinGW32

00:33:31

passed #492803463
linux docker shared
MinGW64

00:29:31

passed #492803407
linux shared
SSL-3.0.Fedora.x86_64

00:27:30

passed #492803482
linux shared
UB+ASAN-Werror.Fedora.x86_64.gcc

00:44:00

passed #492803345
linux shared
abi/coverage

00:28:23

passed #492803334
commit-check

00:00:58

passed #492803337
linux shared
doc-dist.Fedora

00:42:05

passed #492803393
linux shared
minimal.Fedora.x86_64

00:18:31

passed #492803534
linux shared
nettle-master.Fedora

00:27:34

passed #492803444
linux shared
static-analyzers.Fedora.x86_64

00:27:15

passed #492803432
linux shared
threadsan.Fedora.x86_64

00:11:04

passed #492803424
linux shared
valgrind.Fedora.x86_64

01:09:46