mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bth@kamstrup.dk>
To: ptxdist@pengutronix.de
Cc: bth@kamstrup.dk
Subject: [ptxdist] [PATCH] php5: added openssl support option
Date: Fri, 5 Dec 2014 14:50:31 +0100	[thread overview]
Message-ID: <1417787431-22603-1-git-send-email-bth@kamstrup.dk> (raw)

This is useful when handling certificates in a web interface.
Ex. Validate parameters on a PEM certificate.

Signed-off-by: Bruno Thomsen <bth@kamstrup.dk>
---
 rules/php5.in   | 7 +++++++
 rules/php5.make | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/rules/php5.in b/rules/php5.in
index f4c3aeb..17ead2c 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -13,6 +13,7 @@ menuconfig PHP5
 	select XMLRPC_C	if PHP5_XML_LIBXML2_XMLRPC
 	select SQLITE	if PHP5_EXT_SQLITE3
 	select ZLIB	if PHP5_EXT_ZLIB
+	select OPENSSL	if PHP5_EXT_OPENSSL
 
 if PHP5
 
@@ -272,6 +273,12 @@ config PHP5_EXT_ZLIB
 	help
 	  Enable zlib support for PHP.
 
+config PHP5_EXT_OPENSSL
+	bool
+	prompt "openssl"
+	help
+	  Enable openssl support for PHP.
+
 config PHP5_EXT_PEAR
 	bool
 	prompt "pear [BROKEN]"
diff --git a/rules/php5.make b/rules/php5.make
index 1bf97df..aef503b 100644
--- a/rules/php5.make
+++ b/rules/php5.make
@@ -220,6 +220,12 @@ else
 PHP5_AUTOCONF += --without-zlib
 endif
 
+ifdef PTXCONF_PHP5_EXT_OPENSSL
+PHP5_AUTOCONF += --with-openssl=$(SYSROOT)/usr
+else
+PHP5_AUTOCONF += --without-openssl
+endif
+
 ifdef PTXCONF_PHP5_EXT_CURL
 PHP5_AUTOCONF += \
 	--with-curl=$(SYSROOT)/usr
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2014-12-05 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 13:50 Bruno Thomsen [this message]
2015-01-12 15:33 ` Michael Olbrich

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=1417787431-22603-1-git-send-email-bth@kamstrup.dk \
    --to=bth@kamstrup.dk \
    --cc=ptxdist@pengutronix.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