From patchwork Sat Jul 27 18:59:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 169944 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1609913ilk; Sat, 27 Jul 2019 11:59:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhPeleDxMA/mp7mL27wCRZDHOls+ij90g8UV7wexs83MvrBf30fPDB0AtFE4mLXgiyroSO X-Received: by 2002:a17:902:28c9:: with SMTP id f67mr63367535plb.19.1564253996745; Sat, 27 Jul 2019 11:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564253996; cv=none; d=google.com; s=arc-20160816; b=S91ReRVd+nW+vToRnAfbOPJ4kkhrf5cXiDTl5/gCQgd4pYsbrqhHGrm2KSadIIJk7Y dz0gpHVeDc/kpdou8N7QHM+a0k7n37PuVnaVn00RHAVYFW7blmazcYLYaSt8riq/YWGR XKZrG6yjbZaeQ8fyk8WnipC7aftWkZZ3ev3flSnHdZutrInOjwvvheqyjW/rvxB+OPLo cXPdZUdysmcfIlcsr7CMY8aZNMsC+Tr2uAyRTzs1qIiZToVOTu2TYPYkD+MIOekprc/K koB5k5LnnkZ4s7UCUgrDnbjUjeswtmHe1X4/bEloaKaPaHSpwfpEbJ4Ep1HcqsEgM3PW TuYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=OEWbVYHuVCBGm4/R9nHCIwpN5rdfXxn3bt7R27Yf684=; b=zTNnmT/LQLUUZ15GF6bER4v+z9o5qUgi4XpdcIfSMA8psIozxKbEz7mAnnm5cO45kK ah/qNdXB14Ah0RlXLzwIDt446DOk++QKG+Jo12M+7qzFLGMoKU5UUKGgdgUYOpBSioxS Rx2yl3DhcLMNGSjYYBbzXOGsGa3yT3SfefZmR3JmDdJvnPzF4wj+7VHMgXNiGJph/yO1 Aw0A44z8zHBNStPRym1aURZJR6VAT3DFwztSKxvHHU/rehWT7koef61xv2rSiNAyLbGa VouWS7dMQqnstFETUud8+M2L+nHgDCta84+MCVu9PcMdUkn7I7v9fEf3ESRCX3u0mn2v Ek9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=JiInR199; 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=QUARANTINE 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 t6si20426781pjv.14.2019.07.27.11.59.56; Sat, 27 Jul 2019 11:59:56 -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=JiInR199; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4DBDA7ED3D; Sat, 27 Jul 2019 18:59:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by mail.openembedded.org (Postfix) with ESMTP id E28287ED3D for ; Sat, 27 Jul 2019 18:59:45 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id c3so2888638pfa.13 for ; Sat, 27 Jul 2019 11:59:46 -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:mime-version :content-transfer-encoding; bh=nbaivUiuB41Ox7ktbvI8eQAbtUA1g0OefCcV3bOndjk=; b=JiInR199HCajsieAji9mYB/lB1wMqbSzXz8h5SkjEFp8e2FdNYzSYXmeiOL7jLxmNH tsX8cTNE35VwxTR4gllXwQ9lbwwAxhwT7JchaSLYGkeaw5yFfy4wXN0nUuWEwChFVUXU qlvJRCE99ccRRLVkDJwi9Ad9FqIeXUfyezlMzqmI3sS+febDVnbZtkAobxsMO1pm5Ajn 6w/xvsDUF7/bqaPb7s9mqscd0BsDNPfJxbLV/Z8e9LC1u9+q7ztl21b00w0Gv1fGJAxZ itC8xA32TlhSImBBfomZjRcyHAkVP7rUFuyFWIsGt/+jOifhQWQTrz/uWIBViqH3bbJx QGtQ== 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:mime-version :content-transfer-encoding; bh=nbaivUiuB41Ox7ktbvI8eQAbtUA1g0OefCcV3bOndjk=; b=hoNjRSY/rFGRvifCztdWWZRYvtg6M7v1IIyMSV5yWgKDxyhvhnraP3la8gruRd6xcZ MtvJM524tjsULnV2hO3n6HpOnjiCGRpyEll7esY6MVWQoZ06zCfeNZmzPz2IwbPsKUA7 2v+exvgLLC7N56idDaaWb0iBfrcVx4/YjDT7yd7FGwpppvAOhX3XqaAzETZyXwsmVCpG cQ/wnnMKh6RXa58eNo5iUfK1AVigpHLAk0tSV1VlbMm4PBnGezTaFOZAervsRuulzLLn 7phRYGcgDaej89jfvLFKxEK7PtZFYnG/HiAhlOWWEG/7SFwJgUiNMJmcFO5cRzfWv9Yh F18Q== X-Gm-Message-State: APjAAAUIEG9VIlYw0huYm2xca2trd6GyUvzARN59K9kkdmLrofdDvlrX VpWIbrNab9BqOgW4MRKnAZFu9gokqyw= X-Received: by 2002:a62:18d4:: with SMTP id 203mr28832819pfy.165.1564253985701; Sat, 27 Jul 2019 11:59:45 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id k22sm60178333pfk.157.2019.07.27.11.59.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 27 Jul 2019 11:59:45 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 27 Jul 2019 11:59:34 -0700 Message-Id: <20190727185937.29832-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 1/4] postfix: Fix build failures with glibc 2.30 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ure-with-glibc-2.30-due-to-dropped-R.patch | 37 +++++++++++++++++++ .../recipes-daemons/postfix/postfix.inc | 11 ------ .../recipes-daemons/postfix/postfix_3.4.5.bb | 18 +++++++-- 3 files changed, 51 insertions(+), 15 deletions(-) create mode 100644 meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch -- 2.22.0 -- _______________________________________________ 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-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch b/meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch new file mode 100644 index 0000000000..22adaff729 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch @@ -0,0 +1,37 @@ +From 8b3792830f4930fee7fbb00c854d9766f2b74dca Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 27 Jul 2019 11:35:38 -0700 +Subject: [PATCH] Fixed build failure with glibc 2.30 due to dropped + RES_INSECURE1/2 macros + +see [1] + +[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=333221862ecbebde60dd16e7ca17d26444e62f50 + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/dns/dns_str_resflags.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/dns/dns_str_resflags.c b/src/dns/dns_str_resflags.c +index 5f2cce5..df32345 100644 +--- a/src/dns/dns_str_resflags.c ++++ b/src/dns/dns_str_resflags.c +@@ -60,10 +60,16 @@ static const LONG_NAME_MASK resflag_table[] = { + "RES_DEFNAMES", RES_DEFNAMES, + "RES_STAYOPEN", RES_STAYOPEN, + "RES_DNSRCH", RES_DNSRCH, ++#ifdef RES_INSECURE1 + "RES_INSECURE1", RES_INSECURE1, ++#endif ++#ifdef RES_INSECURE2 + "RES_INSECURE2", RES_INSECURE2, ++#endif + "RES_NOALIASES", RES_NOALIASES, ++#ifdef RES_USE_INET6 + "RES_USE_INET6", RES_USE_INET6, ++#endif + #ifdef RES_ROTATE + "RES_ROTATE", RES_ROTATE, + #endif diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 94379412f9..7781005336 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc @@ -14,17 +14,6 @@ DEPENDS = "db icu libpcre libnsl2 openssl postfix-native \ LICENSE = "IPL-1.0 | EPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b181651ad99a7dc4cc8c4ce2f491ed1a" -SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ - file://makedefs.patch \ - file://install.patch \ - file://main.cf \ - file://postfix \ - file://internal_recipient \ - file://postfix.service \ - file://aliasesdb \ - file://check_hostname.sh \ -" - S = "${WORKDIR}/postfix-${PV}" CLEANBROKEN = "1" diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.4.5.bb b/meta-networking/recipes-daemons/postfix/postfix_3.4.5.bb index 3ce8055539..189baea5c3 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.4.5.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.4.5.bb @@ -1,9 +1,19 @@ require postfix.inc -SRC_URI += "file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ - file://postfix-install.patch \ - file://icu-config.patch \ - file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ +SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ + file://makedefs.patch \ + file://install.patch \ + file://main.cf \ + file://postfix \ + file://internal_recipient \ + file://postfix.service \ + file://aliasesdb \ + file://check_hostname.sh \ + file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://postfix-install.patch \ + file://icu-config.patch \ + file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ + file://0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch \ " SRC_URI[md5sum] = "093109941095390562166de766d4720d" SRC_URI[sha256sum] = "8b2ba54f9d2a049582a0ed3ee2dbe96ba57e278feea9cb4f80e1a61844e6319f"