public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dennis Lamm" <expeditioneer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/, sys-apps/firejail/files/
Date: Mon,  5 Aug 2019 19:22:35 +0000 (UTC)	[thread overview]
Message-ID: <1565032946.c24972258d3a3d31bb960d79be1b14928e98b7dd.expeditioneer@gentoo> (raw)

commit:     c24972258d3a3d31bb960d79be1b14928e98b7dd
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 19:22:04 2019 +0000
Commit:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 19:22:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2497225

sys-apps/firejail: [QA] fix compressed man pages

Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16

 .../files/firejail-compressed-manpages.patch       | 17 ++++++
 sys-apps/firejail/firejail-0.9.60-r1.ebuild        | 65 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/sys-apps/firejail/files/firejail-compressed-manpages.patch b/sys-apps/firejail/files/firejail-compressed-manpages.patch
new file mode 100644
index 00000000000..8a43bcac261
--- /dev/null
+++ b/sys-apps/firejail/files/firejail-compressed-manpages.patch
@@ -0,0 +1,17 @@
+diff --git a/Makefile b/Makefile
+index 9c9b93d..2eb8ab2 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -141,10 +141,9 @@ endif
+ 	install -m 0755 -d $(DESTDIR)/$(mandir)/man5
+ 	for man in $(MANPAGES); do \
+ 		rm -f $$man.gz; \
+-		gzip -9n $$man; \
+ 		case "$$man" in \
+-			*.1) install -c -m 0644 $$man.gz $(DESTDIR)/$(mandir)/man1/; ;; \
+-			*.5) install -c -m 0644 $$man.gz $(DESTDIR)/$(mandir)/man5/; ;; \
++			*.1) install -c -m 0644 $$man $(DESTDIR)/$(mandir)/man1/; ;; \
++			*.5) install -c -m 0644 $$man $(DESTDIR)/$(mandir)/man5/; ;; \
+ 		esac; \
+ 	done
+ 	rm -f $(MANPAGES) $(MANPAGES:%=%.gz)

diff --git a/sys-apps/firejail/firejail-0.9.60-r1.ebuild b/sys-apps/firejail/firejail-0.9.60-r1.ebuild
new file mode 100644
index 00000000000..c8262c74d0d
--- /dev/null
+++ b/sys-apps/firejail/firejail-0.9.60-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Security sandbox for any type of processes"
+HOMEPAGE="https://firejail.wordpress.com/"
+
+SRC_URI="https://github.com/netblue30/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="apparmor +chroot contrib debug +file-transfer +globalcfg +network +overlayfs +private-home +seccomp +suid test +userns vim-syntax +whitelist x11"
+
+DEPEND="!sys-apps/firejail-lts
+	apparmor? ( sys-libs/libapparmor )
+	test? ( dev-tcltk/expect )"
+
+RDEPEND="apparmor? ( sys-libs/libapparmor )"
+
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${PN}-compressed-manpages.patch" )
+
+src_prepare() {
+	default
+
+	find ./contrib -type f -name '*.py' | xargs sed --in-place 's-#!/usr/bin/python3-#!/usr/bin/env python3-g' || die
+
+	find -type f -name Makefile.in | xargs sed --in-place --regexp-extended \
+			--expression='/^\tinstall .*COPYING /d' \
+			--expression='/CFLAGS/s: (-O2|-ggdb) : :g' || die
+
+	sed --in-place --regexp-extended '/CFLAGS/s: (-O2|-ggdb) : :g' ./src/common.mk.in || die
+}
+
+src_configure() {
+	econf \
+		$(use_enable apparmor) \
+		$(use_enable chroot) \
+		$(use_enable contrib contrib-install) \
+		$(use_enable file-transfer) \
+		$(use_enable globalcfg) \
+		$(use_enable network) \
+		$(use_enable overlayfs) \
+		$(use_enable private-home) \
+		$(use_enable seccomp) \
+		$(use_enable suid) \
+		$(use_enable userns) \
+		$(use_enable whitelist) \
+		$(use_enable x11)
+}
+
+src_install() {
+	default
+
+	if use vim-syntax; then
+		insinto /usr/share/vim/vimfiles/ftdetect
+		doins contrib/vim/ftdetect/firejail.vim
+
+		insinto /usr/share/vim/vimfiles/syntax
+		doins contrib/vim/syntax/firejail.vim
+	fi
+}


             reply	other threads:[~2019-08-05 19:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-05 19:22 Dennis Lamm [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-03  4:37 [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/, sys-apps/firejail/files/ Sam James
2025-05-01 21:51 Sam James
2022-07-15 12:10 Joonas Niilola
2022-06-15  5:47 Joonas Niilola
2022-02-22  9:43 Florian Schmaus
2019-08-07  4:58 Dennis Lamm
2018-10-10 20:40 Amadeusz Piotr Żołnowski
2018-03-06 23:20 Amadeusz Piotr Żołnowski
2017-09-30 15:41 Amadeusz Piotr Żołnowski
2017-05-29 14:37 Amadeusz Piotr Żołnowski
2017-01-11 19:50 Sebastian Pipping
2016-12-18 11:14 Amadeusz Piotr Żołnowski
2016-12-13 20:29 Amadeusz Piotr Żołnowski
2016-12-08 20:38 Amadeusz Piotr Żołnowski
2016-12-01 21:41 Amadeusz Piotr Żołnowski
2016-09-27 19:40 Amadeusz Piotr Żołnowski
2016-06-03 20:37 Amadeusz Piotr Żołnowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565032946.c24972258d3a3d31bb960d79be1b14928e98b7dd.expeditioneer@gentoo \
    --to=expeditioneer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox