Created attachment 575528 [details] sys-apps/firejail-lts-0.9.56 EAPI=7 ebuild Hi, Please find attached sys-apps/firejail-lts-0.9.56.ebuild. Firejail is a SUID program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf. It allows a process and all its descendants to have their own private view of the globally shared kernel resources, such as the network stack, process table, mount table. This is long term support branch of firejail. For bleeding edge version see sys-apps/firejail. Best regards, Cyril Quevrin
Comment on attachment 575528 [details] sys-apps/firejail-lts-0.9.56 EAPI=7 ebuild --- firejail-lts-0.9.38.12.ebuild 2018-11-18 11:31:09.031448661 +0100 +++ - 2019-05-08 16:36:48.961369419 +0200 @@ -1,36 +1,19 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils - -MY_PN=firejail -MY_P="${MY_PN}-${PV}" +EAPI=7 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" +SRC_URI="mirror://sourceforge/firejail/firejail-${PV}-LTS.tar.xz" PN? LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" No stable request but straight to stable? IUSE="+seccomp" DEPEND="!sys-apps/firejail" RDEPEND="${DEPEND}" +BDEPEND="" No need to set an empty variable here. -S="${WORKDIR}/${MY_P}" - -src_prepare() { - find -name Makefile.in -exec sed -i -r \ - -e '/^\tinstall .*COPYING /d' \ - -e '/CFLAGS/s: (-O2|-ggdb) : :g' \ - -e '1iCC=@CC@' {} + || die -} - -src_configure() { - econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - $(use_enable seccomp) -} +S="${WORKDIR}/firejail-${PV}-LTS"
Created attachment 575548 [details] review: ~amd64 + put firejail string in _PN var