Fix from Petteri Räty for exporting variables with spaces in their values #142886.
authorMike Frysinger <vapier@gentoo.org>
Sun, 6 Aug 2006 18:50:48 +0000 (18:50 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 6 Aug 2006 18:50:48 +0000 (18:50 +0000)
Package-Manager: portage-2.1.1_pre4

app-shells/sandboxshell/ChangeLog
app-shells/sandboxshell/Manifest
app-shells/sandboxshell/files/digest-sandboxshell-0.3-r1 [new file with mode: 0644]
app-shells/sandboxshell/files/sandboxshell.conf
app-shells/sandboxshell/sandboxshell-0.3-r1.ebuild [new file with mode: 0644]

index fd6f6bc804d6aa40887f1fab0c0379b62ddc3b11..1131c905611bcce6621a68341e5a6b161265e7b7 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-shells/sandboxshell
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/ChangeLog,v 1.8 2005/12/10 20:25:56 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/ChangeLog,v 1.9 2006/08/06 18:50:48 vapier Exp $
+
+*sandboxshell-0.3-r1 (06 Aug 2006)
+
+  06 Aug 2006; Mike Frysinger <vapier@gentoo.org> files/sandboxshell.conf,
+  +sandboxshell-0.3-r1.ebuild:
+  Fix from Petteri Räty for exporting variables with spaces in their values
+  #142886.
 
 *sandboxshell-0.3 (10 Dec 2005)
 
index 426933b1db1bdf4dca51fc8172404566aa28ad19..4a6df3dcf5e26b5e7c340656fef21937ba53bc81 100644 (file)
@@ -1,17 +1,37 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 736d6e69656d6d0efd37db81203a6bfa ChangeLog 1444
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sandboxshell-0.3 0
+AUX sandboxshell 1331 RMD160 8a798de0a1b88a4289630e83332acac60349eeb7 SHA1 0a9f55b002f8562980b78ef5c4194352c0432af7 SHA256 fd7c9a0506d33eaed9f22598161b380c0656c21e797a4b0057619727755292ff
 MD5 0267cb95e99d6f7e5e9287e25c87fa16 files/sandboxshell 1331
+RMD160 8a798de0a1b88a4289630e83332acac60349eeb7 files/sandboxshell 1331
+SHA256 fd7c9a0506d33eaed9f22598161b380c0656c21e797a4b0057619727755292ff files/sandboxshell 1331
+AUX sandboxshell.1 3117 RMD160 ed079e1bb73a5ca1e93e0d7b5bae6f49f6463000 SHA1 5c90cd2c8998f6b0249aad776830b75d350b59bc SHA256 a284e3c5d4e355e4caf41bb614cc83f8cb5a3e13b730a8b0812d2cd84f1fb7aa
 MD5 89728cab133398dad145e13d92fff6b2 files/sandboxshell.1 3117
-MD5 2507315f5bac2f69f7da8ccb5378ef8c files/sandboxshell.conf 2147
+RMD160 ed079e1bb73a5ca1e93e0d7b5bae6f49f6463000 files/sandboxshell.1 3117
+SHA256 a284e3c5d4e355e4caf41bb614cc83f8cb5a3e13b730a8b0812d2cd84f1fb7aa files/sandboxshell.1 3117
+AUX sandboxshell.conf 2149 RMD160 af41d6dc59b27ccb7f534d75913b09b09b3e12e1 SHA1 965b27b63846b8d56be3bfa3e5a50f4a60ce104f SHA256 15c3daca02b454526b58c26be56e22cd7dbd5dc6c7bec41f98438774a7025eb3
+MD5 87def640f68dce4afd513c4f95d72859 files/sandboxshell.conf 2149
+RMD160 af41d6dc59b27ccb7f534d75913b09b09b3e12e1 files/sandboxshell.conf 2149
+SHA256 15c3daca02b454526b58c26be56e22cd7dbd5dc6c7bec41f98438774a7025eb3 files/sandboxshell.conf 2149
+EBUILD sandboxshell-0.3-r1.ebuild 675 RMD160 b1eb6d6d885c02c4c1ed9877403496f510604026 SHA1 da615a69588841340943ff7a40488dea795f40a2 SHA256 db86b82133305f240d96131399b4392a1f8370f40f3b3c9b83c1da5c5eb9eb55
+MD5 357203b81bf51dfa93ad69853c2847b9 sandboxshell-0.3-r1.ebuild 675
+RMD160 b1eb6d6d885c02c4c1ed9877403496f510604026 sandboxshell-0.3-r1.ebuild 675
+SHA256 db86b82133305f240d96131399b4392a1f8370f40f3b3c9b83c1da5c5eb9eb55 sandboxshell-0.3-r1.ebuild 675
+MISC ChangeLog 1675 RMD160 024d27b9ee9c0e53661a64958a95634fecc85e46 SHA1 dd0a6b32821ee27d4d3f035b80681391a560144c SHA256 42d22d57abf385a2609bc116015b744a4cbd44ebc2f3a48132682a8340d73b7e
+MD5 f9603f0be7780507b6efcbf53d0808c0 ChangeLog 1675
+RMD160 024d27b9ee9c0e53661a64958a95634fecc85e46 ChangeLog 1675
+SHA256 42d22d57abf385a2609bc116015b744a4cbd44ebc2f3a48132682a8340d73b7e ChangeLog 1675
+MISC metadata.xml 221 RMD160 2699c0059639536eb7befa077a27e437569a26ba SHA1 4bef3741184af2e2d984fec094cd0ab39ae2e624 SHA256 1d72b91d3ef79fdff0049c23a645d8595a5fb72ea7e5d5b6fa43cfc18e9a4627
 MD5 1fb0cef8c20e31d8fee121ebb2205588 metadata.xml 221
-MD5 a51805b5e0a5129faa3a3a9ce948254a sandboxshell-0.3.ebuild 672
+RMD160 2699c0059639536eb7befa077a27e437569a26ba metadata.xml 221
+SHA256 1d72b91d3ef79fdff0049c23a645d8595a5fb72ea7e5d5b6fa43cfc18e9a4627 metadata.xml 221
+MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-sandboxshell-0.3-r1 1
+RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-sandboxshell-0.3-r1 1
+SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-sandboxshell-0.3-r1 1
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.4 (GNU/Linux)
 
-iD8DBQFDtnKr2+ySkm8kpY0RAjnRAJ9DfnrHg8rH89AbtU8zPooZlwkHxACfWJsY
-75h903+rMNptNrXuXeYIyvM=
-=lew5
+iD8DBQFE1joSamhnQswr0vIRAtArAJ4jl2nSswAqJqVK8MmPsCOzy5MKCQCfd5We
+7KEBRFRz81ZTvC2TEhf8Npc=
+=SJVK
 -----END PGP SIGNATURE-----
diff --git a/app-shells/sandboxshell/files/digest-sandboxshell-0.3-r1 b/app-shells/sandboxshell/files/digest-sandboxshell-0.3-r1
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
index 3ed6daafc2c7b2414e9e42d9ccf5ed6a15100d80..50dda19c974a3f462d54b642912a00f6521e8e19 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Written by vapier@gentoo.org
 # public-domain code ... z0r ...
-# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/files/sandboxshell.conf,v 1.7 2005/12/10 20:25:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/files/sandboxshell.conf,v 1.8 2006/08/06 18:50:48 vapier Exp $
 
 trap ":" INT QUIT TSTP
 
@@ -32,7 +32,7 @@ if [[ ${PWD:0:${#sbs_pdir}} == "${sbs_pdir}" ]] ; then
                sbs_PREPWD=${PWD}
                if [[ ${env} == "y" ]] ; then
                        # First try to source variables and export them ...
-                       eval $(sed -e '/^[[:alnum:]_-]*=/s:^:export :' -e '/^[[:alnum:]_-]* ()/Q' "${sbs_tmpenvfile}") 2>/dev/null
+                       eval "$(sed -e '/^[[:alnum:]_-]*=/s:^:export :' -e '/^[[:alnum:]_-]* ()/Q' "${sbs_tmpenvfile}")" 2>/dev/null
                        # Then grab everything (including functions)
                        source "${sbs_tmpenvfile}" 2> /dev/null
                        export SANDBOX_WRITE=${SANDBOX_WRITE}:${sbs_pdir}${sbs_bdir}:${sbs_pdir}/homedir
diff --git a/app-shells/sandboxshell/sandboxshell-0.3-r1.ebuild b/app-shells/sandboxshell/sandboxshell-0.3-r1.ebuild
new file mode 100644 (file)
index 0000000..02d3803
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/sandboxshell-0.3-r1.ebuild,v 1.1 2006/08/06 18:50:48 vapier Exp $
+
+DESCRIPTION="launch a sandboxed shell ... useful for debugging ebuilds"
+HOMEPAGE="http://wh0rd.org/"
+SRC_URI=""
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sys-apps/portage
+       app-shells/bash"
+
+S=${WORKDIR}
+
+src_install() {
+       dobin "${FILESDIR}"/sandboxshell || die
+       doman "${FILESDIR}"/sandboxshell.1
+       insinto /etc
+       doins "${FILESDIR}"/sandboxshell.conf
+}