From patchwork Tue Oct 10 19:52:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 824037 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="qN6UOgVj"; 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 3yBSSq603Kz9sNc for ; Wed, 11 Oct 2017 06:52:43 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9070E88738; Tue, 10 Oct 2017 19:52:40 +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 6vKeKiX-1UCA; Tue, 10 Oct 2017 19:52:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3DBAB8875D; Tue, 10 Oct 2017 19:52:39 +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 EBD5E1C2B5C for ; Tue, 10 Oct 2017 19:52:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DDFCB8870A for ; Tue, 10 Oct 2017 19:52:37 +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 sgONwLs64oDS for ; Tue, 10 Oct 2017 19:52:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id CF64188707 for ; Tue, 10 Oct 2017 19:52:36 +0000 (UTC) Received: by mail-it0-f67.google.com with SMTP id p138so89147itp.2 for ; Tue, 10 Oct 2017 12:52: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; bh=EN6HdLWqVhXOf0+l3B4cYeEi+lelo20AKAuIIolKWAs=; b=qN6UOgVjkZrDd1PX0P6o7MxgxEzHNbjCtLtqrJDgqB1QNOX6cL0w4Jgya+Ntluuwgf f2LFCrZEirUIGP90AHm/X5SBmQiqjjlAoOUq6JTU/TqZttoDyrBa/bG05NVWvYtDdMSp gPd1H2SzGX3oZhjAn/4D+QMfV0CcPhX8sAVA8cYOtWb/ImlEd6/+mwSTPoENdCcX9HXa o3wsnGwcuD00plHlzxUDLVgto4a1bWKBxy0fTMrwCRfrt0F7IEZCHP8bed1kr3HWmd0H diGW6rZzYPWRPHK3APtzMYi2pBUjElZdOmLBxuTxtIMYnCaJR9+ykR8+vJ5MLmvPzaAu PR0w== 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=EN6HdLWqVhXOf0+l3B4cYeEi+lelo20AKAuIIolKWAs=; b=M73CpyLzUdK5RX2br9NjNyFKoZFjCmC+Omh4mDzRsrRyln8peBKNEfcB+bj6pmHBnw +jYhDtj53naoSyiY78QDEWV923Sp+hSSCbsLA9b9NHISXlEoAX3ae+qLpTrzLI6Ji/iD QGhbZOqg9YimP3MlAvRiAWCE7F20YuYXDw0mojIswXu0WiT4pDSUt4j8ossBeshvJ39h PIdXmpX3HGLGTzpEewkVGn6qhGep0mblBWC0Z9jenUjcw/ma4oooJXhnXiWT+lB538He /H69JtkKZDGClLeV9Pq7oULrrfmlYdBW9eWrH8LsuoKIqpzhT7CW1p2oX3IsDWhrg1A2 ChXw== X-Gm-Message-State: AMCzsaWLN8do500C2wvOEBY2VLPrarDv2VxFbHY8FsZ4hgMCMRXyg2Ul Hz3eB1f2PSz8hIfmgbxYJQZSUcsy X-Google-Smtp-Source: AOwi7QDUq09ucgM2NMILYWAJUPYJT8rvlzcSud/cj0FX6c7sh/b3fQYq6LLAODI2jdyIvjBsiAHhbg== X-Received: by 10.36.46.4 with SMTP id i4mr1705509ita.145.1507665155759; Tue, 10 Oct 2017 12:52:35 -0700 (PDT) Received: from localhost.localdomain (mail.codeblue.com. [65.183.183.198]) by smtp.gmail.com with ESMTPSA id w14sm5335454iod.40.2017.10.10.12.52.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Oct 2017 12:52:35 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Tue, 10 Oct 2017 15:52:05 -0400 Message-Id: <20171010195209.24074-1-aduskett@gmail.com> X-Mailer: git-send-email 2.13.6 Cc: Adam Duskett Subject: [Buildroot] [PATCH v2 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 ...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