From unknown Sat Aug 09 09:36:00 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#44501] [PATCH] gnu: Add mblaze. Resent-From: "B. Wilson" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Nov 2020 10:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44501 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44501@debbugs.gnu.org Cc: "B. Wilson" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160474352727199 (code B ref -1); Sat, 07 Nov 2020 10:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2020 10:05:27 +0000 Received: from localhost ([127.0.0.1]:57985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbL61-00074Y-Qt for submit@debbugs.gnu.org; Sat, 07 Nov 2020 05:05:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:58978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbL60-00074Q-4V for submit@debbugs.gnu.org; Sat, 07 Nov 2020 05:05:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbL5z-00008X-Vk for guix-patches@gnu.org; Sat, 07 Nov 2020 05:05:20 -0500 Received: from m42-5.mailgun.net ([69.72.42.5]:28206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbL5w-000408-Br for guix-patches@gnu.org; Sat, 07 Nov 2020 05:05:19 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1604743518; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=zfstD9OK4FsOg+uaI2+MtTtWINPCeceM9eNcfCBvv+I=; b=2VnBBwa6UkBCJCKLbN8HRYg7cHkvcUwfqtnwkOyL5htwNvUQJu/823bsA9Rzl2LLKtZQD+6x nFBJ92jLH7BqI1L1e3emsH4LofWxO4A/vWhZ18QmT3u3MLONsP1L6oOEGa/12VhPH/6A4ip/ tQESZw6uol+lbtJUtAdZpq1mJpdzz55x4hME4ZWUAHmDZdv/o3ExfkC+BY7dpWJMA3Cnv73Y GA2Ilq0BfjSIuS1NwP405LXS6Xpl5tI0yNbzNsF92yjHmHC7HAaaabf+A39nh0nZXK1K/F5h rLPCtTRnRWDrwOIn5x4QKaW/96/AlSeZGTrNJGZKgrno4WMWO1znYg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5MmEzMyIsICJndWl4LXBhdGNoZXNAZ251Lm9yZyIsICIwODU0N2EiXQ== Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5fa6715060d9475652d90ddf (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sat, 07 Nov 2020 10:05:04 GMT Received: from localhost (KD106154060148.au-net.ne.jp [106.154.60.148]) by wilsonb.com (Postfix) with ESMTPSA id E92F5A08D7; Sat, 7 Nov 2020 10:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1604743502; bh=zfstD9OK4FsOg+uaI2+MtTtWINPCeceM9eNcfCBvv+I=; h=From:To:Cc:Subject:Date:From; b=aEb0R2+M1CR/04LNPMMUFwzF7FKXR/Jlxmb+V8a6/CILov6is/z0L+LognShsOqWh hzT0wXutteBJOum97cf/gwMAVNPHMOlNCG+X137aSUGy9u2yc45O9PO677kpDG7ofw bhBzzcPlfkK8gndbmtNv7mWYSSGE34Ab2e/NY3midVDbbHGx5rCp46wQ4C9H8O31pe to3X3fr16I60Z7uXhzlileLVLRSs96hekLIVukygSYi9cC9WxLsE/AXmIL00VjvaxT fmzms8wdwH0y8FYsxpTjAWKsVPaGfzli50h/wI9L4vMM0u2QqqszxUNvrUwwVH0Knf mci2L2aAl5iYXM5/w2Ye0dJMgcajRDEULD+UXUr7RIidAblH1zbc1DNm81uYmVlG7s 821JIgSks+T3F996GkUg3jDOGVd0CickKIGlfjUiML4HWxn2+VdWtbfQ3Ya8RPnmmp EcvbxgNqPkDfJnXUooyI0M5CzrbRMmTpqLiVHN6LY1jk9LQII2BBbgiQbLdEbm35J/ CIG6y/3D5erUmOXMQJL23aD1nqNaHAvebj2JFGNCo2h4TShCsVFa1jZtgETVhrgMfv 2BDnt0E6tLHrNfkIw3NnENOcX7zefBdGm6634W2RkXkyHDTGbBWlg4VdvPznKQvmIQ lZZhO04SJkyr/nO6AViOX/7U= From: "B. Wilson" Date: Sat, 7 Nov 2020 19:05:42 +0900 Message-Id: <20201107100542.1479-1-elaexuotee@wilsonb.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+686de0.08547a-guix-patches=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/07 05:05:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 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, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -0.0 (/) * gnu/packages/mail.scm (mblaze): New variable. --- gnu/packages/mail.scm | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 44a156fd99..3d3e8ab540 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2020 Alexey Abramov ;;; Copyright © 2020 Tim Gesthuizen ;;; Copyright © 2020 Alexandru-Sergiu Marton +;;; Copyright © 2020 B. Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -3960,3 +3961,49 @@ black lists. Each message is analysed by Rspamd and given a spam score.") (home-page "https://www.rspamd.com/") (license license:asl2.0))) + +(define-public mblaze + (package + (name "mblaze") + (version "0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leahneukirchen/mblaze") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0p97zfl35ilrnrx9ynj82igsb698m9klikfaicw5jhjpf6qp2n3y")))) + (build-system gnu-build-system) + (native-inputs `(("perl" ,perl))) + (arguments + `(#:tests? #f ; XXX: Upstream tests appear to be broken + #:make-flags (list "CC=gcc" "PREFIX=" + (string-append "DESTDIR=" %output)) + #:phases (modify-phases %standard-phases (delete 'configure)))) + (home-page "https://github.com/leahneukirchen/mblaze") + (synopsis "Unix utilities to deal with Maildir") + (description + "The mblaze message system is a set of Unix utilities for processing and +interacting with mail messages which are stored in maildir folders. + +Its design is roughly inspired by MH, the RAND Message Handling System, but it +is a complete implementation from scratch. + +mblaze is a classic command line MUA and has no features for receiving or +transferring messages; you can operate on messages in a local maildir spool, or +fetch your messages using fdm(1), getmail(1), offlineimap(1), or similar +utilities, and send it using dma(8), msmtp(1), sendmail(8), as provided by +OpenSMTPD, Postfix, or similar. + +mblaze operates directly on maildir folders and doesn't use its own caches or +databases. There is no setup needed for many uses. All utilities have been +written with performance in mind. Enumeration of all messages in a maildir +is avoided unless necessary, and then optimized to limit syscalls. Parsing +message metadata is optimized to limit I/O requests. Initial operations on a +large maildir may feel slow, but as soon as they are in the file system cache, +everything is blazingly fast. The utilities are written to be memory efficient +(i.e. not wasteful), but whole messages are assumed to fit into RAM easily +(one at a time).") + (license license:public-domain))) -- 2.29.2 From unknown Sat Aug 09 09:36: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: "B. Wilson" Subject: bug#44501: closed (Re: [bug#44501] [PATCH] gnu: Add mblaze.) Message-ID: References: <87ft57kov3.fsf@cbaines.net> <20201107100542.1479-1-elaexuotee@wilsonb.com> X-Gnu-PR-Message: they-closed 44501 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 44501@debbugs.gnu.org Date: Wed, 18 Nov 2020 09:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1605690962-26546-1" This is a multi-part message in MIME format... ------------=_1605690962-26546-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44501: [PATCH] gnu: Add mblaze. 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 44501@debbugs.gnu.org. --=20 44501: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44501 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1605690962-26546-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44501-done) by debbugs.gnu.org; 18 Nov 2020 09:15:23 +0000 Received: from localhost ([127.0.0.1]:34105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfJYc-0006DC-Et for submit@debbugs.gnu.org; Wed, 18 Nov 2020 04:15:23 -0500 Received: from mira.cbaines.net ([212.71.252.8]:59078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfJYa-000695-2p for 44501-done@debbugs.gnu.org; Wed, 18 Nov 2020 04:15:17 -0500 Received: from localhost (188.30.135.14.threembb.co.uk [188.30.135.14]) by mira.cbaines.net (Postfix) with ESMTPSA id 18E2027BBF5; Wed, 18 Nov 2020 09:15:15 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 65a0695d; Wed, 18 Nov 2020 09:15:12 +0000 (UTC) References: <20201107100542.1479-1-elaexuotee@wilsonb.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: "B. Wilson" Subject: Re: [bug#44501] [PATCH] gnu: Add mblaze. In-reply-to: <20201107100542.1479-1-elaexuotee@wilsonb.com> Date: Wed, 18 Nov 2020 09:15:12 +0000 Message-ID: <87ft57kov3.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44501-done Cc: 44501-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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, This looks pretty good to me, I've pushed to master as df661fb960ed996c4378d10a5e5f24499335002c. B. Wilson via Guix-patches via writes: > * gnu/packages/mail.scm (mblaze): New variable. > --- > gnu/packages/mail.scm | 47 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index 44a156fd99..3d3e8ab540 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -37,6 +37,7 @@ > ;;; Copyright =C2=A9 2020 Alexey Abramov > ;;; Copyright =C2=A9 2020 Tim Gesthuizen > ;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton > +;;; Copyright =C2=A9 2020 B. Wilson > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -3960,3 +3961,49 @@ black lists. Each message is analysed by Rspamd a= nd given a spam > score.") > (home-page "https://www.rspamd.com/") > (license license:asl2.0))) > + > +(define-public mblaze > + (package > + (name "mblaze") > + (version "0.2") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/leahneukirchen/mblaze") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0p97zfl35ilrnrx9ynj82igsb698m9klikfaicw5jhjpf6qp2n3y"))= )) > + (build-system gnu-build-system) > + (native-inputs `(("perl" ,perl))) > + (arguments > + `(#:tests? #f ; XXX: Upstream tests appear to be broken I'm also unsure about the tests, I only has a quick look though. > + #:make-flags (list "CC=3Dgcc" "PREFIX=3D" I believe using (cc-for-target) is better than hardcoding gcc here, I think it's something to do with cross compiling: (string-append "CC=3D" ,(cc-for-target)) > + (string-append "DESTDIR=3D" %output)) > + #:phases (modify-phases %standard-phases (delete 'configure)))) > + (home-page "https://github.com/leahneukirchen/mblaze") > + (synopsis "Unix utilities to deal with Maildir") > + (description > + "The mblaze message system is a set of Unix utilities for processin= g and > +interacting with mail messages which are stored in maildir folders. > + > +Its design is roughly inspired by MH, the RAND Message Handling System, = but it > +is a complete implementation from scratch. > + > +mblaze is a classic command line MUA and has no features for receiving or > +transferring messages; you can operate on messages in a local maildir sp= ool, or > +fetch your messages using fdm(1), getmail(1), offlineimap(1), or similar > +utilities, and send it using dma(8), msmtp(1), sendmail(8), as provided = by > +OpenSMTPD, Postfix, or similar. > + > +mblaze operates directly on maildir folders and doesn't use its own cach= es or > +databases. There is no setup needed for many uses. All utilities have = been > +written with performance in mind. Enumeration of all messages in a mail= dir > +is avoided unless necessary, and then optimized to limit syscalls. Pars= ing > +message metadata is optimized to limit I/O requests. Initial operations= on a > +large maildir may feel slow, but as soon as they are in the file system = cache, > +everything is blazingly fast. The utilities are written to be memory ef= ficient > +(i.e. not wasteful), but whole messages are assumed to fit into RAM easi= ly > +(one at a time).") > + (license license:public-domain))) I also moved this definition up from the bottom of mail.scm. If everyone adds packages at the bottom of modules, it makes Git conflicts more likely, so it's best to avoid the bottom, unless you specifically want the package to go there. Generally all fine though, Thanks again, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+05iBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfSURAArAZpVm6xoky2RMctm8HgYYjpIo1u5xwY kbVN7DAOAgnFazwmC1YV6T9X29HSDtBIi4e95t+r3Lq/+ZSt2aqvLut3SPbzqi9Y SG0pIrozEhAa+hhoFl69ZyWhmROAe7S76gi0gAHeo9bvljQ+fqylLU1LhiVnZfrU 9tXmHIghyZh+SHDUbjAGoKfuCS9nRGfLv+mauSkjZoP53MTobTbu3oPMOw01TA2P KHd3Z6jUt4Xh+HB+44AANuEu4QFq+7EDiSuewc75SPIGB9EoIJxgDKWfXrOVyg7k bGlZEpc3pFH3EMdd3QwiCtLSzhBvxt5rVrxCy5KDciG4A0aWUWUmeC2suIW8guD3 9iecj3ngrRxxoiXvatW3MdLEug2t28FG7iHUSxWLYC8YhFQDKVgcQufSUPoGREAX azwxXFOB+SAnQx460YAel0bDQEPxEpya/8wAHB7yGjnM7UNBW4snFKs4sk0j8C0Z fmQOKd1gAYbFyWkpWyfLU+omLDQM2il7v4OY93FiUPLWL9Pl76xUergS1HI0WFrH Oj6MG2Ur+l2cyRNwitobnt6ZaEr7agmH+5W2hToXTXUHuLY15vLb/tBX2BJm60X9 ADbwtimX9LSQ+88Ej/3oBonXjJq9tzez2hwkc318/MHH1CVxPtYz/7ewxK3T+00H 7w5jIQygWyo= =NOFB -----END PGP SIGNATURE----- --=-=-=-- ------------=_1605690962-26546-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Nov 2020 10:05:27 +0000 Received: from localhost ([127.0.0.1]:57985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbL61-00074Y-Qt for submit@debbugs.gnu.org; Sat, 07 Nov 2020 05:05:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:58978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbL60-00074Q-4V for submit@debbugs.gnu.org; Sat, 07 Nov 2020 05:05:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbL5z-00008X-Vk for guix-patches@gnu.org; Sat, 07 Nov 2020 05:05:20 -0500 Received: from m42-5.mailgun.net ([69.72.42.5]:28206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbL5w-000408-Br for guix-patches@gnu.org; Sat, 07 Nov 2020 05:05:19 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1604743518; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=zfstD9OK4FsOg+uaI2+MtTtWINPCeceM9eNcfCBvv+I=; b=2VnBBwa6UkBCJCKLbN8HRYg7cHkvcUwfqtnwkOyL5htwNvUQJu/823bsA9Rzl2LLKtZQD+6x nFBJ92jLH7BqI1L1e3emsH4LofWxO4A/vWhZ18QmT3u3MLONsP1L6oOEGa/12VhPH/6A4ip/ tQESZw6uol+lbtJUtAdZpq1mJpdzz55x4hME4ZWUAHmDZdv/o3ExfkC+BY7dpWJMA3Cnv73Y GA2Ilq0BfjSIuS1NwP405LXS6Xpl5tI0yNbzNsF92yjHmHC7HAaaabf+A39nh0nZXK1K/F5h rLPCtTRnRWDrwOIn5x4QKaW/96/AlSeZGTrNJGZKgrno4WMWO1znYg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5MmEzMyIsICJndWl4LXBhdGNoZXNAZ251Lm9yZyIsICIwODU0N2EiXQ== Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5fa6715060d9475652d90ddf (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sat, 07 Nov 2020 10:05:04 GMT Received: from localhost (KD106154060148.au-net.ne.jp [106.154.60.148]) by wilsonb.com (Postfix) with ESMTPSA id E92F5A08D7; Sat, 7 Nov 2020 10:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1604743502; bh=zfstD9OK4FsOg+uaI2+MtTtWINPCeceM9eNcfCBvv+I=; h=From:To:Cc:Subject:Date:From; b=aEb0R2+M1CR/04LNPMMUFwzF7FKXR/Jlxmb+V8a6/CILov6is/z0L+LognShsOqWh hzT0wXutteBJOum97cf/gwMAVNPHMOlNCG+X137aSUGy9u2yc45O9PO677kpDG7ofw bhBzzcPlfkK8gndbmtNv7mWYSSGE34Ab2e/NY3midVDbbHGx5rCp46wQ4C9H8O31pe to3X3fr16I60Z7uXhzlileLVLRSs96hekLIVukygSYi9cC9WxLsE/AXmIL00VjvaxT fmzms8wdwH0y8FYsxpTjAWKsVPaGfzli50h/wI9L4vMM0u2QqqszxUNvrUwwVH0Knf mci2L2aAl5iYXM5/w2Ye0dJMgcajRDEULD+UXUr7RIidAblH1zbc1DNm81uYmVlG7s 821JIgSks+T3F996GkUg3jDOGVd0CickKIGlfjUiML4HWxn2+VdWtbfQ3Ya8RPnmmp EcvbxgNqPkDfJnXUooyI0M5CzrbRMmTpqLiVHN6LY1jk9LQII2BBbgiQbLdEbm35J/ CIG6y/3D5erUmOXMQJL23aD1nqNaHAvebj2JFGNCo2h4TShCsVFa1jZtgETVhrgMfv 2BDnt0E6tLHrNfkIw3NnENOcX7zefBdGm6634W2RkXkyHDTGbBWlg4VdvPznKQvmIQ lZZhO04SJkyr/nO6AViOX/7U= From: "B. Wilson" To: guix-patches@gnu.org Subject: [PATCH] gnu: Add mblaze. Date: Sat, 7 Nov 2020 19:05:42 +0900 Message-Id: <20201107100542.1479-1-elaexuotee@wilsonb.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+686de0.08547a-guix-patches=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/07 05:05:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 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, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "B. Wilson" 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: -0.0 (/) * gnu/packages/mail.scm (mblaze): New variable. --- gnu/packages/mail.scm | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 44a156fd99..3d3e8ab540 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2020 Alexey Abramov ;;; Copyright © 2020 Tim Gesthuizen ;;; Copyright © 2020 Alexandru-Sergiu Marton +;;; Copyright © 2020 B. Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -3960,3 +3961,49 @@ black lists. Each message is analysed by Rspamd and given a spam score.") (home-page "https://www.rspamd.com/") (license license:asl2.0))) + +(define-public mblaze + (package + (name "mblaze") + (version "0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leahneukirchen/mblaze") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0p97zfl35ilrnrx9ynj82igsb698m9klikfaicw5jhjpf6qp2n3y")))) + (build-system gnu-build-system) + (native-inputs `(("perl" ,perl))) + (arguments + `(#:tests? #f ; XXX: Upstream tests appear to be broken + #:make-flags (list "CC=gcc" "PREFIX=" + (string-append "DESTDIR=" %output)) + #:phases (modify-phases %standard-phases (delete 'configure)))) + (home-page "https://github.com/leahneukirchen/mblaze") + (synopsis "Unix utilities to deal with Maildir") + (description + "The mblaze message system is a set of Unix utilities for processing and +interacting with mail messages which are stored in maildir folders. + +Its design is roughly inspired by MH, the RAND Message Handling System, but it +is a complete implementation from scratch. + +mblaze is a classic command line MUA and has no features for receiving or +transferring messages; you can operate on messages in a local maildir spool, or +fetch your messages using fdm(1), getmail(1), offlineimap(1), or similar +utilities, and send it using dma(8), msmtp(1), sendmail(8), as provided by +OpenSMTPD, Postfix, or similar. + +mblaze operates directly on maildir folders and doesn't use its own caches or +databases. There is no setup needed for many uses. All utilities have been +written with performance in mind. Enumeration of all messages in a maildir +is avoided unless necessary, and then optimized to limit syscalls. Parsing +message metadata is optimized to limit I/O requests. Initial operations on a +large maildir may feel slow, but as soon as they are in the file system cache, +everything is blazingly fast. The utilities are written to be memory efficient +(i.e. not wasteful), but whole messages are assumed to fit into RAM easily +(one at a time).") + (license license:public-domain))) -- 2.29.2 ------------=_1605690962-26546-1--