47 Commits

Author SHA1 Message Date
Marco d'Itri
18145364ab Refactoring
Merge the as and as32 data structures, since it is highly unlikely
that using short ints will save any memory.
2023-11-08 11:38:27 +01:00
Petr Menšík
6761f80395 Add SPDX license identifiers to code files
Change manual pages word to recognize it by licensecheck tool.
2023-07-22 17:38:06 +02:00
Marco d'Itri
33ec512561 Delete the generated nic_handles.h 2023-02-28 00:51:41 +01:00
Ville Skyttä
045ffaaafc
Add bash completions 2023-02-28 00:33:41 +01:00
Marco d'Itri
3c31fc028a Delete version.h in the distclean target
Or else the package may be built to report an outdated version number.
2021-06-06 19:45:19 +02:00
Marco d'Itri
7c9e990253 Support DESTDIR in the Makefiles 2019-11-14 04:18:08 +01:00
Marco d'Itri
ae31f61a34 mkpasswd: include crypt.h on Solaris 2018-09-20 00:18:06 +02:00
Marco d'Itri
c1cb4b2ca0 mkpasswd: update the libowcrypt Makefile section
Distributions which have crypt_gensalt in libowcrypt now should define
a HAVE_LIBOWCRYPT=1 Makefile variable.
2018-09-16 03:36:38 +02:00
Marco d'Itri
44775cb342 mkpasswd: rename HAVE_XCRYPT to HAVE_XCRYPT_H 2018-09-16 03:36:38 +02:00
Marco d'Itri
5fc64b5eba mkpasswd: support the new libxcrypt 4.x 2018-09-12 02:26:55 +02:00
Marco d'Itri
ac1d4125de Makefile: fix the afl invocation
DEFS must be set in the environment or else will override even DEFS+=...
statements in the Makefile.
2018-01-08 02:50:53 +01:00
Marco d'Itri
5d60bbe102 Abort the build if the old HAVE_LIBIDN variable is defined
To encourage maintainers to automatically detect libidn2 and hopefully
switch to it.
2018-01-08 02:15:53 +01:00
Timo Gurr
8a4023b315 use env var ${PKG_CONFIG} instead of hard coding pkg-config
This allows building in cross environments e.g. using host triplet
prefixed binaries (x86_64-pc-linux-gnu-pkg-config).
2017-12-27 03:09:58 +01:00
Marco d'Itri
e20b8bbab3 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
2017-08-22 18:35:12 +02:00
Marco d'Itri
8ed6d73095 Implement support for libidn2
Contributed by Tim Rühsen.
Closes #49 from Github.
2017-02-27 00:32:43 +01:00
Marco d'Itri
a4815eb370 BSD portability fixes 2017-02-26 14:13:27 +01:00
Marco d'Itri
718ae61ae5 Support american fuzzy lop
When built with AFL_MODE set to true, whois will use the first line of
standard input as command line parameters and the rest as network input.
2015-12-08 08:38:50 +01:00
Marco d'Itri
07b3e728f2 Delete the new_gtlds.h generated file on make clean 2014-12-26 20:14:35 +01:00
Marco d'Itri
29b1a3a9c3 Split nic_handles_list off tld_serv_list
To be able to use in_domain() for tld_serv_list
2014-10-16 01:52:03 +02:00
Marco d'Itri
171705cbde Use whois.nic.$TLD for the "new" gTLDs
The "new" gTLDs are contractually required by ICANN to provide port 43
whois service on this standard domain.
2014-05-02 04:26:50 +02:00
Marco d'Itri
13bce6f4ce Make the small perl programs uniform in style 2014-05-02 04:22:35 +02:00
Marco d'Itri
d2ee7af1d7 Extract the version number from the changelog 2014-02-07 06:33:08 +01:00
Marco d'Itri
bc35c3c585 Add .DELETE_ON_ERROR to the Makefile 2014-02-07 06:33:05 +01:00
Petr Písař
3f0c3d4436 Add whois.conf(5) manual page 2013-04-10 17:25:05 +02:00
Marco d'Itri
2d381497c0 Imported Debian version 5.0.17 2013-03-30 02:31:42 +01:00
Marco d'Itri
dc3da63043 Imported Debian version 5.0.13 2013-03-30 02:31:41 +01:00
Marco d'Itri
6c3ca39f25 Imported Debian version 5.0.12 2013-03-30 02:31:41 +01:00
Marco d'Itri
15c8d523f7 Imported Debian version 5.0.0 2013-03-30 02:31:38 +01:00
Marco d'Itri
bd837394e6 Imported Debian version 4.7.29 2013-03-30 02:31:36 +01:00
Marco d'Itri
ce5e346d70 Imported Debian version 4.7.27 2013-03-30 02:31:36 +01:00
Marco d'Itri
e90424d179 Imported Debian version 4.7.26 2013-03-30 02:31:36 +01:00
Marco d'Itri
2551e961c2 Imported Debian version 4.7.24 2013-03-30 02:31:35 +01:00
Marco d'Itri
c3c46b20b8 Imported Debian version 4.7.23 2013-03-30 02:31:35 +01:00
Marco d'Itri
f5a3fd9e48 Imported Debian version 4.7.9 2013-03-30 02:31:33 +01:00
Marco d'Itri
9ad7ad696c Imported Debian version 4.7.7 2013-03-30 02:31:32 +01:00
Marco d'Itri
c30d631969 Imported Debian version 4.7.0 2013-03-30 02:31:31 +01:00
Marco d'Itri
02298a2df4 Imported Debian version 4.6.13 2013-03-30 02:31:31 +01:00
Marco d'Itri
548793b0a4 Imported Debian version 4.6.9 2013-03-30 02:31:30 +01:00
Marco d'Itri
d6bec26f44 Imported Debian version 4.6.1 2013-03-30 02:31:29 +01:00
Marco d'Itri
71d1546979 Imported Debian version 4.5.31 2013-03-30 02:31:29 +01:00
Marco d'Itri
d44aa7048b Imported Debian version 4.5.29 2013-03-30 02:31:28 +01:00
Marco d'Itri
3dea0738c0 Imported Debian version 4.5.21 2013-03-30 02:31:28 +01:00
Marco d'Itri
bd5fd88c6b Imported Debian version 4.5.7 2013-03-30 02:31:27 +01:00
Marco d'Itri
ea3543984a Imported Debian version 4.5.4 2013-03-30 02:31:27 +01:00
Marco d'Itri
d4170f1879 Imported Debian version 4.4.14 2013-03-30 02:31:27 +01:00
Marco d'Itri
6d3af40a95 Imported Debian version 4.4.1 2013-03-30 02:31:26 +01:00
Marco d'Itri
bc68e8c4a6 Imported Debian version 4.3.1 2013-03-30 02:31:26 +01:00