diff options
author | 2022-09-04 08:22:29 +0000 | |
---|---|---|
committer | 2022-09-04 08:22:29 +0000 | |
commit | 9aef9090667c68e0776b0593cd2ed59eceb0adb0 (patch) | |
tree | 17e32ac9769e34269afc0245c339d4199ff9dfbb | |
parent | Make /etc/ssh/ssh_config.d visible for ssh (#5353) (diff) | |
download | firejail-9aef9090667c68e0776b0593cd2ed59eceb0adb0.tar.gz firejail-9aef9090667c68e0776b0593cd2ed59eceb0adb0.tar.zst firejail-9aef9090667c68e0776b0593cd2ed59eceb0adb0.zip |
build: only install ids.config when --enable-ids is set (#5357)
This PR ensures ids.config only gets installed when --enable-ids is set during configure.
Fixes #5356.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -129,8 +129,11 @@ endif | |||
129 | # profiles and settings | 129 | # profiles and settings |
130 | install -m 0755 -d $(DESTDIR)$(sysconfdir)/firejail | 130 | install -m 0755 -d $(DESTDIR)$(sysconfdir)/firejail |
131 | install -m 0644 -t $(DESTDIR)$(sysconfdir)/firejail src/firecfg/firecfg.config | 131 | install -m 0644 -t $(DESTDIR)$(sysconfdir)/firejail src/firecfg/firecfg.config |
132 | install -m 0644 -t $(DESTDIR)$(sysconfdir)/firejail etc/profile-a-l/*.profile etc/profile-m-z/*.profile etc/inc/*.inc etc/net/*.net etc/firejail.config etc/ids.config | 132 | install -m 0644 -t $(DESTDIR)$(sysconfdir)/firejail etc/profile-a-l/*.profile etc/profile-m-z/*.profile etc/inc/*.inc etc/net/*.net etc/firejail.config |
133 | sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" | 133 | sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" |
134 | ifeq ($(HAVE_IDS),-DHAVE_IDS) | ||
135 | install -m 0644 -t $(DESTDIR)$(sysconfdir)/firejail etc/ids.config | ||
136 | endif | ||
134 | ifeq ($(BUSYBOX_WORKAROUND),yes) | 137 | ifeq ($(BUSYBOX_WORKAROUND),yes) |
135 | ./mketc.sh $(DESTDIR)$(sysconfdir)/firejail/disable-common.inc | 138 | ./mketc.sh $(DESTDIR)$(sysconfdir)/firejail/disable-common.inc |
136 | endif | 139 | endif |