pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography Add the geolite2 city and country IPv4 datab...
details: https://anonhg.NetBSD.org/pkgsrc/rev/50ef592dea05
branches: trunk
changeset: 350138:50ef592dea05
user: agc <agc%pkgsrc.org@localhost>
date: Sun Jul 24 02:07:49 2016 +0000
description:
Add the geolite2 city and country IPv4 databases from 20160705
GeoLite2 databases are free IP geolocation databases comparable to,
but less accurate than, MaxMind's GeoIP2 databases. GeoLite2
databases are updated on the first Tuesday of each month.
IP geolocation is inherently imprecise. Locations are often near the
center of the population. Any location provided by a GeoIP database
should not be used to identify a particular address or household.
Use the Accuracy Radius as an indication of geolocation accuracy for
the latitude and longitude coordinates we return for an IP address.
The actual location of the IP address is likely within the area
defined by this radius and the latitude and longitude coordinates.
These are presented as straight CSV files, and can be manipulated with standard
tools.
diffstat:
geography/Makefile | 4 +++-
geography/geolite2-city/DESCR | 12 ++++++++++++
geography/geolite2-city/Makefile | 26 ++++++++++++++++++++++++++
geography/geolite2-city/PLIST | 13 +++++++++++++
geography/geolite2-city/distinfo | 6 ++++++
geography/geolite2-country/DESCR | 12 ++++++++++++
geography/geolite2-country/Makefile | 26 ++++++++++++++++++++++++++
geography/geolite2-country/PLIST | 13 +++++++++++++
geography/geolite2-country/distinfo | 6 ++++++
9 files changed, 117 insertions(+), 1 deletions(-)
diffs (164 lines):
diff -r 7b19821478ce -r 50ef592dea05 geography/Makefile
--- a/geography/Makefile Sun Jul 24 02:04:44 2016 +0000
+++ b/geography/Makefile Sun Jul 24 02:07:49 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2016/04/24 10:24:40 bouyer Exp $
+# $NetBSD: Makefile,v 1.61 2016/07/24 02:07:49 agc Exp $
#
COMMENT= Software for geographical-related uses
@@ -14,6 +14,8 @@
SUBDIR+= garmintools
SUBDIR+= gdal-lib
SUBDIR+= geoclue
+SUBDIR+= geolite2-city
+SUBDIR+= geolite2-country
SUBDIR+= geos
SUBDIR+= gipfel
SUBDIR+= gpsbabel
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-city/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-city/DESCR Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,12 @@
+GeoLite2 databases are free IP geolocation databases comparable to,
+but less accurate than, MaxMind's GeoIP2 databases. GeoLite2
+databases are updated on the first Tuesday of each month.
+
+IP geolocation is inherently imprecise. Locations are often near the
+center of the population. Any location provided by a GeoIP database
+should not be used to identify a particular address or household.
+
+Use the Accuracy Radius as an indication of geolocation accuracy for
+the latitude and longitude coordinates we return for an IP address.
+The actual location of the IP address is likely within the area
+defined by this radius and the latitude and longitude coordinates.
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-city/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-city/Makefile Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/07/24 02:07:49 agc Exp $
+
+DISTNAME= GeoLite2-City-CSV
+PKGNAME= ${DISTNAME}-20160705
+CATEGORIES= geography
+MASTER_SITES= http://geolite.maxmind.com/download/geoip/database/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://dev.maxmind.com/geoip/geoip2/geolite2/
+COMMENT= Free IP city geolocation databases
+LICENSE= cc-by-sa-v4.0
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+WRKSRC= ${WRKDIR}/GeoLite2-City-CSV_20160705
+
+AUTO_MKDIRS= yes
+
+do-build:
+ ${DO_NADA}
+
+do-install:
+ mkdir -p ${DESTDIR}${PREFIX}/share/GeoLite2-City-CSV
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.csv *.txt ${DESTDIR}${PREFIX}/share/GeoLite2-City-CSV/)
+
+.include "../../mk/bsd.pkg.mk"
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-city/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-city/PLIST Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/24 02:07:49 agc Exp $
+share/GeoLite2-City-CSV/COPYRIGHT.txt
+share/GeoLite2-City-CSV/GeoLite2-City-Blocks-IPv4.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Blocks-IPv6.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-de.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-en.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-es.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-fr.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-ja.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-pt-BR.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-ru.csv
+share/GeoLite2-City-CSV/GeoLite2-City-Locations-zh-CN.csv
+share/GeoLite2-City-CSV/LICENSE.txt
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-city/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-city/distinfo Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/24 02:07:49 agc Exp $
+
+SHA1 (GeoLite2-City-CSV-20160705/GeoLite2-City-CSV.zip) = fe9c9564eeffa5169e58ae256531320c0aab8a4c
+RMD160 (GeoLite2-City-CSV-20160705/GeoLite2-City-CSV.zip) = f65888e02b7830b300e7ae6c546359058d874847
+SHA512 (GeoLite2-City-CSV-20160705/GeoLite2-City-CSV.zip) = ab971720ab01dc0e033abd785d8fea1934b712dbfa366bd132eb6f58eed5b7466238ca759b4c674cbd64fee9c56e0ddedbeb48968252c2f0c5ae490e890721a2
+Size (GeoLite2-City-CSV-20160705/GeoLite2-City-CSV.zip) = 41923245 bytes
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-country/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-country/DESCR Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,12 @@
+GeoLite2 databases are free IP geolocation databases comparable to,
+but less accurate than, MaxMind's GeoIP2 databases. GeoLite2
+databases are updated on the first Tuesday of each month.
+
+IP geolocation is inherently imprecise. Locations are often near the
+center of the population. Any location provided by a GeoIP database
+should not be used to identify a particular address or household.
+
+Use the Accuracy Radius as an indication of geolocation accuracy for
+the latitude and longitude coordinates we return for an IP address.
+The actual location of the IP address is likely within the area
+defined by this radius and the latitude and longitude coordinates.
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-country/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-country/Makefile Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/07/24 02:07:49 agc Exp $
+
+DISTNAME= GeoLite2-Country-CSV
+PKGNAME= ${DISTNAME}-20160705
+CATEGORIES= geography
+MASTER_SITES= http://geolite.maxmind.com/download/geoip/database/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://dev.maxmind.com/geoip/geoip2/geolite2/
+COMMENT= Free IP country geolocation databases
+LICENSE= cc-by-sa-v4.0
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+WRKSRC= ${WRKDIR}/GeoLite2-Country-CSV_20160705
+
+AUTO_MKDIRS= yes
+
+do-build:
+ ${DO_NADA}
+
+do-install:
+ mkdir -p ${DESTDIR}${PREFIX}/share/GeoLite2-Country-CSV
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.csv *.txt ${DESTDIR}${PREFIX}/share/GeoLite2-Country-CSV/)
+
+.include "../../mk/bsd.pkg.mk"
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-country/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-country/PLIST Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/24 02:07:49 agc Exp $
+share/GeoLite2-Country-CSV/COPYRIGHT.txt
+share/GeoLite2-Country-CSV/GeoLite2-Country-Blocks-IPv4.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Blocks-IPv6.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-de.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-en.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-es.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-fr.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-ja.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-pt-BR.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-ru.csv
+share/GeoLite2-Country-CSV/GeoLite2-Country-Locations-zh-CN.csv
+share/GeoLite2-Country-CSV/LICENSE.txt
diff -r 7b19821478ce -r 50ef592dea05 geography/geolite2-country/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/geolite2-country/distinfo Sun Jul 24 02:07:49 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/24 02:07:49 agc Exp $
+
+SHA1 (GeoLite2-Country-CSV-20160705/GeoLite2-Country-CSV.zip) = f879707afe5e56e7552c140d93ca98eab6deb52c
+RMD160 (GeoLite2-Country-CSV-20160705/GeoLite2-Country-CSV.zip) = ad14481f70fbae856d2adf6c0c673134593cb0c6
+SHA512 (GeoLite2-Country-CSV-20160705/GeoLite2-Country-CSV.zip) = c8cf05f3a0f09721c805b83df364b88604e90618c03f84d7f382ab9f3837624807553e8438053e127dd78c36ef1f96bcc61ae45db39a87a6d06311dfcb5d57c5
+Size (GeoLite2-Country-CSV-20160705/GeoLite2-Country-CSV.zip) = 4363834 bytes
Home |
Main Index |
Thread Index |
Old Index