summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
Diffstat (limited to 'geography')
-rw-r--r--geography/Makefile4
-rw-r--r--geography/geolite2-city/DESCR12
-rw-r--r--geography/geolite2-city/Makefile26
-rw-r--r--geography/geolite2-city/PLIST13
-rw-r--r--geography/geolite2-city/distinfo6
-rw-r--r--geography/geolite2-country/DESCR12
-rw-r--r--geography/geolite2-country/Makefile26
-rw-r--r--geography/geolite2-country/PLIST13
-rw-r--r--geography/geolite2-country/distinfo6
9 files changed, 117 insertions, 1 deletions
diff --git a/geography/Makefile b/geography/Makefile
index af239638f6f..3801db22b1c 100644
--- a/geography/Makefile
+++ b/geography/Makefile
@@ -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
diff --git a/geography/geolite2-city/DESCR b/geography/geolite2-city/DESCR
new file mode 100644
index 00000000000..a11b9e45791
--- /dev/null
+++ b/geography/geolite2-city/DESCR
@@ -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 --git a/geography/geolite2-city/Makefile b/geography/geolite2-city/Makefile
new file mode 100644
index 00000000000..4412eb225e9
--- /dev/null
+++ b/geography/geolite2-city/Makefile
@@ -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
+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 --git a/geography/geolite2-city/PLIST b/geography/geolite2-city/PLIST
new file mode 100644
index 00000000000..9ef2f8203c3
--- /dev/null
+++ b/geography/geolite2-city/PLIST
@@ -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 --git a/geography/geolite2-city/distinfo b/geography/geolite2-city/distinfo
new file mode 100644
index 00000000000..ccb0bb70f90
--- /dev/null
+++ b/geography/geolite2-city/distinfo
@@ -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 --git a/geography/geolite2-country/DESCR b/geography/geolite2-country/DESCR
new file mode 100644
index 00000000000..a11b9e45791
--- /dev/null
+++ b/geography/geolite2-country/DESCR
@@ -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 --git a/geography/geolite2-country/Makefile b/geography/geolite2-country/Makefile
new file mode 100644
index 00000000000..3678768a93f
--- /dev/null
+++ b/geography/geolite2-country/Makefile
@@ -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
+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 --git a/geography/geolite2-country/PLIST b/geography/geolite2-country/PLIST
new file mode 100644
index 00000000000..0c3aad108de
--- /dev/null
+++ b/geography/geolite2-country/PLIST
@@ -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 --git a/geography/geolite2-country/distinfo b/geography/geolite2-country/distinfo
new file mode 100644
index 00000000000..a306755163f
--- /dev/null
+++ b/geography/geolite2-country/distinfo
@@ -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