summaryrefslogtreecommitdiff
path: root/sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-22 19:34:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-22 19:34:28 +0100
commit9e9bed4ca47561f956808f356f850fa38ed7269e (patch)
treef5dae6be42034aa9f031c8bfe80c33c969bf0446 /sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch
parentf55f93498c7c0f16aa038a4fa01cb41fd01712cd (diff)
sys-apps/apparmor : import from gentoo, cherry-pick CAPS fix (https://gitlab.com/apparmor/apparmor/-/commit/e92da079ca12e776991bd36524430bd67c1cb72a)
Diffstat (limited to 'sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch')
-rw-r--r--sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch b/sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch
new file mode 100644
index 00000000..239ff81f
--- /dev/null
+++ b/sys-apps/apparmor/files/apparmor-2.13.1-makefile.patch
@@ -0,0 +1,25 @@
+--- a/Makefile
++++ b/Makefile
+@@ -28,7 +28,7 @@
+ CONFDIR=/etc/apparmor
+ INSTALL_CONFDIR=${DESTDIR}${CONFDIR}
+ LOCALEDIR=/usr/share/locale
+-MANPAGES=apparmor.d.5 apparmor.7 apparmor_parser.8 subdomain.conf.5 aa-teardown.8
++MANPAGES=apparmor.d.5 apparmor.7 apparmor_parser.8 aa-teardown.8
+
+ YACC := bison
+ YFLAGS := -d
+@@ -371,11 +371,9 @@
+ .PHONY: install-indep
+ install-indep: indep
+ install -m 755 -d $(INSTALL_CONFDIR)
+- install -m 644 subdomain.conf $(INSTALL_CONFDIR)
++ install -m 755 -d ${DESTDIR}/usr/libexec
+ install -m 644 parser.conf $(INSTALL_CONFDIR)
+- install -m 755 -d ${DESTDIR}/var/lib/apparmor
+- install -m 755 -d $(APPARMOR_BIN_PREFIX)
+- install -m 755 rc.apparmor.functions $(APPARMOR_BIN_PREFIX)
++ install -m 755 rc.apparmor.functions ${DESTDIR}/usr/libexec
+ $(MAKE) -C po install NAME=${NAME} DESTDIR=${DESTDIR}
+ $(MAKE) install_manpages DESTDIR=${DESTDIR}
+