apparmor: update to 3.1.3.

This commit is contained in:
mhmdanas 2023-03-02 11:03:30 +00:00 committed by Michal Vasilek
parent 25a7dc1d73
commit 4df27b0c31

View file

@ -1,14 +1,13 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.2
version=3.1.3
revision=1
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
make_dirs="/etc/apparmor.d/disable 0755 root root"
hostmakedepends="bison flex autoconf automake libtool gettext swig python3 which
python3-setuptools"
makedepends="perl python3-devel"
hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config
perl"
depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2
python3-psutil python3-dbus iproute2"
checkdepends="dejagnu"
@ -17,18 +16,16 @@ maintainer="Michal Vasilek <michal@vasilek.cz>"
license="GPL-2.0-only"
homepage="https://gitlab.com/apparmor/apparmor"
changelog="https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_${version}"
distfiles="https://gitlab.com/apparmor/apparmor/-/archive/v${version}/apparmor-v${version}.tar.gz"
checksum=e7c7c4bc3a05a074322f9a19232c925b37e9a23dffa66d764dc27ebb82f0462c
distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/apparmor-${version}.tar.gz"
checksum=b8ffac45d0b283afe574ddd5542142ba1a62c354df110cff862b99201f29c843
replaces="apparmor-vim>=0"
if [ -z "$CROSS_BUILD" ]; then
configure_args="--with-perl --with-python"
hostmakedepends+=" swig"
makedepends="python3-devel"
fi
pre_configure() {
autoreconf -if
}
pre_build() {
# Replace release profiles with our own
cd ${wrksrc}