summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodex <aurelien@hackers.camp>2014-12-12 13:17:35 +0100
committercodex <aurelien@hackers.camp>2014-12-12 13:17:35 +0100
commit22551fc31b10669bb8cd18323797247e41621ba8 (patch)
tree06c2b5488809c12a94a78eec5f665363f5dcf001
parent3972c4e56840eca847736228c2cbfb6096e388b9 (diff)
Linux application security framework - mandatory access control for programs (metapackage)
-rw-r--r--pcr/apparmor/PKGBUILD20
-rw-r--r--pcr/apparmor/apparmor.service4
2 files changed, 13 insertions, 11 deletions
diff --git a/pcr/apparmor/PKGBUILD b/pcr/apparmor/PKGBUILD
index 9dd9061da..cb1bbd75b 100644
--- a/pcr/apparmor/PKGBUILD
+++ b/pcr/apparmor/PKGBUILD
@@ -1,18 +1,18 @@
-# Contributor (Arch) : Thomas Kuther <archlinux@kuther.net>
-# Contributor (Arch) : Gianni Vialetto <gianni at rootcube dot net>
-# Contributor (Arch) : Paul N. Maxwell <msg dot maxwel at gmail dot com>
-# Contributor (Arch) : Thomas Mudrunka <harvie@@email..cz>
-# Contributor (Arch) : Max Fierke <max@maxfierke.com>
-# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Thomas Kuther <archlinux@kuther.net>
+# Contributor: Gianni Vialetto <gianni at rootcube dot net>
+# Contributor: Paul N. Maxwell <msg dot maxwel at gmail dot com>
+# Contributor: Thomas Mudrunka <harvie@@email..cz>
+# Contributor: Max Fierke <max@maxfierke.com>
pkgbase=apparmor
pkgname=($pkgbase apparmor-parser apparmor-libapparmor apparmor-utils apparmor-profiles apparmor-pam apparmor-vim)
-pkgver=2.8.3
+pkgver=2.9.0
#_majorver=${pkgver%.*} # bleh, AUR...
-_majorver=2.8
+_majorver=2.9
pkgrel=1
pkgdesc='Linux application security framework - mandatory access control for programs'
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
license=('GPL')
url='http://wiki.apparmor.net/index.php/Main_Page'
makedepends=('bzr' 'flex' 'swig' 'perl' 'python' 'perl-locale-gettext' 'perl-rpc-xml' 'audit')
@@ -22,12 +22,12 @@ source=("https://launchpad.net/$pkgname/${_majorver}/$pkgver/+download/$pkgname-
"apparmor_unload.sh"
"apparmor.service")
-
#Configuration
core_perl_dir='/usr/bin/core_perl'
export MAKEFLAGS+=" POD2MAN=${core_perl_dir}/pod2man"
export MAKEFLAGS+=" POD2HTML=${core_perl_dir}/pod2html"
export MAKEFLAGS+=" PROVE=${core_perl_dir}/prove"
+export MAKEFLAGS+=" PYTHON=python3"
prepare() {
diff --git a/pcr/apparmor/apparmor.service b/pcr/apparmor/apparmor.service
index 7cee03ad9..200d9be74 100644
--- a/pcr/apparmor/apparmor.service
+++ b/pcr/apparmor/apparmor.service
@@ -1,5 +1,7 @@
[Unit]
Description=AppArmor profiles
+DefaultDependencies=no
+Before=sysinit.target
[Service]
Type=oneshot
@@ -8,4 +10,4 @@ ExecStop=/usr/bin/apparmor_unload.sh
RemainAfterExit=yes
[Install]
-WantedBy=basic.target
+WantedBy=multi-user.target