mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] php5: added openssl support option
@ 2014-12-05 13:50 Bruno Thomsen
  2015-01-12 15:33 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2014-12-05 13:50 UTC (permalink / raw)
  To: ptxdist; +Cc: bth

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] php5: added openssl support option
  2014-12-05 13:50 [ptxdist] [PATCH] php5: added openssl support option Bruno Thomsen
@ 2015-01-12 15:33 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2015-01-12 15:33 UTC (permalink / raw)
  To: ptxdist

On Fri, Dec 05, 2014 at 02:50:31PM +0100, Bruno Thomsen wrote:
> This is useful when handling certificates in a web interface.
> Ex. Validate parameters on a PEM certificate.
> 

Thanks, applied.

Michael

> 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
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-12 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-05 13:50 [ptxdist] [PATCH] php5: added openssl support option Bruno Thomsen
2015-01-12 15:33 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox