Initial commit to tree
authorAnthony G. Basile <blueness@gentoo.org>
Mon, 25 Jul 2011 22:49:21 +0000 (22:49 +0000)
committerAnthony G. Basile <blueness@gentoo.org>
Mon, 25 Jul 2011 22:49:21 +0000 (22:49 +0000)
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64

sec-policy/selinux-gpg/ChangeLog [new file with mode: 0644]
sec-policy/selinux-gpg/Manifest [new file with mode: 0644]
sec-policy/selinux-gpg/files/fix-apps-gpg-r2.patch [new file with mode: 0644]
sec-policy/selinux-gpg/metadata.xml [new file with mode: 0644]
sec-policy/selinux-gpg/selinux-gpg-2.20101213-r2.ebuild [new file with mode: 0644]

diff --git a/sec-policy/selinux-gpg/ChangeLog b/sec-policy/selinux-gpg/ChangeLog
new file mode 100644 (file)
index 0000000..8ec8a58
--- /dev/null
@@ -0,0 +1,18 @@
+# ChangeLog for sec-policy/selinux-gpg
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-gpg/ChangeLog,v 1.1 2011/07/25 22:49:21 blueness Exp $
+
+  25 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
+  +files/fix-apps-gpg-r2.patch, +selinux-gpg-2.20101213-r2.ebuild,
+  +metadata.xml:
+  Initial commit to tree
+
+  22 Jul 2011; <swift@gentoo.org> selinux-gpg-2.20101213-r2.ebuild:
+  Add proper blocker to automatically switch from gnupg to gpg
+
+*selinux-gpg-2.20101213-r2 (22 Jul 2011)
+
+  22 Jul 2011; <swift@gentoo.org> +selinux-gpg-2.20101213-r2.ebuild,
+  +metadata.xml:
+  Use module-based naming as per Gentoo Hardened SELinux guidelines
+
diff --git a/sec-policy/selinux-gpg/Manifest b/sec-policy/selinux-gpg/Manifest
new file mode 100644 (file)
index 0000000..cd83893
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX fix-apps-gpg-r2.patch 538 RMD160 2c21829e2ae15f7598682e41e452c09a80314505 SHA1 4b5cc14bc10ece071cb6d99d8b6a78782598bd53 SHA256 a2f60c4742b51d37d84cb8bc83dc90cc8cab6cf38ced69899fb942957d674a5c
+DIST refpolicy-2.20101213.tar.bz2 559450 RMD160 4858f792f4db5b179de6fb8419a626c29d59bdd3 SHA1 0e881e99b8950a358eadc44633551ca10f12eaee SHA256 b691ee8f6066cc19bb0d4384fe3be277d97d22e9d4ac2db0c252065e8c3535de
+EBUILD selinux-gpg-2.20101213-r2.ebuild 539 RMD160 beac6b68a9f5ac1adfd382f16a89b28e0b988034 SHA1 fcda5ac90485881fb8766fd9ba839cef17f1b377 SHA256 f4c0e796255647baf47001532a2fcc651e8b7a71e2299298b92ceee0423662ec
+MISC ChangeLog 713 RMD160 6dcb3bd44caacaa28f849c201886542796d294f1 SHA1 b784c384ceb46170d7eed422756a623f623b4ba1 SHA256 6be91796ff2668026476126519783204f69111638c88642b2625f9e7fdfc3a8b
+MISC metadata.xml 229 RMD160 607113e566eb7e6c2a56c9080a289b1d50541c44 SHA1 977dca7e92bb80a2de6fd8e4e5dc1fc543336d87 SHA256 4b1146e64598e7b4a293418cfd78654db2596a7682765cfa06dc14e9098b76cc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREIAAYFAk4t8voACgkQl5yvQNBFVTUdOACbBZpGVmChN+s+O3lYFYss1Fgi
+6lEAniVyp7OyQVQIq7p0UkJGEgtnAzcm
+=Tlm2
+-----END PGP SIGNATURE-----
diff --git a/sec-policy/selinux-gpg/files/fix-apps-gpg-r2.patch b/sec-policy/selinux-gpg/files/fix-apps-gpg-r2.patch
new file mode 100644 (file)
index 0000000..6bdce58
--- /dev/null
@@ -0,0 +1,25 @@
+--- apps/gpg.te        2010-12-13 15:11:01.000000000 +0100
++++ apps/gpg.te        2011-07-22 16:43:36.926000872 +0200
+@@ -147,6 +147,11 @@
+ ')
+ 
+ optional_policy(`
++      gentoo_portage_search_conf(gpg_t)
++      gentoo_portage_read_tmp_files(gpg_t)
++')
++
++optional_policy(`
+       xserver_use_xdm_fds(gpg_t)
+       xserver_rw_xdm_pipes(gpg_t)
+ ')
+@@ -347,6 +352,10 @@
+ ')
+ 
+ optional_policy(`
++      mutt_manage_tmp_files(gpg_t)
++')
++
++optional_policy(`
+       pulseaudio_exec(gpg_pinentry_t)
+       pulseaudio_rw_home_files(gpg_pinentry_t)
+       pulseaudio_setattr_home_dir(gpg_pinentry_t)
diff --git a/sec-policy/selinux-gpg/metadata.xml b/sec-policy/selinux-gpg/metadata.xml
new file mode 100644 (file)
index 0000000..9090500
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>selinux</herd>
+       <longdescription>Gentoo SELinux policy for gnupg</longdescription>
+</pkgmetadata>
diff --git a/sec-policy/selinux-gpg/selinux-gpg-2.20101213-r2.ebuild b/sec-policy/selinux-gpg/selinux-gpg-2.20101213-r2.ebuild
new file mode 100644 (file)
index 0000000..6dd7d14
--- /dev/null
@@ -0,0 +1,17 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-gpg/selinux-gpg-2.20101213-r2.ebuild,v 1.1 2011/07/25 22:49:21 blueness Exp $
+
+MODS="gpg"
+IUSE=""
+
+inherit selinux-policy-2
+
+DESCRIPTION="SELinux policy for GNU privacy guard"
+
+KEYWORDS="~amd64 ~x86"
+RDEPEND="!<=sec-policy/selinux-gnupg-2.20101213-r1
+       >=sys-apps/policycoreutils-1.30.30
+       >=sec-policy/selinux-base-policy-${PV}"
+
+POLICY_PATCH="${FILESDIR}/fix-apps-gpg-r2.patch"