0
0
mirror of https://github.com/openwrt/packages.git synced 2025-01-31 03:41:44 +00:00
packages/utils/apparmor/patches/030-systemd.patch
Rosen Penev 22ad5d889c apparmor: update to 3.0.13
Use PKG_SOURCE_PROTO for smaller tarballs.

Removed upstreamed patches

Backport basename patch for musl compatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-10-30 05:16:25 -07:00

27 lines
764 B
Diff

--- a/parser/Makefile
+++ b/parser/Makefile
@@ -361,7 +361,7 @@ install-redhat:
install -m 755 rc.apparmor.$(subst install-,,$@) $(DESTDIR)/etc/init.d/apparmor
.PHONY: install-suse
-install-suse: install-systemd
+install-suse:
install -m 755 -d $(SBINDIR)
ln -sf service $(SBINDIR)/rcapparmor
@@ -425,14 +425,6 @@ install-indep: indep
$(MAKE) -C po install NAME=${NAME} DESTDIR=${DESTDIR}
$(MAKE) install_manpages DESTDIR=${DESTDIR}
-.PHONY: install-systemd
-install-systemd:
- install -m 755 -d $(SYSTEMD_UNIT_DIR)
- install -m 644 apparmor.service $(SYSTEMD_UNIT_DIR)
- install -m 755 apparmor.systemd $(APPARMOR_BIN_PREFIX)
- install -m 755 -d $(USR_SBINDIR)
- install -m 755 aa-teardown $(USR_SBINDIR)
-
ifndef VERBOSE
.SILENT: clean
endif