[arch-commits] Commit in apparmor/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Sep 22 19:53:23 UTC 2018
Date: Saturday, September 22, 2018 @ 19:53:23
Author: dvzrv
Revision: 384170
upgpkg: apparmor 2.13.0-7
Fixing the use of subdomain_parser (wherever that is actually coming from) in logprof.conf. Adding aa- prefix to genprof and logprof (as the binaries are actually called that way) in logprof.conf. Setting url to gitlab repo of the project.
Modified:
apparmor/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-22 19:28:33 UTC (rev 384169)
+++ PKGBUILD 2018-09-22 19:53:23 UTC (rev 384170)
@@ -1,10 +1,10 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=apparmor
pkgver=2.13.0
-pkgrel=6
+pkgrel=7
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM)"
arch=('x86_64')
-url="https://launchpad.net/apparmor"
+url="https://gitlab.com/apparmor/apparmor"
license=('GPL')
depends=('audit' 'pam' 'python')
makedepends=('swig' 'chrpath' 'ruby')
@@ -42,11 +42,14 @@
# fix syslog.log location
# fix messages.log location
# fixing location of {apparmormor,subdomain}_parser
+ # adding aa- prefix to {genprof,logprof}
# 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|parser /sbin/subdomain|parser /usr/bin/subdomain|g' \
+ -e 's|/genprof|/aa-genprof|g' \
+ -e 's|/logprof|/aa-logprof|g' \
-e 's/sbin/bin/g' \
-i utils/logprof.conf
# replace the use of /sbin /usr/sbin and /bin with /usr/bin in all profiles
More information about the arch-commits
mailing list