diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2017-01-11 21:00:35 +0000 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2017-01-11 21:00:35 +0000 |
commit | 0d4eac03e17aefca1042c661bf8f7e226b46f258 (patch) | |
tree | 9a306800566414edbb18f65926af6329724e6184 /sys-apps/firejail-lts | |
parent | dev-libs/klibc: Drop broken ebuild (diff) | |
download | gentoo-0d4eac03e17aefca1042c661bf8f7e226b46f258.tar.gz gentoo-0d4eac03e17aefca1042c661bf8f7e226b46f258.tar.bz2 gentoo-0d4eac03e17aefca1042c661bf8f7e226b46f258.zip |
sys-apps/firejail-lts: Bump version
Gentoo-Bug: 604758
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-apps/firejail-lts')
-rw-r--r-- | sys-apps/firejail-lts/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/firejail-lts/files/firejail-lts-0.9.38.8-sysmacros.patch | 27 | ||||
-rw-r--r-- | sys-apps/firejail-lts/firejail-lts-0.9.38.8.ebuild | 35 |
3 files changed, 63 insertions, 0 deletions
diff --git a/sys-apps/firejail-lts/Manifest b/sys-apps/firejail-lts/Manifest index adccb37bb4c1..6ad1cefd820f 100644 --- a/sys-apps/firejail-lts/Manifest +++ b/sys-apps/firejail-lts/Manifest @@ -1 +1,2 @@ DIST firejail-0.9.38.6.tar.bz2 158685 SHA256 76a25da5d2c3e2b50d0f3ff750614a43742f7115b0c65b92ba5c71a226006b70 SHA512 ba65ba77faa5f278a632f01cabc7ce963cd9a6c665a531ab4b5abfb076e670b52b1326c097a7e180aa717085aace4ecc4b9922c28066752f1afc77e123dfad26 WHIRLPOOL fcafc4155bdf2fc914eebc45bad7ce0c1ebc042705f57334f820453b3095aec444f7b49dbd84284e308d0f63185163be3f6089025df8815eca4983a007a853c0 +DIST firejail-0.9.38.8.tar.bz2 158812 SHA256 36990c817d89b70ca9fa50860133c7728157003479e3b1801515ff259adf9357 SHA512 6f62bd0a9e87251af0e8c6d009714d18e7fb2819e4136fb49dcd7cc7ebc2b7b196395a0fe45a93101b0d42c66240c0da82481fd9d911fa33b0d7ca4933227dfd WHIRLPOOL 9ef9d61e5ec36c517b55dbbe921e28b96a2839f79a4aec775cf4f88320a3f6f8d2270363c0949e84e17af40642491910abc13f0e997dedd9dfad19a891312484 diff --git a/sys-apps/firejail-lts/files/firejail-lts-0.9.38.8-sysmacros.patch b/sys-apps/firejail-lts/files/firejail-lts-0.9.38.8-sysmacros.patch new file mode 100644 index 000000000000..85830a40cacf --- /dev/null +++ b/sys-apps/firejail-lts/files/firejail-lts-0.9.38.8-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-lts/firejail-lts-0.9.38.8.ebuild b/sys-apps/firejail-lts/firejail-lts-0.9.38.8.ebuild new file mode 100644 index 000000000000..44528fa8e879 --- /dev/null +++ b/sys-apps/firejail-lts/firejail-lts-0.9.38.8.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MY_PN=firejail +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Security sandbox for any type of processes; LTS branch" +HOMEPAGE="https://firejail.wordpress.com/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+seccomp" + +DEPEND="!sys-apps/firejail" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +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) +} |