diff options
Diffstat (limited to 'gnu/packages/mail.scm')
| -rw-r--r-- | gnu/packages/mail.scm | 48 |
1 files changed, 46 insertions, 2 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 170fbe49210..70b0b0298d2 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 7 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> |
| 8 | ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> | 8 | ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> |
| 9 | ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> | 9 | ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> |
| 10 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> | ||
| 10 | ;;; | 11 | ;;; |
| 11 | ;;; This file is part of GNU Guix. | 12 | ;;; This file is part of GNU Guix. |
| 12 | ;;; | 13 | ;;; |
| @@ -66,7 +67,8 @@ | |||
| 66 | #:use-module (gnu packages xml) | 67 | #:use-module (gnu packages xml) |
| 67 | #:use-module (gnu packages xorg) | 68 | #:use-module (gnu packages xorg) |
| 68 | #:use-module ((guix licenses) | 69 | #:use-module ((guix licenses) |
| 69 | #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ lgpl3+ non-copyleft)) | 70 | #:select (gpl2 gpl2+ gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ non-copyleft |
| 71 | (expat . license:expat))) | ||
| 70 | #:use-module (guix packages) | 72 | #:use-module (guix packages) |
| 71 | #:use-module (guix download) | 73 | #:use-module (guix download) |
| 72 | #:use-module (guix utils) | 74 | #:use-module (guix utils) |
| @@ -492,7 +494,6 @@ MailCore 2.") | |||
| 492 | (inputs `(("bogofilter" ,bogofilter) | 494 | (inputs `(("bogofilter" ,bogofilter) |
| 493 | ("curl" ,curl) | 495 | ("curl" ,curl) |
| 494 | ("dbus-glib" ,dbus-glib) | 496 | ("dbus-glib" ,dbus-glib) |
| 495 | ("dbus" ,dbus) | ||
| 496 | ("enchant" ,enchant) | 497 | ("enchant" ,enchant) |
| 497 | ("expat" ,expat) | 498 | ("expat" ,expat) |
| 498 | ("ghostscript" ,ghostscript) | 499 | ("ghostscript" ,ghostscript) |
| @@ -639,6 +640,49 @@ deal of flexibility in the way mail can be routed, and there are extensive | |||
| 639 | facilities for checking incoming mail.") | 640 | facilities for checking incoming mail.") |
| 640 | (license gpl2+))) | 641 | (license gpl2+))) |
| 641 | 642 | ||
| 643 | (define-public dovecot | ||
| 644 | (package | ||
| 645 | (name "dovecot") | ||
| 646 | (version "2.2.16") | ||
| 647 | (source | ||
| 648 | (origin | ||
| 649 | (method url-fetch) | ||
| 650 | (uri (string-append "http://www.dovecot.org/releases/" | ||
| 651 | (version-major+minor version) "/" | ||
| 652 | name "-" version ".tar.gz")) | ||
| 653 | (sha256 (base32 | ||
| 654 | "1w6gg4h9mxg3i8faqpmgj19imzyy001b0v8ihch8ma3zl63i5kjn")))) | ||
| 655 | (build-system gnu-build-system) | ||
| 656 | (native-inputs | ||
| 657 | `(("pkg-config" ,pkg-config))) | ||
| 658 | (inputs | ||
| 659 | `(("openssl" ,openssl) | ||
| 660 | ("zlib" ,zlib) | ||
| 661 | ("bzip2" ,bzip2) | ||
| 662 | ("sqlite" ,sqlite))) | ||
| 663 | (arguments | ||
| 664 | `(#:configure-flags '("--sysconfdir=/etc" | ||
| 665 | "--localstatedir=/var") | ||
| 666 | #:phases (modify-phases %standard-phases | ||
| 667 | (add-before | ||
| 668 | 'configure 'pre-configure | ||
| 669 | (lambda _ | ||
| 670 | ;; Simple hack to avoid installing in /etc | ||
| 671 | (substitute* '("doc/Makefile.in" | ||
| 672 | "doc/example-config/Makefile.in") | ||
| 673 | (("pkgsysconfdir = .*") | ||
| 674 | "pkgsysconfdir = /tmp/etc")) | ||
| 675 | #t))))) | ||
| 676 | (home-page "http://www.dovecot.org") | ||
| 677 | (synopsis "Secure POP3/IMAP server") | ||
| 678 | (description | ||
| 679 | "Dovecot is a mail server whose major goals are security and reliability. | ||
| 680 | It supports mbox/Maildir and its own dbox/mdbox formats.") | ||
| 681 | ;; Most source files are covered by either lgpl2.1 or expat. The SHA code | ||
| 682 | ;; is covered by a variant of BSD-3, and UnicodeData.txt is covered by the | ||
| 683 | ;; Unicode, Inc. License Agreement for Data Files and Software. | ||
| 684 | (license (list lgpl2.1 license:expat (non-copyleft "file://COPYING"))))) | ||
| 685 | |||
| 642 | (define-public isync | 686 | (define-public isync |
| 643 | (package | 687 | (package |
| 644 | (name "isync") | 688 | (name "isync") |
