From patchwork Mon Feb 3 13:29:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1232770 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=cjtjHObN; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48B7wt2wb9z9sRm for ; Tue, 4 Feb 2020 00:30:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CF330852F8; Mon, 3 Feb 2020 13:30:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7nxQmzuyLDpb; Mon, 3 Feb 2020 13:30:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1915B84FDD; Mon, 3 Feb 2020 13:30:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 49A911BF3E0 for ; Mon, 3 Feb 2020 13:30:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 46BAC826E6 for ; Mon, 3 Feb 2020 13:30:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ORpOuX6EO3Ln for ; Mon, 3 Feb 2020 13:29:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4D26782507 for ; Mon, 3 Feb 2020 13:29:59 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id z3so18166007wru.3 for ; Mon, 03 Feb 2020 05:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DrFPJRXWrSiQA6or0SrYG3TJ2xHZbDRIepYjDsPm0T8=; b=cjtjHObNMAAHhAm4rL7P72tvJ+TSvshZKXSzG+v4Xhd1IdBb5u5tsI1R7WpPWyn+hf hzPY9A489ycwI8GVAkVsdNZEZI4CCefszyYVFcRzxUsZJXQULQIJD12pK/No87P2GMtq sR6sp8/DGHhH/J2Nf3hODNtktk5c5B6IKmmBXPzyFx/e1Kn6iejdp5kddjMOp5yKneQu NHWM3pAtk47MyDMfhOkDqPm8Pb/QSiSNWtqSLj5Bea2+TzvgMeLZEKeA/a4igJJDEqzG IyiV6Mq6VPsocZppZhRaLmtao8oqbKcZTP+eP08JYrj9HbiZ8AI/8/jjY4Y1VMF+QkLJ TdTg== 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=DrFPJRXWrSiQA6or0SrYG3TJ2xHZbDRIepYjDsPm0T8=; b=fGGPcZlRp2wQhBlwL9PqQjLHgUppGgjvbR4HzjQq1mTEQCQfLcTEJST2baJkSSqQBi /H6pEGh0QdxF6GTrFAtDcEg25ONLty22y9mrunMI6IdyjCtQfRwe7FqS7Akuyyo22AGY f/W9ZDssVWykC8ZLiOL/EDQiNh6XxncSRhjoIwwa+cg7eObGUVSIPsk8wbf+oPQTa9g/ fL+VvWhI5kvOs9Eb2irNoaNnw8aC9zMoPHBHy2dcjeD3t6yBraT5Z8hbOLohHLzkY4EU YkxRPc0Vem8Z6+dP0rB5jAFi6j3htRzrxaKxuQ8gS2XlcXcbWRH4yeTSjoNfPSVq/Vg9 L4zA== X-Gm-Message-State: APjAAAVlvuFcAfH45ScPR0oo5upIQk4OM5aCeauJhdgTX/32toQG50EV jslrpJdOL3HsQPaGcgzPlVEB70Jn6MM= X-Google-Smtp-Source: APXvYqx1HI1dHxoD+kQtX2gG0T2L7vNfRMrcNBvgPN+dYaezzrv7Srd1PobKSuy0Oee9sTsljiyV3A== X-Received: by 2002:a5d:4d8d:: with SMTP id b13mr15884522wru.6.1580736597319; Mon, 03 Feb 2020 05:29:57 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:66f4:6a26:7bb5:b9ee]) by smtp.gmail.com with ESMTPSA id m3sm25828753wrs.53.2020.02.03.05.29.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2020 05:29:56 -0800 (PST) From: Adam Duskett To: buildroot@buildroot.org Date: Mon, 3 Feb 2020 05:29:50 -0800 Message-Id: <20200203132951.1331252-4-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200203132951.1331252-1-aduskett@gmail.com> References: <20200203132951.1331252-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/5] package/libsepol: change policy version to an int 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 , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The policy version has to be a number, as such, set the type to int. Signed-off-by: Adam Duskett --- package/libsepol/Config.in | 4 ++-- package/refpolicy/refpolicy.mk | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in index 4453e298a6..aac31c21b8 100644 --- a/package/libsepol/Config.in +++ b/package/libsepol/Config.in @@ -10,8 +10,8 @@ config BR2_PACKAGE_LIBSEPOL if BR2_PACKAGE_LIBSEPOL config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION - string "Policy version" - default "30" + int "Policy version" + default 30 endif comment "libsepol needs a toolchain w/ threads" diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 001519f8cd..05c1bf270d 100644 --- a/package/refpolicy/refpolicy.mk +++ b/package/refpolicy/refpolicy.mk @@ -26,8 +26,7 @@ REFPOLICY_MAKE = \ $(TARGET_MAKE_ENV) \ $(MAKE1) -REFPOLICY_POLICY_VERSION = \ - $(call qstrip,$(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION)) +REFPOLICY_POLICY_VERSION = $(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION) REFPOLICY_POLICY_STATE = \ $(call qstrip,$(BR2_PACKAGE_REFPOLICY_POLICY_STATE))