diff options
-rw-r--r-- | sys-apps/firejail/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/firejail/files/firejail-0.9.44.2-sysmacros.patch | 27 | ||||
-rw-r--r-- | sys-apps/firejail/firejail-0.9.44.2.ebuild | 46 |
3 files changed, 0 insertions, 74 deletions
diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest index bc636c4d4296..251939e87d9e 100644 --- a/sys-apps/firejail/Manifest +++ b/sys-apps/firejail/Manifest @@ -1,2 +1 @@ -DIST firejail-0.9.44.2.tar.xz 213092 SHA256 c5adef1943daa33049c4c39e5a19a0d02b897f1b1581be094ec600490dde8851 SHA512 c7babda0fa2ca35113fcbebf213448e57889d4447a188f2ad2bc06f76fda1024f22b4f3569050330792b57d9f1026ecf11470bbd534a7bdd74320da1bc584f9e WHIRLPOOL 365bd20a946a8210c12d4981ec7057c3bd47af00fcd37f98e65164dd70482bc0461cd445bc24cb7cf04231111575f972e52accc8d08f23b0f0e26141918f2978 DIST firejail-0.9.44.4.tar.xz 213648 SHA256 2d70a2cd554835db0e2eba201c0466e247fbaa2b60c86abd34b9170e0eebc10f SHA512 222567db00fd85f468fff380dbc875b10fe4eb94ff95669e15adc4db55b36208eaef5ceb65bd2d05d79f8f9230552fb0f597fb6b7bf06bb47537321c9c02a3be WHIRLPOOL 8f19f2bda316cca29057d547d9deb357a55db3ffe3ef0ef02f948bd975e2e66f34a91f121363c15b5f6012fb3bde08fa10d2bc90233a14662406effbaff9fe37 diff --git a/sys-apps/firejail/files/firejail-0.9.44.2-sysmacros.patch b/sys-apps/firejail/files/firejail-0.9.44.2-sysmacros.patch deleted file mode 100644 index 85830a40cacf..000000000000 --- a/sys-apps/firejail/files/firejail-0.9.44.2-sysmacros.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c15fc4754a05cc2b2aec4ca75f87bf3d61578843 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Wed, 20 Apr 2016 00:14:21 -0400 -Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev - -These funcs have been defined in sys/sysmacros.h forever, and Linux C -libs are moving away from implicitly including it. Update the files -to include it explicitly. ---- - src/firejail/fs_dev.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c -index 97ee9de..2f66980 100644 ---- a/src/firejail/fs_dev.c -+++ b/src/firejail/fs_dev.c -@@ -28,6 +28,7 @@ - #ifndef _BSD_SOURCE - #define _BSD_SOURCE - #endif -+#include <sys/sysmacros.h> - #include <sys/types.h> - - static void create_char_dev(const char *path, mode_t mode, int major, int minor) { --- -2.7.4 - diff --git a/sys-apps/firejail/firejail-0.9.44.2.ebuild b/sys-apps/firejail/firejail-0.9.44.2.ebuild deleted file mode 100644 index c1e2038b9843..000000000000 --- a/sys-apps/firejail/firejail-0.9.44.2.ebuild +++ /dev/null @@ -1,46 +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.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="apparmor +bind +chroot +file-transfer +network - network-restricted +seccomp +userns x11" - -DEPEND="!sys-apps/firejail-lts - apparmor? ( sys-libs/libapparmor )" -RDEPEND="${DEPEND} - 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 apparmor) - $(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[@]}" -} |