From patchwork Sun Jul 8 05:16:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 940895 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bxXrJjoh"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NcFC5wH7z9s2g for ; Sun, 8 Jul 2018 15:18:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4BEE122D44; Sun, 8 Jul 2018 05:18:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9V9irWfcnPjN; Sun, 8 Jul 2018 05:18:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6C29E22F5B; Sun, 8 Jul 2018 05:18:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EE53B1C25F0 for ; Sun, 8 Jul 2018 05:18:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EBFDC86030 for ; Sun, 8 Jul 2018 05:18:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IEe1EDNCmSeP for ; Sun, 8 Jul 2018 05:18:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4D0DE85E4C for ; Sun, 8 Jul 2018 05:18:32 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id c131-v6so8263436qkb.0 for ; Sat, 07 Jul 2018 22:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RJb27qTmgh4+Ndgo6LpKS2CLRuIz+K4CXyYeCV1iad4=; b=bxXrJjohlQq2qSiiGEYl+fEASrzh+8mXKB4obEov+D865pSsDw3v/J/MVJp09LH/iS EsOBXtm2tkUwvw+H60cYeYcs6xww6qDgTEjR6yao/M5hubLyiIVVH1Nh6yqLxZoFf72m IyES7TJGfK+maY+8x8Y56dc4d9XUMpbCQTo7CI0+308tdMoCWUoAuZubR8umyGgc9O6v QaNb2WWOEsW7h9Ft6q/0WYPkuigIQo6/ozBoa/r49iFtvZYwU2cVlloPo/bBA46+K/Xl o4zxuB2TZTK9n++giaZQXqqhp8jwAQL02h7SE8FmOcwbiMr7q4OGooHOmiBnAeMW7ri+ ZOGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RJb27qTmgh4+Ndgo6LpKS2CLRuIz+K4CXyYeCV1iad4=; b=a0tL+JUujRLpuC54Jj+OC6S7Dc2/VMdlESdBOUy9JisbJmDMm2uYY5SB/vK2rD+mSd Te5NanP02LrSHtzB1f3k5fYDT37lZ4OVF9LSvTOdGbbGKf8VtNUTIx7+ssitL/uEcAz3 HmK1cqwC6oVxtlRJk2hBv2oiM2jeoNSMcSrh4zSe3hO6ZUB6sZM38+27P1A9jA3ThgLC f9cfON/ux0nsn3pEHX7EdWbpGZ/AELPLDTXQekRfQvkOWaVc/YyxUCf1q74aCGkSNmYj 98sxXTArv0SaFesqhdHikL7gqVCbC7Hks2r5MV6Nti5iWWF1hg19m92x3t+rov+9uqpA jx6Q== X-Gm-Message-State: APt69E2jAZfYs8hFmBR5eOncLdYbLpr8AHdRtzv/ijANnCj86eTJCRhT vOdU3Eq/ZGn9L1QB28vKcWhxaA== X-Google-Smtp-Source: AAOMgpcZrcEQ6CJInbP62L4uIRZERy9Y0r1KOJrc1cyiFpe8//IXwDaWLXeonyvr/R4zaTr/QdYEFA== X-Received: by 2002:a37:b12:: with SMTP id 18-v6mr13667220qkl.217.1531027111232; Sat, 07 Jul 2018 22:18:31 -0700 (PDT) Received: from ultri5.home ([177.134.40.140]) by smtp.gmail.com with ESMTPSA id f64-v6sm12255313qkf.2.2018.07.07.22.18.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 22:18:30 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Sun, 8 Jul 2018 02:16:57 -0300 Message-Id: <20180708051701.3153-1-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH 1/5] gconf: use $() to reference make variables instead of ${} X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Ricardo Martincoski --- package/gconf/gconf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gconf/gconf.mk b/package/gconf/gconf.mk index 39df95fbd2..60ced95e18 100644 --- a/package/gconf/gconf.mk +++ b/package/gconf/gconf.mk @@ -5,7 +5,7 @@ ################################################################################ GCONF_VERSION = 3.2.6 -GCONF_SOURCE = GConf-${GCONF_VERSION}.tar.xz +GCONF_SOURCE = GConf-$(GCONF_VERSION).tar.xz GCONF_SITE = http://ftp.gnome.org/pub/gnome/sources/GConf/3.2 GCONF_CONF_OPTS = --disable-orbit GCONF_DEPENDENCIES = dbus dbus-glib libglib2 libxml2 \ From patchwork Sun Jul 8 05:16:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 940897 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mNe0qA0s"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NcFJ3wtCz9s37 for ; Sun, 8 Jul 2018 15:18:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id ED57986274; Sun, 8 Jul 2018 05:18:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FRZA7JMgEQlX; Sun, 8 Jul 2018 05:18:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CE64585E65; Sun, 8 Jul 2018 05:18:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 015A51C25F0 for ; Sun, 8 Jul 2018 05:18:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EFE6122FDB for ; Sun, 8 Jul 2018 05:18:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E7fVOSSDPqv7 for ; Sun, 8 Jul 2018 05:18:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by silver.osuosl.org (Postfix) with ESMTPS id BF9D822FC6 for ; Sun, 8 Jul 2018 05:18:36 +0000 (UTC) Received: by mail-qt0-f193.google.com with SMTP id q12-v6so13095281qtp.6 for ; Sat, 07 Jul 2018 22:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fZgZsP+L011RDwtV15uEiC76zLnfNmsgdm7jFsEffno=; b=mNe0qA0s/MmytQSUd9psKjakDif0/A5nS5L8L2iMDeiil38sejB3H88Mp/hDPccjrC l06XGZMUWlTJ2IRkd2zn2Ul4pw9+DhLdcEx31DXRTs/wlPFsj2WLtUY7lyMHwBOu9lE6 Vo9B6hdnVTBwd34xYJsJx6vNc9Lxga1lpGgc6vupTZLwzcvaAx+4xMEcwTSyCub6y4r1 WU0kI1XFQzYGCVw19HB+0K7SO+AQ4o64R7Vwxv/C9pZOphddQbRH63cM404ZG6jbkEuT ovqCzfEcvYSldm3MweewkxuNpkQRYMxqDTrVOHVXG4ZfNvP5IN89P3Orx0giaI1IzOBG YjdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fZgZsP+L011RDwtV15uEiC76zLnfNmsgdm7jFsEffno=; b=JSYsgwYdYWlUK/U+by3NtsEE8a+/lQbUBbo9AmL6UFLa7EeNORDk2iNQeQiCY4VDSh +gI8qZO81g+2EHBO+upvmzNpAsY2bQ+F/qk408yTzUEYaURdcV+c+fH2oOqP6bUkadN4 6l0/pQNMhwbyNJM0hPjP7dedpwwHDt1ejUS5/NW0BDyLkpGbJfMPA7RX2G6Ih9GuR4QQ WuCBzDd9iUoFNiiIHZzoqqgz8wADYNv43Ae5TYYd9bfht3ax+f93ZO5Qsvp3QLIWacF7 lNY/Jn7oJ+FJDw/5HOZ8Zg1AF8XxBCRiiwCeZfukQ9AE8h9Rm22iMR21UiH0y82dGfEp Zzyw== X-Gm-Message-State: APt69E1LE6xEamr4TgI7m36P+qDIHsb9+uibleu0D05Dla999publ0yE CaR8OHsqo1YmWJ2ACs7vsDOohw== X-Google-Smtp-Source: AAOMgpcdDlW056OrbKyTihqXSWOHfr8Y3eFHlFDa/NrCWd6+AlujmBDJuaglWZdzY43SrEtpbyOTQQ== X-Received: by 2002:a0c:9692:: with SMTP id a18-v6mr13874664qvd.16.1531027115672; Sat, 07 Jul 2018 22:18:35 -0700 (PDT) Received: from ultri5.home ([177.134.40.140]) by smtp.gmail.com with ESMTPSA id f64-v6sm12255313qkf.2.2018.07.07.22.18.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 22:18:35 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Sun, 8 Jul 2018 02:16:59 -0300 Message-Id: <20180708051701.3153-3-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180708051701.3153-1-ricardo.martincoski@gmail.com> References: <20180708051701.3153-1-ricardo.martincoski@gmail.com> Subject: [Buildroot] [PATCH 3/5] libpng: use $() to reference make variables instead of ${} X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Ricardo Martincoski --- package/libpng/libpng.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk index f8594c808f..ace62cd876 100644 --- a/package/libpng/libpng.mk +++ b/package/libpng/libpng.mk @@ -7,7 +7,7 @@ LIBPNG_VERSION = 1.6.34 LIBPNG_SERIES = 16 LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz -LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION) +LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng$(LIBPNG_SERIES)/$(LIBPNG_VERSION) LIBPNG_LICENSE = Libpng LIBPNG_LICENSE_FILES = LICENSE LIBPNG_INSTALL_STAGING = YES From patchwork Sun Jul 8 05:17:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 940896 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="h2nDeJui"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NcFJ4DWhz9s3R for ; Sun, 8 Jul 2018 15:18:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3D1DE85E4C; Sun, 8 Jul 2018 05:18:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wlalkBszK870; Sun, 8 Jul 2018 05:18:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 99BF386030; Sun, 8 Jul 2018 05:18:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 41F851C25F0 for ; Sun, 8 Jul 2018 05:18:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3E7B98797D for ; Sun, 8 Jul 2018 05:18:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nnXmKMLVZk11 for ; Sun, 8 Jul 2018 05:18:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id A10498794A for ; Sun, 8 Jul 2018 05:18:38 +0000 (UTC) Received: by mail-qt0-f196.google.com with SMTP id y20-v6so13097602qto.8 for ; Sat, 07 Jul 2018 22:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lYQm5baPLM+A8u4GizX3YWigBbCTd/t6mpggNlp3GXM=; b=h2nDeJuitRinzyp5dTgQZQW6paSqk8zVHaN2xUfKQHNMk0TgIezw283XUXjQQ3SBp+ WAc5QtHSEpnnQOcRAC10/dwfOyxQ7k5l70M/qi1Rjrl493QmLkLeB/T4o4DPimC5W8gx x4YY7ABOQVtWYCnq7K4TwPdBglOIfbsZaGS/XDhZstwUck5CvmaGqRaXr+4c8VL7JDHU DGE7O2sJwLbW3iwRq+voonn5LID/aZ3mOPk5DxYNwWXtvc1K8AuctRCcAHPXUBUNhu0K 5aqSs8HXufEMfPQdfaiR1W/YtRoC+ezuGx5bpNzd63XgU5ZrfVQEO00so0rUS+XdA8Pz 58OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lYQm5baPLM+A8u4GizX3YWigBbCTd/t6mpggNlp3GXM=; b=o++bimXQ46E4FCAg0fJY7UmEAdS4N58/ueb4lUZX5rLPJJ1SKVQU9fwbLfBe8cMkjy 7/YuHSwoqFpVZQcNW++cAdno2BhP1ifHBHhDOZFJ7xgc8t2Bfu1tUqESNHSG/Fiuxq1u uKyl/mn/w8QVQM2aAXYHSyL5NcHMw9JOAaIlGzLINm7Y/kpftJxQ25aXQF2K6p3W6bYq sYjVqknbD2kSFPRRb/IBaGaS1Qy1aI+xleEzZkemF2U1UE0AIavMSV4ltnvuLNmvVqEz OeQrFFOD4oEdZOI6tbglkYrz8aq1ubwCUt/vhqWWsu8z1ymBbwzR92SM4lKz0P62nsXL T3fA== X-Gm-Message-State: APt69E165++SigwILk0iPPDfac2zhnBZqzMZrJm4QyHnLmegF8EY7M2B Gzx6XHHzXw9aTJe6gXT94fL25Q== X-Google-Smtp-Source: AAOMgpdsXTxKgJ6XhGmhaSVaYOKfRx7l8pa/vAbgRpdD42+h5SM8LPn55BeRvWMFL3v3sgYocr6dRA== X-Received: by 2002:a0c:c38e:: with SMTP id o14-v6mr13562411qvi.49.1531027117627; Sat, 07 Jul 2018 22:18:37 -0700 (PDT) Received: from ultri5.home ([177.134.40.140]) by smtp.gmail.com with ESMTPSA id f64-v6sm12255313qkf.2.2018.07.07.22.18.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 22:18:37 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Sun, 8 Jul 2018 02:17:00 -0300 Message-Id: <20180708051701.3153-4-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180708051701.3153-1-ricardo.martincoski@gmail.com> References: <20180708051701.3153-1-ricardo.martincoski@gmail.com> Subject: [Buildroot] [PATCH 4/5] php: use $() to reference make variables instead of ${} X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Ricardo Martincoski --- package/php/php.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/php/php.mk b/package/php/php.mk index 4c3a87118e..028fa6fc55 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -137,7 +137,7 @@ endif ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y) PHP_CONF_ENV += php_cv_libxml_build_works=yes -PHP_CONF_OPTS += --enable-libxml --with-libxml-dir=${STAGING_DIR}/usr +PHP_CONF_OPTS += --enable-libxml --with-libxml-dir=$(STAGING_DIR)/usr PHP_DEPENDENCIES += libxml2 endif From patchwork Sun Jul 8 05:17:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 940898 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="O2i+M8Sd"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NcFK4DZhz9s3q for ; Sun, 8 Jul 2018 15:18:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EA14F87A77; Sun, 8 Jul 2018 05:18:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pXTM0iXy5gJ6; Sun, 8 Jul 2018 05:18:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 55F4F8794A; Sun, 8 Jul 2018 05:18:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 3454D1C25F0 for ; Sun, 8 Jul 2018 05:18:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D9A278626D for ; Sun, 8 Jul 2018 05:18:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xutOS1Wntpm for ; Sun, 8 Jul 2018 05:18:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 3149085E65 for ; Sun, 8 Jul 2018 05:18:41 +0000 (UTC) Received: by mail-qt0-f194.google.com with SMTP id f18-v6so13093681qtp.10 for ; Sat, 07 Jul 2018 22:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=djMOciDwUnlEaBlijSZQlPi2+yyPRoM0Pza0HIG2YCs=; b=O2i+M8SdEuNaSSsej8kexf9YhtTapDixgbdKbZRmCMsBkkoxyzorY4JUlEjXcKR51P nxWn0eCyCklWaDG89L1ehN7k/MZY6sVf+tRs2ikLqmpp4mvTUmuVzesQwVwdZqSdN/0O SjoV2+qAVx6zZSXn5ByFRlS6ciM1w1jFhPTKsdApJXJqRWvy1rUvPEi5zmF8pIDLkV0e en4JRqAJiQK8qbeO18WtQsPGLJOs4sWIQKeuRfeKFvAU7krHxaLKfbrObK4DYAtikCEi AgQa9KHrBWo5pi/vESgj++MG1RAxmHyRfgHQdgIaGeU7ThOWEW3BChcu6pe5z7SDY+ef TKhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=djMOciDwUnlEaBlijSZQlPi2+yyPRoM0Pza0HIG2YCs=; b=eErxA/3+8icEacdxbRCwpzF26DwKRo27OBM54FSc+UO9K6PAXUbC6I2FxqteyMJR1p HzBeZI0bH3qB8Y3uKp6/1GVUri0NKL5kDfzb9+rU/ILAkSnqurv636YIR2Y+RkxM7hdC FNr0DkyY7m9ykNyBOJSyeiJz8txZjamCyydAEVmYwAwhXNVFPdLquanvGh7s9CZ5hd48 n8OC1qeYQh0ZyP1Gm76yYPzMA4x/VWc3fqIhy0Kqw7skO+HLENXxXnpfMbxFN6Ryq9Jz lUKpio0XslP3dzYXkQl5eenS99OuU64I0hDmZ7sxYgdSIMNilp6FlNgQjCfJUJar8kWH xc8w== X-Gm-Message-State: APt69E2ttSVD2Q0zthgL+/YAgVJe9qGzmYXyegDXmVKsikZWBQieZaR7 e5Pu55lSFkapaVuKM2v4+eWpzg== X-Google-Smtp-Source: AAOMgpc6AA/fO48VslY3N+/d9vMMV0DJdiB63y5iAyDRCFSzM+VMlDBVftjJ0bkZS8xVy4/kPNsj8Q== X-Received: by 2002:aed:3ccf:: with SMTP id e15-v6mr15007823qtf.59.1531027120216; Sat, 07 Jul 2018 22:18:40 -0700 (PDT) Received: from ultri5.home ([177.134.40.140]) by smtp.gmail.com with ESMTPSA id f64-v6sm12255313qkf.2.2018.07.07.22.18.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 22:18:39 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Sun, 8 Jul 2018 02:17:01 -0300 Message-Id: <20180708051701.3153-5-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180708051701.3153-1-ricardo.martincoski@gmail.com> References: <20180708051701.3153-1-ricardo.martincoski@gmail.com> Subject: [Buildroot] [PATCH 5/5] check-package: detect the use of ${} in .mk files X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" And warn to use $() instead. For examples see [1] and [2]. In the regexp, search for ${VARIABLE} but: - ignore comments; - ignore variables to be expanded by the shell "$${}"; - do not use \w as it would give false warnings for this sed contruct in mesa3d-headers.mk: 's:@includedir@:${prefix}/include:'. [1] http://lists.busybox.net/pipermail/buildroot/2018-July/225211.html [2] https://github.com/buildroot/buildroot/commit/36305380db1312442623128689fe5067d9058381 Signed-off-by: Ricardo Martincoski Cc: Arnout Vandecappelle Cc: Thomas Petazzoni --- With only this patch applied: https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/80161018 --- utils/checkpackagelib/lib_mk.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/utils/checkpackagelib/lib_mk.py b/utils/checkpackagelib/lib_mk.py index 86e9aa2d97..423e592de1 100644 --- a/utils/checkpackagelib/lib_mk.py +++ b/utils/checkpackagelib/lib_mk.py @@ -251,3 +251,13 @@ class UselessFlag(_CheckFunction): "({}#_infrastructure_for_autotools_based_packages)" .format(self.filename, lineno, self.url_to_manual), text] + + +class VariableWithBraces(_CheckFunction): + VARIABLE_WITH_BRACES = re.compile(r"^[^#].*[^$]\${[A-Z0-9_]+}") + + def check_line(self, lineno, text): + if self.VARIABLE_WITH_BRACES.match(text.rstrip()): + return ["{}:{}: use $() to delimit variables, not ${{}}" + .format(self.filename, lineno), + text]