public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sec-policy/selinux-virt: ChangeLog metadata.xml selinux-virt-2.20101213.ebuild
@ 2011-02-06  0:00 Anthony G. Basile (blueness)
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile (blueness) @ 2011-02-06  0:00 UTC (permalink / raw
  To: gentoo-commits

blueness    11/02/06 00:00:32

  Added:                ChangeLog metadata.xml
                        selinux-virt-2.20101213.ebuild
  Log:
  Bulk update of current selinux policies.
  
  (Portage version: 2.1.9.25/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sec-policy/selinux-virt/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sec-policy/selinux-virt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-virt/ChangeLog,v 1.1 2011/02/06 00:00:32 blueness Exp $

  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
  Initial commit to portage.

  01 Jan 2011; Chris Richards <gizmo@www.giz-works.com>
  +selinux-virt-2.20101213.ebuild, +metadata.xml:
  New upstream release

*selinux-virt-2.20101213 (01 Jan 2011)

  01 Jan 2011; Chris Richards <gizmo@www.giz-works.com>
  +selinux-virt-2.20101213.ebuild, +metadata.xml:
  Initial commit




1.1                  sec-policy/selinux-virt/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>hardened</herd>
<maintainer>
  <email>pebenito@gentoo.org</email>
  <name>Chris PeBenito</name>
  <description>Primary Maintainer</description>
</maintainer>
<longdescription>Gentoo SELinux policy for libvirt.</longdescription>
</pkgmetadata>



1.1                  sec-policy/selinux-virt/selinux-virt-2.20101213.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/selinux-virt-2.20101213.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/selinux-virt-2.20101213.ebuild?rev=1.1&content-type=text/plain

Index: selinux-virt-2.20101213.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-virt/selinux-virt-2.20101213.ebuild,v 1.1 2011/02/06 00:00:32 blueness Exp $

IUSE=""

MODS="virt"

inherit selinux-policy-2

DESCRIPTION="SELinux policy for libvirtd"

KEYWORDS="~amd64 ~x86"

src_install() {
	selinux-policy-2_src_install
	[ -z "${POLICY_TYPES}" ] && local POLICY_TYPES="strict targeted"
	for i in ${POLICY_TYPES}; do
		mkdir -p ${D}/etc/selinux/${i}/contexts
		echo "system_u:system_r:svirt_t" >${D}/etc/selinux/${i}/contexts/virtual_domain_context
		echo "system_u:object_r:svirt_image_t" >${D}/etc/selinux/${i}/contexts/virtual_image_context
		echo "system_u:object_r:virt_content_t" >>${D}/etc/selinux/${i}/contexts/virtual_image_context
	done
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-06  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-06  0:00 [gentoo-commits] gentoo-x86 commit in sec-policy/selinux-virt: ChangeLog metadata.xml selinux-virt-2.20101213.ebuild Anthony G. Basile (blueness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox