summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h5
-rw-r--r--debian/changelog8
-rw-r--r--ip_del_list2
-rw-r--r--whois.c1
-rw-r--r--whois.spec2
5 files changed, 16 insertions, 2 deletions
diff --git a/config.h b/config.h
index 74464f0..51094d3 100644
--- a/config.h
+++ b/config.h
@@ -1,5 +1,5 @@
/* Program version */
-#define VERSION "5.0.3"
+#define VERSION "5.0.4"
/* Configurable features */
@@ -58,7 +58,10 @@
/* FIXME: which systems lack this? */
#define HAVE_GETTIMEOFDAY
+/* FIXME: disabled because it does not parse addresses with a netmask length.
+ * The code using it needs to be either fixed or removed.
#define HAVE_INET_PTON
+*/
/*
* Please send patches to correctly ignore old releases which lack a RNG
diff --git a/debian/changelog b/debian/changelog
index 5291629..bab8482 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+whois (5.0.4) unstable; urgency=high
+
+ * Added new IPv4 allocations.
+ * Stop using inet_pton to parse IP addresses because it does not work
+ when a netmask length is specified. (Closes: #580633)
+
+ -- Marco d'Itri <md@linux.it> Tue, 11 May 2010 22:33:37 +0200
+
whois (5.0.3) unstable; urgency=medium
* Added the .dj, .gl, .xn--mgbaam7a8h (.امارات, United Arabs Emirates),
diff --git a/ip_del_list b/ip_del_list
index 67d17e7..9c59bc4 100644
--- a/ip_del_list
+++ b/ip_del_list
@@ -11,6 +11,7 @@
14.0.0.0/8 apnic
24.132.0.0/14 ripe
27.0.0.0/8 apnic
+31.0.0.0/8 ripe
41.0.0.0/8 afrinic
43.0.0.0/8 v6nic
46.0.0.0/8 ripe
@@ -105,6 +106,7 @@
#171.0.0.0/8 apnic
175.192.0.0/10 whois.nic.or.kr
175.0.0.0/8 apnic
+176.0.0.0/8 ripe
178.0.0.0/8 ripe
180.0.0.0/8 apnic
183.96.0.0/11 whois.nic.or.kr
diff --git a/whois.c b/whois.c
index 76001e3..a17f19c 100644
--- a/whois.c
+++ b/whois.c
@@ -52,6 +52,7 @@
/* hack */
#define malloc(s) NOFAIL(malloc(s))
#define realloc(p, s) NOFAIL(realloc(p, s))
+#define strdup(s) NOFAIL(strdup(s))
/* Global variables */
int sockfd, verb = 0;
diff --git a/whois.spec b/whois.spec
index 787f96c..21af9a9 100644
--- a/whois.spec
+++ b/whois.spec
@@ -1,6 +1,6 @@
Summary: Enhanced WHOIS client
Name: whois
-Version: 5.0.2
+Version: 5.0.4
Release: 1
License: GPL
Vendor: Marco d'Itri <md@linux.it>