From patchwork Thu May 20 17:46:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481825 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=2605:bc80:3010::136; helo=smtp3.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.a=rsa-sha256 header.s=20161025 header.b=Grxu8qsF; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHHh3mcLz9sW1 for ; Fri, 21 May 2021 03:47:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6DC1660C01; Thu, 20 May 2021 17:47:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zy4dz9KxuJzU; Thu, 20 May 2021 17:47:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id A2A5E60C07; Thu, 20 May 2021 17:47:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 7CB211BF2AE for ; Thu, 20 May 2021 17:46:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B89AB60C0B for ; Thu, 20 May 2021 17:46:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h8AmO9MUfqzM for ; Thu, 20 May 2021 17:46:54 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by smtp3.osuosl.org (Postfix) with ESMTPS id 0C4C960C01 for ; Thu, 20 May 2021 17:46:53 +0000 (UTC) Received: by mail-pg1-x530.google.com with SMTP id 6so12372200pgk.5 for ; Thu, 20 May 2021 10:46:53 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=IJbabO3Db0R3utDYV22pN0vmXE0udHDjBOmcFF0lLCI=; b=Grxu8qsFuEc+iLUGCvJ8Sczdz7Q3HBFDaE9NtyWRZV4nBwqdlCbfzn14uE6Js4B7DI o7y9S/n+Zmlzfqo4kBTCE3qUTPMbBCKSz2Lk2K3QJWtXn8gWdNgsdDj0ROp0N0/ndIMw GgBiLEYg90dE2cylSvFzQLr3oP7CQlgFu+3ciDpIQUeKypXMw6dTY52CwFi2hRey3xJI 3KaG5lpoVN8l3iYhC2gQruHgzcH8dzSzoEEJVL5WhXhPPtbWgGvPYSqXzky1NsAdYjTx IWEDX9PLS/rLEUMwOM8HBP4r72QUmhdQe+JEXbbn70HuA71FcNZRYkPvyDstM9gbeqX1 qB0w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=IJbabO3Db0R3utDYV22pN0vmXE0udHDjBOmcFF0lLCI=; b=JUa37plTrh3sUmKPPWy+16r9WOXgcACII0sr7SEQ1y0dVIIqB9n2FjELreFRcLIj1J VUbkovYKXtdR/K76ynIaJqFXQXGCBcfZj8ACj8mN0mHPdu/071XE04GWSOHrPfBXkZbK H9wJHM2V8jGu3gKuksdOjUoGzFSNrpTJzAV1so4+7L3wvBNRTm15l92WqWEIeZbUjklO cvaJyT4HdAcMPqbGZWgtw3EIN68GMi+pZGkyX3e3l84C6oXijLGxWxDflzJxAInaSv/4 HRnel4RZCzaZVflUbjc6RRLwDKQd26tgv6PDnYSbCYea8pLlzcpJAomia+QVL3dgLzTT 4j7A== X-Gm-Message-State: AOAM532S+BQYONeRSjrCqt6prhQBRDalKeOoAswQ7RE3Rya2qVKOpFOv iNV0wjjEZftCut0nzme3G1IJjWIW614= X-Google-Smtp-Source: ABdhPJzex9WPy3ExuT4N+jbK6E40NH8srBv19oJXGaUMbicXiK5SytggfsblzvqJyKOZlznoTFW5Pw== X-Received: by 2002:a05:6a00:856:b029:28e:e5d2:9a62 with SMTP id q22-20020a056a000856b029028ee5d29a62mr5516035pfk.17.1621532813328; Thu, 20 May 2021 10:46:53 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:53 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:39 -0700 Message-Id: <20210520174649.1188340-2-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 01/11] package/libsepol: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett Tested-by: Matthew Weber --- package/libsepol/libsepol.hash | 4 ++-- package/libsepol/libsepol.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libsepol/libsepol.hash b/package/libsepol/libsepol.hash index 1759d3ba04..b273f982b6 100644 --- a/package/libsepol/libsepol.hash +++ b/package/libsepol/libsepol.hash @@ -1,5 +1,5 @@ # From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc libsepol-3.1.tar.gz +sha256 dfc7f662af8000116e56a01de6a0394ed79be1b34b999e551346233c5dd19508 libsepol-3.2.tar.gz # Hash for license file -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/libsepol/libsepol.mk b/package/libsepol/libsepol.mk index a4398bdc42..55125f2203 100644 --- a/package/libsepol/libsepol.mk +++ b/package/libsepol/libsepol.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBSEPOL_VERSION = 3.1 -LIBSEPOL_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +LIBSEPOL_VERSION = 3.2 +LIBSEPOL_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEPOL_VERSION) LIBSEPOL_LICENSE = LGPL-2.1+ LIBSEPOL_LICENSE_FILES = COPYING LIBSEPOL_CPE_ID_VENDOR = selinuxproject From patchwork Thu May 20 17:46:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481827 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.133; helo=smtp2.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.a=rsa-sha256 header.s=20161025 header.b=SZHI8psS; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHHw1TbWz9sW7 for ; Fri, 21 May 2021 03:47:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B9626401FE; Thu, 20 May 2021 17:47:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rch2mQJF95rJ; Thu, 20 May 2021 17:47:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 14FCC40569; Thu, 20 May 2021 17:47:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 7737B1BF2AE for ; Thu, 20 May 2021 17:46:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 69FFA60C11 for ; Thu, 20 May 2021 17:46:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FDmKA9ukLF7b for ; Thu, 20 May 2021 17:46:54 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by smtp3.osuosl.org (Postfix) with ESMTPS id DC3FB60C01 for ; Thu, 20 May 2021 17:46:54 +0000 (UTC) Received: by mail-pf1-x430.google.com with SMTP id d16so12896258pfn.12 for ; Thu, 20 May 2021 10:46:54 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=zVFacFKXvJJfRnoW0eAnyCgq/96NvFEnybJbRNltozM=; b=SZHI8psSxowUupGTMaadmd/LSjhSUo4hbPTl6hp6E4IgIg5/UsrtXoci3gQLs5SlKM hiVBNIBXTG/Rqx3pcMVsc9hFXGM7I+np4cPKvf4mDqlULTzwsWIrO0K462B8L1sJ2WLa /CNrCjILnjLXALqYmAEtANN5OpNmvp5R0SxjmLYLVA51y0RpE1UnfIbwaUrJNIHNGUfx CJpZ79kf+xGF0Y4QYd4Uy0tkX69cosSHRZGIiLWr6WITwiPjZ2HXckg5K25jtafPfArK QUwV4XIPcws4iKNsdCkidcJF4ktW1Ifm6MexyCd6m7d1oOcDil/SDRLlkdKan6cTVOAB Klvw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=zVFacFKXvJJfRnoW0eAnyCgq/96NvFEnybJbRNltozM=; b=RbnpiwY3H9ODXUlPbD/F4Yb+uyyBAG9AKO6Y9xT7Ox6QDn+1MireMFymBAgF5jqcmg cipRmjf0qFDFko92pktgvtl8H3RUBBLqqUJiEyfyoyc6qWdvussestCK7tDTBALHZTIF n1GH9A5nmZ29iW/45vCqisOKHGRTHMsWVilkb/nixWzUOeBqoR+nsIMEb83Z5FX+t1Jf ZmgwQ0EZ76+EZgnGX/zif/260ntv4vt2jHceDkt9CWRF7UIgiaLA4UyPVecqlQHdTEgO cKsM/3caQDr7V430alVGh8d8O8rlPWrVxf7hkJk1ZzDlhxbvRNPOLU0+G10LOWucd/oy GG3g== X-Gm-Message-State: AOAM5308VNwmhE0pgcCI+OddPnZ9P5cLcg8to/JDSeFFeiEwYG4Ct9Ut fbEnirM+R3vp6jGRidmgyPrp8GkcbA8= X-Google-Smtp-Source: ABdhPJxeqWvS9m38TU9yCIR0yiEC/tsx85cBL6O7IWQzACtbEF17mzLL2a04FISi9KqIGgcIA5GLUw== X-Received: by 2002:a62:1d52:0:b029:2dd:ee:1439 with SMTP id d79-20020a621d520000b02902dd00ee1439mr5470862pfd.57.1621532814084; Thu, 20 May 2021 10:46:54 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:53 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:40 -0700 Message-Id: <20210520174649.1188340-3-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 02/11] package/libsepol/Config.in: Add policy version 33 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Policy version 33 was added starting with kernel 5.8. Signed-off-by: Adam Duskett --- package/libsepol/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in index 6c66809c9e..04af880e67 100644 --- a/package/libsepol/Config.in +++ b/package/libsepol/Config.in @@ -11,6 +11,7 @@ if BR2_PACKAGE_LIBSEPOL config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION int "Policy version" + default 33 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 default 32 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 @@ -29,7 +30,8 @@ config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION >= 3.14 < 4.3 29 >= 4.3 < 4.13 30 >= 4.13 < 5.5 31 - >= 5.5 32 + >= 5.5 < 5.8 32 + >= 5.8 33 endif From patchwork Thu May 20 17:46:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481828 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=2605:bc80:3010::136; helo=smtp3.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.a=rsa-sha256 header.s=20161025 header.b=Sxs5boZV; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHJ91VKqz9sW1 for ; Fri, 21 May 2021 03:47:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 332B560BFE; Thu, 20 May 2021 17:47:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jsw9yCK9X6Bq; Thu, 20 May 2021 17:47:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 9AD5F60BFF; Thu, 20 May 2021 17:47:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A12DF1BF2AE for ; Thu, 20 May 2021 17:46:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 66FB660C12 for ; Thu, 20 May 2021 17:46:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gc_eSnRFsiVt for ; Thu, 20 May 2021 17:46:55 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by smtp3.osuosl.org (Postfix) with ESMTPS id AA5BE60C01 for ; Thu, 20 May 2021 17:46:55 +0000 (UTC) Received: by mail-pf1-x42e.google.com with SMTP id y15so1524472pfn.13 for ; Thu, 20 May 2021 10:46:55 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=JbhEMSYW5Sq+Bh9vet0G43sCyT5Yhpob2cSATEpMb/E=; b=Sxs5boZVF10miSJK3Dq3XZpn5DWeIxoKV7c64Uzlpx5F30REIcdFNtK7H7AN4s6NWc yp4SzI8oL7fqGEK4bS7/+twebVUreVjXfkdli4WOdy4ljyGDlE6EJk5ve0FanALZxDk1 7uR7RkUEQYCc+7CMAXx3Z6q87BRm//Lx9LxO/khjcpyNeGuJY9OE5CuWViclRCQtsT0X 5tZbwvsgtJMlV7qPqpNdSFMv6HAE4hWtC062WyQm2rPa0jIZi9UT90XUSXP6RlQCDA4Y 210Cpkw6aODTdhpz1ZiM8I4j5kUEFtNjlYEJfUD0ApV5lSDUJFiit58Q7vgC8g/GCd6k oWTg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=JbhEMSYW5Sq+Bh9vet0G43sCyT5Yhpob2cSATEpMb/E=; b=hnT4l+gG2XmVpJwgiVYoEhfl2dARZ/flYWYLy+bvBow/kLMWp5u/0JfB+y68Mf4h2N guZcz4h/pPVK+BonxZmgmxJ2IUrorMMJpdid6oBTnRwpIZULSBTn+ZV0WxZubrnwtw9W qKkk9ktJ1ppolWL0QrR1kP9EOb8bJq11qZSoaDu+J/rx0984V5GY5Xzy3J4zUEetfAw3 JgQY2C8Z/r0wmghzQ8N0HQgXBFCFKUDgm834kHiXsPSZ0kKZUT1SbLjqZ8734yVZfRN+ 3Ou5Wz8RyeCfwh1Qrjuakpn9XWLhd0hEbWXfCwXrlrQFRlxFXhfjhtUmbINePliWzrQ3 uuZg== X-Gm-Message-State: AOAM5317E13GGX57GU8B14x6K7aXSnOJmocQhD+lP+zRg4A/+sEDR7wv YNPBYpl9UEXnLqm5tHftzcPYYNKfuJI= X-Google-Smtp-Source: ABdhPJzzXZY9ypxPtIovB0LdSH21XteGPJ87WcrIGUSmY7x5mLOJaA4cVy8NF2KNlLCiYKGwKg4Icw== X-Received: by 2002:a63:fd44:: with SMTP id m4mr5828335pgj.396.1621532814924; Thu, 20 May 2021 10:46:54 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:54 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:41 -0700 Message-Id: <20210520174649.1188340-4-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 03/11] package/libsemanage: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett --- package/libsemanage/libsemanage.hash | 2 +- package/libsemanage/libsemanage.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsemanage/libsemanage.hash b/package/libsemanage/libsemanage.hash index a977ddabc6..117fd40d6a 100644 --- a/package/libsemanage/libsemanage.hash +++ b/package/libsemanage/libsemanage.hash @@ -1,5 +1,5 @@ # From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 22d6c75526e40d1781c30bcf29abf97171bdfe6780923f11c8e1c76a75a21ff8 libsemanage-3.1.tar.gz +sha256 d722a55ca4fe2d4e2b30527720db657e6238b28079e69e2e4affeb8e733ee511 libsemanage-3.2.tar.gz # Hash for license file sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk index 48e2bbbc8b..bbe976a2c9 100644 --- a/package/libsemanage/libsemanage.mk +++ b/package/libsemanage/libsemanage.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBSEMANAGE_VERSION = 3.1 -LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +LIBSEMANAGE_VERSION = 3.2 +LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEMANAGE_VERSION) LIBSEMANAGE_LICENSE = LGPL-2.1+ LIBSEMANAGE_LICENSE_FILES = COPYING LIBSEMANAGE_DEPENDENCIES = host-bison host-flex audit libselinux bzip2 From patchwork Thu May 20 17:46:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481829 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.133; helo=smtp2.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.a=rsa-sha256 header.s=20161025 header.b=B+4LarH8; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHJP2dsLz9sW1 for ; Fri, 21 May 2021 03:47:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id D010C404D3; Thu, 20 May 2021 17:47:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sQuHhSg3ckXa; Thu, 20 May 2021 17:47:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 074CA404C9; Thu, 20 May 2021 17:47:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 144E61BF2AE for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9970F60C11 for ; Thu, 20 May 2021 17:46:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ToLxmveX3ukH for ; Thu, 20 May 2021 17:46:56 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by smtp3.osuosl.org (Postfix) with ESMTPS id 9CA6260BF7 for ; Thu, 20 May 2021 17:46:56 +0000 (UTC) Received: by mail-pf1-x42a.google.com with SMTP id b13so9172812pfv.4 for ; Thu, 20 May 2021 10:46:56 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=/jNPFa9vSDZFMdSX70Pq3jkH1UhtfQwN0GXkB+u0nWA=; b=B+4LarH8MeHXqaMNxhFNHutQfA/qRSqhGTmYfLB4YjvyxtGvrZ4R7s8kYfcxOuFpIK ESsjRugiZpukHkkMrZuu7J+xuLPQZni7pPPMzdYFcF8TTxR3SvQ0BtV2IGWQFhGisVEm Qyg7tr2wy//8TQcTsWbLdnviOjT5wocIrS3JMyY6MMdMNlghrd975pxw6PMbmipB6nA6 cQyyMe4xSdwP+B3ZsrC01LugsBJwZoB8XylxtBCvWLpBJrUP4Rxy6uiVAOl+VeVnLaQe 03VCBgKYu4jNhXADboLMPJLhAXUpyKxT0ahJiDDps0KKY7fYpClNK+MJUjjH4VMH8499 AScA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=/jNPFa9vSDZFMdSX70Pq3jkH1UhtfQwN0GXkB+u0nWA=; b=FVjmfeHAN/ZHvj2oC2Tb91G5VKyO5h2wtXrd14kAUmxeFz0KCeAsX1+HofsyHms6of 0owHR//i52fKPXjl/8A3SSjOZu63oeyGfaYuBmyP4p5mH+vRKZDYP7cWqctad/KKHqxY ltab9wq+hcicHbGf8t9nZ5hOGyNUp4ozLK/DB3hZ8D6j3AXhY5Zoc544CmyMUSNa4vSj u8lzxOPAZN1qXpLHXQvWo5iiJm/BKBeTqz0KAShuDTdnbyYcaugorOkqXaJoG0VCcHq2 ZIf8p4eZysCp4TV+3IGuFGVBmNw+aiGHIH4QyiARxOOtEihkG5r/1AlzqlkrRnLO7SjB yLfQ== X-Gm-Message-State: AOAM533f4JCAuJItESjgq6/H/6nu6gSjcU//07NDCEQYdHHVqMVMexqE 0Q2vNcQn8guNqAusxDony7FSFXQxwPU= X-Google-Smtp-Source: ABdhPJy0c4nHe5gHbi0AFKB9g+fkMNbz7/MV4JoIsiRelRhg7v/i0rPDZsRFuXCUN0O0Mvq+tWar7Q== X-Received: by 2002:a63:d14b:: with SMTP id c11mr5590726pgj.162.1621532815753; Thu, 20 May 2021 10:46:55 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:55 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:42 -0700 Message-Id: <20210520174649.1188340-5-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 04/11] package/libselinux: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Also drop upstream patch 0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch Signed-off-by: Adam Duskett --- ...T-and-rely-on-the-installed-file-nam.patch | 2 +- ...d-to-something-which-never-conflicts.patch | 71 ------------------- package/libselinux/libselinux.hash | 2 +- package/libselinux/libselinux.mk | 4 +- 4 files changed, 4 insertions(+), 75 deletions(-) delete mode 100644 package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch diff --git a/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch b/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch index cbd98a61ad..18c79b3b4d 100644 --- a/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch +++ b/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch @@ -36,7 +36,7 @@ index 190016e2af34..7ee22fd35da3 100644 RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -L" + RbConfig::CONFIG["archlibdir"] + " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]') RUBYINSTALL ?= $(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') -@@ -176,7 +175,7 @@ install: all +@@ -184,7 +183,7 @@ install: all install-pywrap: pywrap $(PYTHON) setup.py install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` $(PYTHON_SETUP_ARGS) install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py diff --git a/package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch b/package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch deleted file mode 100644 index 2a23e98f9b..0000000000 --- a/package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 398d2ceef92cb1baac18e6b34a1a8e1bf41296cd Mon Sep 17 00:00:00 2001 -From: Nicolas Iooss -Date: Tue, 16 Feb 2021 22:13:28 +0100 -Subject: [PATCH] libselinux: rename gettid() to something which never - conflicts with the libc - -Musl recently added a wrapper for gettid() syscall. There is no way to -detect this new version in a reliable way, so rename our gettid() -wrapper to a non-conflicting name. - -Introduce a new function which, when using a libc known to provide a -wrapper for gettid(), calls it, and which, otherwise, performs the -syscall directly. - -Anyway this function is only used on systems where /proc/thread-self -does not exist, which are therefore running Linux<3.17. - -Fixes: https://github.com/SELinuxProject/selinux/issues/282 -Signed-off-by: Nicolas Iooss -Acked-by: Petr Lautrbach -[Retrieved from: -https://github.com/SELinuxProject/selinux/commit/398d2ceef92cb1baac18e6b34a1a8e1bf41296cd] -Signed-off-by: Fabrice Fontaine ---- - src/procattr.c | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -diff --git a/src/procattr.c b/src/procattr.c -index 1aa67ac53..840570525 100644 ---- a/src/procattr.c -+++ b/src/procattr.c -@@ -25,21 +25,23 @@ static __thread char destructor_initialized; - /* Bionic and glibc >= 2.30 declare gettid() system call wrapper in unistd.h and - * has a definition for it */ - #ifdef __BIONIC__ -- #define OVERRIDE_GETTID 0 -+ #define HAVE_GETTID 1 - #elif !defined(__GLIBC_PREREQ) -- #define OVERRIDE_GETTID 1 -+ #define HAVE_GETTID 0 - #elif !__GLIBC_PREREQ(2,30) -- #define OVERRIDE_GETTID 1 -+ #define HAVE_GETTID 0 - #else -- #define OVERRIDE_GETTID 0 -+ #define HAVE_GETTID 1 - #endif - --#if OVERRIDE_GETTID --static pid_t gettid(void) -+static pid_t selinux_gettid(void) - { -+#if HAVE_GETTID -+ return gettid(); -+#else - return syscall(__NR_gettid); --} - #endif -+} - - static void procattr_thread_destructor(void __attribute__((unused)) *unused) - { -@@ -94,7 +96,7 @@ static int openattr(pid_t pid, const char *attr, int flags) - if (fd >= 0 || errno != ENOENT) - goto out; - free(path); -- tid = gettid(); -+ tid = selinux_gettid(); - rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); - } else { - errno = EINVAL; diff --git a/package/libselinux/libselinux.hash b/package/libselinux/libselinux.hash index 1101b40501..797b978ee1 100644 --- a/package/libselinux/libselinux.hash +++ b/package/libselinux/libselinux.hash @@ -1,5 +1,5 @@ # From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 ea5dcbb4d859e3f999c26a13c630da2f16dff9462e3cc8cb7b458ac157d112e7 libselinux-3.1.tar.gz +sha256 df758ef1d9d4811051dd901ea6b029ae334ffd7c671c128beb16bce1e25ac161 libselinux-3.2.tar.gz # Hash for license file sha256 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364 LICENSE diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index fdd13aa942..0f36db1cfd 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBSELINUX_VERSION = 3.1 -LIBSELINUX_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +LIBSELINUX_VERSION = 3.2 +LIBSELINUX_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSELINUX_VERSION) LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE LIBSELINUX_CPE_ID_VENDOR = selinuxproject From patchwork Thu May 20 17:46:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481831 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=smtp4.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.a=rsa-sha256 header.s=20161025 header.b=vBlhHK7t; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHJg14Lmz9sW1 for ; Fri, 21 May 2021 03:48:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0FE95405AA; Thu, 20 May 2021 17:48:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmACuzdJ-Qwi; Thu, 20 May 2021 17:47:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id D757C405DD; Thu, 20 May 2021 17:47:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id ABD2D1BF2AE for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A537A40F15 for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ej9jLzxM9vLQ for ; Thu, 20 May 2021 17:46:57 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by smtp4.osuosl.org (Postfix) with ESMTPS id 5CCDF405AA for ; Thu, 20 May 2021 17:46:57 +0000 (UTC) Received: by mail-pg1-x531.google.com with SMTP id v14so9653217pgi.6 for ; Thu, 20 May 2021 10:46:57 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=5DP/OfxrOzvbUsXd/mSVfZArP96rvFnga9GjdXkrsO8=; b=vBlhHK7tOqdmF+Dnsu4Ake89fF3X9NcOGcCdFnIO5Nh1KP2ifS+gip5lJalthEE1Jm ONlf7Q/e3ONSo9OO48hiBPfBFhm8v0qDGRp+qUD7zXpYY3BHbtAj9hWCxr3iiI34kHzu pA3LW2pnAi+NSfmNTJBGDLFq0OWg0KbNWBeSL5BJjrRk41o7A7kIfOCiW6qodyXm2Iag 0tg4arsdZK5+cPVGWM9POJ1SvN8ubNuaPrWzsIiYKeSxqm6VbkxyRSOrgjlbSAChV3Gm Zz4wNwWa2X2WI3sZLcEFkMTph2aXY7WO5VO5wSNLEL8hEK+V6JF4clx//O7Z1l1ILfXO b/ZA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=5DP/OfxrOzvbUsXd/mSVfZArP96rvFnga9GjdXkrsO8=; b=TMYintQDZaKaIG9iNJy3WmYRVVMERzvsx4tUdqevdLA+AYfVv378fISNa4/yRQxRwh btws+LJsyvXxsz8Ljhlvr51PALCZYez4xgTabxqJQQgkpNFIX/VN86Rhp29h450x85Cm tO3sDwFhWreVk1/1JXufKQqhy3Oz/3CTHHLHuAWGqXow/D41FME/52Gvo27EHd5HWFqJ ZDb1GYb/Z3yu44bFhQBhoq6XGg3uY53teeWD53HVH1NmQ/lWT0y+n1WCKTtT9V2K4BlS d6aUBYOi5oHSqJfW88GU+EM20ZeAyGqm0qgkY1bI3JPm0ioDZxME62M5qaXy2VIMbG51 iItw== X-Gm-Message-State: AOAM530bK4XNgdDkx9fySeByUUW6NgJ8kVTpeVCyciqTFbhI5Eyf8OJk MKQqdR4HIhmzKqnAyrPPqzO1Z2+1s+A= X-Google-Smtp-Source: ABdhPJzpEdA9IupDLNeV4aI6YDQ//W2s8JP9BJUzIZSpbQgYXL2bTUjXlpKGJbMKBePY0mxNuWRoxA== X-Received: by 2002:aa7:9004:0:b029:2e1:b974:ab8c with SMTP id m4-20020aa790040000b02902e1b974ab8cmr4498286pfo.62.1621532816511; Thu, 20 May 2021 10:46:56 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:56 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:43 -0700 Message-Id: <20210520174649.1188340-6-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 05/11] package/policycoreutils: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Also refactor patches to apply cleanly. Signed-off-by: Adam Duskett --- ...-all-paths-that-use-an-absolute-path.patch | 11 +++--- .../0002-Add-PREFIX-to-host-paths.patch | 36 +++++++++---------- package/policycoreutils/policycoreutils.hash | 2 +- package/policycoreutils/policycoreutils.mk | 6 ++-- 4 files changed, 27 insertions(+), 28 deletions(-) diff --git a/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch b/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch index 57833d8176..aa75ca63c0 100644 --- a/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch +++ b/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch @@ -12,26 +12,27 @@ accomodate version 2.5 Signed-off-by: Clayton Shotwell Signed-off-by: Niranjan Reddy -Signed-off-by: Adam Duskett Signed-off-by: Fabrice Fontaine [Update for 2.8] +Signed-off-by: Adam Duskett +[Update for 3.2] --- setfiles/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setfiles/Makefile b/setfiles/Makefile -index c08e2dd..36c0638 100644 +index a3bbbe1..df675cf 100644 --- a/setfiles/Makefile +++ b/setfiles/Makefile -@@ -3,7 +3,7 @@ PREFIX ?= $(DESTDIR)/usr +@@ -3,7 +3,7 @@ LINGUAS ?= ru PREFIX ?= /usr SBINDIR ?= /sbin MANDIR = $(PREFIX)/share/man -AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) +AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) - ABORT_ON_ERRORS=$(shell grep "^\#define ABORT_ON_ERRORS" setfiles.c | awk -S '{ print $$3 }') - + CFLAGS ?= -g -Werror -Wall -W + override LDLIBS += -lselinux -lsepol -- 2.13.6 diff --git a/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch b/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch index ffe5fcbd44..2daed57c97 100644 --- a/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch +++ b/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch @@ -6,41 +6,39 @@ Subject: [PATCH] Add PREFIX to host paths Updates the remaining hardcoded host paths used in the build to be prefixed with a PREFIX path to allow cross compilation. -Updated to work with version 2.5 +Updated to work with version 3.2 Signed-off-by: Clayton Shotwell Signed-off-by: Niranjan Reddy -Signed-off-by: Adam Duskett Signed-off-by: Fabrice Fontaine [Update for 2.8] +Signed-off-by: Adam Duskett +[Update for 3.2] --- - load_policy/Makefile | 2 +- - newrole/Makefile | 6 +++--- - run_init/Makefile | 6 +++--- - 3 files changed, 7 insertions(+), 7 deletions(-) + newrole/Makefile | 4 ++-- + run_init/Makefile | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/newrole/Makefile b/newrole/Makefile -index 196af92..896708f 100644 +index 0e7ebce..3188cec 100644 --- a/newrole/Makefile +++ b/newrole/Makefile -@@ -3,9 +3,9 @@ PREFIX ?= $(DESTDIR)/usr +@@ -4,8 +4,8 @@ PREFIX ?= /usr BINDIR ?= $(PREFIX)/bin MANDIR ?= $(PREFIX)/share/man ETCDIR ?= /etc - LOCALEDIR = $(DESTDIR)$(PREFIX)/share/locale --PAMH ?= $(shell test -f /usr/include/security/pam_appl.h && echo y) --AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) -+PAMH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/security/pam_appl.h && echo y) -+AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) +-LOCALEDIR = $(DESTDIR)$(PREFIX)/share/locale +-INCLUDEDIR ?= $(PREFIX)/include ++LOCALEDIR = $(DESTDIR)$(PREFIX) ++INCLUDEDIR ?= $(LOCALEDIR)/include + PAMH ?= $(shell test -f $(INCLUDEDIR)/security/pam_appl.h && echo y) + AUDITH ?= $(shell test -f $(INCLUDEDIR)/libaudit.h && echo y) # Enable capabilities to permit newrole to generate audit records. - # This will make newrole a setuid root program. - # The capabilities used are: CAP_AUDIT_WRITE. diff --git a/run_init/Makefile b/run_init/Makefile -index 921f0b0..e1566fc 100644 +index e86364a..20a64d4 100644 --- a/run_init/Makefile +++ b/run_init/Makefile -@@ -4,9 +4,9 @@ PREFIX ?= $(DESTDIR)/usr - SBINDIR ?= $(PREFIX)/sbin +@@ -6,8 +6,8 @@ SBINDIR ?= $(PREFIX)/sbin MANDIR ?= $(PREFIX)/share/man ETCDIR ?= /etc LOCALEDIR ?= $(DESTDIR)$(PREFIX)/share/locale @@ -52,5 +50,5 @@ index 921f0b0..e1566fc 100644 CFLAGS ?= -Werror -Wall -W override CFLAGS += -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" -- -2.13.6 +2.31.1 diff --git a/package/policycoreutils/policycoreutils.hash b/package/policycoreutils/policycoreutils.hash index 5dae18f17d..7d08636370 100644 --- a/package/policycoreutils/policycoreutils.hash +++ b/package/policycoreutils/policycoreutils.hash @@ -1,3 +1,3 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 c889f62ee80f8b6a369469a9b8af51f5b797975aeaa291f5c5960cc12eed1934 policycoreutils-3.1.tar.gz +sha256 d1331c6fa766c547b071c491de90b9f343c8dbffdb119be8a5a7e491199b93a9 policycoreutils-3.2.tar.gz sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk index 0dfdc7af03..a486f8ddc3 100644 --- a/package/policycoreutils/policycoreutils.mk +++ b/package/policycoreutils/policycoreutils.mk @@ -4,8 +4,8 @@ # ################################################################################ -POLICYCOREUTILS_VERSION = 3.1 -POLICYCOREUTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +POLICYCOREUTILS_VERSION = 3.2 +POLICYCOREUTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(POLICYCOREUTILS_VERSION) POLICYCOREUTILS_LICENSE = GPL-2.0 POLICYCOREUTILS_LICENSE_FILES = COPYING POLICYCOREUTILS_CPE_ID_VENDOR = selinuxproject @@ -24,7 +24,7 @@ endif ifeq ($(BR2_PACKAGE_AUDIT),y) POLICYCOREUTILS_DEPENDENCIES += audit -POLICYCOREUTILS_MAKE_OPTS += AUDIT_LOG_PRIV=y +POLICYCOREUTILS_MAKE_OPTS += AUDIT_LOG_PRIV=y USE_AUDIT=y endif # Enable LSPP_PRIV if both audit and linux pam are enabled From patchwork Thu May 20 17:46:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481832 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=2605:bc80:3010::138; helo=smtp1.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.a=rsa-sha256 header.s=20161025 header.b=HaX2KLEV; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHJw1vQbz9sW1 for ; Fri, 21 May 2021 03:48:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C71DF8440F; Thu, 20 May 2021 17:48:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hH62hDX4uCSN; Thu, 20 May 2021 17:48:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 36D6B84036; Thu, 20 May 2021 17:48:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AEF0C1C1170 for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A98CD84407 for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49t90y7jAmra for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by smtp1.osuosl.org (Postfix) with ESMTPS id 0110784036 for ; Thu, 20 May 2021 17:46:57 +0000 (UTC) Received: by mail-pl1-x62d.google.com with SMTP id v13so9520203ple.9 for ; Thu, 20 May 2021 10:46:57 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=sCptGIuVbpZ7B8oDn/J5t8N4UGx9tGBZefMq+aLHWaI=; b=HaX2KLEVDn5G9Y4HcMfnITqIMxvnWkAYhYtqvJJWE66494/QPIw90CpOp/RwQJO8TO i26RQZKTtNmMyitKB6LeQdnB/4vFojxkeHMLatVwJesEhDZVHVfG+pvvwGF7TGGBcTQm wrKDVpMuKKgIFIiIV09RZLrq21SJyUiBqEOUovFLN5RvEn2uAJwAzNb3zpVDgJ9257Cb LSenLBTVZ05QEVKzs4zc0OCjQGdXk+jFU7t1Q+npoSB6pSbfzbkBTxkx7HfjEhBy5AhC j1ph8DvSEb15WRwaF3K6TiawOJuA2Pyy2DBZ9Y26aDBNHlnReJdYglSzb6Ut1ePoAOHW ehOg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=sCptGIuVbpZ7B8oDn/J5t8N4UGx9tGBZefMq+aLHWaI=; b=GUoG2YUTqnLfZvGIhfCECV+8OKBzLZf/JJXwgSrP6Jav87HxhHy8hT5KLmgVe+gKNW 2QK16pX9Z2a0sOx3eWQSBhF9cIzS5ErToY1nfsx6P317vnlQCJVox8YOqCtZ5PEHxnOA 7FDmG1rIt7XpENnTmTXcd20Pg0T0EUUbsyUO49hDy7pe34rV9ohYtBK7b2nezyA0dN9n hLD7H02578HYfeuckHboxleh4X5ks88w1aXZS+P890fvJSI+uiiPQAG6ohUbXx4DYZk1 BpYu0jGPNzyOu0pyDW3Jy+Aku4/PoXVwAV+2T98nUr9nfdS+AAIpq98kKFiXy/8+e4NZ nFFA== X-Gm-Message-State: AOAM5316eypQIs7KIH7/UVsUwkEQjMaIf/EfZGjl7bzytV8y8k881bXV dGDy/nPJAvJ3TiwNKPW85EK2RtzNSqY= X-Google-Smtp-Source: ABdhPJx1CzOpggYtjl2rgojINhtiB6/oR4vWujEjV279KZ1bbQs3b5N3O0BYkq+7Mey/tv1a/4wyFw== X-Received: by 2002:a17:90a:c68f:: with SMTP id n15mr5766523pjt.112.1621532817259; Thu, 20 May 2021 10:46:57 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:56 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:44 -0700 Message-Id: <20210520174649.1188340-7-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 06/11] package/checkpolicy: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett --- package/checkpolicy/checkpolicy.hash | 2 +- package/checkpolicy/checkpolicy.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/checkpolicy/checkpolicy.hash b/package/checkpolicy/checkpolicy.hash index 55f4f09f76..c237913eaf 100644 --- a/package/checkpolicy/checkpolicy.hash +++ b/package/checkpolicy/checkpolicy.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 dfc7707070520c93b14fbbdfdbe081364d806bf28e3e79e10318c2594c77bbb2 checkpolicy-3.1.tar.gz +sha256 9b1c81fa86fe3867842164448d90c8e7ea94b2987497809c65d4caa87a5c5bc8 checkpolicy-3.2.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/checkpolicy/checkpolicy.mk b/package/checkpolicy/checkpolicy.mk index 86eaffccb1..f8ce48c175 100644 --- a/package/checkpolicy/checkpolicy.mk +++ b/package/checkpolicy/checkpolicy.mk @@ -4,8 +4,8 @@ # ################################################################################ -CHECKPOLICY_VERSION = 3.1 -CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +CHECKPOLICY_VERSION = 3.2 +CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(CHECKPOLICY_VERSION) CHECKPOLICY_LICENSE = GPL-2.0 CHECKPOLICY_LICENSE_FILES = COPYING From patchwork Thu May 20 17:46:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481834 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=2605:bc80:3010::136; helo=smtp3.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.a=rsa-sha256 header.s=20161025 header.b=RH6rP4do; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHKN5JxYz9sW7 for ; Fri, 21 May 2021 03:48:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A810E60C05; Thu, 20 May 2021 17:48:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5aneaK1y_25u; Thu, 20 May 2021 17:48:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 1AA2B60BFF; Thu, 20 May 2021 17:48:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 666101BF2AE for ; Thu, 20 May 2021 17:47:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A1F9B40F36 for ; Thu, 20 May 2021 17:46:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mygdWK7-Wvbj for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by smtp4.osuosl.org (Postfix) with ESMTPS id BC7F3405AA for ; Thu, 20 May 2021 17:46:58 +0000 (UTC) Received: by mail-pj1-x1036.google.com with SMTP id pi6-20020a17090b1e46b029015cec51d7cdso5674268pjb.5 for ; Thu, 20 May 2021 10:46:58 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=qQBIH0q+fr+rUqmDthsTcOmhHzFSC/NmRyLNIEW98OM=; b=RH6rP4doe6bG7RItOxuRxaRrbz8HD6qLDKlPU4c0/krrznLgIob6rHX+CSGcsxT4lH gwgDm/OhPYXdjD+EqXsWaDJqoeUXDg1AI48SjpOQfq0KoWAdCAuZ3v5rnsxO8IePauL2 S5eWBoYrLrRZhd9agX3P5LpNP+jYWJMgn48u+MGMWN/U/dcBqyXVtu3qKpkhwvMhu0Ho k25w1WbLp7K9VpajMNvhFO/6Zzb/iv0AQsEIdvImPWJKXe87itG/MXut9XvrM3ILcXnv WTf8RFNZwLITNAIr4f1sQKuwdK10xkyl+4YsI/KqKIQqAnqJbh73jrUOyuT+FFg/Bsu8 LGbQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qQBIH0q+fr+rUqmDthsTcOmhHzFSC/NmRyLNIEW98OM=; b=tJZxl5H+W1+J7oxjS+6iUo+6PcnZX/twV8BTSvCRPokMKYByaWOvVAuyFZnVZ9O/vQ y+DxQj4IZf9tzdPUfkQb1jVA28xdCilFw7c+BdiMpvodcts4UondtLLGELypeC42836E 57eAUJi7soUAJHDL6L8WtvFzXPlOUAS+zCANq2GGWQCvSgh+m39FPp+ZrbDk4UvSA6hu O5VyPKNZyVeyH8IFagnU2sPqP/e5/ZD/d6LMgqKmPXpaC7NfCdQZGPdNX/T2vLaFFDYy SgerrB5wm38YNS2mNtux19r3ETJQt8WNzwAWkHWYxn9O3BTJcuOOoGlthSy77wbtjy2/ r5Kw== X-Gm-Message-State: AOAM532BVj11JXaCEChMiHIPM5yQfTUifVn8WQbWdzoKLbge0F26pF7w waKsW3u+7NBIxecz7F21+fYUe+5DnvQ= X-Google-Smtp-Source: ABdhPJzu26s4DP66azQapDsj2OsKPQ3dWfGnNEXSvV28OGQMPK1V9H7Dl+yZuFXIVzWO7tO42T5ztg== X-Received: by 2002:a17:90a:174e:: with SMTP id 14mr5810232pjm.187.1621532818014; Thu, 20 May 2021 10:46:58 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:57 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:45 -0700 Message-Id: <20210520174649.1188340-8-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 07/11] package/restorecond: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett --- package/restorecond/restorecond.hash | 2 +- package/restorecond/restorecond.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/restorecond/restorecond.hash b/package/restorecond/restorecond.hash index e30e62a812..1869100188 100644 --- a/package/restorecond/restorecond.hash +++ b/package/restorecond/restorecond.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 82ca45099685a45d718f11f8859963c1ba83d98e510312cbf0b7dc5664c60ad0 restorecond-3.1.tar.gz +sha256 471c17e64aa6d7226e861d4d0125d15fdf9b38892c542be32bd83d999e5e75f5 restorecond-3.2.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/restorecond/restorecond.mk b/package/restorecond/restorecond.mk index 7ab7e978dd..d08e0a722e 100644 --- a/package/restorecond/restorecond.mk +++ b/package/restorecond/restorecond.mk @@ -4,8 +4,8 @@ # ################################################################################ -RESTORECOND_VERSION = 3.1 -RESTORECOND_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +RESTORECOND_VERSION = 3.2 +RESTORECOND_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(RESTORECOND_VERSION) RESTORECOND_LICENSE = GPL-2.0 RESTORECOND_LICENSE_FILES = COPYING From patchwork Thu May 20 17:46:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481833 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.138; helo=smtp1.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.a=rsa-sha256 header.s=20161025 header.b=eVItKzeD; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHK75kYbz9sW1 for ; Fri, 21 May 2021 03:48:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 424168440F; Thu, 20 May 2021 17:48:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bkq9MCeMFWfD; Thu, 20 May 2021 17:48:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 91E3584414; Thu, 20 May 2021 17:48:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2A3CA1BF2AE for ; Thu, 20 May 2021 17:47:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 26F0A404D3 for ; Thu, 20 May 2021 17:47:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uUeHx3VonRR9 for ; Thu, 20 May 2021 17:46:59 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by smtp2.osuosl.org (Postfix) with ESMTPS id 737A9401CC for ; Thu, 20 May 2021 17:46:59 +0000 (UTC) Received: by mail-pf1-x42b.google.com with SMTP id e17so2307870pfl.5 for ; Thu, 20 May 2021 10:46:59 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=dRtKz2FKt+oMHDpFjzpl63WFwCCa4xwHOWz9y6DgD0I=; b=eVItKzeD19J1VbXq5/lO9ml/MFpmh+xjURHotNHEQtcfgwzoG8aq0AJDfbgmDqa68t r9PdfQxZnMzKoj8euNy50+bIv3+uH9A5kh6IG4jzdgOB9JJux24BWwpQy+TmYXnFix/z js4bliIZn0W7yMScSlNcuKe6FjWhYiUJE+yjzsOHTo4895XvYL6LmBWpLKqVf19gaCRf ZoRdXKy8IJ+p/Y1uku7YJmjg8JGgtOEYzeSXtZFrctDNbVcAl9XmnPWnMjTjFMCbnnbU 7HpaNMwiUqmX2mG+Hs43MN2pZhXBt2lb1mX0dISEn2B/7gaNitf37MwZshHzYfUK5HzI c8sg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=dRtKz2FKt+oMHDpFjzpl63WFwCCa4xwHOWz9y6DgD0I=; b=uaLG4ZZftKM/n/Kg5BPawQ4OAS/bHHOika6t6h8SxyA5bqfmVXWGnrPZDN6HRCZboS bprLVVIedBcQofbO3ZYo1JLrNIOOvLFx+vUMwd/DvwLXeIcz4ehso6VtLNzpn2KhMJuI UvsBNIGTONyMnJl5rJRmdgzfV5mUwzc2xjQs/QTVjWySss4ZF4Cw/SfZ9xF1+w4+8UGc liVF+5oJrpx7sirreWKweiauin5J6FTUiCcj25X9d2ijIOPoyHK0nz7Sf0V39u6FPkbF bDGwRdxLL/OR2s4fS99bGiM5cSvDXTb7Y0d4gyy69QQQeZzsYeUkkwmMoPWrS5VTT2zn a5KA== X-Gm-Message-State: AOAM532gP18Jx9z9/9Hfejv68S2Dn5oV95tZCzENbiptUGHE2yags8aT M4kM1M+7m7QuYubq1cQY22GNMxkaIKI= X-Google-Smtp-Source: ABdhPJyEeVbAPe8le+3taaSNUTqjI7l3qxQ3QIVUoFPVz60l/tJX3UCstcaySHuPhURMR/Q0GSAZ0w== X-Received: by 2002:a63:8f15:: with SMTP id n21mr5621980pgd.366.1621532818780; Thu, 20 May 2021 10:46:58 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:58 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:46 -0700 Message-Id: <20210520174649.1188340-9-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 08/11] package/semodule-utils: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett --- package/semodule-utils/semodule-utils.hash | 2 +- package/semodule-utils/semodule-utils.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/semodule-utils/semodule-utils.hash b/package/semodule-utils/semodule-utils.hash index d015205d53..595183924d 100644 --- a/package/semodule-utils/semodule-utils.hash +++ b/package/semodule-utils/semodule-utils.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 0cc37f9cec751d9c2abb5f2b228b060567e973cb47c19b53b8a4a7378baaa853 semodule-utils-3.1.tar.gz +sha256 be155654883c8dc4d05493e04a3eb9e56d28803009f1fdd721d42c68b878f757 semodule-utils-3.2.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/semodule-utils/semodule-utils.mk b/package/semodule-utils/semodule-utils.mk index c89f28d60e..426dbdb7b6 100644 --- a/package/semodule-utils/semodule-utils.mk +++ b/package/semodule-utils/semodule-utils.mk @@ -4,8 +4,8 @@ # ################################################################################ -SEMODULE_UTILS_VERSION = 3.1 -SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +SEMODULE_UTILS_VERSION = 3.2 +SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SEMODULE_UTILS_VERSION) SEMODULE_UTILS_LICENSE = GPL-2.0 SEMODULE_UTILS_LICENSE_FILES = COPYING SEMODULE_UTILS_DEPENDENCIES = libsepol From patchwork Thu May 20 17:46:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481835 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=2605:bc80:3010::136; helo=smtp3.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.a=rsa-sha256 header.s=20161025 header.b=FixtjIq7; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHKf49hSz9sW1 for ; Fri, 21 May 2021 03:48:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 834D960C0E; Thu, 20 May 2021 17:48:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QIh9hr0xGV6C; Thu, 20 May 2021 17:48:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 9D77C60667; Thu, 20 May 2021 17:48:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 282921BF2AE for ; Thu, 20 May 2021 17:47:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 182268440F for ; Thu, 20 May 2021 17:47:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z7hboXMgF67A for ; Thu, 20 May 2021 17:47:00 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by smtp1.osuosl.org (Postfix) with ESMTPS id 5906C84407 for ; Thu, 20 May 2021 17:47:00 +0000 (UTC) Received: by mail-pg1-x52d.google.com with SMTP id t193so12390866pgb.4 for ; Thu, 20 May 2021 10:47:00 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=VOu0ZyWlsuhW/NVQdBdyDSUQH9lhMr6ubq4VCkKe2PE=; b=FixtjIq7mCzx9r0wyRzM+/VkgzqoX2llGc+WcATPT4dEJXvKrkAhA2+84MO3BVrgNK Rz7GU8+Mgf4rdDXUw42Ph7SLEK8WUBjJ7+xzFDWZRUlMNW2qvj5PkxY4cDFkeoX8/kaS AMcRu3EIxuT2wcI/sUePkpz2JkY3PTZ86FPbINdI8gLg1ZVcEk96bljDqs38vaHlRQXq yIVOznGLN3CJwcSEJ6LaGEbGE9dlCeDyq53lbEazT0T6z41Omxg1yHYQnhyfL+pU33J9 bNmf5umvtmGUotndLBd/QFo58mlQrDptstIaGLghDcEVrHFKyAVbBNTI1X2w/NcO9Ghs cb/w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=VOu0ZyWlsuhW/NVQdBdyDSUQH9lhMr6ubq4VCkKe2PE=; b=ARjKox/g/j7SjQsAQdiWY4vxl86MbhaltlFnOd6dPAnkEhimXMq4PtxylOPUgCXyBk 2DEU0xFGmvYXHoCjhezBlf2sXf1MDZf49OTwiTylsNksQwY2EjSEZpQRkMyK7po2uz1x LDrLuZqwoJIQY0m+YRfq4R+Qve/uOLGKOSlKnMpLRFHtf67PeI1Tx0p1Jp3uijfhwMQ3 BXqpfzfw1a30j6E3TVoiS10aUWm6ENcyO6wo+gwBbQKNej5KkCFzGidWl9kxJeuYNVkp WVF9eJLQMvP0rthVqA6h3Jv2NJ8EsuehFf2yIqdDLI87KDgWJKaGxNrpgrXqm2Bxs/tX iXVQ== X-Gm-Message-State: AOAM531JojAT9KJpg7wLhvA60xi9NLhCx0sgngXVST/vdKfG/NK6mqhv PrdMX6XmmkM0Sh4Pt03JV0hxDhN5hOA= X-Google-Smtp-Source: ABdhPJxg5DEucJ4tgTmKm7J7jEaJzSY6rokOc6vsc0oLOa8NBZXqN0F1H7soUBOabn50FNf/NVQ/SA== X-Received: by 2002:a63:af0f:: with SMTP id w15mr5687171pge.295.1621532819517; Thu, 20 May 2021 10:46:59 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:46:59 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:47 -0700 Message-Id: <20210520174649.1188340-10-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 09/11] package/selinux-python: bump to version 3.2 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett --- package/selinux-python/selinux-python.hash | 2 +- package/selinux-python/selinux-python.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/selinux-python/selinux-python.hash b/package/selinux-python/selinux-python.hash index f896168f7a..00c28b722c 100644 --- a/package/selinux-python/selinux-python.hash +++ b/package/selinux-python/selinux-python.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 f4d0a1a030bc291a6af498b26e0676b745075dd289a8ba16cdec86c3ea8f2f02 selinux-python-3.1.tar.gz +sha256 770855ea8120ef23007fdb9db94b1ed6e8cd77917b584ed8877bbee9c16e74fb selinux-python-3.2.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/selinux-python/selinux-python.mk b/package/selinux-python/selinux-python.mk index 3b1e15bdf8..61ec7eb595 100644 --- a/package/selinux-python/selinux-python.mk +++ b/package/selinux-python/selinux-python.mk @@ -4,8 +4,8 @@ # ################################################################################ -SELINUX_PYTHON_VERSION = 3.1 -SELINUX_PYTHON_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 +SELINUX_PYTHON_VERSION = 3.2 +SELINUX_PYTHON_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SELINUX_PYTHON_VERSION) SELINUX_PYTHON_LICENSE = GPL-2.0 SELINUX_PYTHON_LICENSE_FILES = COPYING SELINUX_PYTHON_DEPENDENCIES = python3 From patchwork Thu May 20 17:46:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481836 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=smtp4.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.a=rsa-sha256 header.s=20161025 header.b=q0Vb6YFH; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHKs5Jtxz9sW1 for ; Fri, 21 May 2021 03:49:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 257A44033A; Thu, 20 May 2021 17:49:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zp1shNer1jtz; Thu, 20 May 2021 17:49:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 16F0B40354; Thu, 20 May 2021 17:49:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0F7731BF2AE for ; Thu, 20 May 2021 17:47:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id F1D8860BFF for ; Thu, 20 May 2021 17:47:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TXZeWL5S-bNR for ; Thu, 20 May 2021 17:47:01 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2EE9660BF7 for ; Thu, 20 May 2021 17:47:01 +0000 (UTC) Received: by mail-pl1-x632.google.com with SMTP id p6so9526460plr.11 for ; Thu, 20 May 2021 10:47:01 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=kACCk3IxIhkrg9e9K4PHuTpOLvqBZDv2Pq9Dovprg4w=; b=q0Vb6YFHAqcbnoUKZl9H1Tq9OrVKyJhBiC89L8xoTcZ8JvPRXLRC9uOiiY9wUyfkCR ysHavKUZ7I0oGQT2GYUolTsY+2B2hIhDD+MB15HYnfFH7ipXKSWrOsi99ngO8gTmdrwT 6iXM0kRl0FG3RKHeAc2Rg2PROnhEp16GwJr05/eGx3lwQLBYJzDvBc6ev60niSgTn09u fvuTD0RAEMAzrqiyWR77Qwr8W2x54G3/MXzxTwOKbI46uqdjLT7t9ePk5SsU8dZcdJDO R6c7v1ij2uebm77qhdHWuM8gtU8sH/BCtdIep+3XqZUTicXw43iRUKmThiOdIPqYvhEp PlnQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=kACCk3IxIhkrg9e9K4PHuTpOLvqBZDv2Pq9Dovprg4w=; b=rsul1e8Keq5b6Md6qjP5QajkCOeDp4fbq0/N5F7Ov1osmHfvC4zNTgT2feLC6eyey7 7iskaMItzaynORAe+J6HyW+YieGQzwzYVXqFY/JFGxYbe4yBJeX/9QAyygTVsTYMzp3e CQvtYUXnN3dpn6LkA5mX1rY2RunZVrxIQOEhCNkLq3CeZSCKMfUGflkdb90lGcuoTz5A XOOtQQ7lhCvBxFEErSbOMD2Tivi5ib3xKc8vPBGpZu0RJSKgiS/w2yaDXQY94vhcyO6d WW6I0ao4P/y9j6BWpTuKZyMEJtdlJdfsWpzo2mpICcNa1jDj6X/232NDw2HudBS1yv5W 5aQA== X-Gm-Message-State: AOAM531l3e5zc6A0ZeuJQEtJOSBKFygJFb5QMZB1w5iDxyTSqZxgAQoZ F5625c7tCi4xIj549QRiVTRDd7Nqih8= X-Google-Smtp-Source: ABdhPJzz5FSX9ymIdmqGYvDmDpmmZBT3DgmebQbOaBL2YExJjT5OhnnosA7OTqsnN/QnrxUDZdOddg== X-Received: by 2002:a17:90a:3041:: with SMTP id q1mr6367979pjl.191.1621532820359; Thu, 20 May 2021 10:47:00 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:47:00 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:48 -0700 Message-Id: <20210520174649.1188340-11-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 10/11] package/setools: bump to version 4.4.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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - Remove upstream patch 0001-remove-werror-flag-from-setup.patch - Refactor Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch to apply to 4.4.0 Signed-off-by: Adam Duskett --- ...-setools.InfoFlowAnalysis-and-setoo.patch} | 19 ++++++------ .../0001-remove-werror-flag-from-setup.patch | 31 ------------------- package/setools/setools.hash | 2 +- package/setools/setools.mk | 2 +- 4 files changed, 12 insertions(+), 42 deletions(-) rename package/setools/{0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch => 0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch} (88%) delete mode 100644 package/setools/0001-remove-werror-flag-from-setup.patch diff --git a/package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch b/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch similarity index 88% rename from package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch rename to package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch index f9519a0790..3c3ae97dff 100644 --- a/package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch +++ b/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch @@ -15,6 +15,7 @@ sedta and seinfoflow to require python3-networkx Signed-off-by: Antoine Tenart [Refreshed for 4.3.0] Signed-off-by: Adam Duskett +[Refreshed for 4.4.0] --- sedta | 3 ++- seinfoflow | 5 +++-- @@ -36,7 +37,7 @@ index 60861ca630a5..0056172a55e5 100755 +import setools.dta - def print_transition(trans): + def print_transition(trans: setools.DomainTransition) -> None: @@ -114,7 +115,7 @@ else: try: @@ -58,7 +59,7 @@ index f10c39de4d8e..fe733bbd0787 100755 import argparse import sys import logging -@@ -101,8 +102,8 @@ elif args.booleans is not None: +@@ -102,8 +103,8 @@ elif args.booleans is not None: try: p = setools.SELinuxPolicy(args.policy) m = setools.PermissionMap(args.map) @@ -70,20 +71,20 @@ index f10c39de4d8e..fe733bbd0787 100755 if args.shortest_path or args.all_paths: if args.shortest_path: diff --git a/setools/__init__.py b/setools/__init__.py -index 26fa5aa34a19..9e9058a6bf90 100644 +index d72d343..4d5aaaa 100644 --- a/setools/__init__.py +++ b/setools/__init__.py -@@ -75,11 +75,11 @@ from .pcideviceconquery import PcideviceconQuery +@@ -91,11 +91,11 @@ from .pcideviceconquery import PcideviceconQuery from .devicetreeconquery import DevicetreeconQuery # Information Flow Analysis -from .infoflow import InfoFlowAnalysis +# from .infoflow import InfoFlowAnalysis - from .permmap import PermissionMap + from .permmap import PermissionMap, RuleWeight, Mapping # Domain Transition Analysis --from .dta import DomainTransitionAnalysis -+# from .dta import DomainTransitionAnalysis +-from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition ++# from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition # Policy difference from .diff import PolicyDifference @@ -91,7 +92,7 @@ diff --git a/setoolsgui/apol/dta.py b/setoolsgui/apol/dta.py index 4608b9dbf34e..2cde44c142e9 100644 --- a/setoolsgui/apol/dta.py +++ b/setoolsgui/apol/dta.py -@@ -23,7 +23,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread +@@ -24,7 +24,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread from PyQt5.QtGui import QPalette, QTextCursor from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ QTreeWidgetItem @@ -99,7 +100,7 @@ index 4608b9dbf34e..2cde44c142e9 100644 +from setools.dta import DomainTransitionAnalysis from ..logtosignal import LogHandlerToSignal - from .analysistab import AnalysisTab + from .analysistab import AnalysisSection, AnalysisTab diff --git a/setoolsgui/apol/infoflow.py b/setoolsgui/apol/infoflow.py index 7bca299d23fc..7fee2778f35f 100644 --- a/setoolsgui/apol/infoflow.py diff --git a/package/setools/0001-remove-werror-flag-from-setup.patch b/package/setools/0001-remove-werror-flag-from-setup.patch deleted file mode 100644 index 0ab4006661..0000000000 --- a/package/setools/0001-remove-werror-flag-from-setup.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 8ab5a49247d870d92a8287db6134877ebf7a4379 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Thu, 12 Oct 2017 22:04:58 -0400 -Subject: [PATCH] remove werror flag from setup - -Compilers older than gcc6 will generate uninitialized variable warnings which -will cause compiling to fail. - -Signed-off-by: Antoine Tenart -[Refreshed for 4.3.0] -Signed-off-by: Adam Duskett ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 457c83049ca5..4dcb30196abf 100644 ---- a/setup.py -+++ b/setup.py -@@ -106,7 +106,7 @@ ext_py_mods = [Extension('setools.policyrep', ['setools/policyrep.pyx'], - libraries=['selinux', 'sepol'], - library_dirs=lib_dirs, - define_macros=macros, -- extra_compile_args=['-Werror', '-Wextra', -+ extra_compile_args=['-Wextra', - '-Waggregate-return', - '-Wfloat-equal', - '-Wformat', '-Wformat=2', --- -2.26.2 - diff --git a/package/setools/setools.hash b/package/setools/setools.hash index 689b20a357..74428a177c 100644 --- a/package/setools/setools.hash +++ b/package/setools/setools.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 da2c1d23edd24c4aa17d01d78e86c9e5fb5bf3aa38c71d5d63f41c750f6ef26c setools-4.3.0.tar.gz +sha256 202eac5f857475937bee8136cff278aa2b4a4b94a0dec63fbbbe18c9eb644a4e setools-4.4.0.tar.gz sha256 2f7547e10f76a382c24c053595f38a5cc6dda9347f508f254ca490e0046a9624 COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/package/setools/setools.mk b/package/setools/setools.mk index a07b1367a2..8e1c0d2cc6 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -4,7 +4,7 @@ # ################################################################################ -SETOOLS_VERSION = 4.3.0 +SETOOLS_VERSION = 4.4.0 SETOOLS_SITE = $(call github,SELinuxProject,setools,$(SETOOLS_VERSION)) SETOOLS_DEPENDENCIES = libselinux libsepol python-setuptools host-bison host-flex host-python-cython host-swig SETOOLS_INSTALL_STAGING = YES From patchwork Thu May 20 17:46:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481837 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=2605:bc80:3010::133; helo=smtp2.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.a=rsa-sha256 header.s=20161025 header.b=SN8GgREZ; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmHLC52dhz9sW1 for ; Fri, 21 May 2021 03:49:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 48EC84024A; Thu, 20 May 2021 17:49:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ZmzxXLHrRLg; Thu, 20 May 2021 17:49:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 4B87340252; Thu, 20 May 2021 17:49:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 61ACC1BF2AE for ; Thu, 20 May 2021 17:47:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5079A843E3 for ; Thu, 20 May 2021 17:47:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vFdtQ0ItHB_K for ; Thu, 20 May 2021 17:47:02 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by smtp1.osuosl.org (Postfix) with ESMTPS id 0164B84036 for ; Thu, 20 May 2021 17:47:01 +0000 (UTC) Received: by mail-pg1-x530.google.com with SMTP id i5so12416211pgm.0 for ; Thu, 20 May 2021 10:47:01 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=4GzwA5EG3iIyaMBrk/UfURFWSLQNktEwRm/LW5R2FaU=; b=SN8GgREZKs2pjsktEslYrITYVTeWK/Pp8TELZ+ezPfFJyJCqtme7D2c/9+K7tnazSZ o1O4qXIPyxi5npKM2DyOXSdZgAGrHA92fFngKYIwepN5UGvrtAn0itQgeJBy1MvFj9uQ mhRWqQheku3HfrhL8shtGbB8DnfnGv6oyKQRLmUIl3rrpa5tgFhH6qmniXD4JVSu5iKm 9QPZBVZ3uEMrgKXWivTdlzi31hY3Mcsf9ynvIPbf+mu0+Mc9sYktnlDK7mz44VpC811q PjkokQTNsJCqIaArIomH58zh5NGMaQo1vUGT8ZTQsFCUmRepdqp0OQSPfT4ezl21q5xM MRkg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4GzwA5EG3iIyaMBrk/UfURFWSLQNktEwRm/LW5R2FaU=; b=dwm/UceVp1NjTCqN6tvOkt6+ab+4gRZ4tB7Rd2gmZTK38Won3azWvJ9gtnrD3hSXUV qmV9hUFnVsuqkO+orcAV9Pzsw569eKC0JuQ47on+jeuyTJMRSUWV62/cJB6ngJ/tpydP HtAkQfkThjvZJKYTvfQm2VKL1PKdIM8x8aM6USIswWqRUIhnpAldH3JOVCa9Xw4YIavj oficsAOTpQfUZh0GCTh12S45IbcdR91uAwHh/ccxSYwVo5dWc95hTdIUd5GJqnSTe+wu YlI58iS0Aa/4nL5v0QP4EkQ24DYOAt9gk+XiSl3ArnlElT1FdIbsIucuu8D+Oamm1Tva TnWA== X-Gm-Message-State: AOAM532Ne+CnyK8eZyn5qJCBZEkq+pK8/TOw5OZ47btbkOmt8Js0GW00 hpqa3JVHS7YRh07gOI4iE+f20DuORuI= X-Google-Smtp-Source: ABdhPJzD4aAcVcjMF3j9TucqnX6vxwfA13CO+CWxJxieNL4QS4AN3pAjdF88iK7794aXzNedGU2+Gg== X-Received: by 2002:a63:f74b:: with SMTP id f11mr5701331pgk.327.1621532821126; Thu, 20 May 2021 10:47:01 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id 191sm2387571pfx.121.2021.05.20.10.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:47:00 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 10:46:49 -0700 Message-Id: <20210520174649.1188340-12-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520174649.1188340-1-aduskett@gmail.com> References: <20210520174649.1188340-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/NEXT: 11/11] package/audit: bump to version 3.0.1 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: Marcus Folkesson , Antoine Tenart , Clayton Shotwell , Matt Weber , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Drop all upstream patches as they no longer are applicable. Signed-off-by: Adam Duskett --- ...0001-Fix-audispd-path-in-auditd.conf.patch | 32 ----- ...tue-functions-for-strndupa-rawmemchr.patch | 133 ------------------ ...ns-need-to-be-external-when-building.patch | 28 ---- package/audit/audit.hash | 6 +- package/audit/audit.mk | 2 +- 5 files changed, 4 insertions(+), 197 deletions(-) delete mode 100644 package/audit/0001-Fix-audispd-path-in-auditd.conf.patch delete mode 100644 package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch delete mode 100644 package/audit/0003-Header-definitions-need-to-be-external-when-building.patch diff --git a/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch b/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch deleted file mode 100644 index ccf45db911..0000000000 --- a/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6e1fd09f7bc131c8f16d9cc43e2455ba4650c651 Mon Sep 17 00:00:00 2001 -From: Carlos Santos -Date: Sat, 3 Nov 2018 08:25:58 -0300 -Subject: [PATCH] Fix audispd path in auditd.conf - -audispd is installed at /usr/sbin but the configuration file pointed -to /sbin, causing auditd to fail on startup. - -This patch cannot be sent upstream because audispd does not exist -anymore on the master branch (it was merged to auditd). - -Signed-off-by: Carlos Santos ---- - init.d/auditd.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/init.d/auditd.conf b/init.d/auditd.conf -index 4dcda83..998904f 100644 ---- a/init.d/auditd.conf -+++ b/init.d/auditd.conf -@@ -13,7 +13,7 @@ max_log_file = 8 - num_logs = 5 - priority_boost = 4 - disp_qos = lossy --dispatcher = /sbin/audispd -+dispatcher = /usr/sbin/audispd - name_format = NONE - ##name = mydomain - max_log_file_action = ROTATE --- -2.17.1 - diff --git a/package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch b/package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch deleted file mode 100644 index ac292c57d1..0000000000 --- a/package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch +++ /dev/null @@ -1,133 +0,0 @@ -From c39a071e7c021f6ff3554aca2758e97b47a9777c Mon Sep 17 00:00:00 2001 -From: Steve Grubb -Date: Tue, 26 Feb 2019 18:33:33 -0500 -Subject: [PATCH] Add substitue functions for strndupa & rawmemchr - -(cherry picked from commit d579a08bb1cde71f939c13ac6b2261052ae9f77e) -Signed-off-by: Thomas Petazzoni ---- - auparse/auparse.c | 12 +++++++++++- - auparse/interpret.c | 9 ++++++++- - configure.ac | 14 +++++++++++++- - src/ausearch-lol.c | 12 +++++++++++- - 4 files changed, 43 insertions(+), 4 deletions(-) - -diff --git a/auparse/auparse.c b/auparse/auparse.c -index 650db02..2e1c737 100644 ---- a/auparse/auparse.c -+++ b/auparse/auparse.c -@@ -1,5 +1,5 @@ - /* auparse.c -- -- * Copyright 2006-08,2012-17 Red Hat Inc., Durham, North Carolina. -+ * Copyright 2006-08,2012-19 Red Hat Inc., Durham, North Carolina. - * All Rights Reserved. - * - * This library is free software; you can redistribute it and/or -@@ -1118,6 +1118,16 @@ static int str2event(char *s, au_event_t *e) - return 0; - } - -+#ifndef HAVE_STRNDUPA -+static inline char *strndupa(const char *old, size_t n) -+{ -+ size_t len = strnlen(old, n); -+ char *tmp = alloca(len + 1); -+ tmp[len] = 0; -+ return memcpy(tmp, old, len); -+} -+#endif -+ - /* Returns 0 on success and 1 on error */ - static int extract_timestamp(const char *b, au_event_t *e) - { -diff --git a/auparse/interpret.c b/auparse/interpret.c -index 51c4a5e..67b7b77 100644 ---- a/auparse/interpret.c -+++ b/auparse/interpret.c -@@ -853,6 +853,13 @@ err_out: - return print_escaped(id->val); - } - -+// rawmemchr is faster. Let's use it if we have it. -+#ifdef HAVE_RAWMEMCHR -+#define STRCHR rawmemchr -+#else -+#define STRCHR strchr -+#endif -+ - static const char *print_proctitle(const char *val) - { - char *out = (char *)print_escaped(val); -@@ -863,7 +870,7 @@ static const char *print_proctitle(const char *val) - // Proctitle has arguments separated by NUL bytes - // We need to write over the NUL bytes with a space - // so that we can see the arguments -- while ((ptr = rawmemchr(ptr, '\0'))) { -+ while ((ptr = STRCHR(ptr, '\0'))) { - if (ptr >= end) - break; - *ptr = ' '; -diff --git a/configure.ac b/configure.ac -index 6e345f1..6f3007e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,7 +1,7 @@ - dnl - define([AC_INIT_NOTICE], - [### Generated automatically using autoconf version] AC_ACVERSION [ --### Copyright 2005-18 Steve Grubb -+### Copyright 2005-19 Steve Grubb - ### - ### Permission is hereby granted, free of charge, to any person obtaining a - ### copy of this software and associated documentation files (the "Software"), -@@ -72,6 +72,18 @@ dnl; posix_fallocate is used in audisp-remote - AC_CHECK_FUNCS([posix_fallocate]) - dnl; signalfd is needed for libev - AC_CHECK_FUNC([signalfd], [], [ AC_MSG_ERROR([The signalfd system call is necessary for auditd]) ]) -+dnl; check if rawmemchr is available -+AC_CHECK_FUNCS([rawmemchr]) -+dnl; check if strndupa is available -+AC_LINK_IFELSE( -+ [AC_LANG_SOURCE( -+ [[ -+ #define _GNU_SOURCE -+ #include -+ int main() { (void) strndupa("test", 10); return 0; }]])], -+ [AC_DEFINE(HAVE_STRNDUPA, 1, [Let us know if we have it or not])], -+ [] -+) - - ALLWARNS="" - ALLDEBUG="-g" -diff --git a/src/ausearch-lol.c b/src/ausearch-lol.c -index 5d17a72..758c33e 100644 ---- a/src/ausearch-lol.c -+++ b/src/ausearch-lol.c -@@ -1,6 +1,6 @@ - /* - * ausearch-lol.c - linked list of linked lists library --* Copyright (c) 2008,2010,2014,2016 Red Hat Inc., Durham, North Carolina. -+* Copyright (c) 2008,2010,2014,2016,2019 Red Hat Inc., Durham, North Carolina. - * All Rights Reserved. - * - * This software may be freely redistributed and/or modified under the -@@ -152,6 +152,16 @@ static int compare_event_time(event *e1, event *e2) - return 0; - } - -+#ifndef HAVE_STRNDUPA -+static inline char *strndupa(const char *old, size_t n) -+{ -+ size_t len = strnlen(old, n); -+ char *tmp = alloca(len + 1); -+ tmp[len] = 0; -+ return memcpy(tmp, old, len); -+} -+#endif -+ - /* - * This function will look at the line and pick out pieces of it. - */ --- -2.21.0 - diff --git a/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch b/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch deleted file mode 100644 index 9a546261df..0000000000 --- a/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 017e6c6ab95df55f34e339d2139def83e5dada1f Mon Sep 17 00:00:00 2001 -From: Steve Grubb -Date: Fri, 10 Jan 2020 21:13:50 -0500 -Subject: [PATCH] Header definitions need to be external when building with - -fno-common (which is default in GCC 10) - Tony Jones - -Patch taken from upstream: https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f -Signed-off-by: Heiko Thiery ---- - src/ausearch-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ausearch-common.h b/src/ausearch-common.h -index 6669203..3040547 100644 ---- a/src/ausearch-common.h -+++ b/src/ausearch-common.h -@@ -50,7 +50,7 @@ extern pid_t event_pid; - extern int event_exact_match; - extern uid_t event_uid, event_euid, event_loginuid; - extern const char *event_tuid, *event_teuid, *event_tauid; --slist *event_node_list; -+extern slist *event_node_list; - extern const char *event_comm; - extern const char *event_filename; - extern const char *event_hostname; --- -2.20.1 - diff --git a/package/audit/audit.hash b/package/audit/audit.hash index 71e7df7dbc..4ef9a42b0d 100644 --- a/package/audit/audit.hash +++ b/package/audit/audit.hash @@ -1,4 +1,4 @@ #Locally computed -sha256 0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7 audit-2.8.5.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING -sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB +sha256 994c4250d8fd43f3087a3c2ce73461832e30f1e9b278bf5bb03c3e07091155a5 audit-3.0.1.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING +sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/package/audit/audit.mk b/package/audit/audit.mk index 05a16e6e31..df6650593d 100644 --- a/package/audit/audit.mk +++ b/package/audit/audit.mk @@ -4,7 +4,7 @@ # ################################################################################ -AUDIT_VERSION = 2.8.5 +AUDIT_VERSION = 3.0.1 AUDIT_SITE = http://people.redhat.com/sgrubb/audit AUDIT_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries) AUDIT_LICENSE_FILES = COPYING COPYING.LIB