From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YAgzJ-0005aI-4C for ptxdist@pengutronix.de; Mon, 12 Jan 2015 16:33:05 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YAgzJ-0004er-2r for ptxdist@pengutronix.de; Mon, 12 Jan 2015 16:33:05 +0100 Date: Mon, 12 Jan 2015 16:33:05 +0100 From: Michael Olbrich Message-ID: <20150112153305.GF26436@pengutronix.de> References: <1417787431-22603-1-git-send-email-bth@kamstrup.dk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1417787431-22603-1-git-send-email-bth@kamstrup.dk> Subject: Re: [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 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 > --- > 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