Diff minijail-17 with a minijail-18

/usr/portage/sys-apps/minijail/minijail-18.ebuild 2023-10-09 14:52:35.388368499 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="7"
4
EAPI=8
5 5

  
6 6
inherit linux-info toolchain-funcs
7 7

  
8 8
DESCRIPTION="helper binary and library for sandboxing & restricting privs of service"
9 9
HOMEPAGE="https://android.googlesource.com/platform/external/minijail"
10

  
11 10
# Use GitHub mirror as Gitiles doesn't generate stable tarballs.
12 11
SRC_URI="https://github.com/google/${PN}/archive/linux-v${PV}.tar.gz -> ${P}.tar.gz"
12
S="${WORKDIR}/${PN}-linux-v${PV}"
13 13

  
14 14
LICENSE="BSD"
15 15
SLOT="0"
......
18 18
RESTRICT="!test? ( test )"
19 19

  
20 20
RDEPEND="sys-libs/libcap-ng:="
21
DEPEND="${RDEPEND}
21
DEPEND="
22
	${RDEPEND}
22 23
	test? (
23
		virtual/pkgconfig
24 24
		>=dev-cpp/gtest-1.8.0:=
25
	)"
26

  
27
S="${WORKDIR}/${PN}-linux-v${PV}"
25
	)
26
"
27
BDEPEND="test? ( virtual/pkgconfig )"
28 28

  
29 29
PATCHES=(
30
	"${FILESDIR}/minijail-12-makefile.patch"
31
	"${FILESDIR}/minijail-17-no-werror.patch"
30
	"${FILESDIR}/${PN}-18-makefile.patch"
31
	"${FILESDIR}/${PN}-17-no-werror.patch"
32 32
)
33 33

  
34 34
pkg_pretend() {
Thank you!