pkgsrc-WIP-changes archive

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

Import dbip-country-lite 2020-03 wip/dbip-country-lite.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fcambus%NetBSD.org@localhost>
Pushed By:	fcambus
Date:		Fri Mar 6 12:04:54 2020 +0100
Changeset:	ec29efac2fe66ae34f383251b7c2f8646eb32e3b

Modified Files:
	Makefile
Added Files:
	dbip-country-lite/DESCR
	dbip-country-lite/Makefile
	dbip-country-lite/PLIST
	dbip-country-lite/distinfo

Log Message:
Import dbip-country-lite 2020-03 wip/dbip-country-lite.

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec29efac2fe66ae34f383251b7c2f8646eb32e3b

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

diffstat:
 Makefile                   |  1 +
 dbip-country-lite/DESCR    |  3 +++
 dbip-country-lite/Makefile | 22 ++++++++++++++++++++++
 dbip-country-lite/PLIST    |  2 ++
 dbip-country-lite/distinfo |  6 ++++++
 5 files changed, 34 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c13791b934..9e41485356 100644
--- a/Makefile
+++ b/Makefile
@@ -555,6 +555,7 @@ SUBDIR+=	dates
 SUBDIR+=	davical-git
 SUBDIR+=	dazz_db
 SUBDIR+=	dbf
+SUBDIR+=	dbip-country-lite
 SUBDIR+=	dbus-dfbsd
 SUBDIR+=	dbus-explorer
 SUBDIR+=	dcdis
diff --git a/dbip-country-lite/DESCR b/dbip-country-lite/DESCR
new file mode 100644
index 0000000000..fa707637c4
--- /dev/null
+++ b/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/dbip-country-lite/Makefile b/dbip-country-lite/Makefile
new file mode 100644
index 0000000000..916d0275e7
--- /dev/null
+++ b/dbip-country-lite/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+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@localhost
+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/dbip-country-lite/PLIST b/dbip-country-lite/PLIST
new file mode 100644
index 0000000000..80b00dbe77
--- /dev/null
+++ b/dbip-country-lite/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+share/dbip/dbip-country-lite.mmdb
diff --git a/dbip-country-lite/distinfo b/dbip-country-lite/distinfo
new file mode 100644
index 0000000000..b6a14aef09
--- /dev/null
+++ b/dbip-country-lite/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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


Home | Main Index | Thread Index | Old Index