pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/GeoIP According to the man page, geoiplookup has a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ac28e7ecca2
branches:  trunk
changeset: 501432:2ac28e7ecca2
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Oct 22 21:50:58 2005 +0000

description:
According to the man page, geoiplookup has an option "-l". In reality
this is not true, so I added the same patch Debian is using for the man
page.

diffstat:

 net/GeoIP/Makefile         |   3 ++-
 net/GeoIP/distinfo         |   3 ++-
 net/GeoIP/patches/patch-ab |  32 ++++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 2 deletions(-)

diffs (61 lines):

diff -r d18c13551427 -r 2ac28e7ecca2 net/GeoIP/Makefile
--- a/net/GeoIP/Makefile        Sat Oct 22 21:44:44 2005 +0000
+++ b/net/GeoIP/Makefile        Sat Oct 22 21:50:58 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2005/10/22 19:58:42 heinz Exp $
+# $NetBSD: Makefile,v 1.13 2005/10/22 21:50:58 heinz Exp $
 #
 
 DISTNAME=      GeoIP-1.3.14
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://www.maxmind.com/download/geoip/api/c/
 
diff -r d18c13551427 -r 2ac28e7ecca2 net/GeoIP/distinfo
--- a/net/GeoIP/distinfo        Sat Oct 22 21:44:44 2005 +0000
+++ b/net/GeoIP/distinfo        Sat Oct 22 21:50:58 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/10/22 19:58:42 heinz Exp $
+$NetBSD: distinfo,v 1.7 2005/10/22 21:50:58 heinz Exp $
 
 SHA1 (GeoIP-1.3.14.tar.gz) = dfba645d525c681c92df1bea715e70cac6045b2e
 RMD160 (GeoIP-1.3.14.tar.gz) = 9ada38e4b825dc4262a97a8c308eec3d077c1071
 Size (GeoIP-1.3.14.tar.gz) = 677526 bytes
 SHA1 (patch-aa) = a23fd601cfd69a39c13fb5e0605084d84ea3c64a
+SHA1 (patch-ab) = b25dec12477c7b198b3a57764abdc8ac1deb52fb
diff -r d18c13551427 -r 2ac28e7ecca2 net/GeoIP/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/GeoIP/patches/patch-ab        Sat Oct 22 21:50:58 2005 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1 2005/10/22 21:50:59 heinz Exp $
+
+--- man/geoiplookup.1.orig     Thu Nov 21 07:12:38 2002
++++ man/geoiplookup.1
+@@ -3,23 +3,19 @@
+ .SH NAME
+ geoiplookup - look up country using IP Address or hostname
+ .SH SYNOPSIS
+-geoiplookup [-lv] <ipaddress|hostname>
++geoiplookup [-v] <ipaddress|hostname>
+ .SH DESCRIPTION
+ geoiplookup uses the GeoIP library and database to find the Country
+ that an IP address or hostname originates from.
+ .PP
+ For example
+ .PP
+-.I geoiplookup -l 80.60.233.195
++.I geoiplookup 80.60.233.195
+ .PP
+-will find the Country that 80.60.233.195 originates from, in long format:
+-.PP
+-.I Netherlands
++will find the Country that 80.60.233.195 originates from, in the following format:
+ .PP
++.I NL, Netherlands
+ .SH OPTIONS
+-.IP "-l"
+-By default, geoiplookup returns the ISO 3166 country code.  By specifying this
+-option, geoiplookup prints the long format, namely the full country name.
+ .IP "-v"
+ Lists the GeoIP database date and build number.
+ .SH AUTHOR



Home | Main Index | Thread Index | Old Index