From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: GeoIP database redistribution? Date: Tue, 24 Jan 2017 22:54:26 +0100 Message-ID: <8737g85dkd.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> 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> <87inp45evv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW92y-0005OJ-LZ for guix-devel@gnu.org; Tue, 24 Jan 2017 16:54:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW92u-0002hc-Qx for guix-devel@gnu.org; Tue, 24 Jan 2017 16:54:36 -0500 In-Reply-To: <87inp45evv.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= , Pjotr Prins Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > 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. Just to note, I don't think Pjotr was referring to this particular package (geolite database). I just checked, and the City DB is 19.8MiB compressed and 104.1 MiB uncompressed. The Country DB is ~2MiB and the IPv6 databases are tiny. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAliHzRIACgkQoqBt8qM6 VPq2nQf/UaLiOmQeogXXrRDS80joe3fbp68tNbqBYDy0qPcZzqVl3SN+yZKl5q3J z8fydhhIPZsEB/jSt3HqZa5RoolLWmEnU1/tLNOWZ97vVZ1mPgRpTNoSw+lpvkz3 merSoBRMsLhcZ4iwyXGQE9i3v4fPBm6PGbC4KQHZsdEVV1RjXx43N13VJZcbfCWg A64M/9rqyqauZvUWShq5Xut7UqEr8oU41orokkwXG/3Gx0M6W8stAUlBYrS+hvzq /tTV2WoeuKUT6zQdb59EdHZCPOwhF4voE2uu9uls4ikWbs1FT1eWAQdx08IGBEqi /TrRNyy2IFBN48/WwwtHdmKKqA096Q== =1UFL -----END PGP SIGNATURE----- --=-=-=--