From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kNr/MPvNfGRkCAAASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 19:46:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2DxBMfvNfGRPHQEA9RJhRA (envelope-from ) for ; Sun, 04 Jun 2023 19:46:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA0E830516 for ; Sun, 4 Jun 2023 19:46:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=P9tUHmqi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685900795; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QarNFK9tNq7PXVRz9XgEldlRar+1ReXNQTO8nbgtNkE=; b=TctGKsuQpMj1c8kWXYX4dZj3uXirTHlXN4w8wIAcQLguMDrS0JNfX5ln6oyqOxzKXPF5xB DOkxiTZljcCfame/fjjhOySUuy3g29mcaU98Z7GUU8ArjEXWrpU+GZu4ufiFwz45be28kh yrqL7hzKI2oy1RB/9v6nnfXFOOQnybRy/bRzPmN2KcT62ppEyANM64UzlkT1OMGEtVEN9n aYdAjVt2xCLzsyJxFM/H3kq7ibVvYFr4RqfHXpqTuqIex9maXZYlZFU4sJSCBZUcayTkP2 jl99lS8yI/QBX98uwinZwAJ2ISfJWX441Nddq41hGWZpWHZdDa+lEaNwkRVa5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=P9tUHmqi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685900795; a=rsa-sha256; cv=none; b=vAQUWWF7LRSS1Xl1JBYj02MJ6LgktlcyEstaz7xRfEv6ToPZcFfETg8dUeKkBdpqedXJaY SDM4YCigU+87sVswdpUvuasJ8J7UavtPaYnOzGhLsjp0pVes/PrFhHS4NIj1cajPJY9vhO Bdoe3wjv+dUuJR5oUy5va1xaGDHq38PrYbiQQMEqcoY/+ZA4NTVPT4KCZE4G+7DM5vqg4w b0D1EJ19OZ0GcMaS1RrcxBjWGn7pcAfn2tIqJzO36y/xemPOs1JVvk+1v82JInk6txfnsK 0G1lZPDo+eCXtXQCD2XTdNNWJ9ApBHeXvGFexP0SW+hBQzMh1wtZi6yo1S13gg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5rmk-0005Fq-Cz; Sun, 04 Jun 2023 13:44:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5rmP-0004uR-Vs for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:38 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5rmB-0002Gv-GL for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5rmB-0000vS-Cd for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:23 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63894] [PATCH 48/55] gnu: Add perl-geo-ip. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jun 2023 17:44:23 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63894@debbugs.gnu.org Received: via spool by 63894-submit@debbugs.gnu.org id=B63894.16859006433147 (code B ref 63894); Sun, 04 Jun 2023 17:44:23 +0000 Received: (at 63894) by debbugs.gnu.org; 4 Jun 2023 17:44:03 +0000 Received: from localhost ([127.0.0.1]:47275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlq-0000oZ-RU for submit@debbugs.gnu.org; Sun, 04 Jun 2023 13:44:03 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:39424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlm-0000m2-Oj for 63894@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:59 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QZ3xz3H3sz9sVN for <63894@debbugs.gnu.org>; Sun, 4 Jun 2023 19:43:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685900631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QarNFK9tNq7PXVRz9XgEldlRar+1ReXNQTO8nbgtNkE=; b=P9tUHmqiprZaexEOLHv8NqcjZD074efMLgEDwkb1lIYCAdYXnaTebCywa/CcUxWGV0ATKa 50DCSV6e3i82wqNWnXcXTzBrDvCR2wsWVMJPyC5cuoRfoMmkIiZYtb9IiVrBpnGAkIJqR1 AehhMa224BBixSOumszZhOYp2ozBI3Lob7vsC1XpLtiAYTNVQ+cLDnXce28dBfcsnUTrnX ZMLaDtDAEr7RHfaBjayoLW3ew+NMRlSRnQiOT+VHzIlLrgy1VVUok6OSSd4RUN567axv1n Ljnf+NmErY1S0tkghUf6gMPOeCS/iyNIyJCs+JSTpnQUIgDF6HjxA9luO+1+yQ== Date: Sun, 4 Jun 2023 17:42:42 +0000 Message-Id: <20230604174249.30044-48-antero@mailbox.org> In-Reply-To: <20230604174249.30044-1-antero@mailbox.org> References: <20230604174249.30044-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: ac42647ac2cbef20bdd X-MBO-RS-META: zkdidkjmqo3dd6hdhi4j9c9oxw8ydpxn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: UNKNOWN X-Migadu-Spam-Score: -3.53 X-Spam-Score: -3.53 X-Migadu-Queue-Id: EA0E830516 X-Migadu-Scanner: in3.migadu.com X-TUID: f/lOkd5nW35b * gnu/packages/perl-web.scm (perl-geo-ip): New variable. --- gnu/packages/perl-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm index 0bb0070cb5..82d6a2250a 100644 --- a/gnu/packages/perl-web.scm +++ b/gnu/packages/perl-web.scm @@ -241,3 +241,33 @@ (define-public geolite-country-data of their databases. It is intended only as a compatability package for SpamAssassin.") (license license:cc-by-sa4.0)))) + +(define-public perl-geo-ip + (package + (name "perl-geo-ip") + (version "1.51") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MA/MAXMIND/Geo-IP-" + version ".tar.gz")) + (sha256 + (base32 + "1fka8fr7fw6sh3xa9glhs1zjg3s2gfkhi7n7da1l2m2wblqj0c0n")))) + (build-system perl-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "lib/Geo/IP.pm" + (("/usr/local/share/GeoIP/GeoIP.dat") + (string-append + #$(this-package-input "geolite-country-data") + "/share/GeoIP/GeoIP.dat")))))))) + (inputs (list geolite-country-data)) + (home-page "https://metacpan.org/release/Geo-IP") + (synopsis "Look up location and network information by IP Address") + (description + "The Perl module @code{Geo::IP} looks up location and network information +by IP Address.") + (license license:perl-license))) -- 2.39.2