aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/mail.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3d7b0e4632..67f490d414 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 "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)))
nu/services/nfs.scm (<idmap-configuration>)[verbosity]: New field. (idmap-configuration-verbosity): New procedure. (idmap-service-type): Use it. * doc/guix.texi (Network File System): Document it. Ricardo Wurmus 2020-01-08services: nfs: Allow idmap-service-type to be extended....* gnu/services/nfs.scm (idmap-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service. Ricardo Wurmus 2020-01-08services: nfs: Fix indentation and typo....* gnu/services/nfs.scm (<gss-configuration>, <idmap-configuration>): Fix indentation. (<idmap-configuration>): Rename accessor for NFS-UTILS field to IDMAP-CONFIGURATION-NFS-UTILS. (idmap-service-type): Use IDMAP-CONFIGURATION-NFS-UTILS. Ricardo Wurmus 2020-01-08services: nfs: Allow pipefs-service-type to be extended....* gnu/services/nfs.scm (pipefs-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service. Ricardo Wurmus 2020-01-08services: nfs: Allow rpcbind-service-type to be extended....* gnu/services/nfs.scm (rpcbind-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service. Ricardo Wurmus 2020-01-08services: nfs: Fix name of package variable....* gnu/services/nfs.scm (rpcbind-service-type): Correct name from nfs-utils to rpcbind. Ricardo Wurmus