From unknown Sun Jun 22 04:23:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32294] [PATCH] gnu: Add imapfilter. Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jul 2018 16:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32294 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 32294@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15327083815753 (code B ref -1); Fri, 27 Jul 2018 16:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2018 16:19:41 +0000 Received: from localhost ([127.0.0.1]:60559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj5Su-0001Ui-V1 for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj5Ss-0001UQ-Hs for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj5Sm-00019o-Bj for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fj5Sm-00019g-6z for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj5Sl-0003DD-5w for guix-patches@gnu.org; Fri, 27 Jul 2018 12:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj5Si-00018a-2V for guix-patches@gnu.org; Fri, 27 Jul 2018 12:19:31 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:51670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fj5Sh-00017g-Rd for guix-patches@gnu.org; Fri, 27 Jul 2018 12:19:27 -0400 User-agent: mu4e 1.0; emacs 26.1 From: Jelle Licht Date: Fri, 27 Jul 2018 18:19:23 +0200 Message-ID: <877elg8xdg.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -6.0 (------) * gnu/packages/mail.scm (imapfilter): New variable. --- gnu/packages/mail.scm | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 3d7b0e463..fc02fa50e 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2554,3 +2554,47 @@ and binaries. It supports offline reading, scoring and killfiles, yEnc, NZB, PGP handling, multiple servers, and secure connections.") ;; License of the docs: fdl-1.1; Others: gpl2. (license (list fdl1.1+ gpl2)))) + +(define-public imapfilter + (package + (name "imapfilter") + (version "2.6.11") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/lefcha/imapfilter/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1yslvwr3w5fnl06gfrp0lim8zdlasx3cvgd2fsqi0695xnb9bsms")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-include-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pcre (assoc-ref inputs "pcre"))) + (substitute* "src/Makefile" + (("INCDIRS =") + (string-append "INCDIRS =" + "-I" pcre "/include"))) + #t)))))) + (native-inputs + `(("lua" ,lua) + ("pcre" ,pcre) + ("openssl" ,openssl))) + (home-page "https://github.com/lefcha/imapfilter") + (synopsis "IMAP mail filtering utility") + (description "@code{IMAPFilter} is a mail filtering utility. It connects +to remote mail servers using IMAP, sends searching queries to the server and +processes mailboxes based on the results. It can be used to delete, copy, +move, flag, etc. messages residing in mailboxes at the same or different mail +servers. The 4rev1 and 4 versions of IMAP are supported.") + (license license:expat))) -- 2.18.0 From unknown Sun Jun 22 04:23:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32294] [PATCH] gnu: Add imapfilter. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Jul 2018 14:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32294 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jelle Licht Cc: 32294@debbugs.gnu.org Received: via spool by 32294-submit@debbugs.gnu.org id=B32294.153287282622376 (code B ref 32294); Sun, 29 Jul 2018 14:01:01 +0000 Received: (at 32294) by debbugs.gnu.org; 29 Jul 2018 14:00:26 +0000 Received: from localhost ([127.0.0.1]:33952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjmFF-0005op-Rd for submit@debbugs.gnu.org; Sun, 29 Jul 2018 10:00:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjmFD-0005oc-GB for 32294@debbugs.gnu.org; Sun, 29 Jul 2018 10:00:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjmF7-0008UO-E4 for 32294@debbugs.gnu.org; Sun, 29 Jul 2018 10:00:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjmF7-0008UC-BH; Sun, 29 Jul 2018 10:00:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48190 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fjmF6-0000pT-H4; Sun, 29 Jul 2018 10:00:17 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <877elg8xdg.fsf@fsfe.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Thermidor an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 29 Jul 2018 16:00:15 +0200 In-Reply-To: <877elg8xdg.fsf@fsfe.org> (Jelle Licht's message of "Fri, 27 Jul 2018 18:19:23 +0200") Message-ID: <87h8kif8gg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -6.0 (------) Hi, Jelle Licht skribis: > * gnu/packages/mail.scm (imapfilter): New variable. [...] > + (home-page "https://github.com/lefcha/imapfilter") > + (synopsis "IMAP mail filtering utility") > + (description "@code{IMAPFilter} is a mail filtering utility. It con= nects I think you can omit @code here (since =E2=80=9CIMAPFilter=E2=80=9D is a pr= oper name and not an identifier or command name), but otherwise LGTM. Thanks! Ludo=E2=80=99. From unknown Sun Jun 22 04:23:13 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: Jelle Licht Subject: bug#32294: closed (Re: [bug#32294] [PATCH] gnu: Add imapfilter.) Message-ID: References: <877elg8xdg.fsf@fsfe.org> X-Gnu-PR-Message: they-closed 32294 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 32294@debbugs.gnu.org Date: Fri, 03 Aug 2018 01:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1533259322-18380-1" This is a multi-part message in MIME format... ------------=_1533259322-18380-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32294: [PATCH] gnu: Add imapfilter. 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 32294@debbugs.gnu.org. --=20 32294: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32294 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1533259322-18380-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32294-done) by debbugs.gnu.org; 3 Aug 2018 01:21:41 +0000 Received: from localhost ([127.0.0.1]:39366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flOmj-0004lq-5D for submit@debbugs.gnu.org; Thu, 02 Aug 2018 21:21:41 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:41666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flOmh-0004lh-AX for 32294-done@debbugs.gnu.org; Thu, 02 Aug 2018 21:21:39 -0400 Received: by mail-oi0-f47.google.com with SMTP id 8-v6so7088748oip.0 for <32294-done@debbugs.gnu.org>; Thu, 02 Aug 2018 18:21:37 -0700 (PDT) X-Gm-Message-State: AOUpUlGuVOKPbZXNaJXBgY3A//uFrstzl7hxEIIcpxykmGJv/5nvQSqV llW+x9sq43XC6t3GcLXWrYfXoBUVQ/TjTjBDzZ8= X-Google-Smtp-Source: AAOMgpeGpTQIGsdlLHxC43xd3zikqPGkVn1+wAKaUOY6h1WUer/CAOWf826Nd/P6kWDK3soQn9vJk9i6AlgRLdU6Yyw= X-Received: by 2002:aca:3507:: with SMTP id c7-v6mr1265911oia.46.1533259296013; Thu, 02 Aug 2018 18:21:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:5ec1:0:0:0:0:0 with HTTP; Thu, 2 Aug 2018 18:21:35 -0700 (PDT) In-Reply-To: <87h8kif8gg.fsf@gnu.org> References: <877elg8xdg.fsf@fsfe.org> <87h8kif8gg.fsf@gnu.org> From: Jelle Licht Date: Fri, 3 Aug 2018 03:21:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [bug#32294] [PATCH] gnu: Add imapfilter. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: multipart/alternative; boundary="000000000000b005fc05727dbf29" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32294-done Cc: 32294-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.7 (-) --000000000000b005fc05727dbf29 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-07-29 16:00 GMT+02:00 Ludovic Court=C3=A8s : > Hi, > > Jelle Licht skribis: > > > * gnu/packages/mail.scm (imapfilter): New variable. > > [...] > > > + (home-page "https://github.com/lefcha/imapfilter") > > + (synopsis "IMAP mail filtering utility") > > + (description "@code{IMAPFilter} is a mail filtering utility. It > connects > > I think you can omit @code here (since =E2=80=9CIMAPFilter=E2=80=9D is a = proper name and > not an identifier or command name), but otherwise LGTM. Thanks! > > Ludo=E2=80=99. > done, and pushed as ae7c1c3704187405a1c4e7c039bf70df9327e6a6 --000000000000b005fc05727dbf29 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2018-07-29 16:00 GMT+02:00 Ludovic Court=C3=A8s <<= a href=3D"mailto:ludo@gnu.org" target=3D"_blank">ludo@gnu.org>:
Hi,

