diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -12,7 +12,7 @@ endif | |||
12 | 12 | ||
13 | COMPLETIONDIRS = src/zsh_completion src/bash_completion | 13 | COMPLETIONDIRS = src/zsh_completion src/bash_completion |
14 | 14 | ||
15 | APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/jailcheck/jailcheck | 15 | APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/jailcheck/jailcheck src/etc-cleanup/etc-cleanup |
16 | SBOX_APPS = src/fbuilder/fbuilder src/ftee/ftee src/fids/fids | 16 | SBOX_APPS = src/fbuilder/fbuilder src/ftee/ftee src/fids/fids |
17 | SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter src/fzenity/fzenity | 17 | SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter src/fzenity/fzenity |
18 | SBOX_APPS_NON_DUMPABLE += src/fsec-optimize/fsec-optimize src/fsec-print/fsec-print src/fseccomp/fseccomp | 18 | SBOX_APPS_NON_DUMPABLE += src/fsec-optimize/fsec-optimize src/fsec-print/fsec-print src/fseccomp/fseccomp |
@@ -200,6 +200,7 @@ endif | |||
200 | install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS) | 200 | install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS) |
201 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS) | 201 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS) |
202 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats | 202 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats |
203 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/etc-cleanup/etc-cleanup | ||
203 | # plugins w/o read permission (non-dumpable) | 204 | # plugins w/o read permission (non-dumpable) |
204 | install -m 0711 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS_NON_DUMPABLE) | 205 | install -m 0711 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS_NON_DUMPABLE) |
205 | install -m 0711 -t $(DESTDIR)$(libdir)/firejail src/fshaper/fshaper.sh | 206 | install -m 0711 -t $(DESTDIR)$(libdir)/firejail src/fshaper/fshaper.sh |
@@ -363,7 +364,7 @@ scan-build: clean | |||
363 | # make test | 364 | # make test |
364 | # | 365 | # |
365 | 366 | ||
366 | TESTS=profiles apps apps-x11 apps-x11-xorg sysutils utils environment filters fs fcopy fnetfilter | 367 | TESTS=profiles apps apps-x11 apps-x11-xorg sysutils utils environment filters fs fcopy fnetfilter private-etc |
367 | TEST_TARGETS=$(patsubst %,test-%,$(TESTS)) | 368 | TEST_TARGETS=$(patsubst %,test-%,$(TESTS)) |
368 | 369 | ||
369 | $(TEST_TARGETS): | 370 | $(TEST_TARGETS): |
@@ -371,9 +372,9 @@ $(TEST_TARGETS): | |||
371 | 372 | ||
372 | 373 | ||
373 | # extract some data about the testing setup: kernel, network connectivity, user | 374 | # extract some data about the testing setup: kernel, network connectivity, user |
374 | lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts | 375 | lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc |
375 | 376 | ||
376 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 377 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-etc test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |
377 | echo "TEST COMPLETE" | 378 | echo "TEST COMPLETE" |
378 | 379 | ||
379 | test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 380 | test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |