public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/sandbox/
@ 2014-06-17 15:46 Anthony G. Basile
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2014-06-17 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     7be6b6612d9a2548541d11485be88ac22a211354
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 15:46:20 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jun 17 15:46:20 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7be6b661

sys-apps/sandbox: make sandbox non-executable on mips where its broken

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-apps/sandbox/sandbox-2.6-r999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/sandbox/sandbox-2.6-r999.ebuild b/sys-apps/sandbox/sandbox-2.6-r999.ebuild
index e757d5c..20d7b7b 100644
--- a/sys-apps/sandbox/sandbox-2.6-r999.ebuild
+++ b/sys-apps/sandbox/sandbox-2.6-r999.ebuild
@@ -128,4 +128,7 @@ pkg_preinst() {
 
 pkg_postinst() {
 	chmod 0755 "${ROOT}"/etc/sandbox.d #265376
+
+	# Sandbox builds on mips-musl but fails to run
+	use mips && chmod -x "${ROOT}"/usr/bin/sandbox
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/sandbox/
@ 2014-11-04 18:30 Anthony G. Basile
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2014-11-04 18:30 UTC (permalink / raw
  To: gentoo-commits

commit:     54230f399c3e8584805659110a92ec20e459f78c
Author:     Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Mon Nov  3 18:53:36 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Nov  4 18:31:32 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=54230f39

sys-apps/sandbox: patch for powerpc

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

---
 sys-apps/sandbox/sandbox-2.6-r999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/sandbox/sandbox-2.6-r999.ebuild b/sys-apps/sandbox/sandbox-2.6-r999.ebuild
index f5382d1..f9efc11 100644
--- a/sys-apps/sandbox/sandbox-2.6-r999.ebuild
+++ b/sys-apps/sandbox/sandbox-2.6-r999.ebuild
@@ -63,6 +63,9 @@ sb_configure() {
 
 	use multilib && multilib_toolchain_setup ${ABI}
 
+	# hack for conflict between powerpc bits/user.h and asm/ptrace.h
+	use elibc_musl && append-cppflags -D_ASM_POWERPC_PTRACE_H
+
 	einfo "Configuring sandbox for ABI=${ABI}..."
 	ECONF_SOURCE="../${P}/" \
 	econf ${myconf} || die


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-04 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 15:46 [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/sandbox/ Anthony G. Basile
  -- strict thread matches above, loose matches on Subject: below --
2014-11-04 18:30 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox