* update apparmor to 4.0.3-2
This commit is contained in:
parent
de6fd49e28
commit
64656ef700
@ -1,13 +1,9 @@
|
||||
pkgbase = apparmor
|
||||
pkgdesc = Mandatory Access Control (MAC) using Linux Security Module (LSM)
|
||||
pkgver = 4.0.3
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://gitlab.com/apparmor/apparmor
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = GPL-2.0-only
|
||||
license = LGPL-2.0-only
|
||||
license = LGPL-2.1-only
|
||||
@ -27,6 +23,7 @@ pkgbase = apparmor
|
||||
depends = glibc
|
||||
depends = pam
|
||||
depends = python
|
||||
depends = python-legacy-cgi
|
||||
optdepends = perl: for perl bindings
|
||||
optdepends = python-notify2: for aa-notify
|
||||
optdepends = python-psutil: for aa-notify
|
||||
@ -39,10 +36,13 @@ pkgbase = apparmor
|
||||
backup = etc/apparmor/severity.db
|
||||
source = https://launchpad.net/apparmor/4.0/4.0.3/+download/apparmor-4.0.3.tar.gz
|
||||
source = https://launchpad.net/apparmor/4.0/4.0.3/+download/apparmor-4.0.3.tar.gz.asc
|
||||
source = fix-tests-python-3-13.patch
|
||||
validpgpkeys = 3ECDCBA5FB34D254961CC53F6689E64E3D3664BB
|
||||
sha512sums = 8b1240ec56fe4f987edcda9380de685e36f4ac931772e980a8f3655dfbfd7e337a4b15227c7ceecb87d9a2bb592e466ec39912ef8f2fa59f8802464d72df8da2
|
||||
sha512sums = SKIP
|
||||
sha512sums = 92edba450ed33c1b726581c983d17e4437fe70c7ea07b5baa90168f469a52cb4c560c7ff3d74005456f676a393700a346ffd2058576e63788fe7659b705f7b10
|
||||
b2sums = 715391a1fc0fb57b820a8bcebdc76ae96e436a29546b9c47019f10f4d22942431ba5c878d92bb61b47ff17012e026195b8d7d78a329cc1cc182a31bc3b512e63
|
||||
b2sums = SKIP
|
||||
b2sums = c8bb529d96ed3f00c7599fbb1d9314d2f2c8c5b15055457cd1450881aa8a5d9468d388da8965f13e6402c391918876358b93f544aeadd5caa75f58a30a1167f0
|
||||
|
||||
pkgname = apparmor
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=apparmor
|
||||
pkgver=4.0.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM)"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url="https://gitlab.com/apparmor/apparmor"
|
||||
@ -19,6 +19,7 @@ depends=(
|
||||
glibc
|
||||
pam
|
||||
python
|
||||
python-legacy-cgi
|
||||
)
|
||||
makedepends=(
|
||||
apache
|
||||
@ -48,16 +49,23 @@ backup=(
|
||||
etc/apparmor/parser.conf
|
||||
etc/apparmor/severity.db
|
||||
)
|
||||
source=(https://launchpad.net/$pkgname/${pkgver%.[0-9]}/$pkgver/+download/$pkgname-$pkgver.tar.gz{,.asc})
|
||||
source=(
|
||||
https://launchpad.net/$pkgname/${pkgver%.[0-9]}/$pkgver/+download/$pkgname-$pkgver.tar.gz{,.asc}
|
||||
fix-tests-python-3-13.patch
|
||||
)
|
||||
sha512sums=('8b1240ec56fe4f987edcda9380de685e36f4ac931772e980a8f3655dfbfd7e337a4b15227c7ceecb87d9a2bb592e466ec39912ef8f2fa59f8802464d72df8da2'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'92edba450ed33c1b726581c983d17e4437fe70c7ea07b5baa90168f469a52cb4c560c7ff3d74005456f676a393700a346ffd2058576e63788fe7659b705f7b10')
|
||||
b2sums=('715391a1fc0fb57b820a8bcebdc76ae96e436a29546b9c47019f10f4d22942431ba5c878d92bb61b47ff17012e026195b8d7d78a329cc1cc182a31bc3b512e63'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'c8bb529d96ed3f00c7599fbb1d9314d2f2c8c5b15055457cd1450881aa8a5d9468d388da8965f13e6402c391918876358b93f544aeadd5caa75f58a30a1167f0')
|
||||
validpgpkeys=('3ECDCBA5FB34D254961CC53F6689E64E3D3664BB') # AppArmor Development Team (AppArmor signing key) <apparmor@lists.ubuntu.com>
|
||||
_core_perl="/usr/bin/core_perl"
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver/libraries/libapparmor/
|
||||
cd $pkgname-$pkgver
|
||||
patch -Np1 -i ../fix-tests-python-3-13.patch
|
||||
cd libraries/libapparmor/
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
|
23
apparmor/fix-tests-python-3-13.patch
Normal file
23
apparmor/fix-tests-python-3-13.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff --git a/utils/test/test-aa-notify.py b/utils/test/test-aa-notify.py
|
||||
index d706edf2..a8f1fa86 100644
|
||||
--- a/utils/test/test-aa-notify.py
|
||||
+++ b/utils/test/test-aa-notify.py
|
||||
@@ -198,14 +198,13 @@ Display AppArmor notifications or messages for DENIED entries.
|
||||
-p, --poll poll AppArmor logs and display notifications
|
||||
--display DISPLAY set the DISPLAY environment variable (might be needed if
|
||||
sudo resets $DISPLAY)
|
||||
- -f FILE, --file FILE search FILE for AppArmor messages
|
||||
+ -f, --file FILE search FILE for AppArmor messages
|
||||
-l, --since-last display stats since last login
|
||||
- -s NUM, --since-days NUM
|
||||
- show stats for last NUM days (can be used alone or with
|
||||
+ -s, --since-days NUM show stats for last NUM days (can be used alone or with
|
||||
-p)
|
||||
-v, --verbose show messages with stats
|
||||
- -u USER, --user USER user to drop privileges to when not using sudo
|
||||
- -w NUM, --wait NUM wait NUM seconds before displaying notifications (with
|
||||
+ -u, --user USER user to drop privileges to when not using sudo
|
||||
+ -w, --wait NUM wait NUM seconds before displaying notifications (with
|
||||
-p)
|
||||
--prompt-filter PF kind of operations which display a popup prompt
|
||||
--debug debug mode
|
Loading…
x
Reference in New Issue
Block a user