From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62D7F138334 for ; Wed, 10 Oct 2018 20:40:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A038E08A4; Wed, 10 Oct 2018 20:40:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 305E8E08A4 for ; Wed, 10 Oct 2018 20:40:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 279D2340AA7 for ; Wed, 10 Oct 2018 20:40:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25F48275 for ; Wed, 10 Oct 2018 20:40:28 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1539204008.410d79a13666d97f1b141dc17687c29add1564db.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/, sys-apps/firejail/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/firejail/Manifest sys-apps/firejail/files/0.9.56-contrib-fix.patch sys-apps/firejail/firejail-0.9.56.ebuild X-VCS-Directories: sys-apps/firejail/files/ sys-apps/firejail/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 410d79a13666d97f1b141dc17687c29add1564db X-VCS-Branch: master Date: Wed, 10 Oct 2018 20:40:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1a858a36-d51b-47ef-b10c-3a510d265876 X-Archives-Hash: 98be5f1963ed05857e19d8e1e4e102d8 commit: 410d79a13666d97f1b141dc17687c29add1564db Author: Amadeusz Żołnowski gentoo org> AuthorDate: Wed Oct 10 20:22:57 2018 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Wed Oct 10 20:40:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=410d79a1 sys-apps/firejail: Bump version Bug: https://bugs.gentoo.org/668178 Signed-off-by: Amadeusz Piotr Żołnowski gentoo.org> sys-apps/firejail/Manifest | 1 + sys-apps/firejail/files/0.9.56-contrib-fix.patch | 36 ++++++++++++++++++ sys-apps/firejail/firejail-0.9.56.ebuild | 48 ++++++++++++++++++++++++ 3 files changed, 85 insertions(+) diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest index 44478f3873d..02cfdd6b877 100644 --- a/sys-apps/firejail/Manifest +++ b/sys-apps/firejail/Manifest @@ -5,3 +5,4 @@ DIST firejail-0.9.48.tar.xz 257592 BLAKE2B 6e346f97417ceb2fbd31779715b652130466d DIST firejail-0.9.50.tar.xz 279488 BLAKE2B 96d8e9161f0631ebfa400fd79c1d8d139d014da46cc2bf7fd3683f75ef7dced6a435e09e1733b675bc549662d50fddca9bd8811872a5ed186d731bb3c16903ea SHA512 766fe8a0c65ddc717759f0ea54a4fe72213f43ecf241c385e484eb7e47bebd5896976998c76e6a5ef9c153d4007c2a01e9d942cc9f352c4b085fb02fe708a87d DIST firejail-0.9.52.tar.xz 299396 BLAKE2B 62b7798e46b69f1ae12ac85f219cc7414652e64d3bf9e1b206f8956febdc53c78151f08052fe694c691b787356b6821e8ff0df71a4277a238a4dc7d724165969 SHA512 f7318bcbd68f6d8c709cdc1f5065cb1019c1c64fdbd47c0fd698975412c4e075c7209bd275056daf61558b79d79127c88f1580cb8e4e034cc0551c7d34e11d06 DIST firejail-0.9.54.tar.xz 315884 BLAKE2B 62eaf42711aa3560c7ecb965903b64b10e04ea2898950b13c5371d859ccb1633634e1455c5558bf6fc02211d9937270fbc82cdd8409ff060f3a2c5aa8eb51517 SHA512 84bb5992ea4846d4398cc72dd9d65a8c4f20da9a2798ccd74a9157088313b768ef361bada62617d02b31174bca4b95e6560140f448021e1b93740a37992fe3df +DIST firejail-0.9.56.tar.xz 327336 BLAKE2B 4fe2276c3007e995ca2113ef870918287e1178ff0effdcd5d635fce6d170b6c3df2f75b45315fed1e58e1c993324b84091f7e6912493608233f96661c85ce7e2 SHA512 f9685be0cbfdf45f8f895041c63e005da483d9b09482ebda2776633ae0b048cd355b57bf4431348295507059633dfda45b0c8b2c1f4a83ad02ff661d32448d24 diff --git a/sys-apps/firejail/files/0.9.56-contrib-fix.patch b/sys-apps/firejail/files/0.9.56-contrib-fix.patch new file mode 100644 index 00000000000..7192bba3480 --- /dev/null +++ b/sys-apps/firejail/files/0.9.56-contrib-fix.patch @@ -0,0 +1,36 @@ +diff -Naur firejail-0.9.48/contrib/fix_private-bin.py firejail-0.9.48.new/contrib/fix_private-bin.py +--- firejail-0.9.48/contrib/fix_private-bin.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fix_private-bin.py 2017-08-27 23:19:52.868481040 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + + __author__ = "KOLANICH" + __copyright__ = """This is free and unencumbered software released into the public domain. +diff -Naur firejail-0.9.48/contrib/fjclip.py firejail-0.9.48.new/contrib/fjclip.py +--- firejail-0.9.48/contrib/fjclip.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjclip.py 2017-08-27 23:19:58.476562539 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +diff -Naur firejail-0.9.48/contrib/fjdisplay.py firejail-0.9.48.new/contrib/fjdisplay.py +--- firejail-0.9.48/contrib/fjdisplay.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjdisplay.py 2017-08-27 23:20:01.932612762 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +diff -Naur firejail-0.9.48/contrib/fjresize.py firejail-0.9.48.new/contrib/fjresize.py +--- firejail-0.9.48/contrib/fjresize.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjresize.py 2017-08-27 23:20:06.932685422 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import sys + import fjdisplay diff --git a/sys-apps/firejail/firejail-0.9.56.ebuild b/sys-apps/firejail/firejail-0.9.56.ebuild new file mode 100644 index 00000000000..e3704836fb2 --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.56.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~x86" +IUSE="apparmor +chroot contrib +file-transfer +network + +seccomp suid +userns x11" + +DEPEND="!sys-apps/firejail-lts + apparmor? ( sys-libs/libapparmor )" +RDEPEND="${DEPEND} + x11? ( x11-wm/xpra[client,server] )" + +PATCHES=( "${FILESDIR}/${PV}-contrib-fix.patch" ) + +RESTRICT=test + +src_prepare() { + default + find -name Makefile.in -exec sed -i -r \ + -e '/^\tinstall .*COPYING /d' \ + -e '/CFLAGS/s: (-O2|-ggdb) : :g' \ + -e '1iCC=@CC@' {} + || die +} + +src_configure() { + local myeconfargs=( + $(use_enable apparmor) + $(use_enable chroot) + $(use_enable contrib contrib-install) + $(use_enable file-transfer) + $(use_enable network) + $(use_enable seccomp) + $(use_enable suid) + $(use_enable userns) + $(use_enable x11) + ) + econf "${myeconfargs[@]}" +}