mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Gavin Schenk <g.schenk@eckelmann.de>
To: ptxdist@pengutronix.de
Cc: Gavin Schenk <g.schenk@eckelmann.de>,
	Torsten Mehnert <t.mehnert@eckelmann.de>
Subject: [ptxdist] [PATCH] libcurl: added options for smtp and verbose messages
Date: Mon, 11 Dec 2017 07:35:59 +0100	[thread overview]
Message-ID: <20171211063559.4882-1-g.schenk@eckelmann.de> (raw)

From: Torsten Mehnert <t.mehnert@eckelmann.de>

Signed-off-by: Torsten Mehnert <t.mehnert@eckelmann.de>
Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de>
---
 rules/libcurl.in   | 10 ++++++++++
 rules/libcurl.make |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/rules/libcurl.in b/rules/libcurl.in
index c832153af..1955c0c21 100644
--- a/rules/libcurl.in
+++ b/rules/libcurl.in
@@ -39,6 +39,16 @@ config LIBCURL_TFTP
 config LIBCURL_FILE
        bool "file"
 
+config LIBCURL_SMTP
+       bool "smtp"
+       help
+       enable smtp support for sending emails
+
+config LIBCURL_VERBOSE
+       bool "verbose messages"
+       help
+       enable verbose messages, helpful for error indication
+
 config LIBCURL_SSL
        bool "ssl"
 
diff --git a/rules/libcurl.make b/rules/libcurl.make
index 9d3532502..19bda71ce 100644
--- a/rules/libcurl.make
+++ b/rules/libcurl.make
@@ -57,7 +57,7 @@ LIBCURL_AUTOCONF := \
 	--disable-pop3 \
 	--disable-imap \
 	--disable-smb \
-	--disable-smtp \
+	--$(call ptx/endis, PTXCONF_LIBCURL_SMTP)-smtp \
 	--disable-gopher \
 	--disable-manual \
 	--enable-libcurl-option \
@@ -65,7 +65,7 @@ LIBCURL_AUTOCONF := \
 	$(GLOBAL_IPV6_OPTION) \
 	--disable-versioned-symbols \
 	--enable-threaded-resolver \
-	--disable-verbose \
+	--$(call ptx/endis, PTXCONF_LIBCURL_VERBOSE)-verbose \
 	--disable-sspi \
 	--$(call ptx/endis, PTXCONF_LIBCURL_CRYPTO_AUTH)-crypto-auth \
 	--disable-ntlm-wb \
-- 
2.15.0


-- 
Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2017-12-11  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11  6:35 Gavin Schenk [this message]
2018-02-23  9:06 ` Schenk, Gavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171211063559.4882-1-g.schenk@eckelmann.de \
    --to=g.schenk@eckelmann.de \
    --cc=ptxdist@pengutronix.de \
    --cc=t.mehnert@eckelmann.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox