From 7213d27cbf42cf5c2851ef9addfa9b34f5fbf28b Mon Sep 17 00:00:00 2001 From: Amadeusz Żołnowski Date: Sat, 4 Jun 2016 21:51:04 +0100 Subject: sys-apps/firejail: Correct deps for X11 It requires xpra both server and client. Package-Manager: portage-2.3.0_rc1 --- sys-apps/firejail/firejail-0.9.40-r1.ebuild | 42 ----------------------------- sys-apps/firejail/firejail-0.9.40-r2.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 sys-apps/firejail/firejail-0.9.40-r1.ebuild create mode 100644 sys-apps/firejail/firejail-0.9.40-r2.ebuild (limited to 'sys-apps/firejail') diff --git a/sys-apps/firejail/firejail-0.9.40-r1.ebuild b/sys-apps/firejail/firejail-0.9.40-r1.ebuild deleted file mode 100644 index 778ced4a2038..000000000000 --- a/sys-apps/firejail/firejail-0.9.40-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils - -DESCRIPTION="Security sandbox for any type of processes" -HOMEPAGE="https://firejail.wordpress.com/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+bind +chroot +file-transfer +network network-restricted +seccomp - +userns x11" - -RDEPEND="x11? ( x11-wm/xpra )" - -PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch ) - -src_prepare() { - default - find -name Makefile.in -exec sed -i -r \ - -e '/CFLAGS/s: (-O2|-ggdb) : :g' \ - -e '1iCC=@CC@' {} + || die -} - -src_configure() { - local myeconfargs=( - $(use_enable bind) - $(use_enable chroot) - $(use_enable file-transfer) - $(use_enable network) - $(use_enable seccomp) - $(use_enable userns) - $(use_enable x11) - ) - use network-restricted && myeconfargs+=( --enable-network=restricted ) - econf "${myeconfargs[@]}" -} diff --git a/sys-apps/firejail/firejail-0.9.40-r2.ebuild b/sys-apps/firejail/firejail-0.9.40-r2.ebuild new file mode 100644 index 000000000000..b70f436ab9ea --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.40-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +DESCRIPTION="Security sandbox for any type of processes" +HOMEPAGE="https://firejail.wordpress.com/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+bind +chroot +file-transfer +network network-restricted +seccomp + +userns x11" + +RDEPEND="x11? ( x11-wm/xpra[client,server] )" + +PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch ) + +src_prepare() { + default + find -name Makefile.in -exec sed -i -r \ + -e '/CFLAGS/s: (-O2|-ggdb) : :g' \ + -e '1iCC=@CC@' {} + || die +} + +src_configure() { + local myeconfargs=( + $(use_enable bind) + $(use_enable chroot) + $(use_enable file-transfer) + $(use_enable network) + $(use_enable seccomp) + $(use_enable userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} -- cgit v1.2.3-65-gdbad