aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-04-08 05:24:10 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-04-08 21:14:30 +0000
commit04d6a69cf8024fc7a692bbea24753a9f61d6e5ef (patch)
tree8c7187eeb500c94dfd7e5f08385f38f964195afd
parent99b14c9d3aea167481cebfa7e0f6e9dc2deab0f9 (diff)
downloadaports-04d6a69cf8024fc7a692bbea24753a9f61d6e5ef.tar.gz
aports-04d6a69cf8024fc7a692bbea24753a9f61d6e5ef.tar.bz2
aports-04d6a69cf8024fc7a692bbea24753a9f61d6e5ef.tar.xz
testing/apparmor: rebuild for python3.9
-rw-r--r--testing/apparmor/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/apparmor/APKBUILD b/testing/apparmor/APKBUILD
index 29cc9636e0..4e2e06c27d 100644
--- a/testing/apparmor/APKBUILD
+++ b/testing/apparmor/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Allan Garret <allan.garret@gmail.com>
pkgname=apparmor
pkgver=2.13.4
-pkgrel=0
+pkgrel=1
pkgdesc="Linux application security framework - mandatory access control for programs"
url="https://gitlab.com/apparmor/apparmor/wikis/home"
arch="all"
@@ -48,6 +48,12 @@ source="
builddir="$srcdir"/$pkgname-v$pkgver
+prepare() {
+ default_prepare
+ cd libraries/libapparmor
+ ./autogen.sh
+}
+
build() {
export PYTHON_VERSION=3
export PYTHON_VERSIONS=python3
@@ -55,7 +61,6 @@ build() {
cd "$builddir"/libraries/libapparmor
msg "Building: libapparmor"
- ./autogen.sh
./configure --prefix=/usr --with-python --with-perl
make