summaryrefslogtreecommitdiff
path: root/net/GeoIP
diff options
context:
space:
mode:
Diffstat (limited to 'net/GeoIP')
-rw-r--r--net/GeoIP/Makefile3
-rw-r--r--net/GeoIP/distinfo3
-rw-r--r--net/GeoIP/patches/patch-ab32
3 files changed, 36 insertions, 2 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index 4640a4236b8..799844fe625 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -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 --git a/net/GeoIP/distinfo b/net/GeoIP/distinfo
index 92e7d2cc0a1..e015ffefe2e 100644
--- a/net/GeoIP/distinfo
+++ b/net/GeoIP/distinfo
@@ -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 --git a/net/GeoIP/patches/patch-ab b/net/GeoIP/patches/patch-ab
new file mode 100644
index 00000000000..87710ff2ca4
--- /dev/null
+++ b/net/GeoIP/patches/patch-ab
@@ -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