summaryrefslogtreecommitdiff
path: root/net/dbip-country-lite
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2020-03-09 12:22:10 +0000
committerfcambus <fcambus@pkgsrc.org>2020-03-09 12:22:10 +0000
commit31a376f3f869b86f885b7f17172f4dbcdfe9febb (patch)
treed71729b3f67370fcc538ad1b868c353c89666cde /net/dbip-country-lite
parente1849e5adc4b62953ef78f4cc98b7cacde31d35d (diff)
downloadpkgsrc-31a376f3f869b86f885b7f17172f4dbcdfe9febb.tar.gz
net/dbip-country-lite: import dbip-country-lite 2020-03.
The free DB-IP IP to Country Lite database is a subset of the IP to Country database with reduced coverage and accuracy distributed under the Creative Commons Attribution License.
Diffstat (limited to 'net/dbip-country-lite')
-rw-r--r--net/dbip-country-lite/DESCR3
-rw-r--r--net/dbip-country-lite/Makefile22
-rw-r--r--net/dbip-country-lite/PLIST2
-rw-r--r--net/dbip-country-lite/distinfo6
4 files changed, 33 insertions, 0 deletions
diff --git a/net/dbip-country-lite/DESCR b/net/dbip-country-lite/DESCR
new file mode 100644
index 00000000000..fa707637c48
--- /dev/null
+++ b/net/dbip-country-lite/DESCR
@@ -0,0 +1,3 @@
+The free DB-IP IP to Country Lite database is a subset of the IP to Country
+database with reduced coverage and accuracy distributed under the Creative
+Commons Attribution License.
diff --git a/net/dbip-country-lite/Makefile b/net/dbip-country-lite/Makefile
new file mode 100644
index 00000000000..b4d978c6efd
--- /dev/null
+++ b/net/dbip-country-lite/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/03/09 12:22:10 fcambus Exp $
+
+DISTNAME= dbip-country-lite-2020-03.mmdb
+PKGNAME= dbip-country-lite-2020.03
+CATEGORIES= net
+MASTER_SITES= https://download.db-ip.com/free/
+EXTRACT_SUFX= .gz
+
+MAINTAINER= fcambus@NetBSD.org
+HOMEPAGE= https://db-ip.com/db/lite.php
+COMMENT= DB-IP IP to Country Lite: IPv4/v6 address to country
+LICENSE= cc-by-v4.0
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= share/dbip
+
+do-install:
+ ${RUN}${INSTALL_DATA} ${WRKDIR}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/share/dbip/dbip-country-lite.mmdb
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/dbip-country-lite/PLIST b/net/dbip-country-lite/PLIST
new file mode 100644
index 00000000000..8b379d04b03
--- /dev/null
+++ b/net/dbip-country-lite/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/09 12:22:10 fcambus Exp $
+share/dbip/dbip-country-lite.mmdb
diff --git a/net/dbip-country-lite/distinfo b/net/dbip-country-lite/distinfo
new file mode 100644
index 00000000000..49145a10066
--- /dev/null
+++ b/net/dbip-country-lite/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/09 12:22:10 fcambus Exp $
+
+SHA1 (dbip-country-lite-2020-03.mmdb.gz) = 0a4a503b134ba48f66cd7c17a429ba118c03f992
+RMD160 (dbip-country-lite-2020-03.mmdb.gz) = dbb6d95d14d0e894c46e2cfd27682d3c97840635
+SHA512 (dbip-country-lite-2020-03.mmdb.gz) = 10e2aa3fa2a0c48503545bbe2b16c1cdfceb08ac7a0581380d2d96c7c8bcc95c5e02c971dc7180ec1509d7b512ec8f9fb8d59e17ea96bf80ac09ed3d7f8db593
+Size (dbip-country-lite-2020-03.mmdb.gz) = 2814198 bytes