[packages/whois] - rediff patch, rel 2

baggins baggins at pld-linux.org
Tue Nov 16 22:12:35 CET 2021


commit 86233d0a21887b2806fe8f0082b8e66694c2c4e4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Nov 16 22:12:19 2021 +0100

    - rediff patch, rel 2

 whois-idn.patch | 11 ++++++-----
 whois.spec      |  2 +-
 2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/whois.spec b/whois.spec
index 11d3676..2fbe32f 100644
--- a/whois.spec
+++ b/whois.spec
@@ -4,7 +4,7 @@ Summary(ru.UTF-8):	Улучшенный клиент WHOIS
 Summary(uk.UTF-8):	Покращений клієнт WHOIS
 Name:		whois
 Version:	5.5.6
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Networking/Utilities
 Source0:	http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz
diff --git a/whois-idn.patch b/whois-idn.patch
index 271c94d..ac922ad 100644
--- a/whois-idn.patch
+++ b/whois-idn.patch
@@ -1,8 +1,9 @@
---- whois-4.7.32/whois.c~	2009-03-17 13:14:25.938965061 +0100
-+++ whois-4.7.32/whois.c	2009-03-17 13:15:54.058956261 +0100
-@@ -786,8 +786,12 @@
-     hints.ai_socktype = SOCK_STREAM;
-     hints.ai_flags = AI_ADDRCONFIG | AI_IDN;
+diff -urNp -x '*.orig' whois.org/whois.c whois/whois.c
+--- whois.org/whois.c	2019-12-31 12:14:30.000000000 +0100
++++ whois/whois.c	2021-11-16 22:11:57.631795697 +0100
+@@ -1001,8 +1001,12 @@ int openconn(const char *server, const c
+     hints.ai_flags = AI_ADDRCONFIG;
+     hints.ai_flags |= AI_IDN;
  
 -    if ((err = getaddrinfo(server, port ? port : "nicname", &hints, &res))
 -	    != 0) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/whois.git/commitdiff/86233d0a21887b2806fe8f0082b8e66694c2c4e4



More information about the pld-cvs-commit mailing list