From patchwork Tue Jul 10 15:25:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141520 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4024703ljj; Tue, 10 Jul 2018 08:25:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcGbFildNVZZ8tt45EhI+W2KDOMNrw86c7QG4y7y+rj2BFkKS3sR9RlRX3oeRjsFryKnH0B X-Received: by 2002:a62:c4c3:: with SMTP id h64-v6mr26110737pfk.39.1531236348443; Tue, 10 Jul 2018 08:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531236348; cv=none; d=google.com; s=arc-20160816; b=wA2A4qxLUcdlWLdd8yDYA6JCw1SsEJMB1KK1+2WZnbiyySx6wftITJVcYBnWavTtQe pVePYpz4+L7hfx+QUDOINbrrURlTc8gb4aAQMYqBoaxZKxhfmhoJBxwKn7ryCx8VK7z2 nIAhkQzjCWcs/XzC6dAedE12fWX2FvVtJrWtcNUKF4DubroGet0LfdEjOBEUtZSALOvi chz8cDdE1SRIwFC5dHC8ie7QddFQFm8Nsh5DTWQ5ORV8lXNeRaQPNzmg6o74Nuk2sn6C hWJ67JcUlvYvAAB2cCH7hbzpeDb0OaU+Tite89n+GU+aLDJLGz1kPMjAfz8x6FXUpKAD Z+Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=zCeYjgJPZoNT8cJTuNdaUnbNvtMrwh39EO57oU8oLmQ=; b=byh8LhsP/yvAqn3sXiAjMDC6TIHY1uR/poBOduV+B5ano4p6PoOQORNlJwu86vkcDQ fZf4v9+kd4aCm1Y9SUR5cAmjVD8vitqgv94oyLyiGcRUk0CQ1XI+IRcc9x626HNxTnZw s0Bx5y0tZHlvRlodPpn9z7yhCBeBJJOBAJ5AnhuYUlkHdRXJ3eHDhA1bMO0iOUkhBNhx BzS3bhzOTyYHyfjrBlnDtTkAXmvqU2jGK/+WroHFHMAZlCZHd8r9mScxNkTNAXhA/sjY w75B7lGUNP4W2g2DCQ8TLikEN7Nby1YE6rb6AceJW69sqyqxAU/ER8gGLI36Jc0KmoVn XZoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=bMMX92l+; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v4-v6si16143005pgc.450.2018.07.10.08.25.48; Tue, 10 Jul 2018 08:25:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=bMMX92l+; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4FF257600A; Tue, 10 Jul 2018 15:25:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mail.openembedded.org (Postfix) with ESMTP id 18CB17600A for ; Tue, 10 Jul 2018 15:25:44 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id a3-v6so5832457wrt.2 for ; Tue, 10 Jul 2018 08:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=B/xzeg/1+HyE4+5x8ln72x7jA/6rSu+7DV768qcdLl4=; b=bMMX92l+Ku5xskPkXdiqQ6SdJ5YSSm7zOcroyHcBqJkJucqvKhwIg1L6wEgeFUwJyD E5fhcH0iA8o+E1EbNSznxvpjkSZD9VfrmKqjoTusSPUX9XcySF2vEjBbQw3zrpKlGlJN 58HKTw2YNf2/BAxs9bD/THE5liZEmnjOZSjU4uq7WFVZpEMYphX3sdSRo787kEj8Q7Pq u1JBNC82hBmWLk1/awRcANs7MJQ8ApzbDn+viEMWOs8FrbTgjPNzZPqbjS2E1nMFOgUq cHmkL/e54rtwyvn5LRQzhw+rJd4PbhIyFfcbNHN0cG53H+LnANDm+5t4sIpi4JeBzne3 2vPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=B/xzeg/1+HyE4+5x8ln72x7jA/6rSu+7DV768qcdLl4=; b=aIZF5pGz8pJsUw0EORz0JbI9F8qDbcM+/ceyskHT02nRK9RgYbE7osQULnV2vanXME 7AcmErucXJSnFHeetctdNVZ5P5vnaiPiNcR7EPxLfyDcveOiENI2a+PX1DvbfBLWbtAB 2uSnN4iA8aStvf5jpNj3w5qFi3S61W8HHV7EFogCUPOpXhrGzLE64CPwg7AYw3hc6G8+ r4C30XSc5ncgDiK4ULOXVmCjI/C/CQkdgQATX0caCldtnSYuHx7fwY0OWrXq4HLyzUw4 L+OkgTezdXFVeF+yKLLCZRUJT232ajBqQxXk5qXl+IHJrCYgzLG3w19cdmOpjxrQGwqm SN+A== X-Gm-Message-State: AOUpUlF2UMZqJ4OTHTyeVAgJ80mFlMuvI7o4k3sfPpgFRv2z5CnkrH7a ZOhprcWAH91G9s5OQmOz8YzMCWGq X-Received: by 2002:adf:f091:: with SMTP id n17-v6mr6885068wro.49.1531236344629; Tue, 10 Jul 2018 08:25:44 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id v5-v6sm5296111wru.60.2018.07.10.08.25.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 08:25:43 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Tue, 10 Jul 2018 16:25:42 +0100 Message-Id: <20180710152542.10701-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [oe] [PATCH] php: actually enable openssl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org The PHP recipe depends on OpenSSL but support is disabled unless you pass --with-openssl. Add a PACKAGECONFIG for openssl and enable it by default. Also for clarity pass --enable-opcache when the opcache is enabled. Signed-off-by: Ross Burton --- meta-oe/recipes-devtools/php/php.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index f262d60d15..9ac1dc46f0 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc @@ -5,8 +5,7 @@ SECTION = "console/network" LICENSE = "PHP-3.0" BBCLASSEXTEND = "native" -DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native \ - openssl" +DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native" DEPENDS_class-native = "zlib-native libxml2-native" PHP_MAJOR_VERSION = "${@d.getVar('PV', True).split('.')[0]}" @@ -68,7 +67,7 @@ EXTRA_OECONF_class-native = " \ ${COMMON_EXTRA_OECONF} \ " -PACKAGECONFIG ??= "mysql sqlite3 imap opcache \ +PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \ ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ " PACKAGECONFIG_class-native = "" @@ -92,7 +91,8 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \ ,--without-imap --without-imap-ssl \ ,uw-imap" PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," -PACKAGECONFIG[opcache] = ",--disable-opcache" +PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache" +PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"