aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/apparmor/0008-Add-missing-include-for-ppc64le.patch12
-rw-r--r--testing/apparmor/APKBUILD26
2 files changed, 17 insertions, 21 deletions
diff --git a/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch b/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
new file mode 100644
index 0000000000..9e1955b66b
--- /dev/null
+++ b/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
@@ -0,0 +1,12 @@
+--- apparmor-2.11.0/parser/parser_include.c
++++ apparmor-2.11.0/parser/parser_include.c
+@@ -45,6 +45,9 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <dirent.h>
++#ifdef __powerpc64__
++#include <limits.h>
++#endif
+
+ #include "lib.h"
+ #include "parser.h"
diff --git a/testing/apparmor/APKBUILD b/testing/apparmor/APKBUILD
index a462c11201..2d52518092 100644
--- a/testing/apparmor/APKBUILD
+++ b/testing/apparmor/APKBUILD
@@ -5,8 +5,8 @@ pkgver=2.11.0
_majorver=2.11
pkgrel=0
pkgdesc="Linux application security framework - mandatory access control for programs"
-url="http://wiki.apparmor.net/index.php/Main_page"
-arch="all !ppc64le"
+url="http://wiki.apparmor.net/index.php/Main_Page"
+arch="all"
license="GPL"
depends="bash"
makedepends="bash sed python autoconf automake libtool bison flex swig gettext-dev python-dev linux-pam-dev linux-headers"
@@ -35,6 +35,7 @@ source="
0005-Added-RLIMIT_RTTIME-option-conditionally.patch
0006-Use-gettext-and-remove-latex.patch
0007-Do-not-build-install-vim-file-with-utils-package.patch
+ 0008-Add-missing-include-for-ppc64le.patch
"
builddir="$srcdir"/$pkgname-$pkgver
@@ -177,24 +178,6 @@ apparmor_vim() {
-md5sums="899fd834dc5c8ebf2d52b97e4a174af7 apparmor-2.11.0.tar.gz
-eba7c18217cb914a99994c56b101e145 apparmor-init
-34eee6629204a2417b0e54f5b81444d0 0001-Remove-__BEGIN_DECLS-and-__END_DECLS-identifiers.patch
-f8087c822ef13cb7277410844dc66f2f 0002-Provide-missing-secure_getenv-and-scandirat-function.patch
-afaa80418a44156f577f0b62a41a24bd 0003-Added-missing-typedef-definitions-on-parser.patch
-1b0ad0793135450ac3e8a70fbcd1b118 0004-Define-RLIMIT_OFILE-if-needed.patch
-df073248ff8d05ef2bc29136e801018f 0005-Added-RLIMIT_RTTIME-option-conditionally.patch
-67f8a2784db5d8a37c0eac4205fb8348 0006-Use-gettext-and-remove-latex.patch
-7f910b6a581a5c51bf008d2350c13d0d 0007-Do-not-build-install-vim-file-with-utils-package.patch"
-sha256sums="b1c489ea11e7771b8e6b181532cafbf9ebe6603e3cb00e2558f21b7a5bdd739a apparmor-2.11.0.tar.gz
-6357f9645587de19c46d824215ca4c3be99c488e8da9bd0e403b69e33ba8ed07 apparmor-init
-1ac45ca27272ee4ccd5b8a067e398dd0a2d6e83d9cba0a364ea3d416072544b9 0001-Remove-__BEGIN_DECLS-and-__END_DECLS-identifiers.patch
-80e14eec84b15c79f1ae2c5614d605b1dfbeffaa24198f32b2465bbf622692be 0002-Provide-missing-secure_getenv-and-scandirat-function.patch
-7d59f2d4a5404a417439252379ee1caabbfa8da530ed7f3aef7ef480dcab226d 0003-Added-missing-typedef-definitions-on-parser.patch
-2490c4dea47c13ad90d3340217516d39e63ed06ea6eed5f2a83b758c48918750 0004-Define-RLIMIT_OFILE-if-needed.patch
-f1520516031f73cdb99836baafb5ea4b007d65e8b3038ce26ec9d1597bbe36e3 0005-Added-RLIMIT_RTTIME-option-conditionally.patch
-6d1a59bed4dc33a6acd51c491421c70bbd0f4994d97006a6cf114e3b79944e14 0006-Use-gettext-and-remove-latex.patch
-6d62c846f615a19f2db2ae2a9612abda2d379a7bafb399161ac1c9bb37016b33 0007-Do-not-build-install-vim-file-with-utils-package.patch"
sha512sums="86b33c1cbbd256028dd5fdfaddc764c225845acd19c833223fce5cdd6164f997fe010d7b642791f834a3417b4ea847d77175fdfd89ea99ab2111933790d42b55 apparmor-2.11.0.tar.gz
4ee4747ec98a0828beb690bf5e01bc112d958bff4c68d60fc0cbb9f0707bd8daecc011dba3916aa6e6368f460eedce7f2ce42aad9ccea49a5d898dcae3d01148 apparmor-init
fbe93bfdc6469496aafddfe8f8c01d53adb5075a4547e40fb8fc5b5b972aa418a0a84e626e82602425ad48409fd078dabdf60132f5810f80aa3212e11cb7186e 0001-Remove-__BEGIN_DECLS-and-__END_DECLS-identifiers.patch
@@ -203,4 +186,5 @@ fbe93bfdc6469496aafddfe8f8c01d53adb5075a4547e40fb8fc5b5b972aa418a0a84e626e826024
3da30be6f964135c1fd85368f17bd503682af6a5dc3d3d3964f87d74330debdddbb9ada705aad35999904539e29d46118a58af88084646bf2faa8413b65e857c 0004-Define-RLIMIT_OFILE-if-needed.patch
1606e18435ea8aec16546c9c15f1b4bdc9c15af0764b2f580c28b8597fbd3ea670a4fe6dcf16a6b97a340f4b6b52b578463b1359150141a37f668e7dc8f1b272 0005-Added-RLIMIT_RTTIME-option-conditionally.patch
0e94e33cc919a76e7d59da578f0166ac9e6c2021b55d1a92ae1512e51f05d45a099a83a57625905112cf25e460e6078ae57bf7ee66da7caf0bc87fccdd0589ce 0006-Use-gettext-and-remove-latex.patch
-6d75ed791653457d58fea7ff29a8e8e52c4bf7e214daa1e1ad2dcd888521251c9a89279cecaed320d252b057f7db0c5440c0d8ca8f4e51af79f9511d44bbec16 0007-Do-not-build-install-vim-file-with-utils-package.patch"
+6d75ed791653457d58fea7ff29a8e8e52c4bf7e214daa1e1ad2dcd888521251c9a89279cecaed320d252b057f7db0c5440c0d8ca8f4e51af79f9511d44bbec16 0007-Do-not-build-install-vim-file-with-utils-package.patch
+9c9748e2b472b1b204b8ce1ad2c714ae2e296c083f14750f042b77055ec6c321e5ab8df402d41d57eff1c52cfa9dfab0dcb890db0be49403907e688d616b0c8c 0008-Add-missing-include-for-ppc64le.patch"