From unknown Fri Sep 05 15:37:00 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40910] [PATCH] Add apt-mirror package Resent-From: Jean-Baptiste Note Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Apr 2020 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40910@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158801714226521 (code B ref -1); Mon, 27 Apr 2020 19:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 19:52:22 +0000 Received: from localhost ([127.0.0.1]:38198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT9nh-0006th-PN for submit@debbugs.gnu.org; Mon, 27 Apr 2020 15:52:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:56241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT9ly-0006qc-GV for submit@debbugs.gnu.org; Mon, 27 Apr 2020 15:50:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47426) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT9lx-0004wD-JJ for guix-patches@gnu.org; Mon, 27 Apr 2020 15:50:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT9lw-00083U-Dt for guix-patches@gnu.org; Mon, 27 Apr 2020 15:50:33 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:50428) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT9lv-00080x-UK for guix-patches@gnu.org; Mon, 27 Apr 2020 15:50:32 -0400 Received: by mail-wm1-x329.google.com with SMTP id x25so250635wmc.0 for ; Mon, 27 Apr 2020 12:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:user-agent:mime-version; bh=I+x2g6H+MdcVvHeIo8dGcXXuULsoH5xYNPvURLsWr70=; b=o2GsRARFcCuK6VEPMgEQKhl6dkLMKeNf4GPTH80TkVV3XXgC5pBpM9KqoCERWvzbL5 9q1LmR1F66JDDNcJ8xge1SJo96VLr6ULAnqStERrVJwDzPvpMl+X5litTsXHY1CcHY9g YQBhW5BiPMAYRkLM/ehZJt9A0aP5Ntn3uFx9THnFwjrcJ35sOfYDLOiRKdAevtLIsYoh IfDUuBoBzQKMj9HLk4x6aT+0IDOhM5k9RZrvzk6k+roLgKmVbx10X4zhv7OhXCwdUYSg 9SaL4+QwBHhX2eZDW3efmDRSb2L/8vmiX3JFOPJY2hxwQvwuRXIpLaY1o2AZaGzakkrE s5eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :user-agent:mime-version; bh=I+x2g6H+MdcVvHeIo8dGcXXuULsoH5xYNPvURLsWr70=; b=RjTiXcZ3GyJvyhq0fcYaJhF4uCR59CImmK3B/qIInDId0oPbVkoWuy6h0NaQGEvvLu eCticGUEkRRQvok7be9dJSRJNKd61Bcep4TffOvjScz0BmHQwoSMIWSWFFjcOBMw+SqO 0SHqFhLJvqNb8iKvPLZ5IgVAkcUWFysz/geQSWVDLlTqP3VHTY+ogd9SWjd9/0dbqdb6 k0Ndq8RV61n1bxL25OulqWsrJUchTkjSn7ogxzqiXwBjpLpeK2lEyLKKOqollFnU4pwi ChYQplMHZG0fnMeFG301/7DzYm/d5biI4m4Qm3kh5kEfzD8pnan59a72MwFNhHj511mw /TDw== X-Gm-Message-State: AGi0PuZ/JSA5iu0oGveqbtT/QNwaUrkme5vF5B74Tpc13/+BbQ/7rGH+ 3cPCgVupIpUZFkhfiR4LzS9AKYY8sCk= X-Google-Smtp-Source: APiQypLTY28maVUe6/Nn4F/DVocKaNuhxwJfEVpmSUNhH6OUxoA8sf3OjWv9+cWrPmB3d5RNTgD/jQ== X-Received: by 2002:a1c:4186:: with SMTP id o128mr320097wma.21.1588017029771; Mon, 27 Apr 2020 12:50:29 -0700 (PDT) Received: from guixrules ([2a01:e35:2e0b:a6b0:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id g25sm253445wmh.24.2020.04.27.12.50.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 12:50:28 -0700 (PDT) From: Jean-Baptiste Note Date: Mon, 27 Apr 2020 19:50:26 +0000 Message-ID: <87ftcok8sd.fsf@m4x.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=jbnote@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::329 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear guix maintainers, Please find attached a patch adding the apt-mirror utility as a package. I've tried to follow the guidelines (thanks for such detailed instructions), please advise any mistake. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.io] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jbnote[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 SPOOFED_FREEMAIL No description available. X-Mailman-Approved-At: Mon, 27 Apr 2020 15:52:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Dear guix maintainers, Please find attached a patch adding the apt-mirror utility as a package. I've tried to follow the guidelines (thanks for such detailed instructions), please advise any mistake. Kind regards, Jean-Baptiste --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-apt-mirror.patch Content-Transfer-Encoding: quoted-printable Content-Description: add apt-mirror From=2082ad467853beae1969720323b4b19d49ed69c2f0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Sun, 26 Apr 2020 05:59:48 -0400 Subject: [PATCH] gnu: Add apt-mirror. * gnu/packages/debian.scm (apt-mirror): New variable. =2D-- gnu/packages/debian.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index ff4cccb03d..a3bbd2b907 100644 =2D-- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -27,6 +27,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) + #:use-module (gnu packages wget) #:use-module (gnu packages perl)) =20 (define-public debian-archive-keyring @@ -190,3 +191,40 @@ scratch, without requiring the availability of @code{d= pkg} or @code{apt}. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into.") (license license:gpl2))) + + +(define-public apt-mirror + (let ((commit "e664486a5d8947c2579e16dd793d762ea3de4202") + (revision "1")) + (package + (name "apt-mirror") + (version (git-version "0.5.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/apt-mirror/apt-mirror/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qj6b7gldwcqyfs2kp6amya3ja7s4vrljs08y4zadryfzxf35nqq"))= )) + (build-system gnu-build-system) + (outputs '("out")) + (arguments + `(#:tests? #f + ;; sysconfdir is not PREFIXed in the makefile but DESTDIR is + ;; honored correctly; we therefore use DESTDIR for our + ;; needs. A more correct fix would involve patching. + #:make-flags (list (string-append "DESTDIR=3D" (assoc-ref %output= s "out")) + "PREFIX=3D/") + #:phases (modify-phases %standard-phases (delete 'configure)))) + (inputs + `(("wget" ,wget) + ("perl" ,perl))) + (home-page "http://apt-mirror.github.io/") + (synopsis "Script for mirroring a Debian repository") + (description + "apt-mirror is a small tool that provides the ability to +selectively mirror Debian and Ubuntu GNU/Linux distributions or any +other apt sources typically provided by open source developers.") + (license license:gpl2)))) =2D-=20 2.26.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPxcq3dp4FVY5UpckkC0pVsuz75YFAl6nN4IACgkQkC0pVsuz 75aS9BAAp7+NzmaT+ZwdPnffLvjdafgJUn9QX6bd5zpp9Tnm4ejGTHCIxxjlh/a6 40xuvAm4qXLCmDmJVl1EmlKjotuaPRrC5wI0xf0OyrKESPxbur6xWkthfJHz3gkP hBTVBnUIQgKV1KkYL2ZYYazIwkG6ccbetc0Lyw3K6oGVYDlK70InKasbeMBTa1aS nmSymeZHpqp3l0HOzUflGzjSTCp7WEAZ/A989UX2keM7wq8hpIMCtXLybgHwg4Js b3OEcWGm8PIyzhbwyIeDfDDFCZGrHrm1VlplLUANIbnswjZ0YrjBfhMXNN/T55IH YcVaOKvs+co/hxuEhH1forwUt7a4fd95PyszO0YEWj3dGZuBLcRGotkkqzg1avlE M4OlFCF1R3u/2iadpOUd6L0YyFH7KwjPs0lwHLtFH0SirFjTzHT1NOD2EdeY6RUx v3CJRaYpQHp75IZyI1ufjdaLZsz1hTOj2SwnUdVib+YKwQXU6hXM6GYVb5CLZxGh mBnbFl3VMJ3JC84Bl+dxTFjzYmzg53kRAJ3IKaJdj1yEIPuDi1EPprXBU3iAdskq JPouxF909T0Il4Hfp6d9Cl1pFxnWJGyqKW3nasWQqJKk1ZFSOtI74zCRfYMjGdj9 d02p0pLFCb8bvYNpJ1s6hieXGOWlwI+tBjsFdcyUTeqJjfodC1g= =yIRP -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Sep 05 15:37:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jean-Baptiste Note Subject: bug#40910: closed (Re: [bug#40910] [PATCH] Add apt-mirror package) Message-ID: References: <87o8r8in29.fsf@gnu.org> <87ftcok8sd.fsf@m4x.org> X-Gnu-PR-Message: they-closed 40910 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 40910@debbugs.gnu.org Date: Thu, 30 Apr 2020 23:15:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1588288501-31239-1" This is a multi-part message in MIME format... ------------=_1588288501-31239-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40910: [PATCH] Add apt-mirror package which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40910@debbugs.gnu.org. --=20 40910: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40910 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1588288501-31239-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40910-done) by debbugs.gnu.org; 30 Apr 2020 23:14:17 +0000 Received: from localhost ([127.0.0.1]:47903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUINl-00086b-2c for submit@debbugs.gnu.org; Thu, 30 Apr 2020 19:14:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUINj-00086L-HI for 40910-done@debbugs.gnu.org; Thu, 30 Apr 2020 19:14:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60753) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUINd-00070G-8f; Thu, 30 Apr 2020 19:14:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35934 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUINc-0003Gp-Qs; Thu, 30 Apr 2020 19:14:09 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jean-Baptiste Note Subject: Re: [bug#40910] [PATCH] Add apt-mirror package References: <87ftcok8sd.fsf@m4x.org> Date: Fri, 01 May 2020 01:14:06 +0200 In-Reply-To: <87ftcok8sd.fsf@m4x.org> (Jean-Baptiste Note's message of "Mon, 27 Apr 2020 19:50:26 +0000") Message-ID: <87o8r8in29.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40910-done Cc: 40910-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Jean-Baptiste Note skribis: > From 82ad467853beae1969720323b4b19d49ed69c2f0 Mon Sep 17 00:00:00 2001 > From: Jean-Baptiste Note > Date: Sun, 26 Apr 2020 05:59:48 -0400 > Subject: [PATCH] gnu: Add apt-mirror. > > * gnu/packages/debian.scm (apt-mirror): New variable. Applied. Thanks, and welcome! :-) Ludo=E2=80=99. ------------=_1588288501-31239-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 19:52:22 +0000 Received: from localhost ([127.0.0.1]:38198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT9nh-0006th-PN for submit@debbugs.gnu.org; Mon, 27 Apr 2020 15:52:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:56241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT9ly-0006qc-GV for submit@debbugs.gnu.org; Mon, 27 Apr 2020 15:50:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47426) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT9lx-0004wD-JJ for guix-patches@gnu.org; Mon, 27 Apr 2020 15:50:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT9lw-00083U-Dt for guix-patches@gnu.org; Mon, 27 Apr 2020 15:50:33 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:50428) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT9lv-00080x-UK for guix-patches@gnu.org; Mon, 27 Apr 2020 15:50:32 -0400 Received: by mail-wm1-x329.google.com with SMTP id x25so250635wmc.0 for ; Mon, 27 Apr 2020 12:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:user-agent:mime-version; bh=I+x2g6H+MdcVvHeIo8dGcXXuULsoH5xYNPvURLsWr70=; b=o2GsRARFcCuK6VEPMgEQKhl6dkLMKeNf4GPTH80TkVV3XXgC5pBpM9KqoCERWvzbL5 9q1LmR1F66JDDNcJ8xge1SJo96VLr6ULAnqStERrVJwDzPvpMl+X5litTsXHY1CcHY9g YQBhW5BiPMAYRkLM/ehZJt9A0aP5Ntn3uFx9THnFwjrcJ35sOfYDLOiRKdAevtLIsYoh IfDUuBoBzQKMj9HLk4x6aT+0IDOhM5k9RZrvzk6k+roLgKmVbx10X4zhv7OhXCwdUYSg 9SaL4+QwBHhX2eZDW3efmDRSb2L/8vmiX3JFOPJY2hxwQvwuRXIpLaY1o2AZaGzakkrE s5eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :user-agent:mime-version; bh=I+x2g6H+MdcVvHeIo8dGcXXuULsoH5xYNPvURLsWr70=; b=RjTiXcZ3GyJvyhq0fcYaJhF4uCR59CImmK3B/qIInDId0oPbVkoWuy6h0NaQGEvvLu eCticGUEkRRQvok7be9dJSRJNKd61Bcep4TffOvjScz0BmHQwoSMIWSWFFjcOBMw+SqO 0SHqFhLJvqNb8iKvPLZ5IgVAkcUWFysz/geQSWVDLlTqP3VHTY+ogd9SWjd9/0dbqdb6 k0Ndq8RV61n1bxL25OulqWsrJUchTkjSn7ogxzqiXwBjpLpeK2lEyLKKOqollFnU4pwi ChYQplMHZG0fnMeFG301/7DzYm/d5biI4m4Qm3kh5kEfzD8pnan59a72MwFNhHj511mw /TDw== X-Gm-Message-State: AGi0PuZ/JSA5iu0oGveqbtT/QNwaUrkme5vF5B74Tpc13/+BbQ/7rGH+ 3cPCgVupIpUZFkhfiR4LzS9AKYY8sCk= X-Google-Smtp-Source: APiQypLTY28maVUe6/Nn4F/DVocKaNuhxwJfEVpmSUNhH6OUxoA8sf3OjWv9+cWrPmB3d5RNTgD/jQ== X-Received: by 2002:a1c:4186:: with SMTP id o128mr320097wma.21.1588017029771; Mon, 27 Apr 2020 12:50:29 -0700 (PDT) Received: from guixrules ([2a01:e35:2e0b:a6b0:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id g25sm253445wmh.24.2020.04.27.12.50.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 12:50:28 -0700 (PDT) From: Jean-Baptiste Note To: guix-patches@gnu.org Subject: [PATCH] Add apt-mirror package Date: Mon, 27 Apr 2020 19:50:26 +0000 Message-ID: <87ftcok8sd.fsf@m4x.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=jbnote@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::329 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear guix maintainers, Please find attached a patch adding the apt-mirror utility as a package. I've tried to follow the guidelines (thanks for such detailed instructions), please advise any mistake. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.io] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jbnote[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 Apr 2020 15:52:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Dear guix maintainers, Please find attached a patch adding the apt-mirror utility as a package. I've tried to follow the guidelines (thanks for such detailed instructions), please advise any mistake. Kind regards, Jean-Baptiste --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-apt-mirror.patch Content-Transfer-Encoding: quoted-printable Content-Description: add apt-mirror From=2082ad467853beae1969720323b4b19d49ed69c2f0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Sun, 26 Apr 2020 05:59:48 -0400 Subject: [PATCH] gnu: Add apt-mirror. * gnu/packages/debian.scm (apt-mirror): New variable. =2D-- gnu/packages/debian.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index ff4cccb03d..a3bbd2b907 100644 =2D-- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -27,6 +27,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) + #:use-module (gnu packages wget) #:use-module (gnu packages perl)) =20 (define-public debian-archive-keyring @@ -190,3 +191,40 @@ scratch, without requiring the availability of @code{d= pkg} or @code{apt}. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into.") (license license:gpl2))) + + +(define-public apt-mirror + (let ((commit "e664486a5d8947c2579e16dd793d762ea3de4202") + (revision "1")) + (package + (name "apt-mirror") + (version (git-version "0.5.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/apt-mirror/apt-mirror/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qj6b7gldwcqyfs2kp6amya3ja7s4vrljs08y4zadryfzxf35nqq"))= )) + (build-system gnu-build-system) + (outputs '("out")) + (arguments + `(#:tests? #f + ;; sysconfdir is not PREFIXed in the makefile but DESTDIR is + ;; honored correctly; we therefore use DESTDIR for our + ;; needs. A more correct fix would involve patching. + #:make-flags (list (string-append "DESTDIR=3D" (assoc-ref %output= s "out")) + "PREFIX=3D/") + #:phases (modify-phases %standard-phases (delete 'configure)))) + (inputs + `(("wget" ,wget) + ("perl" ,perl))) + (home-page "http://apt-mirror.github.io/") + (synopsis "Script for mirroring a Debian repository") + (description + "apt-mirror is a small tool that provides the ability to +selectively mirror Debian and Ubuntu GNU/Linux distributions or any +other apt sources typically provided by open source developers.") + (license license:gpl2)))) =2D-=20 2.26.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPxcq3dp4FVY5UpckkC0pVsuz75YFAl6nN4IACgkQkC0pVsuz 75aS9BAAp7+NzmaT+ZwdPnffLvjdafgJUn9QX6bd5zpp9Tnm4ejGTHCIxxjlh/a6 40xuvAm4qXLCmDmJVl1EmlKjotuaPRrC5wI0xf0OyrKESPxbur6xWkthfJHz3gkP hBTVBnUIQgKV1KkYL2ZYYazIwkG6ccbetc0Lyw3K6oGVYDlK70InKasbeMBTa1aS nmSymeZHpqp3l0HOzUflGzjSTCp7WEAZ/A989UX2keM7wq8hpIMCtXLybgHwg4Js b3OEcWGm8PIyzhbwyIeDfDDFCZGrHrm1VlplLUANIbnswjZ0YrjBfhMXNN/T55IH YcVaOKvs+co/hxuEhH1forwUt7a4fd95PyszO0YEWj3dGZuBLcRGotkkqzg1avlE M4OlFCF1R3u/2iadpOUd6L0YyFH7KwjPs0lwHLtFH0SirFjTzHT1NOD2EdeY6RUx v3CJRaYpQHp75IZyI1ufjdaLZsz1hTOj2SwnUdVib+YKwQXU6hXM6GYVb5CLZxGh mBnbFl3VMJ3JC84Bl+dxTFjzYmzg53kRAJ3IKaJdj1yEIPuDi1EPprXBU3iAdskq JPouxF909T0Il4Hfp6d9Cl1pFxnWJGyqKW3nasWQqJKk1ZFSOtI74zCRfYMjGdj9 d02p0pLFCb8bvYNpJ1s6hieXGOWlwI+tBjsFdcyUTeqJjfodC1g= =yIRP -----END PGP SIGNATURE----- --==-=-=-- ------------=_1588288501-31239-1--