From 31a376f3f869b86f885b7f17172f4dbcdfe9febb Mon Sep 17 00:00:00 2001 From: fcambus Date: Mon, 9 Mar 2020 12:22:10 +0000 Subject: 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. --- net/dbip-country-lite/DESCR | 3 +++ net/dbip-country-lite/Makefile | 22 ++++++++++++++++++++++ net/dbip-country-lite/PLIST | 2 ++ net/dbip-country-lite/distinfo | 6 ++++++ 4 files changed, 33 insertions(+) create mode 100644 net/dbip-country-lite/DESCR create mode 100644 net/dbip-country-lite/Makefile create mode 100644 net/dbip-country-lite/PLIST create mode 100644 net/dbip-country-lite/distinfo (limited to 'net/dbip-country-lite') 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 -- cgit v1.2.3