Bug 41536 - new port: misc/GeoIP
Summary: new port: misc/GeoIP
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-11 07:00 UTC by Yen-Ming Lee
Modified: 2002-08-15 15:03 UTC (History)
0 users

See Also:


Attachments
GeoIP.shar (3.41 KB, text/plain)
2002-08-11 07:00 UTC, Yen-Ming Lee
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yen-Ming Lee 2002-08-11 07:00:02 UTC
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/
Comment 1 Yen-Ming Lee 2002-08-14 14:59:49 UTC
Hi,

MaxMind released version 1.0.0 of GeoIP, please use this shar file instead.
Thanks.

WWW: http://maxmind.com/download/geoip/api/c/

--- GeoIP.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	GeoIP
#	GeoIP/Makefile
#	GeoIP/pkg-comment
#	GeoIP/pkg-descr
#	GeoIP/pkg-plist
#	GeoIP/distinfo
#
echo c - GeoIP
mkdir -p GeoIP > /dev/null 2>&1
echo x - GeoIP/Makefile
sed 's/^X//' >GeoIP/Makefile << 'END-of-GeoIP/Makefile'
X# New ports collection makefile for:	GeoIP
X# Date created:				10 August 2002
X# Whom:	      				Yen-Ming Lee <leeym@leeym.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	GeoIP
XPORTVERSION=	1.0.0
XCATEGORIES=	misc
XMASTER_SITES=	http://maxmind.com/download/geoip/api/c/
X
XMAINTAINER=	leeym@leeym.com
X
XLIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
X
XUSE_LIBTOOL=	yes
XCONFIGURE_ARGS=	--with-gnu-ld=yes
XINSTALLS_SHLIB=	yes
X
XMAN1=		geoiplookup.1 geoipupdate.1
X
X.include <bsd.port.mk>
END-of-GeoIP/Makefile
echo x - GeoIP/pkg-comment
sed 's/^X//' >GeoIP/pkg-comment << 'END-of-GeoIP/pkg-comment'
XFind the country that any IP address or hostname originates from
END-of-GeoIP/pkg-comment
echo x - GeoIP/pkg-descr
sed 's/^X//' >GeoIP/pkg-descr << 'END-of-GeoIP/pkg-descr'
XGeoIP is a C library that enables the user to find the country that any
XIP address or hostname originates from.  It uses a file based database
Xthat is accurate as of March 2002.  This database simply contains IP blocks
Xas keys, and countries as values.  This database should be more complete and
Xaccurate than using reverse DNS lookups.
X
XThis module can be used to automatically select the geographically closest
Xmirror, to analyze your web server logs to determine the countries of your
Xvisitors, for credit card fraud detection, and for software export controls.
X
XWWW: http://maxmind.com/geoip/
END-of-GeoIP/pkg-descr
echo x - GeoIP/pkg-plist
sed 's/^X//' >GeoIP/pkg-plist << 'END-of-GeoIP/pkg-plist'
Xbin/geoiplookup
Xbin/geoipupdate
Xetc/GeoIP.conf.default
Xinclude/GeoIP.h
Xlib/libGeoIP.a
Xlib/libGeoIP.so
Xlib/libGeoIP.so.1
Xshare/GeoIP/GeoIP.dat
X@dirrm share/GeoIP
END-of-GeoIP/pkg-plist
echo x - GeoIP/distinfo
sed 's/^X//' >GeoIP/distinfo << 'END-of-GeoIP/distinfo'
XMD5 (GeoIP-1.0.0.tar.gz) = 49a31eb7a0ebe07fe4013a93d0c0177a
END-of-GeoIP/distinfo
exit

--- GeoIP.shar ends here ---

-- 
 Yen-Ming Lee [§õ«Û©ú]                  http://www.leeym.com/

"The power to serve."                           -- FreeBSD
Comment 2 Yen-Ming Lee freebsd_committer freebsd_triage 2002-08-15 14:59:56 UTC
State Changed
From-To: open->closed

Committed, thanks.