summaryrefslogtreecommitdiffstats
path: root/selinux/Makefile
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-06-13 14:40:52 +0200
committerMartin Kosek <mkosek@redhat.com>2013-06-17 17:35:37 +0200
commitad6abdb576b2ebeb941eb99fd141bf78918143c1 (patch)
treec21d3ffddc79fb3b980f6353e46a7a637ef66378 /selinux/Makefile
parent851b09183208ac90fc242dfcebff033de2757d5d (diff)
downloadfreeipa-ad6abdb576b2ebeb941eb99fd141bf78918143c1.tar.gz
freeipa-ad6abdb576b2ebeb941eb99fd141bf78918143c1.tar.xz
freeipa-ad6abdb576b2ebeb941eb99fd141bf78918143c1.zip
Drop SELinux subpackage
All SELinux policy needed by FreeIPA server is now part of the global system SELinux policy which makes the subpackage redundant and slowing down the installation. This patch drops it. https://fedorahosted.org/freeipa/ticket/3683 https://fedorahosted.org/freeipa/ticket/3684
Diffstat (limited to 'selinux/Makefile')
-rw-r--r--selinux/Makefile28
1 files changed, 0 insertions, 28 deletions
diff --git a/selinux/Makefile b/selinux/Makefile
deleted file mode 100644
index 9e87bdd8f..000000000
--- a/selinux/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-SUBDIRS = ipa_httpd ipa_dogtag
-POLICY_MAKEFILE = /usr/share/selinux/devel/Makefile
-POLICY_DIR = $(DESTDIR)/usr/share/selinux/targeted
-
-all:
- if [ ! -e $(POLICY_MAKEFILE) ]; then echo "You need to install the SELinux development tools (selinux-policy-devel)" && exit 1; fi
-
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) -f $(POLICY_MAKEFILE) $@) || exit 1; \
- done
-
-clean:
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) -f $(POLICY_MAKEFILE) $@) || exit 1; \
- done
-
-distclean: clean
- rm -f ipa-server-selinux.spec
-
-maintainer-clean: distclean
-
-install: all
- install -d $(POLICY_DIR)
- install -m 644 ipa_httpd/ipa_httpd.pp $(POLICY_DIR)
- install -m 644 ipa_dogtag/ipa_dogtag.pp $(POLICY_DIR)
-
-load:
- /usr/sbin/semodule -i ipa_httpd/ipa_httpd.pp