summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy_git.inc
diff options
context:
space:
mode:
authorShrikant Bobade <shrikant_bobade@mentor.com>2015-08-03 19:04:37 +0530
committerJoe MacDonald <joe_macdonald@mentor.com>2015-08-07 17:33:21 -0400
commit6a775bb8ed866fac87f2a9b11a8ff11988a40ac6 (patch)
tree4373dff0fef6f2ef4b7b8c8a7289d10bfc11d2cf /recipes-security/refpolicy/refpolicy_git.inc
parente59f3b7d04bea0a8897a6458f5f5427a364d3388 (diff)
downloadmeta-selinux-6a775bb8ed866fac87f2a9b11a8ff11988a40ac6.tar.gz
refpolicy git: update refpolicy to git repository
A straight update from refpolicy 2.20140311 to refpolicy git repository for the core policy variants and forward-porting of policy patches as appropriate. This approach is useful for building refpolicy & refpolicy-contrib directly from the git repos, rather than release tarballs. It helps to check the refpolicy based on source commits by just updating the git repo rev. as appropriate in refpolicy_git.inc ref: https://github.com/TresysTechnology/refpolicy/wiki Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy_git.inc')
-rw-r--r--recipes-security/refpolicy/refpolicy_git.inc62
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy_git.inc b/recipes-security/refpolicy/refpolicy_git.inc
new file mode 100644
index 0000000..47db820
--- /dev/null
+++ b/recipes-security/refpolicy/refpolicy_git.inc
@@ -0,0 +1,62 @@
1SRC_URI = "git://github.com/TresysTechnology/refpolicy.git;protocol=git;branch=master;name=refpolicy;destsuffix=refpolicy"
2SRC_URI += "git://github.com/TresysTechnology/refpolicy-contrib.git;protocol=git;branch=master;name=refpolicy-contrib;destsuffix=refpolicy/policy/modules/contrib"
3
4SRCREV_refpolicy = "${AUTOREV}"
5SRCREV_refpolicy-contrib = "${AUTOREV}"
6
7FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-git:"
8
9# Fix file contexts for Poky
10SRC_URI += "file://poky-fc-subs_dist.patch \
11 file://poky-fc-update-alternatives_sysvinit.patch \
12 file://poky-fc-update-alternatives_sysklogd.patch \
13 file://poky-fc-update-alternatives_hostname.patch \
14 file://poky-fc-fix-real-path_resolv.conf.patch \
15 file://poky-fc-fix-real-path_login.patch \
16 file://poky-fc-fix-real-path_shadow.patch \
17 file://poky-fc-fix-bind.patch \
18 file://poky-fc-clock.patch \
19 file://poky-fc-corecommands.patch \
20 file://poky-fc-dmesg.patch \
21 file://poky-fc-fstools.patch \
22 file://poky-fc-iptables.patch \
23 file://poky-fc-mta.patch \
24 file://poky-fc-netutils.patch \
25 file://poky-fc-nscd.patch \
26 file://poky-fc-screen.patch \
27 file://poky-fc-ssh.patch \
28 file://poky-fc-su.patch \
29 file://poky-fc-sysnetwork.patch \
30 file://poky-fc-udevd.patch \
31 file://poky-fc-rpm.patch \
32 file://poky-fc-ftpwho-dir.patch \
33 file://poky-fc-fix-real-path_su.patch \
34 file://refpolicy-update-for_systemd.patch \
35 "
36
37# Specific policy for Poky
38SRC_URI += "file://poky-policy-add-syslogd_t-to-trusted-object.patch \
39 file://poky-policy-add-rules-for-var-log-symlink.patch \
40 file://poky-policy-add-rules-for-var-log-symlink-apache.patch \
41 file://poky-policy-add-rules-for-var-log-symlink-audisp_remote_t.patch \
42 file://poky-policy-add-rules-for-syslogd_t-symlink.patch \
43 file://poky-policy-add-rules-for-var-cache-symlink.patch \
44 file://poky-policy-add-rules-for-tmp-symlink.patch \
45 file://poky-policy-add-rules-for-bsdpty_device_t.patch \
46 file://poky-policy-don-t-audit-tty_device_t.patch \
47 file://poky-policy-allow-nfsd-to-exec-shell-commands.patch \
48 file://poky-policy-fix-nfsd_t-to-mount_nfsd_fs_t.patch \
49 file://poky-policy-allow-setfiles_t-to-read-symlinks.patch \
50 file://poky-policy-fix-new-SELINUXMNT-in-sys.patch \
51 file://poky-policy-allow-sysadm-to-run-rpcinfo.patch \
52 "
53
54# Other policy fixes
55SRC_URI += " \
56 file://poky-policy-fix-seutils-manage-config-files.patch \
57 file://poky-policy-fix-setfiles-statvfs-get-file-count.patch \
58 file://poky-policy-fix-dmesg-to-use-dev-kmsg.patch \
59 file://ftp-add-ftpd_t-to-mlsfilewrite.patch \
60 "
61
62include refpolicy_common.inc