From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 10:21:29 2020 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 13 17:16:53 2020 Received: (at 43338) by debbugs.gnu.org; 13 Sep 2020 21:16:53 +0000 Received: from localhost ([127.0.0.1]:51916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHZMi-0005sR-Q0 for submit@debbugs.gnu.org; Sun, 13 Sep 2020 17:16:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHZMh-0005s7-PQ for 43338@debbugs.gnu.org; Sun, 13 Sep 2020 17:16:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38565) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHZMa-0003II-Rh; Sun, 13 Sep 2020 17:16:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47988 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHZMY-00044h-TJ; Sun, 13 Sep 2020 17:16:44 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?S=C3=A9bastien?= Lerique Subject: Re: [bug#43338] [PATCH] gnu: Add ripmime. References: <87wo10fmgx.fsf@eauchat.org> Date: Sun, 13 Sep 2020 23:16:33 +0200 In-Reply-To: <87wo10fmgx.fsf@eauchat.org> (=?utf-8?Q?=22S=C3=A9bastien?= Lerique"'s message of "Fri, 11 Sep 2020 15:54:06 +0200") Message-ID: <87lfhd9y32.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: 43338 Cc: 43338@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 (---) Hello S=C3=A9bastien! S=C3=A9bastien Lerique skribis: > * gnu/packages/mail.scm (ripmime): New variable. > --- > gnu/packages/mail.scm | 44 > +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+) Looks like your mail client mangled the patch. Could you send it as an attachment or using =E2=80=98git send-email=E2=80=99? (See for a tutorial.) > 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)) In general we provide released versions, unless there=E2=80=99s a good reas= on to pick a development snapshot. If it falls in this category, could you add a short comment above the commit ID explaining why? > + (add-after 'unpack 'strip-buildcodes > + (lambda _ > + (substitute* "generate-buildcodes.sh" > + (("`date \\+%s`") "0") > + (("`date`") "0") > + (("`uname -a`") "Guix")))) Please return #t at the end of the phase (it=E2=80=99s a convention). > + ;; 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"))))) Likewise. > + (synopsis "Extract attachments from MIME-encoded email") > + (description > + "ripMIME is a small program which is used to extract the > attached files s/which is used//g > +out of a MIME-encoded email package.") Could you send an updated patch? Thanks for this first contribution! :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 14 11:47:34 2020 Received: (at 43338) by debbugs.gnu.org; 14 Sep 2020 15:47:34 +0000 Received: from localhost ([127.0.0.1]:55945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHqha-0005iv-AS for submit@debbugs.gnu.org; Mon, 14 Sep 2020 11:47:34 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:45440 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHkKk-0006LY-TV for 43338@debbugs.gnu.org; Mon, 14 Sep 2020 04:59:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1600073969; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zi+ExIMQCUJfMgXdzneTfc9Q+GkCRApMz2iqLpOQDZk=; b=cHKlj1M3wG6ZVAipFb0hkWFkJHJr4MJ9GmBYrQClzqvufYG5htfldrSd1j3EcVdh2HgenY dxUDv7tM36+r9lAVw6o/Y2VTv6nyF2VdH2/enFzRaiFQb9jNPWMctNmBfj+359sT19cyOp 3+7n9fKGMuK5IUorx0DE6NgxE9EkT5E= References: <87wo10fmgx.fsf@eauchat.org> <87lfhd9y32.fsf@gnu.org> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#43338] [PATCH] gnu: Add ripmime. In-reply-to: <87lfhd9y32.fsf@gnu.org> Date: Mon, 14 Sep 2020 10:59:15 +0200 Message-ID: <87wo0wzqcc.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43338 X-Mailman-Approved-At: Mon, 14 Sep 2020 11:47:31 -0400 Cc: 43338@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: -1.0 (-) Hello, On 13 Sep 2020 at 23:16, Ludovic Court=C3=A8s wrote: > Could you send an updated patch? Thanks for the quick (and newcomer-friendly) feedback! The v2 I=20 just submitted hopefully fixes all the issues. > Thanks for this first contribution! :-) Pretty excited as it's my first packaging experience anywhere. S=C3=A9bastien 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 Aug 14 17:29:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Oct 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator