From patchwork Sun Aug 27 01:28:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 111064 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3015912qge; Sat, 26 Aug 2017 18:28:49 -0700 (PDT) X-Received: by 10.84.234.15 with SMTP id m15mr3442722plk.247.1503797329889; Sat, 26 Aug 2017 18:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503797329; cv=none; d=google.com; s=arc-20160816; b=1J5PkFL6O1Q8Qir442anS3VCPKFvnSR8sREOMFhsW1yp4Z0BVE8SGilQZFq9Yjsv+X OmThEWF+p6P4KhRILjI+x88jw0RgiXCeOOR9Q/MhYGAZqeer7n+uZvcl5gWNw3dNMx1J VkQ1soiUCDa8+XKU0fp9+780dVtgv8/eytIp0Mr7bETpo1l0NPlGyiD043KJYZ+p8AxD a5c/Rd119Gv2GNi8qynNN4tYs/ehgxPyzLJbp0m2AdsUU0iMo/6monRWCNK0oG2TAEq+ I0+5ziWnDtmcBdKcDynmiYslWm9oi5PqVJz1eTLB8vEPKewHDgV30uZIYWtC5w3v/ccs WgSg== 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=Z2OlVhfVEGfgVtN+C3AHyGoAVcfUYMBkHGxd0QXY28E=; b=zjwQK+cdeYoiAiZZHGOIr2MMiR+lWye2XIJtRlDtGmfyE4k7V485bKxK9djT9W8tn7 t8/jBIB9u+dtgGHHzwbmTczyVbop7lb6KQUtRFMD6ydwS7abDel7xVbtLdkwXItQkOte 695CtbeGVg4tmffTrY0a+urD1nLxjM36AbR+qTRr2SduSuXGMznwr0LWOliY+WBphJo6 taWhcVPN4rthpIs7NbVBEvOx8tcmwDwRaZF2mQuqlCMwWZrrevfIeWk952CbggXmbr8E rzZRky7HpMoMgQvAdYov7pjuBz4yZStJ1GsJ3pSOkof7OAYQX/RhTe0hZsoneylAkN5m rJCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UFEKDhQO; 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=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r9si3615498pfg.601.2017.08.26.18.28.48; Sat, 26 Aug 2017 18:28:49 -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=@gmail.com header.s=20161025 header.b=UFEKDhQO; 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=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7EA8E782DF; Sun, 27 Aug 2017 01:28:41 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 6E61E7829B for ; Sun, 27 Aug 2017 01:28:38 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id 83so3587718pgb.3 for ; Sat, 26 Aug 2017 18:28:40 -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=MH5HDmxQxBl0j+34rWM191yiNoIkQOKqZYGLx9q7FFU=; b=UFEKDhQOHWBAtzL8+nbyHGJSUEKlIu+JyZ2o1IiAbk2fwl7rrGCTnPog2Gp+SNfsyb hPUZvdjEA1AYGHoQSs3vMzPMwj+e006HhEDxaFV3n2neC+hVIEGuedKcJmqr3IKwC/vC JmSzm6Pnl0sYDyvqtGEXgkJkAtEtyQsM1uaqJRYKAIm7/NAIlybyGbqN6v11Cezn/TmE Pw2n0dle4RQwDQC8JyLBZj7do8w3Lr8ru72UbicvFDmiFYpxSMnKlSvT5I8QQOdpFxYy CiB2dGJUtw0vT5cvkL0fOT3tf+dwfAVRLMr7HupTBZuIri0rnF/JSaU9nD8jgCtQqrha 25MQ== 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=MH5HDmxQxBl0j+34rWM191yiNoIkQOKqZYGLx9q7FFU=; b=PgN6SxWfh3/hza0yZUKD+a0EFnxfLolskk0QOlVsVd+GPkrxtfUl+y48GK77cJ315u FqTTeydhK+SeAHm22PZBpQKfuXJZ4U5dO93MWvy6WL6FIFQRXARPvmw4soWyB9RfZciU n9PT77zJYnk/Br93+K/h/BgY+dAzz63ZOuQhe71RulLVsZPK/cdypJZUSHKuQ0TDM6+c cFIARli/jeRhIOO9gEuc0Ui57m4dTOSdvvMuD7jmRge/lfcJWasHjdkjXrQSjUyAraRR wlVidjxnt2FfSvJmHjtW/PPnoloG9K9zlxun3hGK8U3AOuZKZLVHmP/kxyUGdFT/BkxW AUJA== X-Gm-Message-State: AHYfb5i9UX+46/8XAtlE6j9/VR1Gk7/QM2jyi1S+d4oiKr9m0Ze2p5HQ 5a0pvPvzXN3W9y2x X-Received: by 10.84.209.171 with SMTP id y40mr3582991plh.118.1503797320206; Sat, 26 Aug 2017 18:28:40 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::79ab]) by smtp.gmail.com with ESMTPSA id f123sm19301150pfg.86.2017.08.26.18.28.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Aug 2017 18:28:39 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 26 Aug 2017 18:28:28 -0700 Message-Id: <20170827012830.11782-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-networking][PATCH 1/3] postfix: Fix build with security flags and clang 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 Signed-off-by: Khem Raj --- ...se-native-compiler-to-build-makedefs.test.patch | 64 ++++++++++++++++++++++ .../recipes-daemons/postfix/files/icu-config.patch | 21 +++++++ .../postfix/files/postfix-install.patch | 26 +++++++++ .../recipes-daemons/postfix/postfix.inc | 2 +- .../recipes-daemons/postfix/postfix_3.2.2.bb | 3 + 5 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/icu-config.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/postfix-install.patch -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch b/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch new file mode 100644 index 000000000..763a4a9b9 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch @@ -0,0 +1,64 @@ +From a0d0de10e4c5ab55bc2fa48798079e2876b1211d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 26 Aug 2017 10:29:37 -0700 +Subject: [PATCH] makedefs: Use native compiler to build makedefs.test + +Its a binary used during build + +Signed-off-by: Khem Raj +--- + makedefs | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/makedefs b/makedefs +index 9fd4bc2..5ee7747 100644 +--- a/makedefs ++++ b/makedefs +@@ -526,7 +526,7 @@ int main(int argc, char **argv) + exit(0); + } + EOF +- ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 ++ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 + rm -f makedefs.test makedefs.test.[co] + fi;; + esac +@@ -762,7 +762,7 @@ int main(int argc, char **argv) + exit(0); + } + EOF +- ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 ++ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 + ./makedefs.test 2>/dev/null || + CCARGS="$CCARGS -DNO_SIGSETJMP" + rm -f makedefs.test makedefs.test.[co] +@@ -796,7 +796,7 @@ int main(int argc, char **argv) + &error) != 14); + } + EOF +- ${CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ ++ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ + $icu_ldflags >/dev/null 2>&1 + if ./makedefs.test 2>/dev/null ; then + CCARGS="$CCARGS $icu_cppflags" +@@ -911,7 +911,7 @@ int main(void) + exit(ferror(stdout) ? 1 : 0); + } + EOF +- eval ${CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 ++ eval ${BUILD_CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 + ./makedefs.test || exit 1 + rm -f makedefs.test makedefs.test.[co] + } +@@ -1067,7 +1067,7 @@ int main(void) + exit(ferror(stdout) ? 1 : 0); + } + EOF +- eval ${CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 ++ eval ${BUILD_CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 + parm_val=`./makedefs.test` || exit 1 + rm -f makedefs.test makedefs.test.[co] + eval ${parm_name}=\""\$parm_val"\" +-- +2.14.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/icu-config.patch b/meta-networking/recipes-daemons/postfix/files/icu-config.patch new file mode 100644 index 000000000..9bd9c2f03 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/icu-config.patch @@ -0,0 +1,21 @@ +do not entertain cppflags from icu, this is because +icu-config feeds the -I path without sysroot which +caused native headers to be included and build is +corrupted in any case its just adding -I/usr/include +to the CCARGS which we loose nothing if its not +entertained. + +Signed-off-by: Khem Raj + +Index: postfix-3.2.2/makedefs +=================================================================== +--- postfix-3.2.2.orig/makedefs ++++ postfix-3.2.2/makedefs +@@ -799,7 +799,6 @@ EOF + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ + $icu_ldflags >/dev/null 2>&1 + if ./makedefs.test 2>/dev/null ; then +- CCARGS="$CCARGS $icu_cppflags" + SYSLIBS="$SYSLIBS $icu_ldflags" + else + CCARGS="$CCARGS -DNO_EAI" diff --git a/meta-networking/recipes-daemons/postfix/files/postfix-install.patch b/meta-networking/recipes-daemons/postfix/files/postfix-install.patch new file mode 100644 index 000000000..45479bd52 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/postfix-install.patch @@ -0,0 +1,26 @@ +Index: postfix-3.2.2/postfix-install +=================================================================== +--- postfix-3.2.2.orig/postfix-install ++++ postfix-3.2.2/postfix-install +@@ -843,7 +843,7 @@ IFS="$BACKUP_IFS" + # the wrong place when Postfix is being upgraded. + + case "$mail_version" in +-"") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 ++"") mail_version="`$POSTCONF -c $CONFIG_DIRECTORY -dhx mail_version`" || exit 1 + esac + + # Undo MAIL_VERSION expansion at the end of a parameter value. If +Index: postfix-3.2.2/Makefile.in +=================================================================== +--- postfix-3.2.2.orig/Makefile.in ++++ postfix-3.2.2/Makefile.in +@@ -20,7 +20,7 @@ META = meta/main.cf.proto meta/master.cf + EXPAND = sed -e "s;\$${LIB_PREFIX};$(LIB_PREFIX);" \ + -e "s;\$${LIB_SUFFIX};$(LIB_SUFFIX);" + SHLIB_DIR_OVERRIDE = \ +- $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -dhx shlib_directory`} ++ $${shlib_directory:-`$(SHLIB_ENV) $(POSTCONF) -dhx shlib_directory`} + + default: update + diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index cb9d59f93..a588bd347 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc @@ -73,7 +73,7 @@ export CCARGS-sasl_class-native = "" export AUXLIBS-sasl_class-native = "" # PCRE, TLS support default -export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" +export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.2.2.bb b/meta-networking/recipes-daemons/postfix/postfix_3.2.2.bb index 1118b2ed4..439ede9b6 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.2.2.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.2.2.bb @@ -10,6 +10,9 @@ SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV file://aliasesdb \ file://check_hostname.sh \ file://0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch \ + file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://postfix-install.patch \ + file://icu-config.patch \ " SRC_URI[md5sum] = "aea073a9b0bea5bdb590460a270a4aa0" SRC_URI[sha256sum] = "d06849418d119d09366997b2b481bb23f737629769b4e4a52da42fb3ad8b0576" From patchwork Sun Aug 27 01:28:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 111065 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3016286qge; Sat, 26 Aug 2017 18:29:17 -0700 (PDT) X-Received: by 10.84.209.165 with SMTP id y34mr3613336plh.200.1503797357140; Sat, 26 Aug 2017 18:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503797357; cv=none; d=google.com; s=arc-20160816; b=xdnslmdBeCD2JaadjZczhB/q7zX7V801gAirLwgiwQTX1sTnpfhPnIzSTHkhetAvp/ F9bp0P/Qfpze4xMOzS6NHLaAndepv84vwxNK2wV51LsGBGPLkuTt3WP0YtlnK8bV8blG v2AcWO35M39Ya8A2LA9RThOEPM2XrHvE0KXW3IfVwgyzkN0kgjmxz+rHBmK3bMtdM0O+ ING1kKD1IpsTlVOVjWsuPjSqmAMyp5xlildm47qe5gSlXuKqqn80TcBsj1GTfYPIvUYG mRE+1wxoJya1SHlq+xl6ujkNJxyiuoLXylkrVbI9HBTSOo97N7Y72fNwtSsdAl5SJW33 s4ug== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=TCmVOd0cPjbMxWZ8+pEqVmvWwmYR8eMS9wQR0hSowOY=; b=mu135TOAii5HxQEKaa4w0hvyZ5F8CTMoGKLXyraZFMqjADS4GT6MUkdWgIz1q7Hc/C PtYXlCrHGleX9d1jEKYv5brL7EKan6FkucAFCQd4ya6iQKbJOa6Tl8gv+iUma6cmj0FC mjRr204q3yw2Hf/wvYP1IVlgbafvjDlod18fXaH7vMBoawGScfKLJN1bgNMvqDHMfgOI qybLym0GYlfZUcA/Ld13DLTvR2HwdsaT5f+EsSLJMVkY2FkSPhNIV5EyF+++BJzAXSBA S6FZ0X/vi4GllKFIAfTlgHf6GvpbHIL8g99PwQ4+uwaJitY+l8vd4PJpS0CX7vyWd3iU UI/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=DE2k9elD; 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=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d10si7085911pgc.168.2017.08.26.18.29.16; Sat, 26 Aug 2017 18:29:17 -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=@gmail.com header.s=20161025 header.b=DE2k9elD; 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=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4A2CE782E7; Sun, 27 Aug 2017 01:29:13 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 038D3782CE for ; Sun, 27 Aug 2017 01:28:40 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id c28so1711716pfe.0 for ; Sat, 26 Aug 2017 18:28:42 -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=vWGgLPIMn/f9vheoRq/I36/LPjavtwCUb6u7OXr/YNo=; b=DE2k9elDF0Fn5LXLT/LeA/rd4hbEJ1/kVqLrpb6JDExT42x4S4DcahU3/kMcHN5oZU FRu3IAL5OT4OFnabLw6LCJDlViAJf/2FBxdCcKXcFbmOu69lnSTO9iAFrqXoh+qpmdDy moTm6nF7IVnF946PwDG1ZnqH7d6NqK/6930Y3kXUwheB/Q8m9zNn2s0ocVDGjfolMpPB WPbt5B3AItpGcjgHgNSEk7/K2lvAGG/hgpBUdxCpB8qMbec3VwRUdCkloX303OulaHYF pKnqzxtUBaGrpum3I6YGTp4+X+K6ndeDiuaw6fp6RQeOqSepHaVoLqahzRciMNJLFju4 6W5A== 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=vWGgLPIMn/f9vheoRq/I36/LPjavtwCUb6u7OXr/YNo=; b=GzF5j5trAaR/bCTpXcPnTBZsyJBGWB/DyieuTNFt8D+oJmbPQOio1bw5snzhitYsMg Uns62t35cqrjGcTA6PIl6JsMhK6OyjY5TnzMofX+qRN9E8PfxT3aKUJb6jr3qKC/zsS8 rWx4My1o5WeEkKFV4AJudvnncHwEORu5LX2deVC+GT9qptE8XnL+zhvYbTbFfzEaQBzy l9c88daXPqmvWXmUP8YBgUQ2uK7jNQdqfjDw7CJOYYmK0hWNAErgjhirhM13trPDpJn4 KSrQh0xwuVu6b8nizDj94EP+CqdgsAZzrkQ+m+clTIXOdPhUcCWEcCpt+uVeS0lcS4+R jaVQ== X-Gm-Message-State: AHYfb5iGdPckOjjryBh89/WgYo2SGJ1J5IWLq9lVN5LpV4ueKCGGU0xl 4Zizm5EnxxXMcKV2 X-Received: by 10.99.171.13 with SMTP id p13mr3098862pgf.109.1503797322025; Sat, 26 Aug 2017 18:28:42 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::79ab]) by smtp.gmail.com with ESMTPSA id f123sm19301150pfg.86.2017.08.26.18.28.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Aug 2017 18:28:40 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 26 Aug 2017 18:28:29 -0700 Message-Id: <20170827012830.11782-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170827012830.11782-1-raj.khem@gmail.com> References: <20170827012830.11782-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/3] irssi: Upgrade to 1.0.4 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 Disable perl explicitly, it pokes into host its better to disable it. Signed-off-by: Khem Raj --- .../irssi/{irssi_1.0.1.bb => irssi_1.0.4.bb} | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename meta-oe/recipes-connectivity/irssi/{irssi_1.0.1.bb => irssi_1.0.4.bb} (50%) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/irssi/irssi_1.0.1.bb b/meta-oe/recipes-connectivity/irssi/irssi_1.0.4.bb similarity index 50% rename from meta-oe/recipes-connectivity/irssi/irssi_1.0.1.bb rename to meta-oe/recipes-connectivity/irssi/irssi_1.0.4.bb index 041f5de6d..10b04bb52 100644 --- a/meta-oe/recipes-connectivity/irssi/irssi_1.0.1.bb +++ b/meta-oe/recipes-connectivity/irssi/irssi_1.0.4.bb @@ -6,7 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55fdc1113306167d6ea2561404ce02f8" DEPENDS = "glib-2.0 ncurses openssl" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" -SRC_URI[md5sum] = "f6bed196cef63ea089f5cce089784445" -SRC_URI[sha256sum] = "9428c51a3f3598ffaef438c351a8d609cf10db34f2435bdcb84456226c383ccf" +SRC_URI[md5sum] = "46d4ac2a7ab472e5dc800e5d7bd9a879" +SRC_URI[sha256sum] = "b85c07dbafe178213eccdc69f5f8f0ac024dea01c67244668f91ec1c06b986ca" inherit autotools pkgconfig + +EXTRA_OECONF += "--with-textui \ + --with-proxy \ + --with-bot \ + --with-perl=no \ + --enable-true-color" From patchwork Sun Aug 27 01:28:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 111066 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3016401qge; Sat, 26 Aug 2017 18:29:24 -0700 (PDT) X-Received: by 10.98.105.5 with SMTP id e5mr3167552pfc.166.1503797363954; Sat, 26 Aug 2017 18:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503797363; cv=none; d=google.com; s=arc-20160816; b=JpWrefBgiJBGcxkdF2PBiLPLZrViULL/JzD9aXsMy8CTr5fVgVIILeSCPw5J4mlZfH hojfM3X18qNOOFTpqO4EHIVHh+jV7cEwQ4NeSqJpdy30/hKdD9p8YAmd0sTD/yAEQicq KqMAI3Y71rUjtho0r1x3uKMhTAKMIgGmMPTDcYdXIK+ob+lxQXtanNxfFewNzNlybwa3 T5s9Ddm0rgOw42wtYyJvFQlWs5Epuivje9dYlWkAsLLZjEZbOJzf5fAoP2H5QzbRuXLh JtB95WL4dsD6CclUCDfbKvsHJ/a62F/E0ahXuEK8CveLSulYLVvDShr5n76St9p8oIM2 ZjUw== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=QBUAzhpxGMhVAlCGZLwNXv9sXq86H9OHSidOyZsQMSE=; b=EeUVtQIkUgta2nG5LKWa459opnEtRChEFfUREPlJ3pl5bapQtCEwn8wuYPU4QFkDKU L0xbBdts91Ze3j54dub0SgMvTXFcYgyVYYR7+5el2rJLgFdiPdsho/zFrx2GBlXtYB1o 7OSm27JdUvDign9c6rV0vRtkYwNoMOBW2w8RsTmMaom2P+pe02bev/ox14k4t9JgdbJ/ jZ3b0NWHIJQf52vRjlJ3j+W7Lo4lAIxoVk3KNh0TPkJuaE7Gji3SPOQhPWMRE25iBqb8 qTCw+MbnOYsS9fyqg9v0Yr+LF//HRuFGoGKk63H0+c1vSaby7zz2DD09URsueEJZmq6U NpcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kjUjVjaE; 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=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j69si4772110pfe.521.2017.08.26.18.29.23; Sat, 26 Aug 2017 18:29:23 -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=@gmail.com header.s=20161025 header.b=kjUjVjaE; 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=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5FD6F782F0; Sun, 27 Aug 2017 01:29:14 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 17921782D9 for ; Sun, 27 Aug 2017 01:28:42 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id 83so3587752pgb.3 for ; Sat, 26 Aug 2017 18:28:43 -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=CngZv+bfk3QnJa3brQpx/o7hNBv95VnQEJfh1oyT1+w=; b=kjUjVjaEDN4Grd0LE6vvAkUOIQLWOvHUtr9Wc/kllcjVxZUsDZ5B+88/l+Zsn/RYXs X9j5XfwWYGV60MpYYdB19QBkeqRduiJFSr38alvdPAB63Px5Ugfke2CUbSvQRhpPXy0I shLtGNLwG9R1MIsVpWFlMkzEuWE6ck0XgfaGwUoDHa/zQJd5Zmr4BcGkgmV/MYKIm6c3 4cpkl5V7Mta0GHaqbDlrDHc7IUz4SObF1EA8uaxYj3L9bYzjZDCOkieE9eULip8KltFL LY5GtIkH4JTUgL+9NYbhjXSBwO+qT9NsYMzb8kLvgUWkXAvYt6moHT3DUV+KwV3SA2GY BzzQ== 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=CngZv+bfk3QnJa3brQpx/o7hNBv95VnQEJfh1oyT1+w=; b=R2Hkov2434ZV2XDB2xBkd2BC8Rv//qqu1e5GNRKJeoCHiS5Bm9hPrseaaCjyP1Z61Z Pc0wSIxoRUBOCLWZygrIw40tJKlC012hvbZmj66cEJjLfTW5f6A+xo+7UZuIUj6rf+BB rxqJoH3eEPsCXuq5Yi9pAQLvLzrDtluObwnkgkIIjJZLxi+/x+4Rs4RbFKmbqlZEkL2i A0eeerb+Bi9n4O48+VEV2tPGBm2ISsMZHRgCV/JZwEaEbb+IyXDAXnc7oqOYkoKqFe9g KXEoMWZpKfUPPaWY7xDu0rtSYiKnIiT6Xu0UwOW2FwzF8HqbihQUQANgracijKSPcfjr nJuQ== X-Gm-Message-State: AHYfb5hIK7WSSKHTqui/mPyg5wlNgm2uBYvwhzEu73jrspCVpX/hPihj 2sx2uafIHZ3k1uo5 X-Received: by 10.99.23.100 with SMTP id 36mr3214873pgx.118.1503797323415; Sat, 26 Aug 2017 18:28:43 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::79ab]) by smtp.gmail.com with ESMTPSA id f123sm19301150pfg.86.2017.08.26.18.28.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Aug 2017 18:28:42 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 26 Aug 2017 18:28:30 -0700 Message-Id: <20170827012830.11782-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170827012830.11782-1-raj.khem@gmail.com> References: <20170827012830.11782-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 3/3] nodejs: Upgrade to 8.4.0 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 Signed-off-by: Khem Raj --- ...isable-running-gyp-files-for-bundled-deps.patch | 29 ++++++++++++++++++++++ ...isable-running-gyp-files-for-bundled-deps.patch | 29 ++++++++++++++++++++++ .../nodejs/{nodejs_4.8.3.bb => nodejs_8.4.0.bb} | 13 +++++----- 3 files changed, 65 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-devtools/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch rename meta-oe/recipes-devtools/nodejs/{nodejs_4.8.3.bb => nodejs_8.4.0.bb} (88%) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch b/meta-oe/recipes-devtools/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch new file mode 100644 index 000000000..324a4683d --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch @@ -0,0 +1,29 @@ +From c2aff16cc196a61f4ab1cdae4a91c7926123c239 Mon Sep 17 00:00:00 2001 +From: Zuzana Svetlikova +Date: Thu, 27 Apr 2017 14:25:42 +0200 +Subject: [PATCH] Disable running gyp on shared deps + +--- + Makefile | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index 0a217bd893..e1229ad07f 100644 +--- a/Makefile ++++ b/Makefile +@@ -79,10 +79,9 @@ $(NODE_G_EXE): config.gypi out/Makefile + $(MAKE) -C out BUILDTYPE=Debug V=$(V) + if [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi + +-out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \ +- deps/zlib/zlib.gyp deps/v8/gypfiles/toolchain.gypi \ +- deps/v8/gypfiles/features.gypi deps/v8/src/v8.gyp node.gyp \ +- config.gypi ++out/Makefile: common.gypi deps/http_parser/http_parser.gyp \ ++ deps/v8/gypfiles/toolchain.gypi deps/v8/gypfiles/features.gypi \ ++ deps/v8/src/v8.gyp node.gyp config.gypi + $(PYTHON) tools/gyp_node.py -f make + + config.gypi: configure +-- +2.12.2 diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch new file mode 100644 index 000000000..324a4683d --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch @@ -0,0 +1,29 @@ +From c2aff16cc196a61f4ab1cdae4a91c7926123c239 Mon Sep 17 00:00:00 2001 +From: Zuzana Svetlikova +Date: Thu, 27 Apr 2017 14:25:42 +0200 +Subject: [PATCH] Disable running gyp on shared deps + +--- + Makefile | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index 0a217bd893..e1229ad07f 100644 +--- a/Makefile ++++ b/Makefile +@@ -79,10 +79,9 @@ $(NODE_G_EXE): config.gypi out/Makefile + $(MAKE) -C out BUILDTYPE=Debug V=$(V) + if [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi + +-out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \ +- deps/zlib/zlib.gyp deps/v8/gypfiles/toolchain.gypi \ +- deps/v8/gypfiles/features.gypi deps/v8/src/v8.gyp node.gyp \ +- config.gypi ++out/Makefile: common.gypi deps/http_parser/http_parser.gyp \ ++ deps/v8/gypfiles/toolchain.gypi deps/v8/gypfiles/features.gypi \ ++ deps/v8/src/v8.gyp node.gyp config.gypi + $(PYTHON) tools/gyp_node.py -f make + + config.gypi: configure +-- +2.12.2 diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_4.8.3.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb similarity index 88% rename from meta-oe/recipes-devtools/nodejs/nodejs_4.8.3.bb rename to meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb index 7fde77891..5c580fb72 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_4.8.3.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb @@ -1,19 +1,19 @@ DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" HOMEPAGE = "http://nodejs.org" LICENSE = "MIT & BSD & Artistic-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f45e9ffb97e64da46d14f462d34a039f" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e4d35c6120f175e1fbe5ff908b1cf2d6" -DEPENDS = "openssl zlib" +DEPENDS = "openssl10 zlib" COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*" SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ - file://no-registry.patch \ + file://0001-Disable-running-gyp-files-for-bundled-deps.patch \ " -SRC_URI[md5sum] = "dc40053a74100ce6df641a5b4c4d4d1e" -SRC_URI[sha256sum] = "d84e7544c2e31a2d0825b4f8b093d169bf8bdb1881ee8cf75ff937918e59e9cb" +SRC_URI[md5sum] = "e6c85c83001340b30671e9432e1bd337" +SRC_URI[sha256sum] = "5d5aa2a101dcc617231a475812eb8ed87cac21491f1dcc7997b9dd463563f361" S = "${WORKDIR}/node-v${PV}" @@ -40,10 +40,11 @@ ARCHFLAGS ?= "" # Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi do_configure () { + rm -rf ${S}/deps/openssl export LD="${CXX}" GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES # $TARGET_ARCH settings don't match --dest-cpu settings - ./configure --prefix=${prefix} --without-snapshot --shared-openssl --shared-zlib \ + ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \ --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ --dest-os=linux \ ${ARCHFLAGS}