GNU bug report logs - #32294
[PATCH] gnu: Add imapfilter.

Previous Next

Package: guix-patches;

Reported by: Jelle Licht <jlicht <at> fsfe.org>

Date: Fri, 27 Jul 2018 16:20:01 UTC

Severity: normal

Tags: patch

Done: Jelle Licht <jlicht <at> fsfe.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32294 in the body.
You can then email your comments to 32294 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32294; Package guix-patches. (Fri, 27 Jul 2018 16:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelle Licht <jlicht <at> fsfe.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 27 Jul 2018 16:20:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jelle Licht <jlicht <at> fsfe.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add imapfilter.
Date: Fri, 27 Jul 2018 18:19:23 +0200
* 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




Information forwarded to guix-patches <at> gnu.org:
bug#32294; Package guix-patches. (Sun, 29 Jul 2018 14:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 32294 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Jelle Licht <jlicht <at> fsfe.org>
Cc: 32294 <at> debbugs.gnu.org
Subject: Re: [bug#32294] [PATCH] gnu: Add imapfilter.
Date: Sun, 29 Jul 2018 16:00:15 +0200
Hi,

Jelle Licht <jlicht <at> fsfe.org> 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 “IMAPFilter” is a proper name and
not an identifier or command name), but otherwise LGTM.  Thanks!

Ludo’.




Reply sent to Jelle Licht <jlicht <at> fsfe.org>:
You have taken responsibility. (Fri, 03 Aug 2018 01:22:02 GMT) Full text and rfc822 format available.

Notification sent to Jelle Licht <jlicht <at> fsfe.org>:
bug acknowledged by developer. (Fri, 03 Aug 2018 01:22:02 GMT) Full text and rfc822 format available.

Message #13 received at 32294-done <at> debbugs.gnu.org (full text, mbox):

From: Jelle Licht <jlicht <at> fsfe.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 32294-done <at> debbugs.gnu.org
Subject: Re: [bug#32294] [PATCH] gnu: Add imapfilter.
Date: Fri, 3 Aug 2018 03:21:35 +0200
[Message part 1 (text/plain, inline)]
2018-07-29 16:00 GMT+02:00 Ludovic Courtès <ludo <at> gnu.org>:

> Hi,
>
> Jelle Licht <jlicht <at> fsfe.org> 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 “IMAPFilter” is a proper name and
> not an identifier or command name), but otherwise LGTM.  Thanks!
>
> Ludo’.
>

done, and pushed as ae7c1c3704187405a1c4e7c039bf70df9327e6a6
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 31 Aug 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.