mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 16:31:08 -06:00
dfa944da24
Now that we have our own database we can properly enforce stricter constraints on how the db can be changed. Stop shipping our own kpasswd daemon and instead use the regular kadmin daemon.
29 lines
768 B
Makefile
29 lines
768 B
Makefile
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
|