Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.gentoo.dev > #70401

[gentoo-dev] Re: [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8

From Kenton Groombridge <concord@gentoo.org>
Newsgroups linux.gentoo.dev
Subject [gentoo-dev] Re: [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8
Date 2026-04-08 01:40 +0200
Message-ID <MHobv-dt7E-5@gated-at.bofh.it> (permalink)
References <MH9YR-djx9-3@gated-at.bofh.it> <MH9YS-djx9-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 26/04/07 08:26AM, Rahul Sandhu wrote:
> +# @ECLASS_VARIABLE: _SELINUX_POLICY_UPSTREAM_PV
> +# @INTERNAL
> +# @DESCRIPTION:
> +# Internal variable representing (spoofed) upstream refpolicy version.
> +_SELINUX_POLICY_UPSTREAM_PV=$(ver_cut 1-2)
> +

We aren't really spoofing the upstream versioning (even though it really
doesn't mean anything). The Gentoo policy is updated in tandem with
refpolicy, but only when refpolicy cuts a new release do the Gentoo
policy packages use the new version, but it is admittedly by name only.

Anyways, I think we can reword this to "[...] representing upstream base
branch" or just drop the "(spoofed)" here so future readers don't get
the wrong idea.

-- 
Kenton Groombridge
Gentoo Linux Developer, SELinux Project

Back to linux.gentoo.dev | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[gentoo-dev] [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8 Rahul Sandhu <nvraxn@posteo.uk> - 2026-04-07 10:30 +0200
  Re: [gentoo-dev] [PATCH v3 2/5] selinux-policy-2.eclass: respect  the sanctity of -rN for EAPI=8 Ulrich Müller <ulm@gentoo.org> - 2026-04-07 11:00 +0200
    Re: [gentoo-dev] [PATCH v3 2/5] selinux-policy-2.eclass: respect  the sanctity of -rN for EAPI=8 Sam James <sam@gentoo.org> - 2026-04-08 07:10 +0200
      Re: [gentoo-dev] [PATCH v3 2/5] selinux-policy-2.eclass: respect  the sanctity of -rN for EAPI=8 "Rahul Sandhu" <nvraxn@posteo.uk> - 2026-04-08 11:00 +0200
  [gentoo-dev] Re: [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8 Kenton Groombridge <concord@gentoo.org> - 2026-04-08 01:40 +0200
    [gentoo-dev] Re: [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8 Sam James <sam@gentoo.org> - 2026-04-08 07:10 +0200
    [gentoo-dev] Re: [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8 "Rahul Sandhu" <nvraxn@posteo.uk> - 2026-04-08 11:00 +0200

csiph-web