From a8446ef40e6ea15546d7ed1b383fe9d892057daa Mon Sep 17 00:00:00 2001 From: Jack Peirce Date: Fri, 1 May 2015 05:24:39 +0000 Subject: [PATCH] notmuch-mutt BSD compatibility --- 3a/becacfc127e27e16524c1c1eb6c6aabdb8199c | 126 ++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 3a/becacfc127e27e16524c1c1eb6c6aabdb8199c diff --git a/3a/becacfc127e27e16524c1c1eb6c6aabdb8199c b/3a/becacfc127e27e16524c1c1eb6c6aabdb8199c new file mode 100644 index 000000000..bb252703d --- /dev/null +++ b/3a/becacfc127e27e16524c1c1eb6c6aabdb8199c @@ -0,0 +1,126 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id B88736DE0274 + for ; Thu, 30 Apr 2015 22:33:12 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -2.32 +X-Spam-Level: +X-Spam-Status: No, score=-2.32 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id IIsO4zYV7ze1 for ; + Thu, 30 Apr 2015 22:33:10 -0700 (PDT) +X-Greylist: delayed 507 seconds by postgrey-1.35 at arlo; + Thu, 30 Apr 2015 22:33:10 PDT +Received: from p01c12o148.mxlogic.net (p01c12o148.mxlogic.net [208.65.145.71]) + by arlo.cworth.org (Postfix) with ESMTPS id 58D326DE0140 + for ; Thu, 30 Apr 2015 22:33:10 -0700 (PDT) +Received: from unknown [68.171.131.38] (EHLO mail.integratedit.com) + by p01c12o148.mxlogic.net(mxl_mta-8.3.0-3) with ESMTP id + 61013455.2ae630833940.602477.00-520.1689378.p01c12o148.mxlogic.net + (envelope-from ); + Thu, 30 Apr 2015 23:33:10 -0600 (MDT) +X-MXL-Hash: 554310162e9ed5af-94f2f47120a45c34bbbc3e286ba30a32983a8965 +Received: from unknown [68.171.131.38] (EHLO mail.integratedit.com) + by p01c12o148.mxlogic.net(mxl_mta-8.3.0-3) over TLS secured channel + with ESMTP id 81e03455.0.600332.00-316.1684080.p01c12o148.mxlogic.net + (envelope-from ); + Thu, 30 Apr 2015 23:24:43 -0600 (MDT) +X-MXL-Hash: 55430e1b71e0620c-1fab910d50ddb2f1a36d3dd8d5d809cd16f08cb0 +Received: from EX2013-MBX1.sccit.local (10.12.0.86) by EX2013-MBX1.sccit.local + (10.12.0.86) with Microsoft SMTP Server (TLS) id 15.0.1044.25; + Fri, 1 May 2015 01:24:39 -0400 +Received: from EX2013-MBX1.sccit.local ([fe80::19ca:a7a:1d08:52fc]) by + EX2013-MBX1.sccit.local ([fe80::19ca:a7a:1d08:52fc%12]) with mapi id + 15.00.1044.021; Fri, 1 May 2015 01:24:39 -0400 +From: Jack Peirce +To: "notmuch@notmuchmail.org" , "zack@upsilon.cc" + +Subject: notmuch-mutt BSD compatibility +Thread-Topic: notmuch-mutt BSD compatibility +Thread-Index: AQHQg88e2KfCLnectkmkzsWdHa7PDA== +Date: Fri, 1 May 2015 05:24:39 +0000 +Message-ID: <20150501052438.GA19579@ganesh.Home> +Accept-Language: en-US +Content-Language: en-US +X-MS-Has-Attach: yes +X-MS-TNEF-Correlator: +user-agent: Mutt/1.5.23 (2014-03-12) +x-ms-exchange-transport-fromentityheader: Hosted +x-originating-ip: [75.173.206.93] +Content-Type: multipart/mixed; + boundary="_002_20150501052438GA19579ganeshHome_" +MIME-Version: 1.0 +X-AnalysisOut: [v=2.1 cv=GIAcE49K c=1 sm=1 tr=0 a=k3ozxfCZ6Te1Qy+CTAksdQ==] +X-AnalysisOut: [:117 a=k3ozxfCZ6Te1Qy+CTAksdQ==:17 a=J0QyKEt1u0cA:10 a=8Ym] +X-AnalysisOut: [bmHezmF4A:10 a=BLceEmwcHowA:10 a=xqWC_Br6kY4A:10 a=bF8Fxcv] +X-AnalysisOut: [1AAAA:8 a=Qb9iURxgAAAA:8 a=YlVTAMxIAAAA:8 a=e9J7MTPGsLIA:1] +X-AnalysisOut: [0 a=w20EZVz_QilbtmMhRTwA:9 a=CjuIK1q_8ugA:10 a=CpT0RT4WRCN] +X-AnalysisOut: [CME0QNTsA:9] +X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2015043020); S=0.200(2014051901)] +X-MAIL-FROM: +X-SOURCE-IP: [68.171.131.38] +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 01 May 2015 05:33:12 -0000 + +--_002_20150501052438GA19579ganeshHome_ +Content-Type: text/plain; charset="us-ascii" +Content-ID: +Content-Transfer-Encoding: quoted-printable + +Some of the flags used in the notmuch-mutt script included in the=20 +contrib directory are not supported by the OpenBSD implementation of=20 +ln and xargs.=20 + +Please consider this patch which rearranges the arguments to use flags=20 +compatible with both Linux and BSD implementations of ln/xargs. + +Do note that I do not have the ability to test this under Linux right=20 +now, but I am relatively confident everything should still work fine=20 +as long as the man pages are correct. + +xargs: use -r flag instead of --no-run-if-empty +ln: use -I flag/3rd form of ln command instead of -t flag/4th form + +Thanks, +Jack + + + +--_002_20150501052438GA19579ganeshHome_ +Content-Type: text/plain; name="notmuch-mutt-bsd-compat.patch" +Content-Description: notmuch-mutt-bsd-compat.patch +Content-Disposition: attachment; filename="notmuch-mutt-bsd-compat.patch"; + size=532; creation-date="Fri, 01 May 2015 05:24:38 GMT"; + modification-date="Fri, 01 May 2015 05:24:38 GMT" +Content-ID: +Content-Transfer-Encoding: base64 + +ZGlmZiAtdU5yIG9sZC9jb250cmliL25vdG11Y2gtbXV0dC9ub3RtdWNoLW11dHQgbmV3L2NvbnRy +aWIvbm90bXVjaC1tdXR0L25vdG11Y2gtbXV0dA0KLS0tIG9sZC9jb250cmliL25vdG11Y2gtbXV0 +dC9ub3RtdWNoLW11dHQJVGh1IEFwciAzMCAyMzowODo1MCAyMDE1DQorKysgbmV3L2NvbnRyaWIv +bm90bXVjaC1tdXR0L25vdG11Y2gtbXV0dAlUaHUgQXByIDMwIDIzOjEwOjIxIDIwMTUNCkBAIC01 +MCw3ICs1MCw3IEBADQogICAgIGVtcHR5X21haWxkaXIoJG1haWxkaXIpOw0KICAgICBzeXN0ZW0o +Im5vdG11Y2ggc2VhcmNoIC0tb3V0cHV0PWZpbGVzICRkdXBfb3B0aW9uICRxdWVyeSINCiAJICAg +LiAiIHwgc2VkIC1lICdzOiA6XFxcXCA6ZyciDQotCSAgIC4gIiB8IHhhcmdzIC0tbm8tcnVuLWlm +LWVtcHR5IGxuIC1zIC10ICRtYWlsZGlyL2N1ci8iKTsNCisJICAgLiAiIHwgeGFyZ3MgLXIgLUkg +c2VhcmNob3V0cHV0IGxuIC1zIHNlYXJjaG91dHB1dCAkbWFpbGRpci9jdXIvIik7DQogfQ0KIA0K +IHN1YiBwcm9tcHQoJCQpIHsNCg== + +--_002_20150501052438GA19579ganeshHome_-- -- 2.26.2