summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-06-02 21:09:52 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-06-03 21:37:15 +0100
commite26674f6f18d61edd98f344217512db5295d0ec0 (patch)
tree3f52d4ac28bb5c6eed1d4e4deb53f4ee23b4ca4c /sys-apps
parentdev-perl/Gentoo-App-Pram: Stable for amd64. Retroactively mark stable for the... (diff)
downloadgentoo-e26674f6f18d61edd98f344217512db5295d0ec0.tar.gz
gentoo-e26674f6f18d61edd98f344217512db5295d0ec0.tar.bz2
gentoo-e26674f6f18d61edd98f344217512db5295d0ec0.zip
sys-apps/firejail: Bump version
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/firejail/Manifest1
-rw-r--r--sys-apps/firejail/files/firejail-0.9.40-sysmacros.patch27
-rw-r--r--sys-apps/firejail/firejail-0.9.40.ebuild27
3 files changed, 55 insertions, 0 deletions
diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest
index d02dbae1bc6a..7a6d4c9d47bc 100644
--- a/sys-apps/firejail/Manifest
+++ b/sys-apps/firejail/Manifest
@@ -1,2 +1,3 @@
DIST firejail-0.9.36.tar.bz2 151123 SHA256 db16c93e6f838048b0bbcb3b90aa191f79860382c5197fd2ac6df51f1a469510 SHA512 8b9b7f3dd071825117a45e41c1e33871bf4f7788faf27f322913079a7094e6fa4eb7a94362630664c4b441213c357531a2f9f41bd94ff06c64bc6f8a6ee68fd1 WHIRLPOOL 413bab0edf6259129f75a8242546a2f290366bb3bd1711689fd0530a895262db5e78afee0a90639c9edc59bbcc8f93225003b1f1340f9e1479dd491f26edd1d6
DIST firejail-0.9.38.tar.bz2 157543 SHA256 b61b15c03a30b92f5ffddc458b6488eedd1cf87ffe22d77d423e5a254efd16bb SHA512 c1f5e0f56eb0fa6796f3b6eb6037aa8ae4c79b2440dfd64d5a656a775ac01c55db71c5a45d85d4ffb456d1d551038f87ad587dc822d470d41dfdc9a6f8eac9fc WHIRLPOOL 78823d088d8b8f2a15d2f68083c75a1ad5c5638a62cc93fb7358db821f813eb7aab3c3aa29b48ab8b5c6b3818571fd2ffa4e8992e101d4bea0f603bbdf4b26a6
+DIST firejail-0.9.40.tar.bz2 197184 SHA256 49ed9c76fb77bf71543f0e6cacf9491f8280ae5602ecf805b57a011b528222b6 SHA512 aef20c5061d5e8e8d064f8cfb807a3b0034f2eb108bde234af56c2d2fd3c06cd7129539db22e142b251c15cbb0b82b89a9acee98ebaa36d3029ffc91c37456fc WHIRLPOOL 622dc3a10beb23a4d2756850eb69bd911aa0610442e6e73b8bedcf7d455f0e6580984ca1010eae35ac313f7c26660fd6e78e3e0911f24a7e35c1e5f438fa02d8
diff --git a/sys-apps/firejail/files/firejail-0.9.40-sysmacros.patch b/sys-apps/firejail/files/firejail-0.9.40-sysmacros.patch
new file mode 100644
index 000000000000..85830a40cacf
--- /dev/null
+++ b/sys-apps/firejail/files/firejail-0.9.40-sysmacros.patch
@@ -0,0 +1,27 @@
+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.40.ebuild b/sys-apps/firejail/firejail-0.9.40.ebuild
new file mode 100644
index 000000000000..d35fd1c90f5f
--- /dev/null
+++ b/sys-apps/firejail/firejail-0.9.40.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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="+seccomp"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-sysmacros.patch
+ find -name Makefile.in -exec sed -i -r \
+ -e '/CFLAGS/s: (-O2|-ggdb) : :g' \
+ -e '1iCC=@CC@' {} + || die
+}
+
+src_configure() {
+ econf $(use_enable seccomp)
+}