From: Mike Frysinger Date: Fri, 17 Feb 2006 12:29:44 +0000 (+0000) Subject: Make sure $WORKDIR is go-w before giving everyone read access #122951 by Joshua Pettett. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eae684b29bff8cbe738df263c5356a6ff21fa6c3;p=gentoo.git Make sure $WORKDIR is go-w before giving everyone read access #122951 by Joshua Pettett. Package-Manager: portage-2.1_pre4-r1 --- diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog index 4d9e7e661272..1db832e55731 100644 --- a/sys-apps/coreutils/ChangeLog +++ b/sys-apps/coreutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/coreutils # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.155 2006/02/17 02:34:44 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.156 2006/02/17 12:29:43 vapier Exp $ + + 17 Feb 2006; Mike Frysinger coreutils-5.2.1-r6.ebuild, + coreutils-5.2.1-r7.ebuild, coreutils-5.3.0-r1.ebuild, + coreutils-5.3.0-r2.ebuild, coreutils-5.93.ebuild, coreutils-5.94.ebuild: + Make sure $WORKDIR is go-w before giving everyone read access #122951 by + Joshua Pettett. 17 Feb 2006; Chris PeBenito coreutils-5.94.ebuild: Fix up SELinux patch. diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index d8bade3ce290..fcc1f5397c36 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -1,30 +1,30 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 8ae80855b90e8043b51129f3b406dee0 ChangeLog 24509 -RMD160 8192e06dc6f9f3c441c73a88c23dcc2e2a923f7a ChangeLog 24509 -SHA256 f63cc5ca99aeb2d6efd2507e8073497b709e4ae556ae03514b72cad989083224 ChangeLog 24509 +MD5 158a9f3398e8b2dd59445fb55bb2c3b9 ChangeLog 24809 +RMD160 3f5330a6b1ff5a433fc2e9223f061ebd33f55b80 ChangeLog 24809 +SHA256 26a8069f286952280c40627112e0d3416c8af764b12335dfecab7b4fc3ad67d2 ChangeLog 24809 MD5 dad6f5e5b11fa505d937744875049b5e coreutils-5.2.1-r2.ebuild 4175 RMD160 77c1bfb9a9d7f350e9e7e45912cd82ecaf0b5bb8 coreutils-5.2.1-r2.ebuild 4175 SHA256 72bf74d298bca540f400dd244890f3f9efea008c92002689be054f95be8e9207 coreutils-5.2.1-r2.ebuild 4175 -MD5 d42fe8eb18b6bc0ce5b32a565bbfc5b2 coreutils-5.2.1-r6.ebuild 4579 -RMD160 a8d78183374fc885f45a7006d86e8ef9e091537c coreutils-5.2.1-r6.ebuild 4579 -SHA256 d336740848ef6f2d865199cc87c57ba4008bf1f792cb3198808c4e8a956fa319 coreutils-5.2.1-r6.ebuild 4579 -MD5 67ef8df08f5bab6e3c86526a0446ef33 coreutils-5.2.1-r7.ebuild 4572 -RMD160 b151f588c73ec3349606d2c9c96fa7bb29936190 coreutils-5.2.1-r7.ebuild 4572 -SHA256 03b5aab48a5978cef34532555336787f20705f2358a78a3609fcf9f0501b5730 coreutils-5.2.1-r7.ebuild 4572 -MD5 f0af52a774fe8a60ba4cdaf3723bb50d coreutils-5.3.0-r1.ebuild 4167 -RMD160 d15dea667704f7f56ab8250122b63b1350ec36ee coreutils-5.3.0-r1.ebuild 4167 -SHA256 8bd3cb8219d81e81180c3d1813d735c8e6d3ee5509d745c464fef38d696e4337 coreutils-5.3.0-r1.ebuild 4167 -MD5 43feef270ef1300e884e59b565fc356f coreutils-5.3.0-r2.ebuild 4269 -RMD160 a72cb524ba3fd4b4ef41c924f9ee2f4c36b87b1c coreutils-5.3.0-r2.ebuild 4269 -SHA256 8192888c3785249e72608112c6dff5e23c5b13d459eba0cd8c61cf5f63ac53dd coreutils-5.3.0-r2.ebuild 4269 -MD5 170f668881feae755c95ba306dcf4699 coreutils-5.93.ebuild 4257 -RMD160 765d4341b0f15e7341684792460ffb3b63584866 coreutils-5.93.ebuild 4257 -SHA256 f2d6666b3042905ab0be166b94b35752ec8a114bc26d26cc9039977a46f2e9e7 coreutils-5.93.ebuild 4257 -MD5 ebd86128e172e094b0c5221af9ff5201 coreutils-5.94.ebuild 4183 -RMD160 4474ee090a0ff104b867c0ec426925581d699592 coreutils-5.94.ebuild 4183 -SHA256 a22f0778e1a32c616b3c7b1a361a55cc11d7cf19b44da5b0de373877131dd99a coreutils-5.94.ebuild 4183 +MD5 d14a36d168b9c1ee698c54ada9ed3e27 coreutils-5.2.1-r6.ebuild 4607 +RMD160 e7ed7a3280b2691888ba033c0db58a4351e6c7cd coreutils-5.2.1-r6.ebuild 4607 +SHA256 08a60bb02ea1b4d206ad2083b192ebe8b196259357cf964f26a6ef563a893f6b coreutils-5.2.1-r6.ebuild 4607 +MD5 62a8961741a00d0c2f21edcc66ce68c5 coreutils-5.2.1-r7.ebuild 4601 +RMD160 6122837d159f7eda321ba547d7e6f4e461c456ac coreutils-5.2.1-r7.ebuild 4601 +SHA256 b701db720b631ac35228588a0c4715ac56063e738ca7f8538313e50b051a6787 coreutils-5.2.1-r7.ebuild 4601 +MD5 0749e4e5d2bf4800769f504e24f33427 coreutils-5.3.0-r1.ebuild 4195 +RMD160 5a9bbaf3db53449aba6c4fdb4a2539fe11991444 coreutils-5.3.0-r1.ebuild 4195 +SHA256 6cc23ae0e7026356d53c4d09b7e6811ca0fcb9579a5f3ce2827e1f789a1b6bd4 coreutils-5.3.0-r1.ebuild 4195 +MD5 1bc0abc0240008e18c239b0b21d86ef5 coreutils-5.3.0-r2.ebuild 4297 +RMD160 b4609ee6eabc3b31168946d7b498c63b551768e8 coreutils-5.3.0-r2.ebuild 4297 +SHA256 e88b94b02b3ee72a6b907f33009e26fa146ad2c49d593e63a88d044747bea164 coreutils-5.3.0-r2.ebuild 4297 +MD5 41620938834ae1f7a0a74e804746e7ea coreutils-5.93.ebuild 4285 +RMD160 1ef12244a4959fd8b496adfaaaceb7ee5f661d06 coreutils-5.93.ebuild 4285 +SHA256 db3e99552bb66d410abfe3162d6a61ac385fed75029b2441d3cf9f8bccb081f8 coreutils-5.93.ebuild 4285 +MD5 3d1fe2b291d21db2d467ad831914460b coreutils-5.94.ebuild 4209 +RMD160 005e914bad8fa394b75858723efe93c4758848bd coreutils-5.94.ebuild 4209 +SHA256 67cee214d1c6eb9e0a491c38537824386f83d1bbbcad0bfbb1be421c809257ca coreutils-5.94.ebuild 4209 MD5 8c4e2e82c0b5e6fc4088d1bc496681b4 files/DIR_COLORS 3593 RMD160 677f738160a23ee81b8a3c93d28939c26768a0d2 files/DIR_COLORS 3593 SHA256 4fd0221c327865ee050fce4e65e74868f5797fb187f2a789d135e6bc241dd748 files/DIR_COLORS 3593 @@ -55,7 +55,7 @@ SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFD9UwnJ+ChZlpDtAoRAnx7AJ9+2gDGDtsxmbD9dI4n5OXimRNRAwCfcVDd -iFJbG7biojW32mu89xOFoKs= -=hdLh +iD8DBQFD9cHF2+ySkm8kpY0RAqDeAKCl9nsombnh9ebbKqLBFXg9lJcgcwCfbSlS +C08PZrytPVVjSOlWbAl4Yyc= +=yYe/ -----END PGP SIGNATURE----- diff --git a/sys-apps/coreutils/coreutils-5.2.1-r6.ebuild b/sys-apps/coreutils/coreutils-5.2.1-r6.ebuild index be0636c800db..a3b3b8ffa158 100644 --- a/sys-apps/coreutils/coreutils-5.2.1-r6.ebuild +++ b/sys-apps/coreutils/coreutils-5.2.1-r6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.2.1-r6.ebuild,v 1.17 2005/10/29 09:41:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.2.1-r6.ebuild,v 1.18 2006/02/17 12:29:44 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -109,6 +109,7 @@ src_compile() { src_test() { # Non-root tests will fail if the full path isnt # accessible to non-root users + chmod -R go-w "${WORKDIR}" chmod a+rx "${WORKDIR}" addwrite /dev/full export RUN_EXPENSIVE_TESTS="yes" diff --git a/sys-apps/coreutils/coreutils-5.2.1-r7.ebuild b/sys-apps/coreutils/coreutils-5.2.1-r7.ebuild index f5eb3d4b87c4..fbf33b95cdc4 100644 --- a/sys-apps/coreutils/coreutils-5.2.1-r7.ebuild +++ b/sys-apps/coreutils/coreutils-5.2.1-r7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.2.1-r7.ebuild,v 1.11 2006/02/09 06:24:47 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.2.1-r7.ebuild,v 1.12 2006/02/17 12:29:44 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -103,6 +103,7 @@ src_compile() { src_test() { # Non-root tests will fail if the full path isnt # accessible to non-root users + chmod -R go-w "${WORKDIR}" chmod a+rx "${WORKDIR}" addwrite /dev/full export RUN_EXPENSIVE_TESTS="yes" diff --git a/sys-apps/coreutils/coreutils-5.3.0-r1.ebuild b/sys-apps/coreutils/coreutils-5.3.0-r1.ebuild index 1ce1f1871701..9f9a31e6335c 100644 --- a/sys-apps/coreutils/coreutils-5.3.0-r1.ebuild +++ b/sys-apps/coreutils/coreutils-5.3.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.3.0-r1.ebuild,v 1.5 2005/10/29 09:41:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.3.0-r1.ebuild,v 1.6 2006/02/17 12:29:44 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -93,6 +93,7 @@ src_compile() { src_test() { # Non-root tests will fail if the full path isnt # accessible to non-root users + chmod -R go-w "${WORKDIR}" chmod a+rx "${WORKDIR}" addwrite /dev/full export RUN_EXPENSIVE_TESTS="yes" diff --git a/sys-apps/coreutils/coreutils-5.3.0-r2.ebuild b/sys-apps/coreutils/coreutils-5.3.0-r2.ebuild index 0070005a0fe4..c262a28d4541 100644 --- a/sys-apps/coreutils/coreutils-5.3.0-r2.ebuild +++ b/sys-apps/coreutils/coreutils-5.3.0-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.3.0-r2.ebuild,v 1.3 2006/01/11 04:29:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.3.0-r2.ebuild,v 1.4 2006/02/17 12:29:44 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -95,6 +95,7 @@ src_compile() { src_test() { # Non-root tests will fail if the full path isnt # accessible to non-root users + chmod -R go-w "${WORKDIR}" chmod a+rx "${WORKDIR}" addwrite /dev/full export RUN_EXPENSIVE_TESTS="yes" diff --git a/sys-apps/coreutils/coreutils-5.93.ebuild b/sys-apps/coreutils/coreutils-5.93.ebuild index 3e2042bca295..1b01e6c27550 100644 --- a/sys-apps/coreutils/coreutils-5.93.ebuild +++ b/sys-apps/coreutils/coreutils-5.93.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.93.ebuild,v 1.3 2006/01/29 09:17:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.93.ebuild,v 1.4 2006/02/17 12:29:44 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -95,6 +95,7 @@ src_compile() { src_test() { # Non-root tests will fail if the full path isnt # accessible to non-root users + chmod -R go-w "${WORKDIR}" chmod a+rx "${WORKDIR}" addwrite /dev/full export RUN_EXPENSIVE_TESTS="yes" diff --git a/sys-apps/coreutils/coreutils-5.94.ebuild b/sys-apps/coreutils/coreutils-5.94.ebuild index 27476b6846ab..e13fc77a6813 100644 --- a/sys-apps/coreutils/coreutils-5.94.ebuild +++ b/sys-apps/coreutils/coreutils-5.94.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.94.ebuild,v 1.2 2006/02/17 02:34:44 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.94.ebuild,v 1.3 2006/02/17 12:29:44 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -94,6 +94,7 @@ src_compile() { src_test() { # Non-root tests will fail if the full path isnt # accessible to non-root users + chmod -R go-w "${WORKDIR}" chmod a+rx "${WORKDIR}" addwrite /dev/full export RUN_EXPENSIVE_TESTS="yes"