From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EJ1jCPmJW197DAAA0tVLHw (envelope-from ) for ; Fri, 11 Sep 2020 14:30:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uD6nAvmJW1/ZDQAAbx9fmQ (envelope-from ) for ; Fri, 11 Sep 2020 14:30:17 +0000 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 96F21940224 for ; Fri, 11 Sep 2020 14:30:16 +0000 (UTC) Received: from localhost ([::1]:34530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGk46-0005SS-EX for larch@yhetil.org; Fri, 11 Sep 2020 10:30:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGjwC-0007kb-MO for guix-patches@gnu.org; Fri, 11 Sep 2020 10:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGjwC-0002qS-DN for guix-patches@gnu.org; Fri, 11 Sep 2020 10:22:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGjwC-0003Yc-99 for guix-patches@gnu.org; Fri, 11 Sep 2020 10:22:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43338] [PATCH] gnu: Add ripmime. Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Sep 2020 14:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43338@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159983408913574 (code B ref -1); Fri, 11 Sep 2020 14:22:03 +0000 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 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-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 X-Spam-Score: -2.4 (--) X-Mailman-Approved-At: Fri, 11 Sep 2020 10:30:01 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=eauchat.org header.s=mail header.b=RV1cQEAO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: PjxoOKRRo+M7 * 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