From unknown Thu Jun 19 14:03:16 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43399] [PATCH v2] gnu: Add ripmime. Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Sep 2020 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43399@debbugs.gnu.org Cc: =?UTF-8?Q?S=C3=A9bastien?= Lerique X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160009845422008 (code B ref -1); Mon, 14 Sep 2020 15:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 15:47:34 +0000 Received: from localhost ([127.0.0.1]:55943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHqhY-0005iq-IC for submit@debbugs.gnu.org; Mon, 14 Sep 2020 11:47:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:48866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHk6k-0003t5-80 for submit@debbugs.gnu.org; Mon, 14 Sep 2020 04:45:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHk6k-0005pG-0q for guix-patches@gnu.org; Mon, 14 Sep 2020 04:45:06 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:54690 helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHk6h-0004bS-Vg for guix-patches@gnu.org; Mon, 14 Sep 2020 04:45:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1600073099; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=IBmSppAglHu8GgElyoose7e4Powu8fQLj84Z3jOJugo=; b=jSJdDSvcEHMBAfw2DZm/x8+Wx8JbTd7UERiEtPFF8vqbEnA6QQoxyVSNGntug61IA1m2uK 7j9FhUtmxv9UGzjFVGA53ARTpHC4n10ot8q6XqKD0so897+TganXhheUudcmp9rTpzwcAs 3dFD4eUHOYta6YnBsjljNRV9b+QT6jw= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Mon, 14 Sep 2020 10:44:34 +0200 Message-Id: <20200914084434.28911-1-sl@eauchat.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 04:45:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Mon, 14 Sep 2020 11:47:31 -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: -2.4 (--) * gnu/packages/mail.scm (ripmime): New variable. --- This fixes the issues raised from the first patch (bug#43338). gnu/packages/mail.scm | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 4a9c6fc90f..bb9dc91607 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -627,6 +627,54 @@ Extension (MIME).") (base32 "0slzlzcr3h8jikpz5a5amqd0csqh2m40gdk910ws2hnaf5m6hjbi")))))) +(define-public ripmime + ;; Upstream does not tag or otherwise provide any releases (only a version + ;; number in the source) + (let ((commit "a556ffe08d620602475c976732e8e1a82f3169e9") + (revision "1")) + (package + (name "ripmime") + (version (git-version "1.4.0.10" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inflex/ripMIME") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z8ar8flvkd9q3ax4x28sj5pyq8ykk5pq249y967lj2406lxparh")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Source has no configure script + (delete 'configure) + ;; Buildcodes make the build non-reproducible; remove them + (add-after 'unpack 'strip-buildcodes + (lambda _ + (substitute* "generate-buildcodes.sh" + (("`date \\+%s`") "0") + (("`date`") "0") + (("`uname -a`") "Guix")) + #t)) + ;; https://github.com/inflex/ripMIME/pull/16 makes 'mkdir-p-bin-man unnecessary + (add-before 'install 'mkdir-p-bin-man + (lambda _ + (mkdir-p (string-append (assoc-ref %outputs "out") "/bin")) + (mkdir-p (string-append (assoc-ref %outputs "out") "/man")) + #t))) + ;; Makefile has no tests + #:tests? #f + #:make-flags (list (string-append "LOCATION=" (assoc-ref %outputs "out")) + "CC=gcc"))) + (synopsis "Extract attachments from MIME-encoded email") + (description + "ripMIME is a small program to extract the attached files out of a +MIME-encoded email package.") + (home-page "https://github.com/inflex/ripMIME") + (license license:bsd-3)))) + (define-public bogofilter (package (name "bogofilter") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 14 15:40:55 2020 Received: (at control) by debbugs.gnu.org; 14 Sep 2020 19:40:55 +0000 Received: from localhost ([127.0.0.1]:56338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHuLP-0005av-Bp for submit@debbugs.gnu.org; Mon, 14 Sep 2020 15:40:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHuLO-0005ah-IK for control@debbugs.gnu.org; Mon, 14 Sep 2020 15:40:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59012) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHuLJ-0007R2-7N for control@debbugs.gnu.org; Mon, 14 Sep 2020 15:40:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33444 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHuLI-0003vj-Mj for control@debbugs.gnu.org; Mon, 14 Sep 2020 15:40:49 -0400 Date: Mon, 14 Sep 2020 21:40:39 +0200 Message-Id: <87363kb0zs.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #43338 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) merge 43338 43399 quit From unknown Thu Jun 19 14:03:16 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: =?UTF-8?Q?S=C3=A9bastien?= Lerique Subject: bug#43399: closed (Re: [bug#43399] [PATCH v2] gnu: Add ripmime.) Message-ID: References: <87wo0w9ip4.fsf@gnu.org> <20200914084434.28911-1-sl@eauchat.org> X-Gnu-PR-Message: they-closed 43399 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43399@debbugs.gnu.org Date: Mon, 14 Sep 2020 21:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1600117322-5601-1" This is a multi-part message in MIME format... ------------=_1600117322-5601-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43399: [PATCH v2] gnu: Add ripmime. 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 43399@debbugs.gnu.org. --=20 43399: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43399 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1600117322-5601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43399-done) by debbugs.gnu.org; 14 Sep 2020 21:01:32 +0000 Received: from localhost ([127.0.0.1]:56499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHvbQ-0001RY-Gc for submit@debbugs.gnu.org; Mon, 14 Sep 2020 17:01:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHvbN-0001RI-NA for 43399-done@debbugs.gnu.org; Mon, 14 Sep 2020 17:01:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60589) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHvbG-0000gW-Br; Mon, 14 Sep 2020 17:01:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33958 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHvbF-0000Ik-71; Mon, 14 Sep 2020 17:01:21 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?S=C3=A9bastien?= Lerique Subject: Re: [bug#43399] [PATCH v2] gnu: Add ripmime. References: <20200914084434.28911-1-sl@eauchat.org> Date: Mon, 14 Sep 2020 23:01:11 +0200 In-Reply-To: <20200914084434.28911-1-sl@eauchat.org> (=?utf-8?Q?=22S=C3=A9?= =?utf-8?Q?bastien?= Lerique"'s message of "Mon, 14 Sep 2020 10:44:34 +0200") Message-ID: <87wo0w9ip4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 43399-done Cc: 43399-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, S=C3=A9bastien Lerique skribis: > * gnu/packages/mail.scm (ripmime): New variable. Perfect, applied! > This fixes the issues raised from the first patch (bug#43338). Note: since each message to guix-patches opens a new issue at , make sure to send followups to NNN@debbugs.gnu.org, where NNN is the issue number of your v1. (In this case I merged the two issues, no big deal; just so you know!) Thanks, Ludo=E2=80=99. ------------=_1600117322-5601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 15:47:34 +0000 Received: from localhost ([127.0.0.1]:55943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHqhY-0005iq-IC for submit@debbugs.gnu.org; Mon, 14 Sep 2020 11:47:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:48866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHk6k-0003t5-80 for submit@debbugs.gnu.org; Mon, 14 Sep 2020 04:45:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHk6k-0005pG-0q for guix-patches@gnu.org; Mon, 14 Sep 2020 04:45:06 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:54690 helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHk6h-0004bS-Vg for guix-patches@gnu.org; Mon, 14 Sep 2020 04:45:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1600073099; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=IBmSppAglHu8GgElyoose7e4Powu8fQLj84Z3jOJugo=; b=jSJdDSvcEHMBAfw2DZm/x8+Wx8JbTd7UERiEtPFF8vqbEnA6QQoxyVSNGntug61IA1m2uK 7j9FhUtmxv9UGzjFVGA53ARTpHC4n10ot8q6XqKD0so897+TganXhheUudcmp9rTpzwcAs 3dFD4eUHOYta6YnBsjljNRV9b+QT6jw= From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= To: guix-patches@gnu.org Subject: [PATCH v2] gnu: Add ripmime. Date: Mon, 14 Sep 2020 10:44:34 +0200 Message-Id: <20200914084434.28911-1-sl@eauchat.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 04:45:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Sep 2020 11:47:31 -0400 Cc: =?UTF-8?q?S=C3=A9bastien=20Lerique?= 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: -2.4 (--) * gnu/packages/mail.scm (ripmime): New variable. --- This fixes the issues raised from the first patch (bug#43338). gnu/packages/mail.scm | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 4a9c6fc90f..bb9dc91607 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -627,6 +627,54 @@ Extension (MIME).") (base32 "0slzlzcr3h8jikpz5a5amqd0csqh2m40gdk910ws2hnaf5m6hjbi")))))) +(define-public ripmime + ;; Upstream does not tag or otherwise provide any releases (only a version + ;; number in the source) + (let ((commit "a556ffe08d620602475c976732e8e1a82f3169e9") + (revision "1")) + (package + (name "ripmime") + (version (git-version "1.4.0.10" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inflex/ripMIME") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z8ar8flvkd9q3ax4x28sj5pyq8ykk5pq249y967lj2406lxparh")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Source has no configure script + (delete 'configure) + ;; Buildcodes make the build non-reproducible; remove them + (add-after 'unpack 'strip-buildcodes + (lambda _ + (substitute* "generate-buildcodes.sh" + (("`date \\+%s`") "0") + (("`date`") "0") + (("`uname -a`") "Guix")) + #t)) + ;; https://github.com/inflex/ripMIME/pull/16 makes 'mkdir-p-bin-man unnecessary + (add-before 'install 'mkdir-p-bin-man + (lambda _ + (mkdir-p (string-append (assoc-ref %outputs "out") "/bin")) + (mkdir-p (string-append (assoc-ref %outputs "out") "/man")) + #t))) + ;; Makefile has no tests + #:tests? #f + #:make-flags (list (string-append "LOCATION=" (assoc-ref %outputs "out")) + "CC=gcc"))) + (synopsis "Extract attachments from MIME-encoded email") + (description + "ripMIME is a small program to extract the attached files out of a +MIME-encoded email package.") + (home-page "https://github.com/inflex/ripMIME") + (license license:bsd-3)))) + (define-public bogofilter (package (name "bogofilter") -- 2.28.0 ------------=_1600117322-5601-1-- From unknown Thu Jun 19 14:03:16 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: =?UTF-8?Q?S=C3=A9bastien?= Lerique Subject: bug#43338: closed (Re: [bug#43399] [PATCH v2] gnu: Add ripmime.) Message-ID: References: <87wo0w9ip4.fsf@gnu.org> <87wo10fmgx.fsf@eauchat.org> X-Gnu-PR-Message: they-closed 43338 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43338@debbugs.gnu.org Date: Mon, 14 Sep 2020 21:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1600117322-5601-3" This is a multi-part message in MIME format... ------------=_1600117322-5601-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43399: [PATCH] gnu: Add ripmime. 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 43338@debbugs.gnu.org. --=20 43399: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43399 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1600117322-5601-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43399-done) by debbugs.gnu.org; 14 Sep 2020 21:01:32 +0000 Received: from localhost ([127.0.0.1]:56499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHvbQ-0001RY-Gc for submit@debbugs.gnu.org; Mon, 14 Sep 2020 17:01:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHvbN-0001RI-NA for 43399-done@debbugs.gnu.org; Mon, 14 Sep 2020 17:01:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60589) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHvbG-0000gW-Br; Mon, 14 Sep 2020 17:01:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33958 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHvbF-0000Ik-71; Mon, 14 Sep 2020 17:01:21 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?S=C3=A9bastien?= Lerique Subject: Re: [bug#43399] [PATCH v2] gnu: Add ripmime. References: <20200914084434.28911-1-sl@eauchat.org> Date: Mon, 14 Sep 2020 23:01:11 +0200 In-Reply-To: <20200914084434.28911-1-sl@eauchat.org> (=?utf-8?Q?=22S=C3=A9?= =?utf-8?Q?bastien?= Lerique"'s message of "Mon, 14 Sep 2020 10:44:34 +0200") Message-ID: <87wo0w9ip4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 43399-done Cc: 43399-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, S=C3=A9bastien Lerique skribis: > * gnu/packages/mail.scm (ripmime): New variable. Perfect, applied! > This fixes the issues raised from the first patch (bug#43338). Note: since each message to guix-patches opens a new issue at , make sure to send followups to NNN@debbugs.gnu.org, where NNN is the issue number of your v1. (In this case I merged the two issues, no big deal; just so you know!) Thanks, Ludo=E2=80=99. ------------=_1600117322-5601-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Sep 2020 14:21:29 +0000 Received: from localhost ([127.0.0.1]:44961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjvc-0003Wm-Ps for submit@debbugs.gnu.org; Fri, 11 Sep 2020 10:21:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:39126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjVR-0002Rm-PK for submit@debbugs.gnu.org; Fri, 11 Sep 2020 09:54:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGjVR-0005u2-Dr for guix-patches@gnu.org; Fri, 11 Sep 2020 09:54:25 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:47354 helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGjVN-0005xB-Pt for guix-patches@gnu.org; Fri, 11 Sep 2020 09:54:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1599832457; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=bOy0Zn7U6YZ2uQla02Am9yoMNUmvqKRNnM6i9Oi3Gdc=; b=RV1cQEAOnY1SfquAEmjCbJDtlKK+V7zDyOcu1dWeb4Ah+SIzZcv+ol1X7zR87+fuNYApNy P+pnyuviHl7OUoIQ0ckMpSQ0OzfVMYVtUDOueWyOHFcYjbZSt9g5fwqRsNs+CY3eCBEsWi 3gFWkHMKWv0ec6mh/EjGfSmEiaIbcOk= From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: guix-patches@gnu.org Subject: [PATCH] gnu: Add ripmime. Date: Fri, 11 Sep 2020 15:54:06 +0200 Message-ID: <87wo10fmgx.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/11 09:54:17 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 11 Sep 2020 10:21:18 -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: -2.4 (--) * gnu/packages/mail.scm (ripmime): New variable. --- gnu/packages/mail.scm | 44=20 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 7af7e8a8d7..48e9a11522 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -627,6 +627,50 @@ Extension (MIME).") (base32 "0slzlzcr3h8jikpz5a5amqd0csqh2m40gdk910ws2hnaf5m6hjbi"))))= )) +(define-public ripmime + (let ((commit "a556ffe08d620602475c976732e8e1a82f3169e9") + (revision "1")) + (package + (name "ripmime") + (version (git-version "1.4.0.10" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inflex/ripMIME") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 +=20 "1z8ar8flvkd9q3ax4x28sj5pyq8ykk5pq249y967lj2406lxparh")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Source has no configure script + (delete 'configure) + ;; Buildcodes make the build non-reproducible; remove=20 them + (add-after 'unpack 'strip-buildcodes + (lambda _ + (substitute* "generate-buildcodes.sh" + (("`date \\+%s`") "0") + (("`date`") "0") + (("`uname -a`") "Guix")))) + ;; https://github.com/inflex/ripMIME/pull/16 makes=20 `mkdir-p-bin-man unnecessary + (add-before 'install 'mkdir-p-bin-man + (lambda _ + (mkdir-p (string-append (assoc-ref %outputs "out")=20 "/bin")) + (mkdir-p (string-append (assoc-ref %outputs "out")=20 "/man"))))) + ;; Makefile has no tests + #:tests? #f + #:make-flags (list (string-append "LOCATION=3D" (assoc-ref=20 %outputs "out")) + "CC=3Dgcc"))) + (synopsis "Extract attachments from MIME-encoded email") + (description + "ripMIME is a small program which is used to extract the=20 attached files +out of a MIME-encoded email package.") + (home-page "https://github.com/inflex/ripMIME") + (license license:bsd-3)))) + (define-public bogofilter (package (name "bogofilter") -- 2.28.0 --- Hello Guix! This is my first contribution -- please let me know if things=20 should be adapted! Cheers, S=C3=A9bastien ------------=_1600117322-5601-3--