From patchwork Wed Apr 15 12:59:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1271144 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 492MrT6pbwz9sT7 for ; Wed, 15 Apr 2020 22:59:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4B34085EF0; Wed, 15 Apr 2020 12:59:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c6JW4jbljtss; Wed, 15 Apr 2020 12:59:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9A50485EF1; Wed, 15 Apr 2020 12:59:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B1F361BF9B4 for ; Wed, 15 Apr 2020 12:59:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AF46285EEF for ; Wed, 15 Apr 2020 12:59:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uMJ-H0s6UioO for ; Wed, 15 Apr 2020 12:59:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs05.rockwellcollins.com (secvs05.rockwellcollins.com [205.175.225.131]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 3EDCE85EC4 for ; Wed, 15 Apr 2020 12:59:23 +0000 (UTC) IronPort-SDR: WKcqtWpg5xixOSFyM32H6W1xKVuNuuxcZDd2KX/N3OzIw2BdY7D1I22c3xdFIODHdF09Plu6xe cGnN8jogeAKBtYJSsWoJgdPXKCOvpXeeSk7xLgYJ0SJaNpWKtl5llrbX/2T7CTrTWUo1gcrYWZ 7AZTXNsRGHOSXHdKBvcCXxRZ9Y2/Jl9+xZ7pbJ9gXrDTdXJdPPJjydaWAyrzle+iUz37n8yYTi 4JUSOc1w0X2WJyuhPCYQstid2DtlMk6wFgfm0cE/YclupBc61Wj7Sn5ogvG37e0TLjHyfAZC6I AGQ= Received: from ofwgwc03.rockwellcollins.com (HELO crulimr01.rockwellcollins.com) ([205.175.225.12]) by secvs05.rockwellcollins.com with ESMTP; 15 Apr 2020 07:59:22 -0500 X-Received: from biscuits.rockwellcollins.lab (biscuits.rockwellcollins.lab [10.148.119.137]) by crulimr01.rockwellcollins.com (Postfix) with ESMTP id 358E96059A; Wed, 15 Apr 2020 07:59:22 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Wed, 15 Apr 2020 07:59:13 -0500 Message-Id: <20200415125921.57648-1-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH v4 0/8] Bump of SELinux related libs/tools to 3.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" v4 * Dropped proposed v3 date based version and switched back to x.y * Thomas P. has added a release-monitoring.org bug report on sematic vs date version ordering (https://github.com/fedora-infra/anitya/issues/897) * Set the version and site in each package to avoid variable expansion issues v3 * Switches to using the date (i.e. 20191204) abased release tagging for better alignment with https://release-monitoring.org/project/01717/ * Sharing libselinux version and site across all related selinux pkgs * Added selinux-python which was missed in the v2 of this bump by Adam (http://patchwork.ozlabs.org/project/buildroot/list/?series=156673) v1 / v2 * Adam's series here: v2 - http://patchwork.ozlabs.org/project/buildroot/list/?series=156673 v1 - http://patchwork.ozlabs.org/project/buildroot/list/?series=147113 Tested with the following reduced configuration for legal info and build. BR2_aarch64=y BR2_TOOLCHAIN_EXTERNAL=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_PACKAGE_POLICYCOREUTILS=y BR2_PACKAGE_RESTORECOND=y BR2_PACKAGE_SELINUX_PYTHON=y BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW=y BR2_PACKAGE_SETOOLS=y BR2_TARGET_ROOTFS_EXT2=y # BR2_TARGET_ROOTFS_TAR is not set Adam Duskett (7): package/libselinux: bump version to 3.0 package/libsemanage: bump version to 3.0 package/libsepol: bump version to 3.0 package/policycoreutils: bump version to 3.0 package/restorecond: bump version to 3.0 package/semodule-utils: bump version to 3.0 package/checkpolicy: bump version to 3.0 Matt Weber (1): package/selinux-python: bump to version 3.0 package/checkpolicy/checkpolicy.hash | 2 +- package/checkpolicy/checkpolicy.mk | 4 +- package/libselinux/0001-fix-musl-build.patch | 22 +- ...-and-rely-on-the-installed-file-nam.patch} | 8 +- ...ng-against-musl-and-uclibc-libraries.patch | 32 +++ ...ython-distutils-to-install-SELinux-p.patch | 207 ------------------ ...-t-pass-bogus-I-and-L-to-python-setu.patch | 34 --- package/libselinux/libselinux.hash | 2 +- package/libselinux/libselinux.mk | 25 +-- package/libsemanage/libsemanage.hash | 2 +- package/libsemanage/libsemanage.mk | 16 +- package/libsepol/Config.in | 3 +- package/libsepol/libsepol.hash | 2 +- package/libsepol/libsepol.mk | 4 +- package/policycoreutils/policycoreutils.hash | 2 +- package/policycoreutils/policycoreutils.mk | 4 +- package/restorecond/restorecond.hash | 2 +- package/restorecond/restorecond.mk | 4 +- package/selinux-python/selinux-python.hash | 2 +- package/selinux-python/selinux-python.mk | 4 +- package/semodule-utils/semodule-utils.hash | 2 +- package/semodule-utils/semodule-utils.mk | 4 +- 22 files changed, 84 insertions(+), 303 deletions(-) rename package/libselinux/{0006-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch => 0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch} (94%) create mode 100644 package/libselinux/0003-fix-building-against-musl-and-uclibc-libraries.patch delete mode 100644 package/libselinux/0003-libselinux-Use-Python-distutils-to-install-SELinux-p.patch delete mode 100644 package/libselinux/0004-src-Makefile-don-t-pass-bogus-I-and-L-to-python-setu.patch