You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2010/07/21 19:29:09 UTC

svn commit: r966323 - in /qpid/trunk/qpid/cpp/etc/selinux: .gitignore Makefile

Author: aconway
Date: Wed Jul 21 17:29:08 2010
New Revision: 966323

URL: http://svn.apache.org/viewvc?rev=966323&view=rev
Log:
Added makefile to build & install selinux policy modules.

Added:
    qpid/trunk/qpid/cpp/etc/selinux/.gitignore
    qpid/trunk/qpid/cpp/etc/selinux/Makefile

Added: qpid/trunk/qpid/cpp/etc/selinux/.gitignore
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/etc/selinux/.gitignore?rev=966323&view=auto
==============================================================================
--- qpid/trunk/qpid/cpp/etc/selinux/.gitignore (added)
+++ qpid/trunk/qpid/cpp/etc/selinux/.gitignore Wed Jul 21 17:29:08 2010
@@ -0,0 +1,7 @@
+/qpidd.fc
+/qpidd.if
+/qpidd.pp
+/qpiddevel.fc
+/qpiddevel.if
+/qpiddevel.pp
+/tmp

Added: qpid/trunk/qpid/cpp/etc/selinux/Makefile
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/etc/selinux/Makefile?rev=966323&view=auto
==============================================================================
--- qpid/trunk/qpid/cpp/etc/selinux/Makefile (added)
+++ qpid/trunk/qpid/cpp/etc/selinux/Makefile Wed Jul 21 17:29:08 2010
@@ -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



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org