apparmor: update to 3.0.1
This commit is contained in:
parent
01b2b760c8
commit
588117d458
3 changed files with 5 additions and 30 deletions
|
@ -1 +1,2 @@
|
|||
To configure AppArmor properly, please refer to the Void Linux Handbook: https://docs.voidlinux.org/config/security/apparmor.html
|
||||
To configure AppArmor properly, please refer to the Void Linux Handbook
|
||||
https://docs.voidlinux.org/config/security/apparmor.html
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
diff --git a/binutils/aa_status.c b/binutils/aa_status.c
|
||||
index 78b0340..56ecac3 100644
|
||||
--- a/binutils/aa_status.c
|
||||
+++ b/binutils/aa_status.c
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include <sys/apparmor.h>
|
||||
#include <sys/apparmor_private.h>
|
||||
diff --git a/libraries/libapparmor/include/sys/apparmor.h b/libraries/libapparmor/include/sys/apparmor.h
|
||||
index 32892d0..dad7664 100644
|
||||
--- a/libraries/libapparmor/include/sys/apparmor.h
|
||||
+++ b/libraries/libapparmor/include/sys/apparmor.h
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'apparmor'
|
||||
pkgname=apparmor
|
||||
version=3.0.0
|
||||
version=3.0.1
|
||||
revision=1
|
||||
wrksrc="${pkgname}-v${version}"
|
||||
build_wrksrc=libraries/libapparmor
|
||||
|
@ -15,8 +15,9 @@ short_desc="Mandatory access control to restrict programs"
|
|||
maintainer="Olivier Mauras <olivier@mauras.ch>"
|
||||
license="GPL-2.0-only, LGPL-2.1-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=8c440ab1848e723483a8550ed2889e18f322e9d7ee9eb4e2e712152ea61da68f
|
||||
checksum=5f9afc157c5e2610737186a31fc9bd6a1d339a2ee85ac4f2667dce59cf60f1c7
|
||||
patch_args="-Np1"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
@ -39,9 +40,6 @@ pre_build() {
|
|||
post_build() {
|
||||
cd ${wrksrc}
|
||||
|
||||
# fix cross compilation
|
||||
vsed -i parser/Makefile -e 's,cpp,$(CPP),'
|
||||
|
||||
make ${makejobs} -C binutils
|
||||
make ${makejobs} -C utils
|
||||
make ${makejobs} -C parser
|
||||
|
|
Loading…
Reference in a new issue