From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.kamstrup.com ([93.167.225.188]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XwtHY-0001Iu-7D for ptxdist@pengutronix.de; Fri, 05 Dec 2014 14:50:52 +0100 From: Bruno Thomsen Date: Fri, 5 Dec 2014 14:50:31 +0100 Message-ID: <1417787431-22603-1-git-send-email-bth@kamstrup.dk> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] php5: added openssl support option Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: bth@kamstrup.dk This is useful when handling certificates in a web interface. Ex. Validate parameters on a PEM certificate. Signed-off-by: Bruno Thomsen --- 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