blob: 34869730c658656fbacea0e9b253893b0383b5e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# SELinux module for TigerVNC's vncsession
#
# This will install the policy module, but not load it. To apply
# it you should also run:
#
# sudo semodule -i /usr/share/selinux/packages/vncsession.pp
# sudo restorecon /usr/sbin/vncsession /usr/libexec/vncsession-start
#
PREFIX=/usr
DATADIR=$(PREFIX)/share
all: vncsession.pp.bz2
%.pp.bz2: %.pp
cat "$^" | bzip2 -9 > "$@"
%.pp: %.te
make -f $(DATADIR)/selinux/devel/Makefile $@
rm -rf tmp
clean:
rm -f *.pp *.pp.bz2
rm -rf tmp
install:
mkdir -p $(DESTDIR)$(DATADIR)/selinux/packages/targeted/
install vncsession.pp.bz2 $(DESTDIR)$(DATADIR)/selinux/packages/targeted/vncsession.pp.bz2
|