Gentoo Archives: gentoo-hardened

From: Sven Vermeulen <swift@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Update on SELinux eclass to support different git repo or branch
Date: Wed, 06 Aug 2014 09:10:48
Message-Id: 20140806091045.GA24854@gentoo.org
In Reply to: Re: [gentoo-hardened] Update on SELinux eclass to support different git repo or branch by Jason Zaman
1 On Wed, Aug 06, 2014 at 12:42:50PM +0400, Jason Zaman wrote:
2 > > As that is a big nuisance (and you should also not forget to substitute "-"
3 > > with "_" in that case) I added two more variables in the SELinux eclass to
4 > > make this a lot simpler:
5 > >
6 > > SELINUX_GIT_REPO can now point to a different repo set if you want
7 > > SELINUX_GIT_BRANCH can be used to pull in a different branch (default is
8 > > master)
9 >
10 > Just to be clear, these go in make.conf then? And the branch variable I
11 > assume will default to "master"?
12
13 Yes. If you don't want to use a particular branch, then you don't need to
14 set SELINUX_GIT_BRANCH yourself as it defaults to "master".
15
16 The variables are placed in the make.conf file, or can be set as regular
17 environment variables if you don't want them to persist (like with all other
18 make.conf variables).
19
20 I've also updated the wiki page with this information:
21 https://wiki.gentoo.org/wiki/Project:SELinux/Development#Fully_Running_Your_Own_Policy
22
23 Wkr,
24 Sven Vermeulen