Gentoo Archives: gentoo-commits

From: "Amadeusz Piotr Żołnowski" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/
Date: Tue, 04 Dec 2018 22:16:48
Message-Id: 1543961773.a4b8ed5f3e50cc472b7edcb824ea9b2b60272358.aidecoe@gentoo
1 commit: a4b8ed5f3e50cc472b7edcb824ea9b2b60272358
2 Author: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 4 22:15:24 2018 +0000
4 Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 22:16:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b8ed5f
7
8 sys-apps/firejail: Prepare for xpra removal
9
10 Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo.org>
11
12 sys-apps/firejail/firejail-0.9.56-r1.ebuild | 47 +++++++++++++++++++++++++++++
13 1 file changed, 47 insertions(+)
14
15 diff --git a/sys-apps/firejail/firejail-0.9.56-r1.ebuild b/sys-apps/firejail/firejail-0.9.56-r1.ebuild
16 new file mode 100644
17 index 00000000000..6da35dbc147
18 --- /dev/null
19 +++ b/sys-apps/firejail/firejail-0.9.56-r1.ebuild
20 @@ -0,0 +1,47 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit eutils
27 +
28 +DESCRIPTION="Security sandbox for any type of processes"
29 +HOMEPAGE="https://firejail.wordpress.com/"
30 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +IUSE="apparmor +chroot contrib +file-transfer +network
36 + +seccomp suid +userns x11"
37 +
38 +DEPEND="!sys-apps/firejail-lts
39 + apparmor? ( sys-libs/libapparmor )"
40 +RDEPEND="${DEPEND}"
41 +
42 +PATCHES=( "${FILESDIR}/${PV}-contrib-fix.patch" )
43 +
44 +RESTRICT=test
45 +
46 +src_prepare() {
47 + default
48 + find -name Makefile.in -exec sed -i -r \
49 + -e '/^\tinstall .*COPYING /d' \
50 + -e '/CFLAGS/s: (-O2|-ggdb) : :g' \
51 + -e '1iCC=@CC@' {} + || die
52 +}
53 +
54 +src_configure() {
55 + local myeconfargs=(
56 + $(use_enable apparmor)
57 + $(use_enable chroot)
58 + $(use_enable contrib contrib-install)
59 + $(use_enable file-transfer)
60 + $(use_enable network)
61 + $(use_enable seccomp)
62 + $(use_enable suid)
63 + $(use_enable userns)
64 + $(use_enable x11)
65 + )
66 + econf "${myeconfargs[@]}"
67 +}