[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-12-22 Thread Michał Górny
commit: 2d3d43f2fd3d59c776a117d9316806612d648d1c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 22 07:24:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 22 08:07:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3d43f2

sys-apps/sandbox: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/Manifest|  1 -
 sys-apps/sandbox/sandbox-2.18.ebuild | 74 
 2 files changed, 75 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 34b7c09ba88..9964f071b38 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,2 +1 @@
-DIST sandbox-2.18.tar.xz 427760 BLAKE2B 
26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620
 SHA512 
1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d
 DIST sandbox-2.20.tar.xz 428400 BLAKE2B 
11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615
 SHA512 
06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
deleted file mode 100644
index b89397c16d4..000
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
-
-DESCRIPTION="sandbox'd LD_PRELOAD hack"
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
-SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86"
-IUSE=""
-
-DEPEND="app-arch/xz-utils
-   >=app-misc/pax-utils-0.1.19" #265376
-RDEPEND=""
-
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
-
-sandbox_death_notice() {
-   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
-}
-
-multilib_src_configure() {
-   filter-lfs-flags #90228
-
-   ECONF_SOURCE="${S}" econf
-}
-
-multilib_src_test() {
-   # Default sandbox build will run with --jobs set to # cpus.
-   emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
-}
-
-multilib_src_install_all() {
-   doenvd "${FILESDIR}"/09sandbox
-
-   keepdir /var/log/sandbox
-   fowners root:portage /var/log/sandbox
-   fperms 0770 /var/log/sandbox
-
-   dodoc AUTHORS ChangeLog* NEWS README
-}
-
-pkg_preinst() {
-   chown root:portage "${ED}"/var/log/sandbox
-   chmod 0770 "${ED}"/var/log/sandbox
-
-   local v
-   for v in ${REPLACING_VERSIONS}; do
-   # 1.x was removed from ::gentoo in 2016
-   if [[ ${v} == 1.* ]] ; then
-   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
-   if [[ -n ${old} ]] ; then
-   elog "Removing old sandbox libraries for you:"
-   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
-   fi
-   fi
-   done
-}
-
-pkg_postinst() {
-   local v
-   for v in ${REPLACING_VERSIONS}; do
-   # 1.x was removed from ::gentoo in 2016
-   if [[ ${v} == 1.* ]] ; then
-   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
-   fi
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-12-22 Thread Michał Górny
commit: 5d91190777ae1a20007f1983d5a47d2352a34412
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 22 07:41:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 22 08:07:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d911907

sys-apps/sandbox: Update HOMEPAGE

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index ea9e34950bc..30e031ff6d9 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit flag-o-matic multilib-minimal multiprocessing
 
 DESCRIPTION="sandbox'd LD_PRELOAD hack"
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Sandbox;
 SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-12-21 Thread Sam James
commit: 1664005039089b3fa7cdafe0c70742b66571b7f0
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 05:25:15 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 05:25:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16640050

sys-apps/sandbox: Stabilize 2.20 ppc, #751151

Signed-off-by: Sam James  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 658a9208a0f..ea9e34950bc 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-11-14 Thread Mikle Kolyada
commit: 32b4d3f00d136b3c508de15b3de830d1baf35981
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Nov 14 09:23:01 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Nov 14 09:24:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b4d3f0

sys-apps/sandbox: Stabilize 2.20 s390, #751151

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 7591473a10b..658a9208a0f 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv s390 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-11-03 Thread Sergei Trofimovich
commit: 380f6d2564ad9a9df5a80feca72346d30f5004ef
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Nov  3 22:45:11 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Nov  3 22:45:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=380f6d25

sys-apps/sandbox: stable 2.20 for hppa

stable wrt bug #751151

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 659adb814d7..7591473a10b 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-11-03 Thread Sam James
commit: 1dacbb678ce55da9cd811d7c8ef5991a7d32788b
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov  3 10:57:16 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov  3 10:57:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dacbb67

sys-apps/sandbox: Stabilize 2.20 amd64, #751151

Signed-off-by: Sam James  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 121ce5b1fb8..659adb814d7 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-10-26 Thread Sergei Trofimovich
commit: 5e005ceb835f46d86a8d19f022d94025e71d380c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Oct 26 23:48:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Oct 26 23:48:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e005ceb

sys-apps/sandbox: stable 2.20 for ppc64

stable wrt bug #751151

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index d5c483dcf2c..121ce5b1fb8 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-10-25 Thread Sam James
commit: 79873860c585f635d65cb27d1df3bc82a88ae8d2
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 26 00:13:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 26 00:13:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79873860

sys-apps/sandbox: Stabilize 2.20 sparc, #751151

Signed-off-by: Sam James  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 77cb51ff3f0..d5c483dcf2c 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-10-25 Thread Sam James
commit: 5e2bb3c9020056bd4cccda14e94a99e237529b84
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 25 23:21:18 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 25 23:21:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2bb3c9

sys-apps/sandbox: Stabilize 2.20 arm, #751151

Signed-off-by: Sam James  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 9569d644e03..77cb51ff3f0 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-10-25 Thread Sam James
commit: 52efe760bf19701e94123053f776f8be7042c1a6
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 25 22:12:36 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 25 22:12:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52efe760

sys-apps/sandbox: Stabilize 2.20 arm64, #751151

Signed-off-by: Sam James  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index 6c5511d9fff..9569d644e03 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-10-25 Thread Thomas Deutschmann
commit: 0aa06ca7ec0241aad26df75c2369a347368ad6d0
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 25 21:32:17 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 25 21:33:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa06ca7

sys-apps/sandbox: x86 stable (bug #751151)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-apps/sandbox/sandbox-2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
index ce7ae03aa90..6c5511d9fff 100644
--- a/sys-apps/sandbox/sandbox-2.20.ebuild
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-10-25 Thread Michał Górny
commit: a568c46da711a944c1d4ecf50f42269c922c9c66
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 25 07:06:21 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 25 08:12:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a568c46d

sys-apps/sandbox: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/Manifest|  5 ---
 sys-apps/sandbox/sandbox-2.12.ebuild | 76 
 sys-apps/sandbox/sandbox-2.13.ebuild | 76 
 sys-apps/sandbox/sandbox-2.14.ebuild | 76 
 sys-apps/sandbox/sandbox-2.15.ebuild | 76 
 sys-apps/sandbox/sandbox-2.17.ebuild | 72 --
 6 files changed, 381 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index f724c707816..34b7c09ba88 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,7 +1,2 @@
-DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
-DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
-DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
-DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
-DIST sandbox-2.17.tar.xz 431700 BLAKE2B 
461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf
 SHA512 
b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f
 DIST sandbox-2.18.tar.xz 427760 BLAKE2B 
26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620
 SHA512 
1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d
 DIST sandbox-2.20.tar.xz 428400 BLAKE2B 
11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615
 SHA512 
06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
deleted file mode 100644
index 2f8334010de..000
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
-
-DESCRIPTION="sandbox'd LD_PRELOAD hack"
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE=""
-
-DEPEND="app-arch/xz-utils
-   >=app-misc/pax-utils-0.1.19" #265376
-RDEPEND=""
-
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
-
-sandbox_death_notice() {
-   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
-}
-
-multilib_src_configure() {
-   filter-lfs-flags #90228
-
-   local myconf=()
-   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
-
-   ECONF_SOURCE="${S}" \
-   econf "${myconf[@]}"
-}
-
-multilib_src_test() {
-   # Default sandbox build will run with --jobs set to # cpus.
-   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
-}
-
-multilib_src_install_all() {
-   doenvd "${FILESDIR}"/09sandbox
-
-   keepdir /var/log/sandbox
-   fowners root:portage /var/log/sandbox
-   fperms 0770 /var/log/sandbox
-
-   dodoc AUTHORS ChangeLog* NEWS README
-}
-
-pkg_preinst() {
-   chown root:portage "${ED}"/var/log/sandbox
-   chmod 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-06-05 Thread Sergei Trofimovich
commit: ea525380803d14f1cafdaadfb2e60f6a7bd6b09f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jun  5 16:01:38 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun  5 16:10:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea525380

sys-apps/sandbox: stable 2.18 for hppa, bug #726362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index e143d0897bf..b89397c16d4 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-06-04 Thread Mart Raudsepp
commit: bbd184b1911466e31bbeacc57f8e21641dd24962
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jun  4 05:37:19 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Jun  4 20:38:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd184b1

sys-apps/sandbox: arm64 stable (bug #726362)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index baf3dc3de57..e143d0897bf 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-06-03 Thread Agostino Sarubbo
commit: 481868b6efd69b89e8c2b7d8968b9d48eafc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun  3 15:12:21 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun  3 15:12:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4818

sys-apps/sandbox: arm stable wrt bug #726362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index 67933e17ef2..d4c81160fcd 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
s390 sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-06-03 Thread Agostino Sarubbo
commit: 3eb064a8428987ec22e04cc51b0710b7d0634265
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun  3 09:21:53 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun  3 09:21:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb064a8

sys-apps/sandbox: s390 stable wrt bug #726362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index 506cd630d4f..67933e17ef2 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
s390 sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-06-01 Thread Sergei Trofimovich
commit: b60a236d1edc856f5bf8bcfb89245b2af6d4d262
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jun  1 20:44:21 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  1 20:51:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b60a236d

sys-apps/sandbox: stable 2.18 for ppc

stable wrt bug #726362

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index 3c483c0f597..506cd630d4f 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-06-01 Thread Sergei Trofimovich
commit: 37ac1f7a73771f452b6020c41da50c8ebd425a12
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun  1 12:52:50 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  1 17:02:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ac1f7a

sys-apps/sandbox: stable 2.18 for sparc, bug #726362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index 1d60e01ce00..3c483c0f597 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-05-31 Thread Sergei Trofimovich
commit: 8d02f2f269396b1f85070e59faae05537bfaeabc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 31 19:11:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 31 19:11:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d02f2f2

sys-apps/sandbox: stable 2.18 for ppc64

stable wrt bug #726362

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index 7fd717d426a..1d60e01ce00 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-05-31 Thread Michał Górny
commit: b9198174446d107489579b687b943695d347527d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 31 10:49:00 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 31 10:53:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9198174

sys-apps/sandbox: Bump to 2.20

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.20.ebuild | 74 
 2 files changed, 75 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index bcb90be6572..f724c707816 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -4,3 +4,4 @@ DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d1179769
 DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
 DIST sandbox-2.17.tar.xz 431700 BLAKE2B 
461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf
 SHA512 
b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f
 DIST sandbox-2.18.tar.xz 427760 BLAKE2B 
26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620
 SHA512 
1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d
+DIST sandbox-2.20.tar.xz 428400 BLAKE2B 
11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615
 SHA512 
06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208

diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild 
b/sys-apps/sandbox/sandbox-2.20.ebuild
new file mode 100644
index 000..ce7ae03aa90
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.20.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic multilib-minimal multiprocessing
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   ECONF_SOURCE="${S}" econf
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   # 1.x was removed from ::gentoo in 2016
+   if [[ ${v} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
+   fi
+   fi
+   done
+}
+
+pkg_postinst() {
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   # 1.x was removed from ::gentoo in 2016
+   if [[ ${v} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2020-05-31 Thread Michał Górny
commit: e67b3f771119b87d19d67d6e46684959960f905c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 31 08:15:41 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 31 08:25:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e67b3f77

sys-apps/sandbox: Force -j1 for emake check

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/sandbox-2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
index b8d0959d8ea..7fd717d426a 100644
--- a/sys-apps/sandbox/sandbox-2.18.ebuild
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -33,7 +33,7 @@ multilib_src_configure() {
 
 multilib_src_test() {
# Default sandbox build will run with --jobs set to # cpus.
-   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+   emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
 }
 
 multilib_src_install_all() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/

2020-03-20 Thread Thomas Deutschmann
commit: 15d9f969f660f4cc4b268f3cc7f8ac53f84e14dc
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Jan 25 18:26:48 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Mar 20 15:07:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15d9f969

sys-apps/sandbox: remove unused patch

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14445
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-apps/sandbox/files/musl.patch | 42 ---
 1 file changed, 42 deletions(-)

diff --git a/sys-apps/sandbox/files/musl.patch 
b/sys-apps/sandbox/files/musl.patch
deleted file mode 100644
index 419d067f2a2..000
--- a/sys-apps/sandbox/files/musl.patch
+++ /dev/null
@@ -1,42 +0,0 @@
 a/libsandbox/trace.c
-+++ b/libsandbox/trace.c
-@@ -10,7 +10,16 @@
- #include "sb_nr.h"
- 
- static long do_peekdata(long offset);
--static long _do_ptrace(enum __ptrace_request request, const char *srequest, 
void *addr, void *data);
-+/* Note on _do_ptrace argument types:
-+   glibc defines ptrace as:
-+ long ptrace(enum __ptrace_request request, pid_t pid, void *addr, void 
*data);
-+   musl defines ptrace as:
-+ long ptrace(int, ...);
-+
-+   Let's clobber to 'int' lowest common denominator.
-+ */
-+typedef int sb_ptrace_req_t;
-+static long _do_ptrace(sb_ptrace_req_t request, const char *srequest, void 
*addr, void *data);
- #define do_ptrace(request, addr, data) _do_ptrace(request, #request, addr, 
data)
- #define _trace_possible(data) true
- 
-@@ -44,7 +53,7 @@ static void trace_exit(int status)
-   _exit(status);
- }
- 
--static long _do_ptrace(enum __ptrace_request request, const char *srequest, 
void *addr, void *data)
-+static long _do_ptrace(sb_ptrace_req_t request, const char *srequest, void 
*addr, void *data)
- {
-   long ret;
-  try_again:
 a/scripts/gen_symbol_header.awk
-+++ b/scripts/gen_symbol_header.awk
-@@ -117,6 +117,10 @@ END {
-   gsub(/@|\./, "_", sym_real_name);
-   }
- 
-+  # Avoid libc's symbol rename via #define. musl defines 
aliases as:
-+  # #define mkstemp64 mkstemp
-+  # #define mkstemps64 mkstemps
-+  printf("#undef %s\n", sym_index);
-   printf("#define symname_%s \"%s\"\n", sym_real_name, 
sym_index);
- 
-   # We handle non-versioned libc's by setting symver_*



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2019-07-12 Thread Sergei Trofimovich
commit: 44a8ff0d8ea8e992e7956f99f9665f6d7439b84a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jul 12 06:48:30 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jul 12 06:48:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a8ff0d

sys-apps/sandbox: bump up to 2.18, bug #549108

The main change from 2.17 is basic musl support.

Closes: https://bugs.gentoo.org/549108
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/files/musl.patch| 42 
 sys-apps/sandbox/sandbox-2.18.ebuild | 74 
 3 files changed, 117 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 974844caf43..bcb90be6572 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -3,3 +3,4 @@ DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba780
 DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
 DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
 DIST sandbox-2.17.tar.xz 431700 BLAKE2B 
461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf
 SHA512 
b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f
+DIST sandbox-2.18.tar.xz 427760 BLAKE2B 
26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620
 SHA512 
1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d

diff --git a/sys-apps/sandbox/files/musl.patch 
b/sys-apps/sandbox/files/musl.patch
new file mode 100644
index 000..419d067f2a2
--- /dev/null
+++ b/sys-apps/sandbox/files/musl.patch
@@ -0,0 +1,42 @@
+--- a/libsandbox/trace.c
 b/libsandbox/trace.c
+@@ -10,7 +10,16 @@
+ #include "sb_nr.h"
+ 
+ static long do_peekdata(long offset);
+-static long _do_ptrace(enum __ptrace_request request, const char *srequest, 
void *addr, void *data);
++/* Note on _do_ptrace argument types:
++   glibc defines ptrace as:
++ long ptrace(enum __ptrace_request request, pid_t pid, void *addr, void 
*data);
++   musl defines ptrace as:
++ long ptrace(int, ...);
++
++   Let's clobber to 'int' lowest common denominator.
++ */
++typedef int sb_ptrace_req_t;
++static long _do_ptrace(sb_ptrace_req_t request, const char *srequest, void 
*addr, void *data);
+ #define do_ptrace(request, addr, data) _do_ptrace(request, #request, addr, 
data)
+ #define _trace_possible(data) true
+ 
+@@ -44,7 +53,7 @@ static void trace_exit(int status)
+   _exit(status);
+ }
+ 
+-static long _do_ptrace(enum __ptrace_request request, const char *srequest, 
void *addr, void *data)
++static long _do_ptrace(sb_ptrace_req_t request, const char *srequest, void 
*addr, void *data)
+ {
+   long ret;
+  try_again:
+--- a/scripts/gen_symbol_header.awk
 b/scripts/gen_symbol_header.awk
+@@ -117,6 +117,10 @@ END {
+   gsub(/@|\./, "_", sym_real_name);
+   }
+ 
++  # Avoid libc's symbol rename via #define. musl defines 
aliases as:
++  # #define mkstemp64 mkstemp
++  # #define mkstemps64 mkstemps
++  printf("#undef %s\n", sym_index);
+   printf("#define symname_%s \"%s\"\n", sym_real_name, 
sym_index);
+ 
+   # We handle non-versioned libc's by setting symver_*

diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild 
b/sys-apps/sandbox/sandbox-2.18.ebuild
new file mode 100644
index 000..179163388c4
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.18.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2019-05-04 Thread Mikle Kolyada
commit: 0c41460c94e9f1c0798f4254993d465f75c23acd
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  4 15:16:21 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  4 15:16:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c41460c

sys-apps/sandbox: Add ~riscv keyword

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-apps/sandbox/sandbox-2.12.ebuild | 4 ++--
 sys-apps/sandbox/sandbox-2.13.ebuild | 4 ++--
 sys-apps/sandbox/sandbox-2.14.ebuild | 4 ++--
 sys-apps/sandbox/sandbox-2.15.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.17.ebuild | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 61425d9b8f3..2a256241c7b 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
~sh sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index a8cac65b837..baa0226ebb2 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils

diff --git a/sys-apps/sandbox/sandbox-2.14.ebuild 
b/sys-apps/sandbox/sandbox-2.14.ebuild
index 2f203933530..412726e4b75 100644
--- a/sys-apps/sandbox/sandbox-2.14.ebuild
+++ b/sys-apps/sandbox/sandbox-2.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils

diff --git a/sys-apps/sandbox/sandbox-2.15.ebuild 
b/sys-apps/sandbox/sandbox-2.15.ebuild
index d6d88dc0958..412726e4b75 100644
--- a/sys-apps/sandbox/sandbox-2.15.ebuild
+++ b/sys-apps/sandbox/sandbox-2.15.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils

diff --git a/sys-apps/sandbox/sandbox-2.17.ebuild 
b/sys-apps/sandbox/sandbox-2.17.ebuild
index 43b596cac7a..eb2a93af25c 100644
--- a/sys-apps/sandbox/sandbox-2.17.ebuild
+++ b/sys-apps/sandbox/sandbox-2.17.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2019-03-13 Thread Andreas K. Hüttel
commit: 0286baaa56a2f94b5c29ea06963f91273a3ad770
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Mar 13 10:08:08 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Mar 13 10:09:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0286baaa

sys-apps/sandbox: Version bump

Closes: https://bugs.gentoo.org/680034
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/sandbox/Manifest | 2 +-
 sys-apps/sandbox/{sandbox-2.16.ebuild => sandbox-2.17.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 4a996ef3f06..974844caf43 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -2,4 +2,4 @@ DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6
 DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
 DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
 DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
-DIST sandbox-2.16.tar.xz 431292 BLAKE2B 
b5c0a5550cec99a22144f0e51d6ca05e3ace4be7ce59760771fd13cf8b578a5928a89a1fe8119832e59762f3e6f2b80f2a98f853148a2c20e5357eb9c7f4b67a
 SHA512 
f883da9bf1cf00f452f7e709bac914aca877c7f990baf4eef90c9cc31d47a5ec7571d13d84269c85e3cd0d0546f828d81fc93169916ad397f98e0af6147733a8
+DIST sandbox-2.17.tar.xz 431700 BLAKE2B 
461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf
 SHA512 
b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f

diff --git a/sys-apps/sandbox/sandbox-2.16.ebuild 
b/sys-apps/sandbox/sandbox-2.17.ebuild
similarity index 100%
rename from sys-apps/sandbox/sandbox-2.16.ebuild
rename to sys-apps/sandbox/sandbox-2.17.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2019-03-11 Thread Andreas K. Hüttel
commit: 541e96f90d3ff61c4cf1424028c102d0a3737e50
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Mar 11 12:50:34 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Mar 11 12:50:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541e96f9

sys-apps/sandbox: Restore keywords; drop obsolete pch handling

Bug: https://bugs.gentoo.org/672918
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/sandbox/sandbox-2.16.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.16.ebuild 
b/sys-apps/sandbox/sandbox-2.16.ebuild
index c9a20113634..43b596cac7a 100644
--- a/sys-apps/sandbox/sandbox-2.16.ebuild
+++ b/sys-apps/sandbox/sandbox-2.16.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils
@@ -28,11 +28,7 @@ sandbox_death_notice() {
 multilib_src_configure() {
filter-lfs-flags #90228
 
-   local myconf=()
-   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
-
-   ECONF_SOURCE="${S}" \
-   econf "${myconf[@]}"
+   ECONF_SOURCE="${S}" econf
 }
 
 multilib_src_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2019-03-10 Thread Andreas K. Hüttel
commit: 3446bb7f246a25f19b00403a9e9ffe3d87db9b16
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Mar 10 10:36:42 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Mar 10 10:38:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3446bb7f

sys-apps/sandbox: Version bump

No keywords yet, please test.

Bug: https://bugs.gentoo.org/672918
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.16.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 123789fcb0f..4a996ef3f06 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -2,3 +2,4 @@ DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6
 DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
 DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
 DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
+DIST sandbox-2.16.tar.xz 431292 BLAKE2B 
b5c0a5550cec99a22144f0e51d6ca05e3ace4be7ce59760771fd13cf8b578a5928a89a1fe8119832e59762f3e6f2b80f2a98f853148a2c20e5357eb9c7f4b67a
 SHA512 
f883da9bf1cf00f452f7e709bac914aca877c7f990baf4eef90c9cc31d47a5ec7571d13d84269c85e3cd0d0546f828d81fc93169916ad397f98e0af6147733a8

diff --git a/sys-apps/sandbox/sandbox-2.16.ebuild 
b/sys-apps/sandbox/sandbox-2.16.ebuild
new file mode 100644
index 000..c9a20113634
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.16.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
+   fi
+   fi
+   done
+}
+
+pkg_postinst() {
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2019-01-09 Thread Michał Górny
commit: 29037b7aeacb89f5d99392c9d89585cca6fa6c33
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  9 13:49:13 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  9 14:11:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29037b7a

sys-apps/sandbox: Bump to 2.15

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.15.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 3fc520b574f..123789fcb0f 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,3 +1,4 @@
 DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
 DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
 DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
+DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6

diff --git a/sys-apps/sandbox/sandbox-2.15.ebuild 
b/sys-apps/sandbox/sandbox-2.15.ebuild
new file mode 100644
index 000..d6d88dc0958
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.15.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
+   fi
+   fi
+   done
+}
+
+pkg_postinst() {
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-12-02 Thread Michał Górny
commit: 0e7e9b5b023472b04e5585f863580b3892b3e9f4
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec  2 15:35:33 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec  2 15:57:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7e9b5b

sys-apps/sandbox: Bump to 2.14

Closes: https://bugs.gentoo.org/670966
Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.14.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index ef5db1c5aa7..3fc520b574f 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,2 +1,3 @@
 DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
 DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
+DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced

diff --git a/sys-apps/sandbox/sandbox-2.14.ebuild 
b/sys-apps/sandbox/sandbox-2.14.ebuild
new file mode 100644
index 000..2f203933530
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.14.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
+   fi
+   fi
+   done
+}
+
+pkg_postinst() {
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-07-21 Thread Mikle Kolyada
commit: 192bba4d8f076accf87d866561c5c9dedc10d12e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jul 21 19:17:19 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jul 21 19:17:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192bba4d

sys-apps/sandbox: m68k/sh stable wrt bug #651336

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index bc024e36568..a8cac65b837 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc 
x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-05-01 Thread Mikle Kolyada
commit: b8b272229b3c61c89295ef9b5365d624984413ed
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue May  1 20:22:37 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue May  1 20:23:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8b27222

sys-apps/sandbox: s390 stable wrt bug #651336

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 61425d9b8f3..bc024e36568 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc 
x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-04-24 Thread Mart Raudsepp
commit: 7426d8431c684785c5bc635d20984fac44c893a9
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Tue Apr 24 21:12:56 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Apr 24 21:12:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7426d843

sys-apps/sandbox-2.13: arm64 stable (bug #651336)

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 3138a29d799..61425d9b8f3 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-04-22 Thread Matt Turner
commit: f5700913d897d763d49a30327696af763106c338
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Apr 22 22:03:21 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Apr 22 22:03:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5700913

sys-apps/sandbox-2.13: hppa stable, bug 651336

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index c5f91584485..3138a29d799 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-04-16 Thread Mikle Kolyada
commit: 9ab8548189e151b247bd4c56b4592c7c6789fdcb
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Apr 16 21:38:45 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Apr 16 21:38:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab85481

sys-apps/sandbox: arm stable wrt bug #651336

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 1e98ec137b5..c5f91584485 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-04-06 Thread Matt Turner
commit: c95d7c2437ad377341932ce8c6b9fc8a8447f743
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Apr  7 05:23:02 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Apr  7 05:23:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c95d7c24

sys-apps/sandbox-2.13: ppc64 stable, bug 651336

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index dca53ca8b2c..1e98ec137b5 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-04-06 Thread Matt Turner
commit: edf8f11513c3bd4d0a8cd998319a1af5c6af79df
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Apr  7 05:22:53 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Apr  7 05:22:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf8f115

sys-apps/sandbox-2.13: ppc stable, bug 651336

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 2d2445ba341..dca53ca8b2c 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-04-01 Thread Tobias Klausmann
commit: 6a43445ebebe2076716430be2f4437e3420ebd14
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Apr  1 10:00:08 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Apr  1 10:00:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a43445e

sys-apps/sandbox-2.13-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/651336

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 747410067b6..2d2445ba341 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-29 Thread Michał Górny
commit: 56475a1baab800a0668d6464a698b06c48776d60
Author: Yuta Satoh  gmail  com>
AuthorDate: Sun Mar 25 12:28:37 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 29 18:53:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56475a1b

sys-apps/sandbox: drop ~x86-fbsd keyword.

Closes: https://bugs.gentoo.org/374425
Closes: https://github.com/gentoo/gentoo/pull/7611
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index ba03bd17b0c..61425d9b8f3 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 5a73b89763f..747410067b6 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc x86"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-26 Thread Sergei Trofimovich
commit: bb2210fcdfa503cc091d0f769e98abe8daf1cacf
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Mar 26 05:22:57 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar 26 06:04:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb2210fc

sys-apps/sandbox: stable 2.13 for sparc, bug #651336

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 12912f107d7..5a73b89763f 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc x86 ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-24 Thread Mikle Kolyada
commit: a732f5c8194fe462ed595c7afbe4e77d33803c1a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Mar 24 21:04:12 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Mar 24 21:04:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a732f5c8

sys-apps/sandbox: amd64 stable wrt bug #651336

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 67e98d94d0f..966c4ce8a6d 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-24 Thread Sergei Trofimovich
commit: cc5a0eda2906375e96f60cfc6b0b390d4ea937dc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Mar 24 16:47:14 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Mar 24 16:47:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5a0eda

sys-apps/sandbox: stable 2.13 for ia64, bug #651336

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 sys-apps/sandbox/sandbox-2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
index 37b52a70e2e..67e98d94d0f 100644
--- a/sys-apps/sandbox/sandbox-2.13.ebuild
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2018-03-24 Thread Michał Górny
commit: b83a18ad65d0de328f173700d4625abc0c27ef34
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 24 08:24:49 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 24 08:28:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83a18ad

sys-apps/sandbox: Clean old up

 sys-apps/sandbox/Manifest  |   1 -
 .../sandbox/files/sandbox-2.10-disable-same.patch  |  77 -
 .../sandbox/files/sandbox-2.10-fix-opendir.patch   |  79 -
 .../files/sandbox-2.10-memory-corruption.patch |  42 ---
 .../files/sandbox-2.11-symlinkat-renameat.patch| 124 -
 sys-apps/sandbox/sandbox-2.10-r3.ebuild|  84 --
 sys-apps/sandbox/sandbox-2.10-r4.ebuild|  85 --
 7 files changed, 492 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index fb01669ce96..ef5db1c5aa7 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,3 +1,2 @@
-DIST sandbox-2.10.tar.xz 417068 BLAKE2B 
78bb5b29b520d41c582e7f7cb444ce580f9f8f05ce80795986ff8e1f84f9320e21fda0c5ae092cce8e5a3dc1c0efa48e1ce69c21107e541d2c569e6369ccb5b0
 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
 DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf

diff --git a/sys-apps/sandbox/files/sandbox-2.10-disable-same.patch 
b/sys-apps/sandbox/files/sandbox-2.10-disable-same.patch
deleted file mode 100644
index 296b322b0c5..000
--- a/sys-apps/sandbox/files/sandbox-2.10-disable-same.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 7a923f646ce10b7dec3c7ae5fe2079c10aa21752 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Sun, 20 Dec 2015 16:08:16 -0500
-Subject: [PATCH] libsbutil: gnulib: hand disable same_name usage
-
-We don't provide same_name because the one caller we don't use, but it
-relies on gc-sections to avoid link errors.  That flag doesn't work on
-ia64 though, so we need to hand delete the one caller.  Ugh.
-
-Signed-off-by: Mike Frysinger 

- libsbutil/gnulib/hash-triple.c |  9 -
- libsbutil/gnulib/same.h| 25 -
- 2 files changed, 34 deletions(-)
- delete mode 100644 libsbutil/gnulib/same.h
-
-diff --git a/libsbutil/gnulib/hash-triple.c b/libsbutil/gnulib/hash-triple.c
-index c3b6d9f..06cfbdf 100644
 a/libsbutil/gnulib/hash-triple.c
-+++ b/libsbutil/gnulib/hash-triple.c
-@@ -24,7 +24,6 @@
- #include 
- 
- #include "hash-pjw.h"
--#include "same.h"
- #include "same-inode.h"
- 
- #define STREQ(a, b) (strcmp (a, b) == 0)
-@@ -52,14 +51,6 @@ triple_hash_no_name (void const *x, size_t table_size)
- 
- /* Compare two F_triple structs.  */
- bool
--triple_compare (void const *x, void const *y)
--{
--  struct F_triple const *a = x;
--  struct F_triple const *b = y;
--  return (SAME_INODE (*a, *b) && same_name (a->name, b->name)) ? true : false;
--}
--
--bool
- triple_compare_ino_str (void const *x, void const *y)
- {
-   struct F_triple const *a = x;
-diff --git a/libsbutil/gnulib/same.h b/libsbutil/gnulib/same.h
-deleted file mode 100644
-index ee313c5..000
 a/libsbutil/gnulib/same.h
-+++ /dev/null
-@@ -1,25 +0,0 @@
--/* Determine whether two file names refer to the same file.
--
--   Copyright (C) 1997-2000, 2003-2004, 2009-2015 Free Software Foundation, 
Inc.
--
--   This program is free software: you can redistribute it and/or modify
--   it under the terms of the GNU General Public License as published by
--   the Free Software Foundation; either version 3 of the License, or
--   (at your option) any later version.
--
--   This program is distributed in the hope that it will be useful,
--   but WITHOUT ANY WARRANTY; without even the implied warranty of
--   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--   GNU General Public License for more details.
--
--   You should have received a copy of the GNU General Public License
--   along with this program.  If not, see .  */
--
--#ifndef SAME_H_
--# define SAME_H_ 1
--
--# include 
--
--bool same_name (const char *source, const char *dest);
--
--#endif /* SAME_H_ */
--- 
-2.6.2
-

diff --git a/sys-apps/sandbox/files/sandbox-2.10-fix-opendir.patch 
b/sys-apps/sandbox/files/sandbox-2.10-fix-opendir.patch
deleted file mode 100644

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-15 Thread Mikle Kolyada
commit: ec5b52cc0d818c99fe149c26541dc573ec100e12
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Mar 15 16:38:24 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Mar 15 16:38:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5b52cc

sys-apps/sandbox: arm stable wrt bug #644300

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 3d9a586102e..ba03bd17b0c 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-04 Thread Tobias Klausmann
commit: e0097e03aafa12f9af6339293858b5ad943c177b
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Mar  4 11:06:04 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Mar  4 11:34:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0097e03

sys-apps/sandbox-2.12-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/644300

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 616b419f0fe..3d9a586102e 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-03-01 Thread Mart Raudsepp
commit: 997917b4eee76b24984148a342df01ba0cb0521d
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu Mar  1 21:27:58 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Mar  1 21:27:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=997917b4

sys-apps/sandbox-2.12: arm64 stable (bug #644300)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 2a7f3ce6beb..616b419f0fe 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-02-19 Thread Michał Górny
commit: db22543396bba4574c1be797f502c5d535279174
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 19 15:57:51 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 19 16:21:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db225433

sys-apps/sandbox: Bump to 2.13

Closes: https://bugs.gentoo.org/592750

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.13.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 00d82c8aa3a..fb01669ce96 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,2 +1,3 @@
 DIST sandbox-2.10.tar.xz 417068 BLAKE2B 
78bb5b29b520d41c582e7f7cb444ce580f9f8f05ce80795986ff8e1f84f9320e21fda0c5ae092cce8e5a3dc1c0efa48e1ce69c21107e541d2c569e6369ccb5b0
 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
+DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf

diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild 
b/sys-apps/sandbox/sandbox-2.13.ebuild
new file mode 100644
index 000..37b52a70e2e
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.13.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
+   fi
+   fi
+   done
+}
+
+pkg_postinst() {
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-01-15 Thread Tobias Klausmann
commit: 1650717c1ffa2ba656319c8739322a514d4a646a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Jan 15 19:02:39 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Jan 15 19:02:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1650717c

sys-apps/sandbox-2.12-r0: amd64 stable

Gentoo-Bug: http://bugs.gentoo.org/644300

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index fa911b19752..78b591933e8 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-01-14 Thread Sergei Trofimovich
commit: 873ad5d424e8ee8e6753eba3921647e79cea
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Jan 14 09:41:56 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan 14 11:24:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873ad5d4

sys-apps/sandbox: stable 2.12 for sparc

Bug: https://bugs.gentoo.org/show_bug.cgi?id=644300
Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index a8ed4035ba0..fa911b19752 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-01-13 Thread Sergei Trofimovich
commit: 0d8d15031de0137d50f52849869d6f46daec567f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jan 13 20:52:21 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan 13 20:52:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8d1503

sys-apps/sandbox: stable 2.12 for hppa/ia64/ppc/ppc64, bug #644300

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa ia64 ppc ppc64"

 sys-apps/sandbox/sandbox-2.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 0347d33d7d1..a8ed4035ba0 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-01-12 Thread Thomas Deutschmann
commit: 5ea46f5ae79980c5ef28d1593b96f800033c69a5
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Jan 12 19:27:00 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Jan 12 19:27:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea46f5a

sys-apps/sandbox: x86 stable

Bug: https://bugs.gentoo.org/644300
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 6bea9b71911..0347d33d7d1 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2018-01-12 Thread Thomas Deutschmann
commit: dfcf2ff58d4e07100a47d88fffc74f04feaa7fe9
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Jan 12 13:50:42 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Jan 12 13:50:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcf2ff5

sys-apps/sandbox: mark 2.10-r4 arm64/m68k/s390/sh stable

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index 4ced4cfb779..4a5c4ddd52c 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 #
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-12-04 Thread Markus Meier
commit: e0ceabf15e70812e48a6cd28248ef3fd970e4eff
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Dec  5 05:41:24 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Dec  5 05:41:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ceabf1

sys-apps/sandbox: arm stable, bug #633960

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="arm"

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index d36170cde98..4ced4cfb779 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-11-24 Thread Sergei Trofimovich
commit: b0164446a21c4dddc9ddd9ce0915b4695ce45b3a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Nov 24 20:24:31 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Nov 24 20:24:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0164446

sys-apps/sandbox: stable 2.10-r4 for hppa, bug #633960

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 sys-apps/sandbox/Manifest   | 4 ++--
 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index b4efad9fa3d..00d82c8aa3a 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,2 +1,2 @@
-DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 
5d6cffa7317cafeba02af75de9ae914d4365a62b54d3dfcc14cb272e621f2f76a60a945591ccb57dd59d6750152087cb2f21e43ded3ec181d6b42df173147192
-DIST sandbox-2.12.tar.xz 424252 SHA256 
265a490a8c528237c55ad26dfd7f62336fa5727c82358fc9cfbaa2e52c47fc50 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
 WHIRLPOOL 
4f3089746a11616c60057165f387122b74e8d2f30a2d77db296405a2b6f401fc625645bca73092436162f5d98a88bfb2a3b42909b0eceb9a59ab810d803441b0
+DIST sandbox-2.10.tar.xz 417068 BLAKE2B 
78bb5b29b520d41c582e7f7cb444ce580f9f8f05ce80795986ff8e1f84f9320e21fda0c5ae092cce8e5a3dc1c0efa48e1ce69c21107e541d2c569e6369ccb5b0
 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
+DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index 8562d18076c..d36170cde98 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-28 Thread Sergei Trofimovich
commit: 3534a954b3dab17d961ea5a87279bbe03e62d3a2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 28 22:03:19 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 28 22:03:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3534a954

sys-apps/sandbox: stable 2.10-r4 for sparc, bug #633960 (thanks to Rolf Eike 
Beer)

Package-Manager: Portage-2.3.13, Repoman-2.3.4
RepoMan-Options: --include-arches="sparc"

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index c50a4cab0e2..8562d18076c 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-28 Thread Manuel Rüger
commit: 9c45fa8d02855124a7b79896402b53c1d1283288
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Oct 28 15:00:44 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Oct 28 15:01:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c45fa8d

sys-apps/sandbox: Stable on amd64

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index d25eb2ffaac..c50a4cab0e2 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-27 Thread Thomas Deutschmann
commit: 8e991d1e2d69f6a1e9d3e1abd55bfecdc88ca795
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 27 13:46:34 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 27 13:49:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e991d1e

sys-apps/sandbox: x86 stable (bug #633960)

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index 4442425f6b2..d25eb2ffaac 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-22 Thread Tobias Klausmann
commit: 5595f4aa70165939710da1dbe1e080b217409c12
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Oct 22 21:41:35 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Oct 22 21:41:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5595f4aa

sys-apps/sandbox-2.10-r4: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/633960

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index 174ab5a3403..4442425f6b2 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-14 Thread Sergei Trofimovich
commit: a8e09369c198997c0f3485f1e3351179d2a9c710
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 14 17:30:56 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 14 17:30:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e09369

sys-apps/sandbox: stable 2.10-r4 for ppc/ppc64, bug #633960

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc ppc64"

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index 999ac487c75..174ab5a3403 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-12 Thread Sergei Trofimovich
commit: 4808f2da8d8cca29e35a9c8b6903649a69901745
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Oct 12 21:02:09 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 13 00:13:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4808f2da

sys-apps/sandbox: stable 2.10-r4 for ia64, bug #633960

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 sys-apps/sandbox/sandbox-2.10-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
index 0f792910204..999ac487c75 100644
--- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-03 Thread Michał Górny
commit: 9897597d43c4a8e1e25c092b305a807651910aad
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  3 19:06:48 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  3 19:09:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9897597d

sys-apps/sandbox: Remove stale comment from metadata.xml

 sys-apps/sandbox/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys-apps/sandbox/metadata.xml b/sys-apps/sandbox/metadata.xml
index ebbf8300deb..24b5738cbeb 100644
--- a/sys-apps/sandbox/metadata.xml
+++ b/sys-apps/sandbox/metadata.xml
@@ -1,9 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-
-
 
   sand...@gentoo.org
   Sandbox Maintainers



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-03 Thread Michał Górny
commit: 0e75df216fd02d70c32ce8cac8b52690f879566f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  3 18:26:47 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  3 19:09:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e75df21

sys-apps/sandbox: Fix REPLACING_VERSIONS use

Closes: https://bugs.gentoo.org/589518

 sys-apps/sandbox/sandbox-2.12.ebuild | 24 +++-
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
index 77ad8b92e12..6bea9b71911 100644
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -54,17 +54,23 @@ pkg_preinst() {
chown root:portage "${ED}"/var/log/sandbox
chmod 0770 "${ED}"/var/log/sandbox
 
-   if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then
-   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
-   if [[ -n ${old} ]] ; then
-   elog "Removing old sandbox libraries for you:"
-   find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' 
-print -delete
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*' -print -delete
+   fi
fi
-   fi
+   done
 }
 
 pkg_postinst() {
-   if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then
-   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
-   fi
+   local v
+   for v in ${REPLACING_VERSIONS}; do
+   if [[ ${v} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+   done
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-03 Thread Michał Górny
commit: 2cd16468009a53948f441aab3b8aabf744c3
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  3 19:04:41 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  3 19:09:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd1

sys-apps/sandbox: Drop old revisions of 2.10

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 127 
 sys-apps/sandbox/sandbox-2.10-r2.ebuild |  83 -
 2 files changed, 210 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
deleted file mode 100644
index c12b969fed1..000
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-#
-# don't monkey with this ebuild unless contacting portage devs.
-# period.
-#
-
-inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing 
pax-utils
-
-DESCRIPTION="sandbox'd LD_PRELOAD hack"
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
-SRC_URI="mirror://gentoo/${P}.tar.xz
-   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="multilib"
-
-DEPEND="app-arch/xz-utils
-   >=app-misc/pax-utils-0.1.19" #265376
-RDEPEND=""
-
-EMULTILIB_PKG="true"
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
-
-sandbox_death_notice() {
-   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
-}
-
-sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }
-
-sb_foreach_abi() {
-   local OABI=${ABI}
-   for ABI in $(sb_get_install_abis) ; do
-   cd "${WORKDIR}/build-${ABI}"
-   einfo "Running $1 for ABI=${ABI}..."
-   "$@"
-   done
-   ABI=${OABI}
-}
-
-src_unpack() {
-   unpacker
-   cd "${S}"
-   epatch "${FILESDIR}"/${P}-memory-corruption.patch #568714
-   epatch "${FILESDIR}"/${P}-disable-same.patch
-   epatch_user
-}
-
-sb_configure() {
-   mkdir "${WORKDIR}/build-${ABI}"
-   cd "${WORKDIR}/build-${ABI}"
-
-   use multilib && multilib_toolchain_setup ${ABI}
-
-   local myconf=()
-   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
-
-   einfo "Configuring sandbox for ABI=${ABI}..."
-   ECONF_SOURCE="${S}" \
-   econf ${myconf} || die
-}
-
-sb_compile() {
-   emake || die
-}
-
-src_compile() {
-   filter-lfs-flags #90228
-
-   # Run configures in parallel!
-   multijob_init
-   local OABI=${ABI}
-   for ABI in $(sb_get_install_abis) ; do
-   multijob_child_init sb_configure
-   done
-   ABI=${OABI}
-   multijob_finish
-
-   sb_foreach_abi sb_compile
-}
-
-sb_test() {
-   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" || die
-}
-
-src_test() {
-   sb_foreach_abi sb_test
-}
-
-sb_install() {
-   emake DESTDIR="${D}" install || die
-   insinto /etc/sandbox.d #333131
-   doins etc/sandbox.d/00default || die
-}
-
-src_install() {
-   sb_foreach_abi sb_install
-
-   doenvd "${FILESDIR}"/09sandbox
-
-   keepdir /var/log/sandbox
-   fowners root:portage /var/log/sandbox
-   fperms 0770 /var/log/sandbox
-
-   cd "${S}"
-   dodoc AUTHORS ChangeLog* NEWS README
-}
-
-pkg_preinst() {
-   chown root:portage "${D}"/var/log/sandbox
-   chmod 0770 "${D}"/var/log/sandbox
-
-   local old=$(find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
-   if [[ -n ${old} ]] ; then
-   elog "Removing old sandbox libraries for you:"
-   elog ${old//${ROOT}}
-   find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm 
-fv {} \;
-   fi
-}
-
-pkg_postinst() {
-   chmod 0755 "${ROOT}"/etc/sandbox.d #265376
-}

diff --git a/sys-apps/sandbox/sandbox-2.10-r2.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r2.ebuild
deleted file mode 100644
index 7a871d3072f..000
--- a/sys-apps/sandbox/sandbox-2.10-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-#
-# don't monkey with this ebuild unless contacting portage devs.
-# period.
-#
-
-EAPI="5"
-
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
-
-DESCRIPTION="sandbox'd LD_PRELOAD hack"
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
-SRC_URI="mirror://gentoo/${P}.tar.xz
-   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-10-03 Thread Michał Górny
commit: 9f089d8f7ac269caae913866fe7fce7291ebcad3
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  3 18:20:03 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  3 19:09:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f089d8f

sys-apps/sandbox: Bump to 2.12

Closes: https://bugs.gentoo.org/553092
Closes: https://bugs.gentoo.org/580726

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.12.ebuild | 70 
 2 files changed, 71 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index b35489a72c1..fb977aaa2c7 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,5 +1,6 @@
 DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 
5d6cffa7317cafeba02af75de9ae914d4365a62b54d3dfcc14cb272e621f2f76a60a945591ccb57dd59d6750152087cb2f21e43ded3ec181d6b42df173147192
 DIST sandbox-2.11.tar.xz 423492 SHA256 
a1cb203f95057176ca0c5b53b8b9dafd41d1b64a6cf5039a9e1fb4a51b17f237 SHA512 
0aa6c773c109749180442d1a46d1b957dea0c30f893e4be1ac0b410e1aad48fdd2972ec591aa2da3a0c74b32d2b7bd51b7c2263bd7b26f8a34bb762d8a48ea0b
 WHIRLPOOL 
acc778f2181473cf23b46a62257e5f3857edebb457dcf230f02da0d153e38a28f78a20dee67c9e564c10239d8bd6982a6e894de666f6eff4550f7ad8cdee
+DIST sandbox-2.12.tar.xz 424252 SHA256 
265a490a8c528237c55ad26dfd7f62336fa5727c82358fc9cfbaa2e52c47fc50 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
 WHIRLPOOL 
4f3089746a11616c60057165f387122b74e8d2f30a2d77db296405a2b6f401fc625645bca73092436162f5d98a88bfb2a3b42909b0eceb9a59ab810d803441b0
 DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
 DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554
 DIST sandbox-2.8.tar.xz 410588 SHA256 
f01dcac27a4641d1898c4a19bf3a0572f8ec85c3ba12e6ede8af36f6bc047165 SHA512 
73a21e72f5825f43ee887efbe73f4ccd8771c7f45438104077aa83448d0a2727ab65be89a7a1a690d3662594df680ca4dc29908763e5abe2a81594b6f8f6ff2e
 WHIRLPOOL 
6c93a0d8737bab4e710f0f20645514c9a5413a2d357a64c2e8b8428567221b949134881e705f979aa374635a278c0b3c646a6cffaf1015024db8f2aab2ec7c74

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
new file mode 100644
index 000..77ad8b92e12
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then
+   local old=$(find 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2017-10-03 Thread Michał Górny
commit: 207991fdff291c3ccecf2899ad88a91d351136c6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  3 19:06:04 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  3 19:09:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=207991fd

sys-apps/sandbox: Drop old

 sys-apps/sandbox/Manifest  |   4 -
 .../files/sandbox-2.6-check-empty-paths-at.patch   | 201 -
 sys-apps/sandbox/files/sandbox-2.6-desktop.patch   |  30 ---
 sys-apps/sandbox/files/sandbox-2.6-gcc-5.patch |  13 --
 sys-apps/sandbox/files/sandbox-2.6-log-var.patch   |  51 --
 sys-apps/sandbox/files/sandbox-2.6-no-pch.patch|  29 ---
 .../sandbox/files/sandbox-2.6-open-nofollow.patch  |  54 --
 .../files/sandbox-2.6-static-close-fd.patch|  93 --
 .../sandbox/files/sandbox-2.6-trace-hppa.patch |  27 ---
 .../sandbox/files/sandbox-2.8-write-ptmx.patch |  34 
 sys-apps/sandbox/sandbox-2.6-r1.ebuild | 130 -
 sys-apps/sandbox/sandbox-2.7.ebuild| 122 -
 sys-apps/sandbox/sandbox-2.8.ebuild| 123 -
 sys-apps/sandbox/sandbox-2.9.ebuild| 122 -
 14 files changed, 1033 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 5ca84948432..b4efad9fa3d 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,6 +1,2 @@
 DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 
5d6cffa7317cafeba02af75de9ae914d4365a62b54d3dfcc14cb272e621f2f76a60a945591ccb57dd59d6750152087cb2f21e43ded3ec181d6b42df173147192
 DIST sandbox-2.12.tar.xz 424252 SHA256 
265a490a8c528237c55ad26dfd7f62336fa5727c82358fc9cfbaa2e52c47fc50 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
 WHIRLPOOL 
4f3089746a11616c60057165f387122b74e8d2f30a2d77db296405a2b6f401fc625645bca73092436162f5d98a88bfb2a3b42909b0eceb9a59ab810d803441b0
-DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
-DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554
-DIST sandbox-2.8.tar.xz 410588 SHA256 
f01dcac27a4641d1898c4a19bf3a0572f8ec85c3ba12e6ede8af36f6bc047165 SHA512 
73a21e72f5825f43ee887efbe73f4ccd8771c7f45438104077aa83448d0a2727ab65be89a7a1a690d3662594df680ca4dc29908763e5abe2a81594b6f8f6ff2e
 WHIRLPOOL 
6c93a0d8737bab4e710f0f20645514c9a5413a2d357a64c2e8b8428567221b949134881e705f979aa374635a278c0b3c646a6cffaf1015024db8f2aab2ec7c74
-DIST sandbox-2.9.tar.xz 415992 SHA256 
ee6e92932c5a30d784548985b69adb357662fadd32d961776f197879ff8230c7 SHA512 
9f9b886c160fa14119c7bc389b2eeb1050b150dccd60f64d809db43a23bc703004cb9ccaa454b970adb5e0616b19c9e9e0e6e52fccf6b16608ab89b3c2c3cee7
 WHIRLPOOL 
aeae0387fe618c2af2945747629991649935f344906017f5b00e1a63496c2cc03ee5b7f078ee1d83897fad3f54793e02be86a6f297b7bbd4af2918b2a8157633

diff --git a/sys-apps/sandbox/files/sandbox-2.6-check-empty-paths-at.patch 
b/sys-apps/sandbox/files/sandbox-2.6-check-empty-paths-at.patch
deleted file mode 100644
index e4dc5290ed5..000
--- a/sys-apps/sandbox/files/sandbox-2.6-check-empty-paths-at.patch
+++ /dev/null
@@ -1,201 +0,0 @@
-From dd726dcc6a95355d0e0cc949018d9c8aefc89a02 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Mon, 24 Dec 2012 19:41:49 -0500
-Subject: [PATCH 1/2] libsandbox: reject "" paths with *at funcs before
- checking the dirfd
-
-When it comes to processing errors, an empty path is checked before
-an invalid dirfd.  Make sure sandbox matches that behavior for the
-random testsuites out there that look for this.
-
-URL: https://bugs.gentoo.org/346929
-Reported-by: Marien Zwart 
-Signed-off-by: Mike Frysinger 

- libsandbox/wrapper-funcs/__pre_check.c|  2 ++
- libsandbox/wrapper-funcs/mkdirat_pre_check.c  | 17 +
- libsandbox/wrapper-funcs/openat_pre_check.c   | 15 ---
- libsandbox/wrapper-funcs/unlinkat_pre_check.c | 17 +
- libsandbox/wrappers.h |  2 ++
- tests/mkdirat-3.sh  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2017-03-10 Thread Mike Frysinger
commit: 94f5df1e61d1b6159a32f020e1780427fba6d98c
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Mar 10 18:49:39 2017 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Mar 10 18:50:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f5df1e

sys-apps/sandbox: fix handling of symlinks w/symlinkat/renameat #612202

 .../files/sandbox-2.11-symlinkat-renameat.patch| 124 +
 sys-apps/sandbox/sandbox-2.10-r4.ebuild|  85 ++
 sys-apps/sandbox/sandbox-2.11-r5.ebuild|  86 ++
 3 files changed, 295 insertions(+)

diff --git a/sys-apps/sandbox/files/sandbox-2.11-symlinkat-renameat.patch 
b/sys-apps/sandbox/files/sandbox-2.11-symlinkat-renameat.patch
new file mode 100644
index 000..e33011f7495
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.11-symlinkat-renameat.patch
@@ -0,0 +1,124 @@
+From 4c47cfa22802fd8201586bef233d8161df4ff61b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Fri, 10 Mar 2017 10:15:50 -0800
+Subject: [PATCH] libsandbox: whitelist renameat/symlinkat as symlink funcs
+
+These funcs don't deref their path args, so flag them as such.
+
+URL: https://bugs.gentoo.org/612202
+Signed-off-by: Mike Frysinger 
+---
+ libsandbox/libsandbox.c |  4 +++-
+ tests/renameat-2.sh | 12 
+ tests/renameat-3.sh | 11 +++
+ tests/renameat.at   |  2 ++
+ tests/symlinkat-2.sh| 10 ++
+ tests/symlinkat-3.sh|  9 +
+ tests/symlinkat.at  |  2 ++
+ 7 files changed, 49 insertions(+), 1 deletion(-)
+ create mode 100755 tests/renameat-2.sh
+ create mode 100755 tests/renameat-3.sh
+ create mode 100755 tests/symlinkat-2.sh
+ create mode 100755 tests/symlinkat-3.sh
+
+diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
+index e809308d717d..de48bd79ba53 100644
+--- a/libsandbox/libsandbox.c
 b/libsandbox/libsandbox.c
+@@ -650,8 +650,10 @@ static bool symlink_func(int sb_nr, int flags, const char 
*abs_path)
+ sb_nr == SB_NR_LCHOWN   ||
+ sb_nr == SB_NR_REMOVE   ||
+ sb_nr == SB_NR_RENAME   ||
++sb_nr == SB_NR_RENAMEAT ||
+ sb_nr == SB_NR_RMDIR||
+-sb_nr == SB_NR_SYMLINK))
++sb_nr == SB_NR_SYMLINK  ||
++sb_nr == SB_NR_SYMLINKAT))
+   {
+   /* These funcs sometimes operate on symlinks */
+   if (!((sb_nr == SB_NR_FCHOWNAT ||
+diff --git a/tests/renameat-2.sh b/tests/renameat-2.sh
+new file mode 100755
+index ..d0fbe8ae4574
+--- /dev/null
 b/tests/renameat-2.sh
+@@ -0,0 +1,12 @@
++#!/bin/sh
++# make sure we can clobber symlinks #612202
++
++addwrite $PWD
++
++ln -s /asdf sym || exit 1
++touch file
++renameat-0 0 AT_FDCWD file AT_FDCWD sym || exit 1
++[ ! -e file ]
++[ ! -L sym ]
++[ -e sym ]
++test ! -s "${SANDBOX_LOG}"
+diff --git a/tests/renameat-3.sh b/tests/renameat-3.sh
+new file mode 100755
+index ..9ae5c9a6511a
+--- /dev/null
 b/tests/renameat-3.sh
+@@ -0,0 +1,11 @@
++#!/bin/sh
++# make sure we reject bad renames #612202
++
++addwrite $PWD
++mkdir deny
++adddeny $PWD/deny
++
++touch file
++renameat-0 -1,EACCES AT_FDCWD file AT_FDCWD deny/file || exit 1
++[ -e file ]
++test -s "${SANDBOX_LOG}"
+diff --git a/tests/renameat.at b/tests/renameat.at
+index 081d7d20277e..eec4638deeaa 100644
+--- a/tests/renameat.at
 b/tests/renameat.at
+@@ -1 +1,3 @@
+ SB_CHECK(1)
++SB_CHECK(2)
++SB_CHECK(3)
+diff --git a/tests/symlinkat-2.sh b/tests/symlinkat-2.sh
+new file mode 100755
+index ..168362e8806f
+--- /dev/null
 b/tests/symlinkat-2.sh
+@@ -0,0 +1,10 @@
++#!/bin/sh
++# make sure we can clobber symlinks #612202
++
++addwrite $PWD
++
++symlinkat-0 0 /asdf AT_FDCWD ./sym || exit 1
++[ -L sym ]
++symlinkat-0 -1,EEXIST /asdf AT_FDCWD ./sym || exit 1
++[ -L sym ]
++test ! -s "${SANDBOX_LOG}"
+diff --git a/tests/symlinkat-3.sh b/tests/symlinkat-3.sh
+new file mode 100755
+index ..a01c750dd2b6
+--- /dev/null
 b/tests/symlinkat-3.sh
+@@ -0,0 +1,9 @@
++#!/bin/sh
++# make sure we reject bad symlinks #612202
++
++addwrite $PWD
++mkdir deny
++adddeny $PWD/deny
++
++symlinkat-0 -1,EACCES ./ AT_FDCWD deny/sym || exit 1
++test -s "${SANDBOX_LOG}"
+diff --git a/tests/symlinkat.at b/tests/symlinkat.at
+index 081d7d20277e..eec4638deeaa 100644
+--- a/tests/symlinkat.at
 b/tests/symlinkat.at
+@@ -1 +1,3 @@
+ SB_CHECK(1)
++SB_CHECK(2)
++SB_CHECK(3)
+-- 
+2.12.0
+

diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
new file mode 100644
index 000..0f792910204
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.10-r4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+EAPI="5"
+
+inherit eutils flag-o-matic 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-03-10 Thread Mike Frysinger
commit: cc9b61df5c8da125aaf51a111387fbc75a0661e3
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Mar 10 18:40:20 2017 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Mar 10 18:50:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc9b61df

sys-apps/sandbox: mark 2.10-r3 arm64/m68k/s390/sh stable

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index a9878b9a4cf..0f7d12d168d 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-23 Thread Michael Weber
commit: d52c3c2b3a049d8eca13df290391790a1d798623
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 21:47:30 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 21:47:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52c3c2b

sys-apps/sandbox: ppc64 stable (bug 604402).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index 32c5d94968..a9878b9a4c 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-18 Thread Agostino Sarubbo
commit: f4df51284b9418e1ff32f4b3747b75e08a5c1a11
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 18 14:43:48 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 18 14:43:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4df5128

sys-apps/sandbox: ia64 stable wrt bug #604402

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index 0f98cbf276..32c5d94968 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-17 Thread Markus Meier
commit: 1fe13c8bd8aa7ebe7c8972d9a9040fde7a65d1a6
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Feb 18 05:46:46 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Feb 18 05:46:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe13c8b

sys-apps/sandbox: arm stable, bug #604402

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index c6a46bbf07..0f98cbf276 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-17 Thread Agostino Sarubbo
commit: 5a9ba457561cebe3b9b02b57dd9457ea4c327289
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 17 10:56:28 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 17 10:56:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9ba457

sys-apps/sandbox: sparc stable wrt bug #604402

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index 32668d8ad4..c6a46bbf07 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-15 Thread Tobias Klausmann
commit: 496b4cf548806025be290052f932e7cbde27ad1c
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Feb 15 13:48:50 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Feb 15 13:48:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496b4cf5

sys-apps/sandbox-2.10-r3: add alpha keyword

Gentoo-Bug: 604402

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index 8aa06c130c..32668d8ad4 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-12 Thread Agostino Sarubbo
commit: 9d16360e88a0c1697c32088a27b18b1e3e7a9eda
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 12 16:59:52 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 12 17:00:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16360e

sys-apps/sandbox: ppc stable wrt bug #604402

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index 3508be3194..8aa06c130c 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/

2017-02-05 Thread David Seifert
commit: ddb3f8676435f7c9ecffdfcaf81ebd0d8f1a3562
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sun Feb  5 12:25:02 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb  5 16:36:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb3f867

sys-apps/sandbox: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3822

 .../0001-libsandbox-handle-more-at-functions.patch | 42 --
 1 file changed, 42 deletions(-)

diff --git 
a/sys-apps/sandbox/files/0001-libsandbox-handle-more-at-functions.patch 
b/sys-apps/sandbox/files/0001-libsandbox-handle-more-at-functions.patch
deleted file mode 100644
index 09462b7..
--- a/sys-apps/sandbox/files/0001-libsandbox-handle-more-at-functions.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 25425878243c5ca1ff21e6f479e585c60b943930 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Mon, 30 Mar 2009 19:56:29 -0400
-Subject: [PATCH] libsandbox: handle more *at functions
-
-Add some more *at functions to the main checking code.
-
-URL: http://bugs.gentoo.org/264320
-Signed-off-by: Mike Frysinger 
-Reported-by: Harald van Dijk 

- libsandbox/libsandbox.c |5 +
- 1 files changed, 5 insertions(+), 0 deletions(-)
-
-diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
-index 88248af..c3f0b55 100644
 a/libsandbox/libsandbox.c
-+++ b/libsandbox/libsandbox.c
-@@ -681,15 +681,20 @@ static int check_access(sbcontext_t *sbcontext, int 
sb_nr, const char *func,
-   sb_nr == SB_NR_CREAT   ||
-   sb_nr == SB_NR_CREAT64 ||
-   sb_nr == SB_NR_MKDIR   ||
-+  sb_nr == SB_NR_MKDIRAT ||
-   sb_nr == SB_NR_MKNOD   ||
-   sb_nr == SB_NR_MKNODAT ||
-   sb_nr == SB_NR__XMKNOD ||
-   sb_nr == SB_NR___XMKNOD||
-   sb_nr == SB_NR___XMKNODAT  ||
-   sb_nr == SB_NR_MKFIFO  ||
-+  sb_nr == SB_NR_MKFIFOAT||
-   sb_nr == SB_NR_LINK||
-+  sb_nr == SB_NR_LINKAT  ||
-   sb_nr == SB_NR_SYMLINK ||
-+  sb_nr == SB_NR_SYMLINKAT   ||
-   sb_nr == SB_NR_RENAME  ||
-+  sb_nr == SB_NR_RENAMEAT||
-   sb_nr == SB_NR_LUTIMES ||
-   sb_nr == SB_NR_UTIMENSAT   ||
-   sb_nr == SB_NR_UTIME   ||
--- 
-1.6.2
-



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-05 Thread Jeroen Roovers
commit: 0df02584cfb31083d7c893951f23055db0251a48
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  5 11:33:44 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  5 11:33:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df02584

sys-apps/sandbox: Stable for HPPA (bug #604402).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index fe8eb57..b29c681 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2017-02-04 Thread Agostino Sarubbo
commit: e7b8acda59e1ff61f3896c1147b1b9c63b057b0d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb  4 15:17:50 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb  4 15:21:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b8acda

sys-apps/sandbox: amd64 stable wrt bug #604402

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.10-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r3.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
index 910a931..fe8eb57 100644
--- a/sys-apps/sandbox/sandbox-2.10-r3.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 #
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2016-11-16 Thread Mike Frysinger
commit: 8ec3e4da8a051ed983a770b719b10730038474bb
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Nov 16 22:19:27 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Nov 16 22:19:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec3e4da

sys-apps/sandbox: fix crashes when the system is prelinked #599894

 .../sandbox/files/sandbox-2.11-exec-prelink.patch  | 107 +
 ...ndbox-2.11-r2.ebuild => sandbox-2.11-r3.ebuild} |   1 +
 2 files changed, 108 insertions(+)

diff --git a/sys-apps/sandbox/files/sandbox-2.11-exec-prelink.patch 
b/sys-apps/sandbox/files/sandbox-2.11-exec-prelink.patch
new file mode 100644
index ..067824f
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.11-exec-prelink.patch
@@ -0,0 +1,107 @@
+From 5628d830548e91819953d2d14397170e219df7c6 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Wed, 16 Nov 2016 15:59:28 -0500
+Subject: [PATCH] libsandbox: fix symtab walking with prelinked ELFs
+
+When prelink runs on an ELF, it moves the string table from right
+after the symbol table to the end, and then replaces the string
+table with its liblist table.  This ends up breaking sandbox's
+assumption that the string table always follows the symbol table
+leading to prelinked ELFs crashing.
+
+Update the range check to use the liblist table when available.
+Since the prelink code has this logic hardcoded (swapping the
+string table for the liblist table), this should be OK for now.
+
+URL: https://bugs.gentoo.org/599894
+Reported-by: Anders Larsson 
+Reported-by: Kenton Groombridge 
+Reported-by: Marien Zwart 
+Signed-off-by: Mike Frysinger 
+---
+ libsandbox/wrapper-funcs/__wrapper_exec.c | 39 ++-
+ 1 file changed, 28 insertions(+), 11 deletions(-)
+
+diff --git a/libsandbox/wrapper-funcs/__wrapper_exec.c 
b/libsandbox/wrapper-funcs/__wrapper_exec.c
+index d372366c5478..226c0c0f4407 100644
+--- a/libsandbox/wrapper-funcs/__wrapper_exec.c
 b/libsandbox/wrapper-funcs/__wrapper_exec.c
+@@ -83,8 +83,8 @@ static bool sb_check_exec(const char *filename, char *const 
argv[])
+ ({ \
+   Elf##n##_Ehdr *ehdr = (void *)elf; \
+   Elf##n##_Phdr *phdr = (void *)(elf + ehdr->e_phoff); \
+-  Elf##n##_Addr vaddr, filesz, vsym = 0, vstr = 0, vhash = 0; \
+-  Elf##n##_Off offset, symoff = 0, stroff = 0, hashoff = 0; \
++  Elf##n##_Addr vaddr, filesz, vsym = 0, vstr = 0, vhash = 0, vliblist = 
0; \
++  Elf##n##_Off offset, symoff = 0, stroff = 0, hashoff = 0, liblistoff = 
0; \
+   Elf##n##_Dyn *dyn; \
+   Elf##n##_Sym *sym, *symend; \
+   uint##n##_t ent_size = 0, str_size = 0; \
+@@ -102,11 +102,12 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+   dyn = (void *)(elf + phdr[i].p_offset); \
+   while (dyn->d_tag != DT_NULL) { \
+   switch (dyn->d_tag) { \
+-  case DT_SYMTAB: vsym = dyn->d_un.d_val; break; \
+-  case DT_SYMENT: ent_size = dyn->d_un.d_val; 
break; \
+-  case DT_STRTAB: vstr = dyn->d_un.d_val; break; \
+-  case DT_STRSZ:  str_size = dyn->d_un.d_val; 
break; \
+-  case DT_HASH:   vhash = dyn->d_un.d_val; break; 
\
++  case DT_SYMTAB:  vsym = dyn->d_un.d_val; 
break; \
++  case DT_SYMENT:  ent_size = 
dyn->d_un.d_val; break; \
++  case DT_STRTAB:  vstr = dyn->d_un.d_val; 
break; \
++  case DT_STRSZ:   str_size = 
dyn->d_un.d_val; break; \
++  case DT_HASH:vhash = dyn->d_un.d_val; 
break; \
++  case DT_GNU_LIBLIST: vliblist = 
dyn->d_un.d_val; break; \
+   } \
+   ++dyn; \
+   } \
+@@ -126,6 +127,8 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+   stroff = offset + (vstr - vaddr); \
+   if (vhash >= vaddr && vhash < vaddr + filesz) \
+   hashoff = offset + (vhash - vaddr); \
++  if (vliblist >= vaddr && vliblist < vaddr + filesz) \
++  liblistoff = offset + (vliblist - vaddr); \
+   } \
+   \
+   /* Finally walk the symbol table.  This should generally be 
fast as \
+@@ -133,19 +136,33 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+* out there do not export any symbols at all. \
+*/ \
+   if (symoff && stroff) { \
+-  /* Hash entries are always 32-bits. */ \
+-

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-04-05 Thread Mike Frysinger
commit: a78f835745636e1ebee5a2cfae57673e4d46427c
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Apr  5 19:36:11 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Apr  5 19:48:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78f8357

sys-apps/sandbox: add usersandbox to the error message disable list

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.10-r2.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.11-r2.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.6-r1.ebuild  | 2 +-
 sys-apps/sandbox/sandbox-2.7.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.8.ebuild | 2 +-
 sys-apps/sandbox/sandbox-2.9.ebuild | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index e22cefc..97870f6 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }

diff --git a/sys-apps/sandbox/sandbox-2.10-r2.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r2.ebuild
index e2ba4a7..7a871d3 100644
--- a/sys-apps/sandbox/sandbox-2.10-r2.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r2.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 src_prepare() {

diff --git a/sys-apps/sandbox/sandbox-2.11-r2.ebuild 
b/sys-apps/sandbox/sandbox-2.11-r2.ebuild
index 4f9884f..1319c37 100644
--- a/sys-apps/sandbox/sandbox-2.11-r2.ebuild
+++ b/sys-apps/sandbox/sandbox-2.11-r2.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 src_prepare() {

diff --git a/sys-apps/sandbox/sandbox-2.6-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.6-r1.ebuild
index 210a42e..3631b83 100644
--- a/sys-apps/sandbox/sandbox-2.6-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.6-r1.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }

diff --git a/sys-apps/sandbox/sandbox-2.7.ebuild 
b/sys-apps/sandbox/sandbox-2.7.ebuild
index 2550852..9094372 100644
--- a/sys-apps/sandbox/sandbox-2.7.ebuild
+++ b/sys-apps/sandbox/sandbox-2.7.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }

diff --git a/sys-apps/sandbox/sandbox-2.8.ebuild 
b/sys-apps/sandbox/sandbox-2.8.ebuild
index 4f3de07..eb00c1b 100644
--- a/sys-apps/sandbox/sandbox-2.8.ebuild
+++ b/sys-apps/sandbox/sandbox-2.8.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }

diff --git a/sys-apps/sandbox/sandbox-2.9.ebuild 
b/sys-apps/sandbox/sandbox-2.9.ebuild
index 2550852..9094372 100644
--- a/sys-apps/sandbox/sandbox-2.9.ebuild
+++ b/sys-apps/sandbox/sandbox-2.9.ebuild
@@ -28,7 +28,7 @@ has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_D
 
 sandbox_death_notice() {
ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
-   ewarn "FEATURES=-sandbox emerge sandbox"
+   ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
 }
 
 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2016-03-29 Thread Mike Frysinger
commit: 0970c507b3eda2d1909614026385bf8767766322
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Mar 30 05:20:46 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Mar 30 05:21:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0970c507

sys-apps/sandbox: fix execvpe handling #578516

 sys-apps/sandbox/files/sandbox-2.11-execvpe.patch  | 30 ++
 ...ndbox-2.11-r1.ebuild => sandbox-2.11-r2.ebuild} |  1 +
 2 files changed, 31 insertions(+)

diff --git a/sys-apps/sandbox/files/sandbox-2.11-execvpe.patch 
b/sys-apps/sandbox/files/sandbox-2.11-execvpe.patch
new file mode 100644
index 000..7e8130b
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.11-execvpe.patch
@@ -0,0 +1,30 @@
+From 31a135d261a9bc1d65b1fa484345a858bab84db8 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Wed, 30 Mar 2016 01:17:21 -0400
+Subject: [PATCH] libsandbox: whitelist execvpe
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+URL: https://bugs.gentoo.org/578516
+Reported-by: Toralf Förster 
+Signed-off-by: Mike Frysinger 
+---
+ libsandbox/libsandbox.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
+index cbe1aa1..e809308 100644
+--- a/libsandbox/libsandbox.c
 b/libsandbox/libsandbox.c
+@@ -710,6 +710,7 @@ static int check_access(sbcontext_t *sbcontext, int sb_nr, 
const char *func,
+sb_nr == SB_NR_EXECV ||
+sb_nr == SB_NR_EXECVP||
+sb_nr == SB_NR_EXECVE||
++   sb_nr == SB_NR_EXECVPE   ||
+sb_nr == SB_NR_FEXECVE))
+   {
+   retval = check_prefixes(sbcontext->read_prefixes,
+-- 
+2.7.4
+

diff --git a/sys-apps/sandbox/sandbox-2.11-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.11-r2.ebuild
similarity index 97%
rename from sys-apps/sandbox/sandbox-2.11-r1.ebuild
rename to sys-apps/sandbox/sandbox-2.11-r2.ebuild
index 8001316..4f9884f 100644
--- a/sys-apps/sandbox/sandbox-2.11-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.11-r2.ebuild
@@ -32,6 +32,7 @@ sandbox_death_notice() {
 }
 
 src_prepare() {
+   epatch "${FILESDIR}"/${P}-execvpe.patch #578516
epatch "${FILESDIR}"/${P}-exec-hash.patch #578524
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2016-03-29 Thread Mike Frysinger
commit: cb51c818a0d2b2f1a64e084411ac5717ebb3ef38
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Mar 30 03:44:29 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Mar 30 03:46:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb51c818

sys-apps/sandbox: fix crashes w/some ELFs #578524

 .../sandbox/files/sandbox-2.11-exec-hash.patch | 96 ++
 ...{sandbox-2.11.ebuild => sandbox-2.11-r1.ebuild} |  1 +
 2 files changed, 97 insertions(+)

diff --git a/sys-apps/sandbox/files/sandbox-2.11-exec-hash.patch 
b/sys-apps/sandbox/files/sandbox-2.11-exec-hash.patch
new file mode 100644
index 000..8a4cd9b
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.11-exec-hash.patch
@@ -0,0 +1,96 @@
+From e11815bb7f0656f39e122073e0e3284ec7f5d021 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Tue, 29 Mar 2016 23:35:44 -0400
+Subject: [PATCH] libsandbox: fix symtab walking with some ELFs
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The strtab assumption works if there is no SysV hash table.
+Add logic to handle that scenario.
+
+URL: https://bugs.gentoo.org/578524
+Reported-by: Toralf Förster 
+Signed-off-by: Mike Frysinger 
+---
+ libsandbox/wrapper-funcs/__wrapper_exec.c | 30 +-
+ 1 file changed, 17 insertions(+), 13 deletions(-)
+
+diff --git a/libsandbox/wrapper-funcs/__wrapper_exec.c 
b/libsandbox/wrapper-funcs/__wrapper_exec.c
+index f7f51ab..d372366 100644
+--- a/libsandbox/wrapper-funcs/__wrapper_exec.c
 b/libsandbox/wrapper-funcs/__wrapper_exec.c
+@@ -83,10 +83,10 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+ ({ \
+   Elf##n##_Ehdr *ehdr = (void *)elf; \
+   Elf##n##_Phdr *phdr = (void *)(elf + ehdr->e_phoff); \
+-  Elf##n##_Addr vaddr, filesz, vsym = 0, vstr = 0; \
+-  Elf##n##_Off offset, symoff = 0, stroff = 0; \
++  Elf##n##_Addr vaddr, filesz, vsym = 0, vstr = 0, vhash = 0; \
++  Elf##n##_Off offset, symoff = 0, stroff = 0, hashoff = 0; \
+   Elf##n##_Dyn *dyn; \
+-  Elf##n##_Sym *sym; \
++  Elf##n##_Sym *sym, *symend; \
+   uint##n##_t ent_size = 0, str_size = 0; \
+   bool dynamic = false; \
+   size_t i; \
+@@ -106,6 +106,7 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+   case DT_SYMENT: ent_size = dyn->d_un.d_val; 
break; \
+   case DT_STRTAB: vstr = dyn->d_un.d_val; break; \
+   case DT_STRSZ:  str_size = dyn->d_un.d_val; 
break; \
++  case DT_HASH:   vhash = dyn->d_un.d_val; break; 
\
+   } \
+   ++dyn; \
+   } \
+@@ -123,6 +124,8 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+   symoff = offset + (vsym - vaddr); \
+   if (vstr >= vaddr && vstr < vaddr + filesz) \
+   stroff = offset + (vstr - vaddr); \
++  if (vhash >= vaddr && vhash < vaddr + filesz) \
++  hashoff = offset + (vhash - vaddr); \
+   } \
+   \
+   /* Finally walk the symbol table.  This should generally be 
fast as \
+@@ -130,18 +133,20 @@ static bool sb_check_exec(const char *filename, char 
*const argv[])
+* out there do not export any symbols at all. \
+*/ \
+   if (symoff && stroff) { \
+-  sym = (void *)(elf + symoff); \
++  /* Hash entries are always 32-bits. */ \
++  uint32_t *hashes = (void *)(elf + hashoff); \
+   /* Nowhere is the # of symbols recorded, or the size of 
the symbol \
+-   * table.  Instead, we do what glibc does: assume that 
the string \
+-   * table always follows the symbol table.  This seems 
like a poor \
+-   * assumption to make, but glibc has gotten by this 
long.  We could \
+-   * rely on DT_HASH and walking all the buckets to find 
the largest \
+-   * symbol index, but that's also a bit hacky. \
++   * table.  Instead, we do what glibc does: use the sysv 
hash table \
++   * if it exists, else assume that the string table 
always directly \
++   * follows the symbol table.  This seems like a poor 
assumption to \
++   * make, but glibc has gotten by this long. \
+* \
+* We don't sanity check the ranges here as you aren't 
executing \
+* corrupt programs in the sandbox. \
+*/ \
+-  for (i = 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-03-29 Thread Mike Frysinger
commit: 0c54c7956635d04d168e3aaac0d7048c194840d3
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Mar 29 12:24:33 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar 29 12:24:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c54c795

sys-apps/sandbox: version bump to 2.11

 sys-apps/sandbox/Manifest|  1 +
 sys-apps/sandbox/sandbox-2.11.ebuild | 81 
 2 files changed, 82 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index fa19c3f..b35489a 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,4 +1,5 @@
 DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 
5d6cffa7317cafeba02af75de9ae914d4365a62b54d3dfcc14cb272e621f2f76a60a945591ccb57dd59d6750152087cb2f21e43ded3ec181d6b42df173147192
+DIST sandbox-2.11.tar.xz 423492 SHA256 
a1cb203f95057176ca0c5b53b8b9dafd41d1b64a6cf5039a9e1fb4a51b17f237 SHA512 
0aa6c773c109749180442d1a46d1b957dea0c30f893e4be1ac0b410e1aad48fdd2972ec591aa2da3a0c74b32d2b7bd51b7c2263bd7b26f8a34bb762d8a48ea0b
 WHIRLPOOL 
acc778f2181473cf23b46a62257e5f3857edebb457dcf230f02da0d153e38a28f78a20dee67c9e564c10239d8bd6982a6e894de666f6eff4550f7ad8cdee
 DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
 DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554
 DIST sandbox-2.8.tar.xz 410588 SHA256 
f01dcac27a4641d1898c4a19bf3a0572f8ec85c3ba12e6ede8af36f6bc047165 SHA512 
73a21e72f5825f43ee887efbe73f4ccd8771c7f45438104077aa83448d0a2727ab65be89a7a1a690d3662594df680ca4dc29908763e5abe2a81594b6f8f6ff2e
 WHIRLPOOL 
6c93a0d8737bab4e710f0f20645514c9a5413a2d357a64c2e8b8428567221b949134881e705f979aa374635a278c0b3c646a6cffaf1015024db8f2aab2ec7c74

diff --git a/sys-apps/sandbox/sandbox-2.11.ebuild 
b/sys-apps/sandbox/sandbox-2.11.ebuild
new file mode 100644
index 000..0bbf588
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.11.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+EAPI="5"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="mirror://gentoo/${P}.tar.xz
+   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+src_prepare() {
+   epatch_user
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   cd "${S}"
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' 
-print -delete
+   fi
+   fi
+}
+

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-03-29 Thread Mike Frysinger
commit: a3998ce42d1c7ffc6314cfbc6a6758494b4e46dc
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Mar 29 09:56:22 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar 29 09:57:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3998ce4

sys-apps/sandbox: update EAPI & multilib handling

 sys-apps/sandbox/sandbox-2.10-r2.ebuild | 83 +
 1 file changed, 83 insertions(+)

diff --git a/sys-apps/sandbox/sandbox-2.10-r2.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r2.ebuild
new file mode 100644
index 000..e2ba4a7
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.10-r2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+EAPI="5"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="mirror://gentoo/${P}.tar.xz
+   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-memory-corruption.patch #568714
+   epatch "${FILESDIR}"/${P}-disable-same.patch
+   epatch_user
+}
+
+multilib_src_configure() {
+   filter-lfs-flags #90228
+
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
+   ECONF_SOURCE="${S}" \
+   econf "${myconf[@]}"
+}
+
+multilib_src_test() {
+   # Default sandbox build will run with --jobs set to # cpus.
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir /var/log/sandbox
+   fowners root:portage /var/log/sandbox
+   fperms 0770 /var/log/sandbox
+
+   cd "${S}"
+   dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+   chown root:portage "${ED}"/var/log/sandbox
+   chmod 0770 "${ED}"/var/log/sandbox
+
+   if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then
+   local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 
'libsandbox*')
+   if [[ -n ${old} ]] ; then
+   elog "Removing old sandbox libraries for you:"
+   find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' 
-print -delete
+   fi
+   fi
+}
+
+pkg_postinst() {
+   if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then
+   chmod 0755 "${EROOT}"/etc/sandbox.d #265376
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-02-21 Thread Mike Frysinger
commit: d19ca68e696aff7e64ab6c56b3727f5bfa973551
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Feb 21 08:28:18 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Feb 21 08:28:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19ca68e

sys-apps/sandbox: mark 2.10-r1 sparc stable #571308

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index a5ace19..e22cefc 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc 
x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-02-14 Thread Agostino Sarubbo
commit: 87208d75631479c5da2f93a68357b1a9bebe14cb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 14 10:09:00 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 14 10:10:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87208d75

sys-apps/sandbox: x86 stable wrt bug #571308

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 7639719..a5ace19 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc 
~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc 
x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-02-01 Thread Tobias Klausmann
commit: a67ba6bac4899852383dfa0a0f8e38951e85
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Feb  1 18:59:27 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Feb  1 18:59:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67ba6ba

sys-apps/sandbox: add alpha keyword

Gentoo-Bug: 571308

Package-Manager: portage-2.2.27

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index c707305..7639719 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc 
~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc 
~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-01-21 Thread Jeroen Roovers
commit: 65c9fed88f8f17292b725ff4ec69f5c38c47551a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jan 22 04:19:01 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jan 22 04:19:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c9fed8

sys-apps/sandbox: Stable for HPPA PPC64 (bug #571308).

Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index d6c4990..c707305 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ~ppc64 s390 sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc 
~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2016-01-19 Thread Mike Frysinger
commit: 9afa2eba9ac0db028f58f0eb757ab990f30a7c34
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Jan 19 17:27:22 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan 19 17:27:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afa2eba

sys-apps/sandbox: fix building w/out gc-sections

 .../sandbox/files/sandbox-2.10-disable-same.patch  | 77 ++
 sys-apps/sandbox/sandbox-2.10-r1.ebuild|  1 +
 2 files changed, 78 insertions(+)

diff --git a/sys-apps/sandbox/files/sandbox-2.10-disable-same.patch 
b/sys-apps/sandbox/files/sandbox-2.10-disable-same.patch
new file mode 100644
index 000..296b322
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.10-disable-same.patch
@@ -0,0 +1,77 @@
+From 7a923f646ce10b7dec3c7ae5fe2079c10aa21752 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sun, 20 Dec 2015 16:08:16 -0500
+Subject: [PATCH] libsbutil: gnulib: hand disable same_name usage
+
+We don't provide same_name because the one caller we don't use, but it
+relies on gc-sections to avoid link errors.  That flag doesn't work on
+ia64 though, so we need to hand delete the one caller.  Ugh.
+
+Signed-off-by: Mike Frysinger 
+---
+ libsbutil/gnulib/hash-triple.c |  9 -
+ libsbutil/gnulib/same.h| 25 -
+ 2 files changed, 34 deletions(-)
+ delete mode 100644 libsbutil/gnulib/same.h
+
+diff --git a/libsbutil/gnulib/hash-triple.c b/libsbutil/gnulib/hash-triple.c
+index c3b6d9f..06cfbdf 100644
+--- a/libsbutil/gnulib/hash-triple.c
 b/libsbutil/gnulib/hash-triple.c
+@@ -24,7 +24,6 @@
+ #include 
+ 
+ #include "hash-pjw.h"
+-#include "same.h"
+ #include "same-inode.h"
+ 
+ #define STREQ(a, b) (strcmp (a, b) == 0)
+@@ -52,14 +51,6 @@ triple_hash_no_name (void const *x, size_t table_size)
+ 
+ /* Compare two F_triple structs.  */
+ bool
+-triple_compare (void const *x, void const *y)
+-{
+-  struct F_triple const *a = x;
+-  struct F_triple const *b = y;
+-  return (SAME_INODE (*a, *b) && same_name (a->name, b->name)) ? true : false;
+-}
+-
+-bool
+ triple_compare_ino_str (void const *x, void const *y)
+ {
+   struct F_triple const *a = x;
+diff --git a/libsbutil/gnulib/same.h b/libsbutil/gnulib/same.h
+deleted file mode 100644
+index ee313c5..000
+--- a/libsbutil/gnulib/same.h
 /dev/null
+@@ -1,25 +0,0 @@
+-/* Determine whether two file names refer to the same file.
+-
+-   Copyright (C) 1997-2000, 2003-2004, 2009-2015 Free Software Foundation, 
Inc.
+-
+-   This program is free software: you can redistribute it and/or modify
+-   it under the terms of the GNU General Public License as published by
+-   the Free Software Foundation; either version 3 of the License, or
+-   (at your option) any later version.
+-
+-   This program is distributed in the hope that it will be useful,
+-   but WITHOUT ANY WARRANTY; without even the implied warranty of
+-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-   GNU General Public License for more details.
+-
+-   You should have received a copy of the GNU General Public License
+-   along with this program.  If not, see .  */
+-
+-#ifndef SAME_H_
+-# define SAME_H_ 1
+-
+-# include 
+-
+-bool same_name (const char *source, const char *dest);
+-
+-#endif /* SAME_H_ */
+-- 
+2.6.2
+

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 2270f92..d6c4990 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -47,6 +47,7 @@ src_unpack() {
unpacker
cd "${S}"
epatch "${FILESDIR}"/${P}-memory-corruption.patch #568714
+   epatch "${FILESDIR}"/${P}-disable-same.patch
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-01-18 Thread Mike Frysinger
commit: ef76ca9f6b6f055125a297942527272fd7b8e5e5
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Jan 18 09:57:32 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Jan 18 09:57:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef76ca9f

sys-apps/sandbox: disable pch on PaX kernels #572092

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 0f5b642..2270f92 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -7,7 +7,7 @@
 # period.
 #
 
-inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing 
pax-utils
 
 DESCRIPTION="sandbox'd LD_PRELOAD hack"
 HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
@@ -56,6 +56,9 @@ sb_configure() {
 
use multilib && multilib_toolchain_setup ${ABI}
 
+   local myconf=()
+   host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
einfo "Configuring sandbox for ABI=${ABI}..."
ECONF_SOURCE="${S}" \
econf ${myconf} || die



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2016-01-17 Thread Mike Frysinger
commit: 4994c7667bd2d9e54fa79f705a51a9fbd1af5522
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Jan 17 20:09:22 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Jan 17 20:12:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4994c766

sys-apps/sandbox: drop versions <2.6

 sys-apps/sandbox/Manifest  |   4 -
 .../files/sandbox-1.6-disable-pthread.patch|  37 ---
 .../files/sandbox-1.6-disable-qa-static.patch  |  13 ---
 sys-apps/sandbox/sandbox-1.6-r2.ebuild | 104 --
 sys-apps/sandbox/sandbox-2.3-r1.ebuild | 103 --
 sys-apps/sandbox/sandbox-2.4.ebuild| 100 --
 sys-apps/sandbox/sandbox-2.5.ebuild| 117 -
 7 files changed, 478 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 38fb2ea..fa19c3f 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,8 +1,4 @@
-DIST sandbox-1.6.tar.lzma 307014 SHA256 
52cfd286da3d5d51f3b6e012e409e931b21e32b4f2f16ba5677e46328680f4f4 SHA512 
f470599a67443fa107612fef1cc73b64b3146003ae21bb5ae5abd852c4c37aec93ac09be646fda9d55d4c3aeef0cf28a42fa675f2acbb53c1d903e400538ba4c
 WHIRLPOOL 
7c7fbe57cc831d0eb7853476e264a85bb8113620948e761563a872d3d55fd3c0ff063332397199001ea9dcb8258f348b827f337b876b2a26f727f10abbc8f712
 DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 
5d6cffa7317cafeba02af75de9ae914d4365a62b54d3dfcc14cb272e621f2f76a60a945591ccb57dd59d6750152087cb2f21e43ded3ec181d6b42df173147192
-DIST sandbox-2.3.tar.xz 344260 SHA256 
8670f7508453c2fd300ca29ad2eb457691c3df01c4c22fa27d4a7c880fd291d5 SHA512 
06ddaa6dc0822474c263650e95284af6cb69c60c9443b5caaf95af8140283f937d5594849064847fe3a4ad89b29b6ef6d6e909a9b85bb5d7fcf8b427d0e9c7e4
 WHIRLPOOL 
5d3f45a0bbb1aeffb8c83f8978bea65764aa438a5abcb50c66b5f66232d972bde84013694f6806fcc0026cd6d37420c69655d66ec5984a1c6f71a68dcfc95d11
-DIST sandbox-2.4.tar.xz 344664 SHA256 
450599cb3052296d42f81a04dbbda82d220415fc2d16f5dc6e26b042d580fd3e SHA512 
c0f8b789bcabd48e03a20a97c9daa82c48f264d7641ecfa51dff7a2d2c34be398cf1db6235eb0211bf0fa78b07bd6e633e06bc102904bf9dd8a95f9fde1ca615
 WHIRLPOOL 
22f0f55f6e638275781ab5afa29b1a7f5e7f3335a3d2ff37d9fcce0bf9284b271bf1d69b98bcd4b06fdb9ff1528d044f9fb111a58c2a1a5ce33cbe28c0cb869d
-DIST sandbox-2.5.tar.xz 355680 SHA256 
c0e98767fb70750d79591a6d08f81d5c2f13ce783bf94bd90677022e9103878a SHA512 
7b870295bb78c1da5550b650a3983d93e503935a8e8452a29a5c6310cc2c2d569a898ea1534e2c670b4a3e5607504fac55f69da6878e0adc9c2c65a5476b4fb0
 WHIRLPOOL 
887d36638111b09d77674002c07ebad84c24bc4f645d9fb78e180a6c6e7407eb3fb6857877bc152e0cefb676f01df60b20857b8487ce28ff3e4438aef744fe53
 DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
 DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554
 DIST sandbox-2.8.tar.xz 410588 SHA256 
f01dcac27a4641d1898c4a19bf3a0572f8ec85c3ba12e6ede8af36f6bc047165 SHA512 
73a21e72f5825f43ee887efbe73f4ccd8771c7f45438104077aa83448d0a2727ab65be89a7a1a690d3662594df680ca4dc29908763e5abe2a81594b6f8f6ff2e
 WHIRLPOOL 
6c93a0d8737bab4e710f0f20645514c9a5413a2d357a64c2e8b8428567221b949134881e705f979aa374635a278c0b3c646a6cffaf1015024db8f2aab2ec7c74

diff --git a/sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch 
b/sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch
deleted file mode 100644
index 490bc41..000
--- a/sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-http://bugs.gentoo.org/263657
-
-disable pthread locks ... this is how stable has always worked, so there
-wont be any regressions ...
-
-diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
-index 034d0e7..595d17f 100644
 a/libsandbox/libsandbox.c
-+++ b/libsandbox/libsandbox.c
-@@ -814,9 +814,6 @@
-   return result;
- }
- 
--/* Need to protect the global sbcontext structure */
--static pthread_mutex_t sb_syscall_lock = PTHREAD_MUTEX_INITIALIZER;
--
- bool before_syscall(int dirfd, int sb_nr, const char *func, const char *file, 
int flags)
- {
-   int old_errno = errno;
-@@ -843,8 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-01-17 Thread Mike Frysinger
commit: e6aaafe0d428af6516db3a0e2923993aedfde313
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Jan 17 20:07:39 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Jan 17 20:07:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6aaafe0

sys-apps/sandbox: mark 2.10-r1 arm64/ia64/m68k/s390/sh stable #571308

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 6cec3a1..0f5b642 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ~ppc64 s390 sh 
~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-01-15 Thread Agostino Sarubbo
commit: f4df58c94bf3ccc04e896e1dde576d3d0756da88
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan 15 15:23:17 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan 15 15:23:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4df58c9

sys-apps/sandbox: amd64 stable wrt bug #571308

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 2d8c48f..0784e5d 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2016-01-14 Thread Markus Meier
commit: 48ac56979b51e82bc6c26441c1a424cccdd243d7
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Jan 14 21:58:23 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Jan 14 21:58:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ac5697

sys-apps/sandbox: arm stable, bug #571308

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="arm"

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 9df5d29..2d8c48f 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
 IUSE="multilib"
 
 DEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2015-12-19 Thread Mike Frysinger
commit: 33a9bf25d218173400e1115011ed867e84b4bf38
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Dec 19 18:15:05 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Dec 19 18:15:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a9bf25

sys-apps/sandbox: fix memory corruption #568714

 .../files/sandbox-2.10-memory-corruption.patch | 42 ++
 ...{sandbox-2.10.ebuild => sandbox-2.10-r1.ebuild} |  1 +
 2 files changed, 43 insertions(+)

diff --git a/sys-apps/sandbox/files/sandbox-2.10-memory-corruption.patch 
b/sys-apps/sandbox/files/sandbox-2.10-memory-corruption.patch
new file mode 100644
index 000..7dd27c9
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.10-memory-corruption.patch
@@ -0,0 +1,42 @@
+From 529a388ebb1b4e9d6ad8a1bb61dd8211833a5976 Mon Sep 17 00:00:00 2001
+From: Denis Lisov 
+Date: Sat, 19 Dec 2015 19:13:58 +0300
+Subject: [PATCH] libsandbox: fix old_malloc_size check on realloc
+
+Realloc uses SB_MALLOC_TO_SIZE assuming it returns the usable size,
+while it is really the mmap size, which is greater. Thus it may fail
+to reallocate even if required.
+
+URL: https://bugs.gentoo.org/568714
+Signed-off-by: Denis Lisov 
+Signed-off-by: Mike Frysinger 
+---
+ libsandbox/memory.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/libsandbox/memory.c b/libsandbox/memory.c
+index 8581128..a2d69a2 100644
+--- a/libsandbox/memory.c
 b/libsandbox/memory.c
+@@ -40,7 +40,8 @@ static int sb_munmap(void *addr, size_t length)
+ 
+ #define SB_MALLOC_TO_MMAP(ptr) ((void*)((uintptr_t)(ptr) - MIN_ALIGN))
+ #define SB_MMAP_TO_MALLOC(ptr) ((void*)((uintptr_t)(ptr) + MIN_ALIGN))
+-#define SB_MALLOC_TO_SIZE(ptr) (*((size_t*)SB_MALLOC_TO_MMAP(ptr)))
++#define SB_MALLOC_TO_MMAP_SIZE(ptr) (*((size_t*)SB_MALLOC_TO_MMAP(ptr)))
++#define SB_MALLOC_TO_SIZE(ptr) (SB_MALLOC_TO_MMAP_SIZE(ptr) - MIN_ALIGN)
+ 
+ void *malloc(size_t size)
+ {
+@@ -57,7 +58,7 @@ void free(void *ptr)
+ {
+   if (ptr == NULL)
+   return;
+-  if (munmap(SB_MALLOC_TO_MMAP(ptr), SB_MALLOC_TO_SIZE(ptr)))
++  if (munmap(SB_MALLOC_TO_MMAP(ptr), SB_MALLOC_TO_MMAP_SIZE(ptr)))
+   sb_ebort("sandbox memory corruption with free(%p): %s\n",
+   ptr, strerror(errno));
+ }
+-- 
+2.6.2
+

diff --git a/sys-apps/sandbox/sandbox-2.10.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
similarity index 97%
rename from sys-apps/sandbox/sandbox-2.10.ebuild
rename to sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 2550852..9df5d29 100644
--- a/sys-apps/sandbox/sandbox-2.10.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -46,6 +46,7 @@ sb_foreach_abi() {
 src_unpack() {
unpacker
cd "${S}"
+   epatch "${FILESDIR}"/${P}-memory-corruption.patch #568714
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2015-12-18 Thread Mike Frysinger
commit: e7ba2cdaae3c299093bddf4074030d0937c0f4c2
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Dec 19 07:46:12 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Dec 19 07:46:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ba2cda

sys-apps/sandbox: version bump to 2.10

 sys-apps/sandbox/Manifest|   1 +
 sys-apps/sandbox/sandbox-2.10.ebuild | 123 +++
 2 files changed, 124 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index c059ab6..38fb2ea 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,4 +1,5 @@
 DIST sandbox-1.6.tar.lzma 307014 SHA256 
52cfd286da3d5d51f3b6e012e409e931b21e32b4f2f16ba5677e46328680f4f4 SHA512 
f470599a67443fa107612fef1cc73b64b3146003ae21bb5ae5abd852c4c37aec93ac09be646fda9d55d4c3aeef0cf28a42fa675f2acbb53c1d903e400538ba4c
 WHIRLPOOL 
7c7fbe57cc831d0eb7853476e264a85bb8113620948e761563a872d3d55fd3c0ff063332397199001ea9dcb8258f348b827f337b876b2a26f727f10abbc8f712
+DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 
5d6cffa7317cafeba02af75de9ae914d4365a62b54d3dfcc14cb272e621f2f76a60a945591ccb57dd59d6750152087cb2f21e43ded3ec181d6b42df173147192
 DIST sandbox-2.3.tar.xz 344260 SHA256 
8670f7508453c2fd300ca29ad2eb457691c3df01c4c22fa27d4a7c880fd291d5 SHA512 
06ddaa6dc0822474c263650e95284af6cb69c60c9443b5caaf95af8140283f937d5594849064847fe3a4ad89b29b6ef6d6e909a9b85bb5d7fcf8b427d0e9c7e4
 WHIRLPOOL 
5d3f45a0bbb1aeffb8c83f8978bea65764aa438a5abcb50c66b5f66232d972bde84013694f6806fcc0026cd6d37420c69655d66ec5984a1c6f71a68dcfc95d11
 DIST sandbox-2.4.tar.xz 344664 SHA256 
450599cb3052296d42f81a04dbbda82d220415fc2d16f5dc6e26b042d580fd3e SHA512 
c0f8b789bcabd48e03a20a97c9daa82c48f264d7641ecfa51dff7a2d2c34be398cf1db6235eb0211bf0fa78b07bd6e633e06bc102904bf9dd8a95f9fde1ca615
 WHIRLPOOL 
22f0f55f6e638275781ab5afa29b1a7f5e7f3335a3d2ff37d9fcce0bf9284b271bf1d69b98bcd4b06fdb9ff1528d044f9fb111a58c2a1a5ce33cbe28c0cb869d
 DIST sandbox-2.5.tar.xz 355680 SHA256 
c0e98767fb70750d79591a6d08f81d5c2f13ce783bf94bd90677022e9103878a SHA512 
7b870295bb78c1da5550b650a3983d93e503935a8e8452a29a5c6310cc2c2d569a898ea1534e2c670b4a3e5607504fac55f69da6878e0adc9c2c65a5476b4fb0
 WHIRLPOOL 
887d36638111b09d77674002c07ebad84c24bc4f645d9fb78e180a6c6e7407eb3fb6857877bc152e0cefb676f01df60b20857b8487ce28ff3e4438aef744fe53

diff --git a/sys-apps/sandbox/sandbox-2.10.ebuild 
b/sys-apps/sandbox/sandbox-2.10.ebuild
new file mode 100644
index 000..2550852
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.10.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="mirror://gentoo/${P}.tar.xz
+   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="multilib"
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }
+
+sb_foreach_abi() {
+   local OABI=${ABI}
+   for ABI in $(sb_get_install_abis) ; do
+   cd "${WORKDIR}/build-${ABI}"
+   einfo "Running $1 for ABI=${ABI}..."
+   "$@"
+   done
+   ABI=${OABI}
+}
+
+src_unpack() {
+   unpacker
+   cd "${S}"
+   epatch_user
+}
+
+sb_configure() {
+   mkdir "${WORKDIR}/build-${ABI}"
+   cd "${WORKDIR}/build-${ABI}"
+
+   use multilib && multilib_toolchain_setup ${ABI}
+
+   einfo "Configuring sandbox for ABI=${ABI}..."
+   ECONF_SOURCE="${S}" \
+   econf ${myconf} || die
+}
+
+sb_compile() {
+   emake || die
+}
+
+src_compile() {
+   filter-lfs-flags #90228
+
+   # Run configures in parallel!
+   multijob_init
+   local OABI=${ABI}
+   for ABI in $(sb_get_install_abis) ; do
+   multijob_child_init sb_configure
+   done
+   ABI=${OABI}
+   multijob_finish
+
+   sb_foreach_abi sb_compile
+}
+
+sb_test() {
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" || die
+}

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2015-09-27 Thread Mike Frysinger
commit: 97b504c5af27db225ad666fdcb47a0dd9a942674
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Sep 27 06:27:04 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Sep 27 06:27:09 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b504c5

sys-apps/sandbox: version bump

 sys-apps/sandbox/Manifest   |   1 +
 sys-apps/sandbox/sandbox-2.9.ebuild | 123 
 2 files changed, 124 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index e0fd4ea..c059ab6 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -5,3 +5,4 @@ DIST sandbox-2.5.tar.xz 355680 SHA256 
c0e98767fb70750d79591a6d08f81d5c2f13ce783b
 DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
 DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554
 DIST sandbox-2.8.tar.xz 410588 SHA256 
f01dcac27a4641d1898c4a19bf3a0572f8ec85c3ba12e6ede8af36f6bc047165 SHA512 
73a21e72f5825f43ee887efbe73f4ccd8771c7f45438104077aa83448d0a2727ab65be89a7a1a690d3662594df680ca4dc29908763e5abe2a81594b6f8f6ff2e
 WHIRLPOOL 
6c93a0d8737bab4e710f0f20645514c9a5413a2d357a64c2e8b8428567221b949134881e705f979aa374635a278c0b3c646a6cffaf1015024db8f2aab2ec7c74
+DIST sandbox-2.9.tar.xz 415992 SHA256 
ee6e92932c5a30d784548985b69adb357662fadd32d961776f197879ff8230c7 SHA512 
9f9b886c160fa14119c7bc389b2eeb1050b150dccd60f64d809db43a23bc703004cb9ccaa454b970adb5e0616b19c9e9e0e6e52fccf6b16608ab89b3c2c3cee7
 WHIRLPOOL 
aeae0387fe618c2af2945747629991649935f344906017f5b00e1a63496c2cc03ee5b7f078ee1d83897fad3f54793e02be86a6f297b7bbd4af2918b2a8157633

diff --git a/sys-apps/sandbox/sandbox-2.9.ebuild 
b/sys-apps/sandbox/sandbox-2.9.ebuild
new file mode 100644
index 000..2550852
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.9.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="mirror://gentoo/${P}.tar.xz
+   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="multilib"
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }
+
+sb_foreach_abi() {
+   local OABI=${ABI}
+   for ABI in $(sb_get_install_abis) ; do
+   cd "${WORKDIR}/build-${ABI}"
+   einfo "Running $1 for ABI=${ABI}..."
+   "$@"
+   done
+   ABI=${OABI}
+}
+
+src_unpack() {
+   unpacker
+   cd "${S}"
+   epatch_user
+}
+
+sb_configure() {
+   mkdir "${WORKDIR}/build-${ABI}"
+   cd "${WORKDIR}/build-${ABI}"
+
+   use multilib && multilib_toolchain_setup ${ABI}
+
+   einfo "Configuring sandbox for ABI=${ABI}..."
+   ECONF_SOURCE="${S}" \
+   econf ${myconf} || die
+}
+
+sb_compile() {
+   emake || die
+}
+
+src_compile() {
+   filter-lfs-flags #90228
+
+   # Run configures in parallel!
+   multijob_init
+   local OABI=${ABI}
+   for ABI in $(sb_get_install_abis) ; do
+   multijob_child_init sb_configure
+   done
+   ABI=${OABI}
+   multijob_finish
+
+   sb_foreach_abi sb_compile
+}
+
+sb_test() {
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" || die
+}
+
+src_test() {
+   sb_foreach_abi sb_test
+}
+
+sb_install() {
+   emake DESTDIR="${D}" install || die
+   insinto /etc/sandbox.d #333131
+   doins etc/sandbox.d/00default || die
+}
+
+src_install() {
+   sb_foreach_abi sb_install
+
+   doenvd "${FILESDIR}"/09sandbox
+
+   keepdir 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2015-09-20 Thread Mike Frysinger
commit: 822e317acd15429c57cf09cf448b1ce99cf33147
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Sep 20 08:12:48 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Sep 20 08:48:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822e317a

sys-apps/sandbox: version bump

 sys-apps/sandbox/Manifest  |   1 +
 .../sandbox/files/sandbox-2.8-write-ptmx.patch |  34 ++
 sys-apps/sandbox/sandbox-2.8.ebuild| 124 +
 3 files changed, 159 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 42c825a..e0fd4ea 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -4,3 +4,4 @@ DIST sandbox-2.4.tar.xz 344664 SHA256 
450599cb3052296d42f81a04dbbda82d220415fc2d
 DIST sandbox-2.5.tar.xz 355680 SHA256 
c0e98767fb70750d79591a6d08f81d5c2f13ce783bf94bd90677022e9103878a SHA512 
7b870295bb78c1da5550b650a3983d93e503935a8e8452a29a5c6310cc2c2d569a898ea1534e2c670b4a3e5607504fac55f69da6878e0adc9c2c65a5476b4fb0
 WHIRLPOOL 
887d36638111b09d77674002c07ebad84c24bc4f645d9fb78e180a6c6e7407eb3fb6857877bc152e0cefb676f01df60b20857b8487ce28ff3e4438aef744fe53
 DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
 DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554
+DIST sandbox-2.8.tar.xz 410588 SHA256 
f01dcac27a4641d1898c4a19bf3a0572f8ec85c3ba12e6ede8af36f6bc047165 SHA512 
73a21e72f5825f43ee887efbe73f4ccd8771c7f45438104077aa83448d0a2727ab65be89a7a1a690d3662594df680ca4dc29908763e5abe2a81594b6f8f6ff2e
 WHIRLPOOL 
6c93a0d8737bab4e710f0f20645514c9a5413a2d357a64c2e8b8428567221b949134881e705f979aa374635a278c0b3c646a6cffaf1015024db8f2aab2ec7c74

diff --git a/sys-apps/sandbox/files/sandbox-2.8-write-ptmx.patch 
b/sys-apps/sandbox/files/sandbox-2.8-write-ptmx.patch
new file mode 100644
index 000..d22f53b
--- /dev/null
+++ b/sys-apps/sandbox/files/sandbox-2.8-write-ptmx.patch
@@ -0,0 +1,34 @@
+From 6b9b505f4a7716a50ff9e63c85f2c4882987a732 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sun, 20 Sep 2015 04:40:39 -0400
+Subject: [PATCH] sandbox.conf: allow writing to /dev/ptmx
+
+We implicitly permit write access to this node by not catching functions
+like openpty and posix_openpt, but when projects try to access the node
+directly (due to legacy/fallback logic), the sandbox would reject them.
+Make access to the node explicit since it's generally harmless.
+
+URL: https://bugs.gentoo.org/413327
+URL: https://bugs.gentoo.org/550650
+URL: https://bugs.gentoo.org/550670
+Signed-off-by: Mike Frysinger 
+---
+ etc/sandbox.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/etc/sandbox.conf b/etc/sandbox.conf
+index dc460f0..1d7655c 100644
+--- a/etc/sandbox.conf
 b/etc/sandbox.conf
+@@ -64,7 +64,7 @@ SANDBOX_WRITE="/dev/zero:/dev/null:/dev/full"
+ # Console device nodes
+ SANDBOX_WRITE="/dev/console:/dev/tty:/dev/vc/:/dev/pty:/dev/tts"
+ # Device filesystems
+-SANDBOX_WRITE="/dev/pts/:/dev/shm"
++SANDBOX_WRITE="/dev/ptmx:/dev/pts/:/dev/shm"
+ # Tempory storage
+ SANDBOX_WRITE="/tmp/:/var/tmp/"
+ # Needed for shells
+-- 
+2.5.2
+

diff --git a/sys-apps/sandbox/sandbox-2.8.ebuild 
b/sys-apps/sandbox/sandbox-2.8.ebuild
new file mode 100644
index 000..4f3de07
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.8.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="mirror://gentoo/${P}.tar.xz
+   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="multilib"
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/

2015-09-11 Thread Mike Frysinger
commit: bfeb95533791b0e5f0c81db29605f205151ad9e1
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Sep 11 07:19:56 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Sep 11 17:07:40 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfeb9553

sys-apps/sandbox: version bump to 2.7

 sys-apps/sandbox/Manifest   |   1 +
 sys-apps/sandbox/sandbox-2.7.ebuild | 123 
 2 files changed, 124 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 42aa4b1..42c825a 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -3,3 +3,4 @@ DIST sandbox-2.3.tar.xz 344260 SHA256 
8670f7508453c2fd300ca29ad2eb457691c3df01c4
 DIST sandbox-2.4.tar.xz 344664 SHA256 
450599cb3052296d42f81a04dbbda82d220415fc2d16f5dc6e26b042d580fd3e SHA512 
c0f8b789bcabd48e03a20a97c9daa82c48f264d7641ecfa51dff7a2d2c34be398cf1db6235eb0211bf0fa78b07bd6e633e06bc102904bf9dd8a95f9fde1ca615
 WHIRLPOOL 
22f0f55f6e638275781ab5afa29b1a7f5e7f3335a3d2ff37d9fcce0bf9284b271bf1d69b98bcd4b06fdb9ff1528d044f9fb111a58c2a1a5ce33cbe28c0cb869d
 DIST sandbox-2.5.tar.xz 355680 SHA256 
c0e98767fb70750d79591a6d08f81d5c2f13ce783bf94bd90677022e9103878a SHA512 
7b870295bb78c1da5550b650a3983d93e503935a8e8452a29a5c6310cc2c2d569a898ea1534e2c670b4a3e5607504fac55f69da6878e0adc9c2c65a5476b4fb0
 WHIRLPOOL 
887d36638111b09d77674002c07ebad84c24bc4f645d9fb78e180a6c6e7407eb3fb6857877bc152e0cefb676f01df60b20857b8487ce28ff3e4438aef744fe53
 DIST sandbox-2.6.tar.xz 366356 SHA256 
95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 
32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371
 WHIRLPOOL 
bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
+DIST sandbox-2.7.tar.xz 390304 SHA256 
d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 
81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a
 WHIRLPOOL 
ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554

diff --git a/sys-apps/sandbox/sandbox-2.7.ebuild 
b/sys-apps/sandbox/sandbox-2.7.ebuild
new file mode 100644
index 000..2550852
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.7.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="mirror://gentoo/${P}.tar.xz
+   https://dev.gentoo.org/~vapier/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="multilib"
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"
+   ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+sb_get_install_abis() { use multilib && get_install_abis || echo 
${ABI:-default} ; }
+
+sb_foreach_abi() {
+   local OABI=${ABI}
+   for ABI in $(sb_get_install_abis) ; do
+   cd "${WORKDIR}/build-${ABI}"
+   einfo "Running $1 for ABI=${ABI}..."
+   "$@"
+   done
+   ABI=${OABI}
+}
+
+src_unpack() {
+   unpacker
+   cd "${S}"
+   epatch_user
+}
+
+sb_configure() {
+   mkdir "${WORKDIR}/build-${ABI}"
+   cd "${WORKDIR}/build-${ABI}"
+
+   use multilib && multilib_toolchain_setup ${ABI}
+
+   einfo "Configuring sandbox for ABI=${ABI}..."
+   ECONF_SOURCE="${S}" \
+   econf ${myconf} || die
+}
+
+sb_compile() {
+   emake || die
+}
+
+src_compile() {
+   filter-lfs-flags #90228
+
+   # Run configures in parallel!
+   multijob_init
+   local OABI=${ABI}
+   for ABI in $(sb_get_install_abis) ; do
+   multijob_child_init sb_configure
+   done
+   ABI=${OABI}
+   multijob_finish
+
+   sb_foreach_abi sb_compile
+}
+
+sb_test() {
+   emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" || die
+}
+
+src_test() {
+   sb_foreach_abi sb_test
+}
+
+sb_install() {
+   emake DESTDIR="${D}" install || die
+   insinto /etc/sandbox.d #333131
+   doins etc/sandbox.d/00default || die
+}
+
+src_install() {
+   sb_foreach_abi sb_install
+
+   doenvd "${FILESDIR}"/09sandbox
+
+