summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-14 22:43:47 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-14 22:44:50 +0100
commit4dc53c37ca874eed0744bd1f1e9d85d2cd98b033 (patch)
treee4937ee084796af385a075a56f9e80e885d7506b /app-misc/pax-utils
parentdev-util/cgdb: Maintainer retired (diff)
downloadgentoo-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>
Diffstat (limited to 'app-misc/pax-utils')
-rw-r--r--app-misc/pax-utils/pax-utils-1.2.6.ebuild4
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} )"