1 |
commit: 4dc53c37ca874eed0744bd1f1e9d85d2cd98b033 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 14 21:43:47 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 14 21:44:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc53c37 |
7 |
|
8 |
app-misc/pax-utils: explicitly specify linux-headers bound |
9 |
|
10 |
seccomp sandbox has know know about list of allowed system calls. |
11 |
'statx' is relativey recent one. Let's pull in headers known to |
12 |
define the syscall. |
13 |
|
14 |
Reported-by: Thomas Deutschmann |
15 |
Closes: https://bugs.gentoo.org/737094 |
16 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
17 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
18 |
|
19 |
app-misc/pax-utils/pax-utils-1.2.6.ebuild | 4 +++- |
20 |
1 file changed, 3 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/app-misc/pax-utils/pax-utils-1.2.6.ebuild b/app-misc/pax-utils/pax-utils-1.2.6.ebuild |
23 |
index c4762dabcb7..389066a0892 100644 |
24 |
--- a/app-misc/pax-utils/pax-utils-1.2.6.ebuild |
25 |
+++ b/app-misc/pax-utils/pax-utils-1.2.6.ebuild |
26 |
@@ -15,7 +15,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz |
27 |
LICENSE="GPL-2" |
28 |
SLOT="0" |
29 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
30 |
-IUSE="caps debug python seccomp" |
31 |
+IUSE="caps debug kernel_linux python seccomp" |
32 |
|
33 |
RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) |
34 |
python? ( |
35 |
@@ -26,8 +26,10 @@ RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) |
36 |
) |
37 |
seccomp? ( sys-libs/libseccomp )" |
38 |
DEPEND="${RDEPEND}" |
39 |
+# >=linux-headers-4.11 to pick linux headers with statx, bug #737094 |
40 |
BDEPEND=" |
41 |
caps? ( virtual/pkgconfig ) |
42 |
+ kernel_linux? ( >=sys-kernel/linux-headers-4.11 ) |
43 |
seccomp? ( virtual/pkgconfig ) |
44 |
" |
45 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |