pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography



Module Name:    pkgsrc
Committed By:   agc
Date:           Sun Jul 24 02:07:49 UTC 2016

Modified Files:
        pkgsrc/geography: Makefile
Added Files:
        pkgsrc/geography/geolite2-city: DESCR Makefile PLIST distinfo
        pkgsrc/geography/geolite2-country: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/geography/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/geolite2-city/DESCR \
    pkgsrc/geography/geolite2-city/Makefile \
    pkgsrc/geography/geolite2-city/PLIST \
    pkgsrc/geography/geolite2-city/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/geolite2-country/DESCR \
    pkgsrc/geography/geolite2-country/Makefile \
    pkgsrc/geography/geolite2-country/PLIST \
    pkgsrc/geography/geolite2-country/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/Makefile
diff -u pkgsrc/geography/Makefile:1.60 pkgsrc/geography/Makefile:1.61
--- pkgsrc/geography/Makefile:1.60      Sun Apr 24 10:24:40 2016
+++ pkgsrc/geography/Makefile   Sun Jul 24 02:07:49 2016
@@ -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+=      garmin-utils
 SUBDIR+=       garmintools
 SUBDIR+=       gdal-lib
 SUBDIR+=       geoclue
+SUBDIR+=       geolite2-city
+SUBDIR+=       geolite2-country
 SUBDIR+=       geos
 SUBDIR+=       gipfel
 SUBDIR+=       gpsbabel

Added files:

Index: pkgsrc/geography/geolite2-city/DESCR
diff -u /dev/null pkgsrc/geography/geolite2-city/DESCR:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-city/DESCR        Sun Jul 24 02:07:49 2016
@@ -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.
Index: pkgsrc/geography/geolite2-city/Makefile
diff -u /dev/null pkgsrc/geography/geolite2-city/Makefile:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-city/Makefile     Sun Jul 24 02:07:49 2016
@@ -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"
Index: pkgsrc/geography/geolite2-city/PLIST
diff -u /dev/null pkgsrc/geography/geolite2-city/PLIST:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-city/PLIST        Sun Jul 24 02:07:49 2016
@@ -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
Index: pkgsrc/geography/geolite2-city/distinfo
diff -u /dev/null pkgsrc/geography/geolite2-city/distinfo:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-city/distinfo     Sun Jul 24 02:07:49 2016
@@ -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

Index: pkgsrc/geography/geolite2-country/DESCR
diff -u /dev/null pkgsrc/geography/geolite2-country/DESCR:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-country/DESCR     Sun Jul 24 02:07:49 2016
@@ -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.
Index: pkgsrc/geography/geolite2-country/Makefile
diff -u /dev/null pkgsrc/geography/geolite2-country/Makefile:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-country/Makefile  Sun Jul 24 02:07:49 2016
@@ -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"
Index: pkgsrc/geography/geolite2-country/PLIST
diff -u /dev/null pkgsrc/geography/geolite2-country/PLIST:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-country/PLIST     Sun Jul 24 02:07:49 2016
@@ -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
Index: pkgsrc/geography/geolite2-country/distinfo
diff -u /dev/null pkgsrc/geography/geolite2-country/distinfo:1.1
--- /dev/null   Sun Jul 24 02:07:49 2016
+++ pkgsrc/geography/geolite2-country/distinfo  Sun Jul 24 02:07:49 2016
@@ -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