diff options
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r-- | gnu/packages/mail.scm | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index e6bc71710b..2b5915fce4 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1895,7 +1895,17 @@ MailCore 2.") "09b89wg63hg502hsz592cd2h87wdprb1dq1k1y07n89hym2q56d6")))) (build-system gnu-build-system) (arguments - `(#:tests? #f)) + (list + #:tests? #f + #:configure-flags + #~(list "CFLAGS=-g -O2 -DSTDC_HEADERS") + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fix-includes + (lambda _ + (substitute* "config.h" + (("#include <stdlib.h>" all) + (string-append all "\n#include <unistd.h>")))))))) (synopsis "Portrait image compressor") (description "This package takes your 48x48x1 portrait image and compresses it.") @@ -2674,22 +2684,24 @@ format and headers.") (license license:perl-license))) (define-public libesmtp + (let ((commit "335ee8d2fa5cb7d30db7b818ec05563ad139ee2f") + (revision "0")) (package (name "libesmtp") - (version "1.1.0") + (version (git-version "1.1.0" revision commit)) (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/libesmtp/libESMTP") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1bhh8hlsl9597x0bnfl563k2c09b61qnkb9mfyqcmzlq63m1zw5y")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/libesmtp/libESMTP") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1b6s6xyap9g4irw6wl9rhkvjjn7cc5q7xkxx5z0r1x1ab6fxn6p0")))) (build-system meson-build-system) (propagated-inputs (list openssl)) - (home-page "http://www.stafford.uklinux.net/libesmtp/") + (home-page "https://libesmtp.github.io/") (synopsis "Library for sending mail via remote hosts using SMTP") (description "libESMTP is an @acronym{SMTP, Simple Mail Transfer Protocol} client that @@ -2705,7 +2717,7 @@ transparently handles many SMTP extensions including authentication, @acronym{TLS, Transport-Level Security}, and PIPELINING for performance. Even without a pipelining server, libESMTP offers much better performance than would be expected from a simple client.") - (license (list license:lgpl2.1+ license:gpl2+)))) + (license (list license:lgpl2.1+ license:gpl2+))))) (define-public esmtp (package |