From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GeoIP database redistribution? Date: Tue, 24 Jan 2017 22:25:56 +0100 Message-ID: <87inp45evv.fsf@gnu.org> References: <8760l7t5ax.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87k29l63pz.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170124060621.GA30899@mail.thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW8bK-0004U9-99 for guix-devel@gnu.org; Tue, 24 Jan 2017 16:26:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW8bH-0002ur-5O for guix-devel@gnu.org; Tue, 24 Jan 2017 16:26:02 -0500 In-Reply-To: <20170124060621.GA30899@mail.thebird.nl> (Pjotr Prins's message of "Tue, 24 Jan 2017 06:06:21 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins skribis: > On Mon, Jan 23, 2017 at 07:17:12PM +0100, Marius Bakke wrote: >> ng0 writes: >>=20 >> > I want to slowly package OONI (https://ooni.torproject.org/). >> > One of its dependencies, txtorcon, requires python-geoip which >> > depends on geoip-c-api. I've got both covered, but both of them >> > want (either to download or to be present) for tests (a/the) >> > legacy database file of maxmind. >> > >> > Question 1: Can we distribute the database in a source? I can't >> > access the homepage of maxmind for cloudflare reasons. >>=20 >> The database is distributed freely under cc-by-sa4.0: >>=20 >> https://dev.maxmind.com/geoip/legacy/geolite/#License >>=20 >> So packaging it should be fine. :) > > This actually raises the issue of packaging large data files (we are > getting into TB's). Could there be a way Guix fetches external > datasets as part of the distribution? I think that if it is not > executable code and SHA values/pfff values match it would be safe to > do. If we do add something this big, we=E2=80=99ll have to make sure it=E2=80= =99s not substitutable and does not ever land on the build machines. Ludo=E2=80=99.