From patchwork Fri Mar 8 02:23:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 159946 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp8164654jad; Thu, 7 Mar 2019 18:23:53 -0800 (PST) X-Google-Smtp-Source: APXvYqxE05HOQNXM1pLRuB43lKZITglaoYmYUCtP3W7YC6R2ng0mx+Juc/UckTHmL0vTaA8dvcfP X-Received: by 2002:a63:5459:: with SMTP id e25mr14673981pgm.131.1552011833098; Thu, 07 Mar 2019 18:23:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552011833; cv=none; d=google.com; s=arc-20160816; b=dH++YNfXm3mOvG+w7D2j2Zy2clVR2XnAbNgU8izR5ZeAVnRH924xoSkJM4vUQhnYv5 LR2/ZJxzwGDOoUuuIvVm+EnEHpPMsh06AIR6mO7hdpZy3DX30dgZErjtjAWAE24L6v8T bnlCMOAJfGSkX32q6C5BdDpk+LYR5CvMTHHAbHP34ejLkZAwMsWOeLIpXkn0uNUwaCeU FwYk8Hl/u2CQdCTBDLUgn/P/5CGJCxxfuTegvzsr/Zjud2tqhVOABFOmLaOlZVPzoKEl x+FsuqXuVYcSSIWnETfy04UTJDozDJ2RYKIlzVha47i0p68xG4AOS4nSIoqk1MZV9+oa acIw== 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=cxVisdOp96CnCm4RzVjnU4FTLbrd8r/TzIH0K+NAX2k=; b=MSZQiR8gU/omHM3O19Y/EX4dCylcrCXcSZqLTk9ls5V67N+WZ+Ry3b2LouwjB2MP8L L7J7rGih8Vd22Qz/ddR+Laq1MbWVJZVr7VgFNlZuyiAOe+JUX3gQJFyWWWRR4BcfpPgn QFVTIph0ITWVR6O/TnTMMsKLdRifi1iTThvbqFvqMm5ilHmdHRqhxL7d/yqjgRtXU9IU uMMiMXWrdTMnXGAw/9vXXFdJepcZF6fsrCz31ETM+zjGsU9tfG/jpGhOdzdQFUaFsyrh TjFscx9gkHRRL0syWqwyAFv26jUrysheHQdIZRWdYtzuwlG86yQRj9+zh3VFQVQWhnzQ dccw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gtB6vDyQ; 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 t18si5205397pgv.285.2019.03.07.18.23.52; Thu, 07 Mar 2019 18:23:53 -0800 (PST) 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=gtB6vDyQ; 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 F32A17CF36; Fri, 8 Mar 2019 02:23:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by mail.openembedded.org (Postfix) with ESMTP id D5E147CF0C for ; Fri, 8 Mar 2019 02:23:47 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id a3so12945307pff.11 for ; Thu, 07 Mar 2019 18:23:49 -0800 (PST) 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=PnXlZNsYLtoNaXJ6CfUENMIS+q7wooQRfuH/VStqYSw=; b=gtB6vDyQaJajVhJEOekPasgB3oOZD8Ky1s/Qyyti8PBV7sKdracrFo7ByjT/nNp3Z6 7B3BBvoyalP2eQXIc7RZyPfcVv9avUaeFJ+5KiEq/KJCkQmdXH9M6ON2qZQXIajjpmhw kjHszbzkrBNQEh7RuQCHOJLzGUHBbxdq+2AatkcHqnuji+jW1qBnnx8StdqiR2tgbDSB pA+D9LtrTz79Ts1zygvTVhT+LrMESwn5GVI1SWXDlU1gSY6qun2JhaWkPj8hCzEvMYJf R42nQHzomQum7vo187qqBJrTTuNg+8B6JHsk2/llE4NdiLuTA513ukr1AbJjhGGoPdbF 8Ukw== 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=PnXlZNsYLtoNaXJ6CfUENMIS+q7wooQRfuH/VStqYSw=; b=M+4gZXGW+M6NBi6up4CsarOMMo8Z6sAv4TQ6LFamXggQdeOHzNWArVHRuqcD3O7VXF 8QqL4y2/i7R+03t1CDKyR3h9hoC8Kt3StL+XggnM+RqVgKD/u7cEeHxVvPm7PadphwTv CQd5+A79wb9kLoEhg0BXa/HT5kP60+0pxMKfrfz/3Vjr2p6jYPP4dniWWghIRx1spzpZ 8vZJqIuDjd7v+AcAU94IWw57eUKeWJpM5weSSo9Qb10CHkpo6UT7wIyEb/SiJNAXjv7A XyS1toJWYej5h6NksAtrygqzDD7xl2gGGc6Y7x6ix+xWq18Fh+VRr6QsnIOKsCSPQga0 IESQ== X-Gm-Message-State: APjAAAUb9gAHAiX7UZWwMT1SKofCVdLYffRfwt6QguTM+GkGBJ43eSzw xfmigb6Kb58kcUhripT9yNHgo+zU X-Received: by 2002:a17:902:7042:: with SMTP id h2mr15992046plt.323.1552011828428; Thu, 07 Mar 2019 18:23:48 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::3401]) by smtp.gmail.com with ESMTPSA id n75sm17685600pfb.39.2019.03.07.18.23.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 18:23:48 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 7 Mar 2019 18:23:40 -0800 Message-Id: <20190308022340.35951-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH] postfix: Upgrade to 3.4.1 release 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 Fix build with kernel >= 5.x Signed-off-by: Khem Raj --- .../postfix/files/linux_5.x.patch | 27 +++++++++++++++++++ .../{postfix_3.3.1.bb => postfix_3.4.1.bb} | 6 ++--- 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-daemons/postfix/files/linux_5.x.patch rename meta-networking/recipes-daemons/postfix/{postfix_3.3.1.bb => postfix_3.4.1.bb} (66%) -- 2.21.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/linux_5.x.patch b/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch new file mode 100644 index 0000000000..fbb811c06b --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch @@ -0,0 +1,27 @@ +Recognise kernel 5.x versioning scheme + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +--- a/makedefs ++++ b/makedefs +@@ -543,7 +543,7 @@ EOF + : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} + : ${PLUGIN_LD="${CC-gcc} -shared"} + ;; +- Linux.[34].*) SYSTYPE=LINUX$RELEASE_MAJOR ++ Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR + case "$CCARGS" in + *-DNO_DB*) ;; + *-DHAS_DB*) ;; +--- a/src/util/sys_defs.h ++++ b/src/util/sys_defs.h +@@ -749,7 +749,7 @@ extern int initgroups(const char *, int) + /* + * LINUX. + */ +-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) ++#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) + #define SUPPORTED + #define UINT32_TYPE unsigned int + #define UINT16_TYPE unsigned short diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb b/meta-networking/recipes-daemons/postfix/postfix_3.4.1.bb similarity index 66% rename from meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb rename to meta-networking/recipes-daemons/postfix/postfix_3.4.1.bb index 6718b7ef93..73380d8c63 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.4.1.bb @@ -4,9 +4,9 @@ SRC_URI += "file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patc file://postfix-install.patch \ file://icu-config.patch \ file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ + file://linux_5.x.patch \ " - -SRC_URI[md5sum] = "4381c6492f415e4a69cf5099d4acea76" -SRC_URI[sha256sum] = "54f514dae42b5275cb4bc9c69283f16c06200b71813d0bb696568c4ba7ae7e3b" +SRC_URI[md5sum] = "d292bb49a1c79ff6d2eb9c5e88c51425" +SRC_URI[sha256sum] = "8c9763f7a8ec70d499257b7f25bb50e1f3da8a4c43e59826ba8a26c4a778d0ce" UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.3(\.\d+)+).tar.gz"