Your message dated Sun, 27 Jul 2025 09:25:31 +0000
with message-id <[email protected]>
and subject line unblock whois
has caused the Debian Bug report #1109958,
regarding unblock: whois/5.6.3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1109958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109958
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:whois
User: [email protected]
Usertags: unblock

Database updates. The code change is ifdef'ed out on Linux hence not 
relevant.

unblock whois/5.6.3



diff -Nru whois-5.6.2/config.h whois-5.6.3/config.h
--- whois-5.6.2/config.h        2023-11-09 22:05:55.000000000 +0100
+++ whois-5.6.3/config.h        2025-07-17 05:15:53.000000000 +0200
@@ -26,12 +26,17 @@
 /* which versions? */
 # define HAVE_GETOPT_LONG
 # define HAVE_GETADDRINFO
+# define HAVE_READPASSPHRASE
 # define ENABLE_NLS
 # ifndef LOCALEDIR
 #  define LOCALEDIR "/usr/local/share/locale"
 # endif
 #endif
 
+#if defined OpenBSD
+# define HAVE_READPASSPHRASE
+#endif
+
 /* needs unistd.h */
 #if defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 200112L
 # define HAVE_GETADDRINFO
@@ -41,6 +46,7 @@
 #if defined __APPLE__ && defined __MACH__
 # define HAVE_GETOPT_LONG
 # define HAVE_GETADDRINFO
+# define HAVE_READPASSPHRASE
 # define HAVE_BSDICRYPT
 #endif
 
diff -Nru whois-5.6.2/debian/changelog whois-5.6.3/debian/changelog
--- whois-5.6.2/debian/changelog        2025-06-06 18:22:04.000000000 +0200
+++ whois-5.6.3/debian/changelog        2025-07-17 05:15:53.000000000 +0200
@@ -1,3 +1,10 @@
+whois (5.6.3) unstable; urgency=medium
+
+  * Added the .sr and .мон (.xn--l1acc, Mongolia) TLD servers.
+  * Use readpassphrase(3) on OpenBSD and FreeBSD.
+
+ -- Marco d'Itri <[email protected]>  Thu, 17 Jul 2025 05:15:53 +0200
+
 whois (5.6.2) unstable; urgency=medium
 
   * Updated the .post and .in (and related IDN TLDs) TLD servers.
diff -Nru whois-5.6.2/mkpasswd.c whois-5.6.3/mkpasswd.c
--- whois-5.6.2/mkpasswd.c      2025-06-02 00:25:20.000000000 +0200
+++ whois-5.6.3/mkpasswd.c      2025-07-17 05:15:53.000000000 +0200
@@ -47,6 +47,9 @@
 #ifdef HAVE_GETTIMEOFDAY
 #include <sys/time.h>
 #endif
+#ifdef HAVE_READPASSPHRASE
+#include <readpassphrase.h>
+#endif
 
 /* Application-specific */
 #include "version.h"
@@ -387,11 +390,21 @@
            exit(2);
        }
     } else {
+#ifdef HAVE_READPASSPHRASE
+       const size_t size = 128;
+
+       password = NOFAIL(malloc(size));
+       if (!readpassphrase(_("Password: "), password, size, 0)) {
+           perror("readpassphrase");
+           exit(2);
+       }
+#else
        password = getpass(_("Password: "));
        if (!password) {
            perror("getpass");
            exit(2);
        }
+#endif
     }
 
     {
diff -Nru whois-5.6.2/tld_serv_list whois-5.6.3/tld_serv_list
--- whois-5.6.2/tld_serv_list   2025-06-06 18:22:04.000000000 +0200
+++ whois-5.6.3/tld_serv_list   2025-07-17 05:15:53.000000000 +0200
@@ -295,7 +295,7 @@
 .sm    whois.nic.sm
 .sn    whois.nic.sn
 .so    whois.nic.so
-.sr    NONE            # https://isp.datasur.sr/
+.sr    whois.sr        # https://isp.datasur.sr/
 .ss    whois.nic.ss
 .st    whois.nic.st
 .msk.su        whois.flexireg.net
@@ -397,7 +397,7 @@
 .xn--j6w193g           whois.hkirc.hk          # Hong Kong
 .xn--kprw13d           whois.twnic.net.tw      # Taiwan, Simplified Chinese
 .xn--kpry57d           whois.twnic.net.tw      # Taiwan, Traditional Chinese
-.xn--l1acc             NONE                    # Mongolia
+.xn--l1acc             whois.mn                # Mongolia
 .xn--lgbbat1ad8j       whois.nic.dz            # Algeria
 .xn--mgb9awbf          whois.registry.om       # Oman
 .xn--mgba3a4f16a       whois.nic.ir            # Iran

-- 
ciao,
Marco

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Unblocked whois.

--- End Message ---

Reply via email to