From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sec-policy/selinux-virt: ChangeLog metadata.xml selinux-virt-2.20101213.ebuild |
Date: | Sun, 06 Feb 2011 00:08:17 |
Message-Id: | 20110206000032.4A93320080@flycatcher.gentoo.org |
1 | blueness 11/02/06 00:00:32 |
2 | |
3 | Added: ChangeLog metadata.xml |
4 | selinux-virt-2.20101213.ebuild |
5 | Log: |
6 | Bulk update of current selinux policies. |
7 | |
8 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 sec-policy/selinux-virt/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/ChangeLog?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/ChangeLog?rev=1.1&content-type=text/plain |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | # ChangeLog for sec-policy/selinux-virt |
19 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-virt/ChangeLog,v 1.1 2011/02/06 00:00:32 blueness Exp $ |
21 | |
22 | 05 Feb 2011; Anthony G. Basile <blueness@g.o> ChangeLog: |
23 | Initial commit to portage. |
24 | |
25 | 01 Jan 2011; Chris Richards <gizmo@×××××××××××××.com> |
26 | +selinux-virt-2.20101213.ebuild, +metadata.xml: |
27 | New upstream release |
28 | |
29 | *selinux-virt-2.20101213 (01 Jan 2011) |
30 | |
31 | 01 Jan 2011; Chris Richards <gizmo@×××××××××××××.com> |
32 | +selinux-virt-2.20101213.ebuild, +metadata.xml: |
33 | Initial commit |
34 | |
35 | |
36 | |
37 | |
38 | 1.1 sec-policy/selinux-virt/metadata.xml |
39 | |
40 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/metadata.xml?rev=1.1&view=markup |
41 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/metadata.xml?rev=1.1&content-type=text/plain |
42 | |
43 | Index: metadata.xml |
44 | =================================================================== |
45 | <?xml version="1.0" encoding="UTF-8"?> |
46 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
47 | <pkgmetadata> |
48 | <herd>hardened</herd> |
49 | <maintainer> |
50 | <email>pebenito@g.o</email> |
51 | <name>Chris PeBenito</name> |
52 | <description>Primary Maintainer</description> |
53 | </maintainer> |
54 | <longdescription>Gentoo SELinux policy for libvirt.</longdescription> |
55 | </pkgmetadata> |
56 | |
57 | |
58 | |
59 | 1.1 sec-policy/selinux-virt/selinux-virt-2.20101213.ebuild |
60 | |
61 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-virt/selinux-virt-2.20101213.ebuild?rev=1.1&view=markup |
62 | 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 |
63 | |
64 | Index: selinux-virt-2.20101213.ebuild |
65 | =================================================================== |
66 | # Copyright 1999-2011 Gentoo Foundation |
67 | # Distributed under the terms of the GNU General Public License v2 |
68 | # $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 $ |
69 | |
70 | IUSE="" |
71 | |
72 | MODS="virt" |
73 | |
74 | inherit selinux-policy-2 |
75 | |
76 | DESCRIPTION="SELinux policy for libvirtd" |
77 | |
78 | KEYWORDS="~amd64 ~x86" |
79 | |
80 | src_install() { |
81 | selinux-policy-2_src_install |
82 | [ -z "${POLICY_TYPES}" ] && local POLICY_TYPES="strict targeted" |
83 | for i in ${POLICY_TYPES}; do |
84 | mkdir -p ${D}/etc/selinux/${i}/contexts |
85 | echo "system_u:system_r:svirt_t" >${D}/etc/selinux/${i}/contexts/virtual_domain_context |
86 | echo "system_u:object_r:svirt_image_t" >${D}/etc/selinux/${i}/contexts/virtual_image_context |
87 | echo "system_u:object_r:virt_content_t" >>${D}/etc/selinux/${i}/contexts/virtual_image_context |
88 | done |
89 | } |