From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CIhVGpJxpl8SCwAA0tVLHw (envelope-from ) for ; Sat, 07 Nov 2020 10:06:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SEjrFZJxpl/CGwAAB5/wlQ (envelope-from ) for ; Sat, 07 Nov 2020 10:06:10 +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 91A0B9403E8 for ; Sat, 7 Nov 2020 10:06:09 +0000 (UTC) Received: from localhost ([::1]:42098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbL6m-0000MY-JW for larch@yhetil.org; Sat, 07 Nov 2020 05:06:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbL6g-0000KO-CK for guix-patches@gnu.org; Sat, 07 Nov 2020 05:06:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbL6g-0004OE-2x for guix-patches@gnu.org; Sat, 07 Nov 2020 05:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbL6f-00075U-UV for guix-patches@gnu.org; Sat, 07 Nov 2020 05:06:01 -0500 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= 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 X-Spam-Score: -0.0 (/) 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" Reply-to: "B. Wilson" , "B. Wilson via Guix-patches" From: "B. Wilson via Guix-patches" via X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=mg.wilsonb.com header.s=krs header.b=2VnBBwa6; dkim=fail (headers rsa verify failed) header.d=wilsonb.com header.s=201703 header.b=aEb0R2+M; dmarc=pass (policy=none) header.from=gnu.org; 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: -1.51 X-TUID: 9KXdwsfrigQf * 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