From patchwork Fri Oct 13 02:36:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 825204 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Q84HIeiz"; 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 3yCsKr2lcMz9sNc for ; Fri, 13 Oct 2017 13:36:31 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3F6D588713; Fri, 13 Oct 2017 02:36:29 +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 uROt67X4HIRE; Fri, 13 Oct 2017 02:36:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EF17588758; Fri, 13 Oct 2017 02:36:27 +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 EC1EC1C2630 for ; Fri, 13 Oct 2017 02:36:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E18CE88713 for ; Fri, 13 Oct 2017 02:36:25 +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 aWV75h6CVyG5 for ; Fri, 13 Oct 2017 02:36:25 +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 whitealder.osuosl.org (Postfix) with ESMTPS id 11DC088758 for ; Fri, 13 Oct 2017 02:36:25 +0000 (UTC) Received: by mail-qt0-f196.google.com with SMTP id v41so2362454qtv.0 for ; Thu, 12 Oct 2017 19:36:25 -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=1iTTURhhKSNZyQOFsnhudcso4a4znpUlyfc1ff2j8p8=; b=Q84HIeiz2NvuZLJImI37l/quRzJso5e/tsJp9Z5oKe3M9ahgzfmciknvsvrmGO5CtO BmwKNX2fp3gAqb8/wlesT/QpiDvhdE0tKcpwcjGDLqW8Z7UddwGrgPQPWkhHann1D8Ui gG1h245i3EoF0SeuWtfVopTHuHgQgCXEQAW7XxUT4cK1Qe8DwDLxKItHnE04/ppI09Ko aio7R0rM550hWZ5gt2p6NV6f86l7aSwo+FLCP9sSolc9epioiXxW1lpk6zOjBLljXrmW YHxQx9+59Uh0zRvzEJArDt5l1zyKeZXiOolH6VSnxlXf8+UjVWFjacAx2yKgVpRLXv1b EOzw== 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=1iTTURhhKSNZyQOFsnhudcso4a4znpUlyfc1ff2j8p8=; b=P3NncE+WMgIYwdzq6Ir8SCwvGCn8rSkHESx64/+Zch9jsLFqoJyvlJtr8VmhzOBolZ nalYsZMo6SJVAOpHXM58+RxpsZVy6IH7xPlKl8mS1DEcMQQttJ+N6IxMROwuoUW3UWjw IAeSoCbnVSRmxJ/4juch5gVMJ5Z4pOvZ/or0QY2MChOjCrAdtJfExbpSSWLD+8E9XHdL VxXYYGExCKox/rrHGtoPbXFDAp506dY5WvblR4bgH+KxNK6MEV21yIA5UCoDITwvPsVE +i4MTKEAWcqYyJL2AFE7jJ3QTEprAWgflFJUekxqSGXYzgqXIq56zKXxpDwzLsGqtlmk W+eQ== X-Gm-Message-State: AMCzsaUtFgqLkxSVmlRkZYheldoDvtEoA5gYfos2Cure8qEo8zARsKNQ O3qppycnEsew2tffMpp4ii/waS3L X-Google-Smtp-Source: AOwi7QDozvQ6Bz6YcGTdROmYeuxVkII381wvBtf7c0VR7dFecJ8x4jHJRTrbAE/IiwUObBH2x27ccw== X-Received: by 10.129.39.215 with SMTP id n206mr3120202ywn.380.1507862183759; Thu, 12 Oct 2017 19:36:23 -0700 (PDT) Received: from aduskett.duskett (2600-6c4a-767f-ff91-be5f-f4ff-feef-f9a2.dhcp6.chtrptr.net. [2600:6c4a:767f:ff91:be5f:f4ff:feef:f9a2]) by smtp.gmail.com with ESMTPSA id b129sm9419186ywe.99.2017.10.12.19.36.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 19:36:23 -0700 (PDT) From: Adam Duskett X-Google-Original-From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 12 Oct 2017 22:36:17 -0400 Message-Id: <20171013023621.4081-1-Adamduskett@outlook.com> X-Mailer: git-send-email 2.13.6 Cc: Adam Duskett Subject: [Buildroot] [PATCH v4 1/5] libselinux: bump to 2.7 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" remove patch as it's in this release. Signed-off-by: Adam Duskett --- Changes v1 -> v2: - None Changes v2 -> v3: - None Changes v3 -> v4: - None ...src-regex.c-support-old-compilers-for-the.patch | 47 ---------------------- package/libselinux/libselinux.hash | 4 +- package/libselinux/libselinux.mk | 4 +- 3 files changed, 4 insertions(+), 51 deletions(-) delete mode 100644 package/libselinux/0001-libselinux-src-regex.c-support-old-compilers-for-the.patch diff --git a/package/libselinux/0001-libselinux-src-regex.c-support-old-compilers-for-the.patch b/package/libselinux/0001-libselinux-src-regex.c-support-old-compilers-for-the.patch deleted file mode 100644 index 3bda607512..0000000000 --- a/package/libselinux/0001-libselinux-src-regex.c-support-old-compilers-for-the.patch +++ /dev/null @@ -1,47 +0,0 @@ -From e0803c0bdbb1abf06b6b5bb1b52fdb733505b8f7 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 25 Jan 2017 22:41:02 +1300 -Subject: [PATCH] src/regex.c: support old compilers for the endian - check - -libselinux 2.6 has added some code in regex.c that uses __BYTE_ORDER__ -to determine the system endianness. Unfortunately, this definition -provided directly by the compiler doesn't exist in older gcc versions -such as gcc 4.4. - -In order to address this, this commit extends the logic to use - definitions if __BYTE_ORDER__ is not provided by the -compiler. This allows libselinux to build properly with gcc 4.4. - -Signed-off-by: Thomas Petazzoni ---- - src/regex.c | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -diff --git a/src/regex.c b/src/regex.c -index a3b427b..0c5ad27 100644 ---- a/src/regex.c -+++ b/src/regex.c -@@ -13,7 +13,18 @@ - #endif - - #ifndef __BYTE_ORDER__ --#error __BYTE_ORDER__ not defined. Unable to determine endianness. -+ -+/* If the compiler doesn't define __BYTE_ORDER__, try to use the C -+ * library header definitions. */ -+#include -+#ifndef __BYTE_ORDER -+#error Neither __BYTE_ORDER__ nor __BYTE_ORDER defined. Unable to determine endianness. -+#endif -+ -+#define __ORDER_LITTLE_ENDIAN __LITTLE_ENDIAN -+#define __ORDER_BIG_ENDIAN __BIG_ENDIAN -+#define __BYTE_ORDER__ __BYTE_ORDER -+ - #endif - - #ifdef USE_PCRE2 --- -2.7.4 - diff --git a/package/libselinux/libselinux.hash b/package/libselinux/libselinux.hash index 76130b2dc0..3c60d5111d 100644 --- a/package/libselinux/libselinux.hash +++ b/package/libselinux/libselinux.hash @@ -1,2 +1,2 @@ -# Locally computed -sha256 4ea2dde50665c202253ba5caac7738370ea0337c47b251ba981c60d24e1a118a libselinux-2.6.tar.gz +# From: https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 d0fec0769b3ad60aa7baf9b9a4b7a056827769dc2dadda0dc0eb59b3d1c18c57 libselinux-2.7.tar.gz diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index f23eea4962..8ac8000de5 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBSELINUX_VERSION = 2.6 -LIBSELINUX_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014 +LIBSELINUX_VERSION = 2.7 +LIBSELINUX_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804 LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE