diff options
| author | Alan Conway <aconway@apache.org> | 2010-07-21 17:29:08 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-07-21 17:29:08 +0000 |
| commit | e4c52614d3b80e0068422b20b45a8bba1239e57a (patch) | |
| tree | a4f286e9f7c58f6aa18aaab10d787867f030a427 /qpid/cpp/etc | |
| parent | 0f1e39bcfc971ddbcc3bf1a3a62e177c1d714b0f (diff) | |
| download | qpid-python-e4c52614d3b80e0068422b20b45a8bba1239e57a.tar.gz | |
Added makefile to build & install selinux policy modules.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966323 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/etc')
| -rw-r--r-- | qpid/cpp/etc/selinux/.gitignore | 7 | ||||
| -rw-r--r-- | qpid/cpp/etc/selinux/Makefile | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/qpid/cpp/etc/selinux/.gitignore b/qpid/cpp/etc/selinux/.gitignore new file mode 100644 index 0000000000..9e81f21cbd --- /dev/null +++ b/qpid/cpp/etc/selinux/.gitignore @@ -0,0 +1,7 @@ +/qpidd.fc +/qpidd.if +/qpidd.pp +/qpiddevel.fc +/qpiddevel.if +/qpiddevel.pp +/tmp diff --git a/qpid/cpp/etc/selinux/Makefile b/qpid/cpp/etc/selinux/Makefile new file mode 100644 index 0000000000..440879d1ed --- /dev/null +++ b/qpid/cpp/etc/selinux/Makefile @@ -0,0 +1,14 @@ +# Makefile to build and install the selinux policies in this directory. +# Needs to be run as root. + +POLICIES = qpidd.pp qpiddevel.pp +SOURCES = $(POLICIES:.pp=.te) + +install: $(POLICIES) + for p in $(POLICIES); do /usr/sbin/semodule -i $$p; done + +$(POLICIES): $(SOURCES) + make -f /usr/share/selinux/devel/Makefile + +clean: + rm -rf *~ *.pp *.fc *.if tmp |
