summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-05-08 12:02:01 -0300
committerDavid P <megver83@openmailbox.org>2017-05-08 12:02:01 -0300
commit0d5fb4d9c0e903bd3fbd90f6a4fa10087d84c428 (patch)
treef2c83bb1b34254dc013fd0cfa802785ad99972f8 /pcr
parentae8e75ef7f6fce4450fefccfd5daad45768fcc31 (diff)
downloadabslibre-0d5fb4d9c0e903bd3fbd90f6a4fa10087d84c428.tar.gz
abslibre-0d5fb4d9c0e903bd3fbd90f6a4fa10087d84c428.tar.bz2
abslibre-0d5fb4d9c0e903bd3fbd90f6a4fa10087d84c428.zip
Fixed some things in AppArmor OpenRC init script
Diffstat (limited to 'pcr')
-rw-r--r--pcr/apparmor-openrc/PKGBUILD10
-rw-r--r--pcr/apparmor-openrc/apparmor-init2
2 files changed, 6 insertions, 6 deletions
diff --git a/pcr/apparmor-openrc/PKGBUILD b/pcr/apparmor-openrc/PKGBUILD
index ccf78fa01..bd8db8b14 100644
--- a/pcr/apparmor-openrc/PKGBUILD
+++ b/pcr/apparmor-openrc/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=apparmor-openrc
pkgver=20160816
-pkgrel=1
+pkgrel=2
pkgdesc="OpenRC apparmor init script"
arch=('any')
url="http://apparmor.net/"
@@ -11,11 +11,11 @@ depends=('apparmor' 'openrc')
install='apparmor.install'
_filename='apparmor-init'
source=("https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/apparmor/files/$_filename")
-sha256sums=('6357f9645587de19c46d824215ca4c3be99c488e8da9bd0e403b69e33ba8ed07')
+sha256sums=('fb8d7b46e682b452ba3061cca6eaf32b6a8f542208e35ea823e8c9c3bc89f764')
-pkgver() {
- date +%Y%m%d
-}
+#pkgver() {
+# date +%Y%m%d
+#}
_inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
diff --git a/pcr/apparmor-openrc/apparmor-init b/pcr/apparmor-openrc/apparmor-init
index 48877e4b6..2c7836b48 100644
--- a/pcr/apparmor-openrc/apparmor-init
+++ b/pcr/apparmor-openrc/apparmor-init
@@ -56,7 +56,7 @@ aa_log_end_msg() {
eend $1
}
-. /usr/libexec/rc.apparmor.functions
+. /usr/lib/apparmor/rc.apparmor.functions
start() {
ebegin "Starting AppArmor"