me
/
guix
Archived
1
0
Fork 0

gnu: dovecot-trees: Update to 2.1.0.

* gnu/packages/mail.scm (dovecot-trees): Update to 2.1.0.
(source): Change to use 'url-fetch'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
ng0 2017-03-24 16:45:57 +00:00 committed by Ludovic Courtès
parent 1165b08f86
commit cf47a8a51d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 36 additions and 39 deletions

View File

@ -1132,44 +1132,41 @@ It supports mbox/Maildir and its own dbox/mdbox formats.")
(license (list lgpl2.1 license:expat (non-copyleft "file://COPYING"))))) (license (list lgpl2.1 license:expat (non-copyleft "file://COPYING")))))
(define-public dovecot-trees (define-public dovecot-trees
(let ((commit "006059c8a47d68f14f73c09743e45b9a73014dbf") (package
(revision "1")) (name "dovecot-trees")
(package (version "2.1.0")
(name "dovecot-trees") (source
(version (string-append "2.0.0-" revision "." (string-take commit 7))) (origin
(source (method url-fetch)
(origin (uri (string-append "https://0xacab.org/riseuplabs/trees/repository/"
(method git-fetch) "archive.tar.gz?ref=v" version))
(uri (git-reference (file-name (string-append name "-" version ".tar.gz"))
(url "https://0xacab.org/riseuplabs/trees.git") (sha256
(commit commit))) (base32
(file-name (string-append name "-" version "-checkout")) "0rkk10b1bsjz979sc864vpgcdchy7yxwmyv4ik50lar1h6awdnrf"))))
(sha256 (build-system gnu-build-system)
(base32 (native-inputs
"0ax90bzc66x179wi1m7ywqwa8nssyhjngs7ij109hqqxg5ymfp73")))) `(("automake" ,automake)
(build-system gnu-build-system) ("autoconf" ,autoconf)
(native-inputs ("libtool" ,libtool)
`(("automake" ,automake) ("dovecot" ,dovecot)
("autoconf" ,autoconf) ("pkg-config" ,pkg-config)))
("libtool" ,libtool) (inputs
("dovecot" ,dovecot) `(("libsodium" ,libsodium)))
("pkg-config" ,pkg-config))) (arguments
(inputs `(#:tests? #f ;No tests exist.
`(("libsodium" ,libsodium))) #:configure-flags (list (string-append "--with-dovecot="
(arguments (assoc-ref %build-inputs "dovecot")
`(#:tests? #f ;No tests exist. "/lib/dovecot"))
#:configure-flags (list (string-append "--with-dovecot=" #:phases
(assoc-ref %build-inputs "dovecot") (modify-phases %standard-phases
"/lib/dovecot")) (add-before 'configure 'autogen
#:phases (lambda _
(modify-phases %standard-phases (zero? (system* "./autogen.sh")))))))
(add-before 'configure 'autogen (home-page "https://0xacab.org/riseuplabs/trees")
(lambda _ (synopsis "NaCL-based Dovecot email storage encryption plugin")
(zero? (system* "./autogen.sh"))))))) (description
(home-page "https://0xacab.org/riseuplabs/trees") "Technology for Resting Email Encrypted Storage (TREES) is a NaCL-based
(synopsis "NaCL-based Dovecot email storage encryption plugin")
(description
"Technology for Resting Email Encrypted Storage (TREES) is a NaCL-based
Dovecot encryption plugin. This plugin adds individually encrypted mail Dovecot encryption plugin. This plugin adds individually encrypted mail
storage to the Dovecot IMAP server. It is inspired by Posteo's scrambler storage to the Dovecot IMAP server. It is inspired by Posteo's scrambler
which uses OpenSSL and RSA keypairs. TREES works in a similar way, but uses which uses OpenSSL and RSA keypairs. TREES works in a similar way, but uses
@ -1185,7 +1182,7 @@ How it works:
using lidsodium sealed boxes. using lidsodium sealed boxes.
@item New mail is encrypted as it arrives using the Curve25519 public key. @item New mail is encrypted as it arrives using the Curve25519 public key.
@end enumerate\n") @end enumerate\n")
(license agpl3)))) (license agpl3)))
(define-public dovecot-libsodium-plugin (define-public dovecot-libsodium-plugin
(let ((commit "044de73c01c35385df0105f6b387bec5d5317ce7") (let ((commit "044de73c01c35385df0105f6b387bec5d5317ce7")