diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-14 22:43:47 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-14 22:44:50 +0100 |
commit | 4dc53c37ca874eed0744bd1f1e9d85d2cd98b033 (patch) | |
tree | e4937ee084796af385a075a56f9e80e885d7506b | |
parent | dev-util/cgdb: Maintainer retired (diff) | |
download | gentoo-4dc53c37ca874eed0744bd1f1e9d85d2cd98b033.tar.gz gentoo-4dc53c37ca874eed0744bd1f1e9d85d2cd98b033.tar.bz2 gentoo-4dc53c37ca874eed0744bd1f1e9d85d2cd98b033.zip |
app-misc/pax-utils: explicitly specify linux-headers bound
seccomp sandbox has know know about list of allowed system calls.
'statx' is relativey recent one. Let's pull in headers known to
define the syscall.
Reported-by: Thomas Deutschmann
Closes: https://bugs.gentoo.org/737094
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r-- | app-misc/pax-utils/pax-utils-1.2.6.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/pax-utils/pax-utils-1.2.6.ebuild b/app-misc/pax-utils/pax-utils-1.2.6.ebuild index c4762dabcb79..389066a08925 100644 --- a/app-misc/pax-utils/pax-utils-1.2.6.ebuild +++ b/app-misc/pax-utils/pax-utils-1.2.6.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz LICENSE="GPL-2" SLOT="0" 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" -IUSE="caps debug python seccomp" +IUSE="caps debug kernel_linux python seccomp" RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) python? ( @@ -26,8 +26,10 @@ RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) ) seccomp? ( sys-libs/libseccomp )" DEPEND="${RDEPEND}" +# >=linux-headers-4.11 to pick linux headers with statx, bug #737094 BDEPEND=" caps? ( virtual/pkgconfig ) + kernel_linux? ( >=sys-kernel/linux-headers-4.11 ) seccomp? ( virtual/pkgconfig ) " REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |