[arch-commits] Commit in apparmor/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Sep 22 15:39:10 UTC 2018
Date: Saturday, September 22, 2018 @ 15:39:09
Author: dvzrv
Revision: 384166
upgpkg: apparmor 2.13.0-6
Being more careful as to where and how to replace {,/usr}/sbin in logprof.conf. Not replacing the use of /bin in logprof.conf, as that leads to duplicate entries.
Modified:
apparmor/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-22 15:34:41 UTC (rev 384165)
+++ PKGBUILD 2018-09-22 15:39:09 UTC (rev 384166)
@@ -1,7 +1,7 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=apparmor
pkgver=2.13.0
-pkgrel=5
+pkgrel=6
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM)"
arch=('x86_64')
url="https://launchpad.net/apparmor"
@@ -39,11 +39,15 @@
# fix default vim syntax file installation path
sed -e 's/share\/apparmor/share\/vim\/vimfiles\/syntax/' \
-i utils/vim/Makefile
- # fix paths in logprof.conf
+ # fix syslog.log location
+ # fix messages.log location
+ # fixing location of {apparmormor,subdomain}_parser
+ # replace the use of /sbin and /usr/sbin with /bin and /usr/bin (respectively)
sed -e '/logfiles/ s/syslog /syslog.log /g' \
-e '/logfiles/ s/messages/messages.log/g' \
+ -e 's| /sbin/apparmor_parser| /usr/bin/apparmor_parser|g' \
+ -e 's| /sbin/subdomain_parser| /usr/bin/subdomain_parser|g' \
-e 's/sbin/bin/g' \
- -e 's| /bin/| /usr/bin/|g' \
-i utils/logprof.conf
# replace the use of /sbin /usr/sbin and /bin with /usr/bin in all profiles
find profiles -type f \
More information about the arch-commits
mailing list