Package Details: jwhois 4.0-2

Git Clone URL: https://aur.archlinux.org/jwhois.git (read-only, click to copy)
Package Base: jwhois
Description: An Internet Whois client
Upstream URL: http://www.gnu.org/software/jwhois/
Licenses: GPL3
Submitter: None
Maintainer: azon
Last Packager: fukawi2
Votes: 21
Popularity: 0.000000
First Submitted: 2005-06-28 12:11 (UTC)
Last Updated: 2016-06-15 00:19 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

azon commented on 2024-08-14 16:57 (UTC) (edited on 2024-08-14 16:58 (UTC) by azon)

@3xploiton3

Thank you for letting me know of the issue.

The upstream project has been abandoned and no fix is expected. I recommend another client such as https://archlinux.org/packages/extra/x86_64/whois/ .

3xploiton3 commented on 2024-08-12 18:57 (UTC)

Error

jwhois.c: In function ‘main’: jwhois.c:97:3: error: implicit declaration of function ‘timeout_init’ [-Wimplicit-function-declaration] 97 | timeout_init(); | ^~~~~~~~~~~~ make[2]: *** [Makefile:501: jwhois-jwhois.o] Error 1 make[2]: Leaving directory '/home/dedsec/.cache/yay/jwhois/src/jwhois-4.0/src' make[1]: *** [Makefile:296: all-recursive] Error 1 make[1]: Leaving directory '/home/dedsec/.cache/yay/jwhois/src/jwhois-4.0' make: *** [Makefile:232: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: jwhois-exit status 4 -> Failed to install the following packages. Manual intervention is required: jwhois - exit status 4

mmanjos commented on 2016-06-17 22:35 (UTC)

Hi, I'm experiencing a connection bug which seems to be described here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542148 And fixed with the following patch: --- a/src/utils.c +++ b/src/utils.c @@ -288,7 +288,7 @@ make_connect(const char *host, int port) retlen = sizeof(retval); error = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &retval, &retlen); - if (error < 0 || retval) + if (error == 0 && !retval) { break; }

fukawi2 commented on 2016-06-15 00:20 (UTC)

Thanks yhager; added in 4.0-2: https://github.com/fukawi2/aur4-pkgs/commit/6a24d96c97f6803590fc5582058b4015c383a446

yhager commented on 2016-06-04 23:27 (UTC) (edited on 2016-06-04 23:27 (UTC) by yhager)

The sources are looking for a 'whois' entry in /etc/services, which does not exist on my system. I had to patch it to look for nicname instead. Here's the revised jwhois.patch I came up with: --- src/dns.c~ 2007-06-25 23:58:38.000000000 -0700 +++ src/dns.c 2016-06-04 16:20:19.644865127 -0700 @@ -113,12 +113,13 @@ lookup_host_addrinfo(struct addrinfo **res, const char *host, int port) { struct addrinfo hints; - char ascport[10] = "whois"; + char ascport[10] = "nicname"; int error; memset(&hints, 0, sizeof(hints)); hints.ai_family = PF_UNSPEC; + hints.ai_flags = AI_ADDRCONFIG; hints.ai_socktype = SOCK_STREAM; if (port) sprintf(ascport, "%9.9d", port);

fukawi2 commented on 2012-02-19 01:20 (UTC)

Adopted.