Skip to content

Instantly share code, notes, and snippets.

@nari-ex
Last active Dec 30, 2015
Embed
What would you like to do?
jwhois build
cd /usr/local/src/
wget http://ftp.de.debian.org/debian/pool/main/j/jwhois/jwhois_4.0.orig.tar.gz
tar xzvf jwhois_4.0.orig.tar.gz
cd jwhois-4.0/
wget http://www.fukatani.org/~hi-lo/blog/archives/upload_data/jwhois-4.0-fix-ipv6socket.patch
patch -p1 < jwhois-4.0-fix-ipv6socket.patch
mkdir /usr/local/jwhois
./configure --prefix=/usr/local/jwhois/
make -j4
make install
/usr/local/jwhois/bin/whois topotal.com
which whois
ll /usr/bin/whois
mv /usr/bin/whois{,.`date +%Y%m%d`}
ln -s /usr/local/jwhois/bin/jwhois /usr/bin/whois
whois topotal.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment