pkgsrc-WIP-changes archive

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

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



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

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

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

The free DB-IP IP to City Lite database is a subset of the IP to Location
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=3c626793305a55a568acd0024cf5344875c952fa

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

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

diffs:
diff --git a/Makefile b/Makefile
index 9e41485356..d9af2dfbc9 100644
--- a/Makefile
+++ b/Makefile
@@ -555,6 +555,7 @@ SUBDIR+=	dates
 SUBDIR+=	davical-git
 SUBDIR+=	dazz_db
 SUBDIR+=	dbf
+SUBDIR+=	dbip-city-lite
 SUBDIR+=	dbip-country-lite
 SUBDIR+=	dbus-dfbsd
 SUBDIR+=	dbus-explorer
diff --git a/dbip-city-lite/DESCR b/dbip-city-lite/DESCR
new file mode 100644
index 0000000000..23fd1c1bcd
--- /dev/null
+++ b/dbip-city-lite/DESCR
@@ -0,0 +1,3 @@
+The free DB-IP IP to City Lite database is a subset of the IP to Location
+database with reduced coverage and accuracy distributed under the Creative
+Commons Attribution License.
diff --git a/dbip-city-lite/Makefile b/dbip-city-lite/Makefile
new file mode 100644
index 0000000000..d7fcd43352
--- /dev/null
+++ b/dbip-city-lite/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	dbip-city-lite-2020-03.mmdb
+PKGNAME=	dbip-city-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 City Lite: IPv4/v6 address to city
+LICENSE=	cc-by-v4.0
+
+NO_BUILD=	yes
+
+INSTALLATION_DIRS+=	share/dbip
+
+do-install:
+	${RUN}${INSTALL_DATA} ${WRKDIR}/${DISTNAME} \
+		${DESTDIR}${PREFIX}/share/dbip/dbip-city-lite.mmdb
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/dbip-city-lite/PLIST b/dbip-city-lite/PLIST
new file mode 100644
index 0000000000..1310d09fd6
--- /dev/null
+++ b/dbip-city-lite/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+share/dbip/dbip-city-lite.mmdb
diff --git a/dbip-city-lite/distinfo b/dbip-city-lite/distinfo
new file mode 100644
index 0000000000..448895a877
--- /dev/null
+++ b/dbip-city-lite/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (dbip-city-lite-2020-03.mmdb.gz) = 3c107622a7a07235e504c7258a0fb10f9c87ee40
+RMD160 (dbip-city-lite-2020-03.mmdb.gz) = f53643c6d46a507e55f40fc23e35e5ef8ea99334
+SHA512 (dbip-city-lite-2020-03.mmdb.gz) = 0e8128fc12348478e79171ed59210f26b46d0b10430af9c8316ca7bc236be22866217f105c654f7038e2f04d2b38bfc5233e63dd6d936ad8142ce890fa271f34
+Size (dbip-city-lite-2020-03.mmdb.gz) = 39189273 bytes


Home | Main Index | Thread Index | Old Index