summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2017-08-22 18:35:12 +0200
committerMarco d'Itri <md@linux.it>2017-08-22 18:35:12 +0200
commite20b8bbab3687aa26294bc3c443b4a43292b7636 (patch)
tree05c59e639a06625fac012907a53a1dda8c112775 /debian/rules
parenta786e83add721f3763de3fc42e0f02e352d6d5ad (diff)
downloadwhois-e20b8bbab3687aa26294bc3c443b4a43292b7636.tar.gz
Autodetect libidn/libidn2 support with pkg-config
libidn2 >= 2.0.3 must be used, or else it would silently remove characters not valid in hostnames like "/" and "_". For details see https://github.com/rfc1036/whois/issues/50 . For more information about IDNA2003 vs. IDNA2008 and TR46 see: http://nmav.gnutls.org/2017/04/the-mess-with-internationalized-domain.html http://unicode.org/faq/idn.html https://fedoraproject.org/wiki/Changes/IDNA2008
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 179a446..fa9c899 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ D := $(CURDIR)/debian/whois
build:
dh_testdir
- $(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_LIBIDN=1 HAVE_ICONV=1
+ $(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_ICONV=1
touch $@
clean: