diff options
Diffstat (limited to 'sys-apps/firejail')
4 files changed, 0 insertions, 115 deletions
diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest index 043bd76b00e8..302403640a87 100644 --- a/sys-apps/firejail/Manifest +++ b/sys-apps/firejail/Manifest @@ -1,3 +1,2 @@ -DIST firejail-0.9.38.4.tar.bz2 158075 SHA256 47b0707f7d726631e0c9ee6555acb6836b16920fcf02ed7ba6593c86fd7bf5c2 SHA512 b8d2a49e34f3b54b832188f209b4fc6573a951acaf546f1b1c25b681f226ad86b4439a1a3e05e1342746f51fca750261b3d22e7dcf9decd12929e2b790e05890 WHIRLPOOL ce150dcf164f5c3d0656e02830d353fab8d972c364dfead2379f13e0dc9bbc55f09cd28f1741321243183da0c0821c493cd77b7377628201cadbd46dd2fc3c3e DIST firejail-0.9.38.6.tar.bz2 158685 SHA256 76a25da5d2c3e2b50d0f3ff750614a43742f7115b0c65b92ba5c71a226006b70 SHA512 ba65ba77faa5f278a632f01cabc7ce963cd9a6c665a531ab4b5abfb076e670b52b1326c097a7e180aa717085aace4ecc4b9922c28066752f1afc77e123dfad26 WHIRLPOOL fcafc4155bdf2fc914eebc45bad7ce0c1ebc042705f57334f820453b3095aec444f7b49dbd84284e308d0f63185163be3f6089025df8815eca4983a007a853c0 DIST firejail-0.9.44.2.tar.xz 213092 SHA256 c5adef1943daa33049c4c39e5a19a0d02b897f1b1581be094ec600490dde8851 SHA512 c7babda0fa2ca35113fcbebf213448e57889d4447a188f2ad2bc06f76fda1024f22b4f3569050330792b57d9f1026ecf11470bbd534a7bdd74320da1bc584f9e WHIRLPOOL 365bd20a946a8210c12d4981ec7057c3bd47af00fcd37f98e65164dd70482bc0461cd445bc24cb7cf04231111575f972e52accc8d08f23b0f0e26141918f2978 diff --git a/sys-apps/firejail/files/firejail-0.9.38.4-0001-etc-resolv.conf-overwrite.patch b/sys-apps/firejail/files/firejail-0.9.38.4-0001-etc-resolv.conf-overwrite.patch deleted file mode 100644 index 5905b83bfb3d..000000000000 --- a/sys-apps/firejail/files/firejail-0.9.38.4-0001-etc-resolv.conf-overwrite.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 4f4e59c7529888339fe2337dc893984eb7833d01 Mon Sep 17 00:00:00 2001 -From: netblue30 <netblue30@yahoo.com> -Date: Wed, 2 Nov 2016 09:17:19 -0400 -Subject: [PATCH] /etc/resolv.conf overwrite - ---- - RELNOTES | 7 ++++++- - configure.ac | 2 +- - src/firejail/main.c | 8 ++++++++ - 3 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/RELNOTES b/RELNOTES -index 4b5b662..0957292 100644 ---- a/RELNOTES -+++ b/RELNOTES -@@ -1,4 +1,9 @@ --firejail (0.9.38.3) baseline; urgency=low -+firejail (0.9.38.5) baseline; urgency=low -+ * this is a development release -+ * security: overwrite /etc/resolv.conf found by Martin Carpenter -+ -- netblue30 <netblue30@yahoo.com> Mon, 2 Nov 2016 10:00:00 -0500 -+ -+firejail (0.9.38.4) baseline; urgency=low - * CVE-2016-7545 submitted by Aleksey Manevich - * bugfixes - -- netblue30 <netblue30@yahoo.com> Mon, 10 Oct 2016 10:00:00 -0500 -diff --git a/configure.ac b/configure.ac -index 718cfd3..edd528d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,5 @@ - AC_PREREQ([2.68]) --AC_INIT(firejail, 0.9.38.4, netblue30@yahoo.com, , http://firejail.wordpress.com) -+AC_INIT(firejail, 0.9.38.5, netblue30@yahoo.com, , http://firejail.wordpress.com) - AC_CONFIG_SRCDIR([src/firejail/main.c]) - #AC_CONFIG_HEADERS([config.h]) - -diff --git a/src/firejail/main.c b/src/firejail/main.c -index 9e2aec4..9c1b73e 100644 ---- a/src/firejail/main.c -+++ b/src/firejail/main.c -@@ -903,6 +903,14 @@ int main(int argc, char **argv) { - return 1; - } - -+ // don't allow "--chroot=/" -+ char *rpath = realpath(cfg.chrootdir, NULL); -+ if (rpath == NULL || strcmp(rpath, "/") == 0) { -+ fprintf(stderr, "Error: invalid chroot directory\n"); -+ exit(1); -+ } -+ free(rpath); -+ - // check chroot directory structure - if (fs_check_chroot_dir(cfg.chrootdir)) { - fprintf(stderr, "Error: invalid chroot\n"); --- -2.11.0 - diff --git a/sys-apps/firejail/files/firejail-0.9.38.4-sysmacros.patch b/sys-apps/firejail/files/firejail-0.9.38.4-sysmacros.patch deleted file mode 100644 index 85830a40cacf..000000000000 --- a/sys-apps/firejail/files/firejail-0.9.38.4-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.38.4-r1.ebuild b/sys-apps/firejail/firejail-0.9.38.4-r1.ebuild deleted file mode 100644 index 1b95976cfc79..000000000000 --- a/sys-apps/firejail/firejail-0.9.38.4-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# 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 - epatch "${FILESDIR}"/${P}-0001-etc-resolv.conf-overwrite.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) -} |