summaryrefslogtreecommitdiffstats
path: root/net/GeoIP
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2002-08-15 13:34:10 +0000
committerleeym <leeym@FreeBSD.org>2002-08-15 13:34:10 +0000
commit653e47789feea2a0efde6954697532858dae3837 (patch)
tree367dbfedfe300b2d0c7c9bc0c4b358172bbb33c8 /net/GeoIP
parent19337816c9574424b88a4a3d067e9905d750798e (diff)
downloadFreeBSD-ports-653e47789feea2a0efde6954697532858dae3837.zip
FreeBSD-ports-653e47789feea2a0efde6954697532858dae3837.tar.gz
new port: misc/GeoIP
GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. PR: ports/41536 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
Diffstat (limited to 'net/GeoIP')
-rw-r--r--net/GeoIP/Makefile23
-rw-r--r--net/GeoIP/distinfo1
-rw-r--r--net/GeoIP/pkg-comment1
-rw-r--r--net/GeoIP/pkg-descr11
-rw-r--r--net/GeoIP/pkg-plist9
5 files changed, 45 insertions, 0 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
new file mode 100644
index 0000000..7529cfb
--- /dev/null
+++ b/net/GeoIP/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: GeoIP
+# Date created: 10 August 2002
+# Whom: Yen-Ming Lee <leeym@leeym.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= GeoIP
+PORTVERSION= 1.0.0
+CATEGORIES= misc
+MASTER_SITES= http://maxmind.com/download/geoip/api/c/
+
+MAINTAINER= leeym@leeym.com
+
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --with-gnu-ld=yes
+INSTALLS_SHLIB= yes
+
+MAN1= geoiplookup.1 geoipupdate.1
+
+.include <bsd.port.mk>
diff --git a/net/GeoIP/distinfo b/net/GeoIP/distinfo
new file mode 100644
index 0000000..8ae3a7b
--- /dev/null
+++ b/net/GeoIP/distinfo
@@ -0,0 +1 @@
+MD5 (GeoIP-1.0.0.tar.gz) = 49a31eb7a0ebe07fe4013a93d0c0177a
diff --git a/net/GeoIP/pkg-comment b/net/GeoIP/pkg-comment
new file mode 100644
index 0000000..15f274e
--- /dev/null
+++ b/net/GeoIP/pkg-comment
@@ -0,0 +1 @@
+Find the country that any IP address or hostname originates from
diff --git a/net/GeoIP/pkg-descr b/net/GeoIP/pkg-descr
new file mode 100644
index 0000000..9dcae6c
--- /dev/null
+++ b/net/GeoIP/pkg-descr
@@ -0,0 +1,11 @@
+GeoIP is a C library that enables the user to find the country that any
+IP address or hostname originates from. It uses a file based database
+that is accurate as of March 2002. This database simply contains IP blocks
+as keys, and countries as values. This database should be more complete and
+accurate than using reverse DNS lookups.
+
+This module can be used to automatically select the geographically closest
+mirror, to analyze your web server logs to determine the countries of your
+visitors, for credit card fraud detection, and for software export controls.
+
+WWW: http://maxmind.com/geoip/
diff --git a/net/GeoIP/pkg-plist b/net/GeoIP/pkg-plist
new file mode 100644
index 0000000..88690d0
--- /dev/null
+++ b/net/GeoIP/pkg-plist
@@ -0,0 +1,9 @@
+bin/geoiplookup
+bin/geoipupdate
+etc/GeoIP.conf.default
+include/GeoIP.h
+lib/libGeoIP.a
+lib/libGeoIP.so
+lib/libGeoIP.so.1
+share/GeoIP/GeoIP.dat
+@dirrm share/GeoIP
OpenPOWER on IntegriCloud