Jelle Licht <jlicht@fsfe.org> = skribis:

> * gnu/packages/mail.scm (imapfilter): New variable.

[...]

> +=C2=A0 =C2=A0 (home-page "https://github.com/lefcha/<= wbr>imapfilter")
> +=C2=A0 =C2=A0 (synopsis "IMAP mail filtering utility")
> +=C2=A0 =C2=A0 (description "@code{IMAPFilter} is a mail filterin= g utility.=C2=A0 It connects

I think you can omit @code here (since =E2=80=9CIMAPFilter=E2=80=9D = is a proper name and
not an identifier or command name), but otherwise LGTM.=C2=A0 Thanks!

Ludo=E2=80=99.

done, and pushed as= ae7c1c3704187405a1c4e7c039bf70df9327e6a6
--000000000000b005fc05727dbf29-- ------------=_1533259322-18380-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Jul 2018 16:19:41 +0000 Received: from localhost ([127.0.0.1]:60559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj5Su-0001Ui-V1 for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj5Ss-0001UQ-Hs for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj5Sm-00019o-Bj for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fj5Sm-00019g-6z for submit@debbugs.gnu.org; Fri, 27 Jul 2018 12:19:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj5Sl-0003DD-5w for guix-patches@gnu.org; Fri, 27 Jul 2018 12:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj5Si-00018a-2V for guix-patches@gnu.org; Fri, 27 Jul 2018 12:19:31 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:51670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fj5Sh-00017g-Rd for guix-patches@gnu.org; Fri, 27 Jul 2018 12:19:27 -0400 User-agent: mu4e 1.0; emacs 26.1 From: Jelle Licht To: guix-patches@gnu.org Subject: [PATCH] gnu: Add imapfilter. Date: Fri, 27 Jul 2018 18:19:23 +0200 Message-ID: <877elg8xdg.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -6.0 (------) * gnu/packages/mail.scm (imapfilter): New variable. --- gnu/packages/mail.scm | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 3d7b0e463..fc02fa50e 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2554,3 +2554,47 @@ and binaries. It supports offline reading, scoring and killfiles, yEnc, NZB, PGP handling, multiple servers, and secure connections.") ;; License of the docs: fdl-1.1; Others: gpl2. (license (list fdl1.1+ gpl2)))) + +(define-public imapfilter + (package + (name "imapfilter") + (version "2.6.11") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/lefcha/imapfilter/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1yslvwr3w5fnl06gfrp0lim8zdlasx3cvgd2fsqi0695xnb9bsms")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-include-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pcre (assoc-ref inputs "pcre"))) + (substitute* "src/Makefile" + (("INCDIRS =") + (string-append "INCDIRS =" + "-I" pcre "/include"))) + #t)))))) + (native-inputs + `(("lua" ,lua) + ("pcre" ,pcre) + ("openssl" ,openssl))) + (home-page "https://github.com/lefcha/imapfilter") + (synopsis "IMAP mail filtering utility") + (description "@code{IMAPFilter} is a mail filtering utility. It connects +to remote mail servers using IMAP, sends searching queries to the server and +processes mailboxes based on the results. It can be used to delete, copy, +move, flag, etc. messages residing in mailboxes at the same or different mail +servers. The 4rev1 and 4 versions of IMAP are supported.") + (license license:expat))) -- 2.18.0 ------------=_1533259322-18380-1--