From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DuMIf-0005qK-TO for garchives@archives.gentoo.org; Mon, 18 Jul 2005 03:28:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6I3QuCx028361; Mon, 18 Jul 2005 03:26:56 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6I3QtUP008236 for ; Mon, 18 Jul 2005 03:26:56 GMT Received: from p061204002040.ppp.prin.ne.jp ([61.204.2.40] helo=opteron246.suzuki-stubbs.home) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DuMI5-0004Eu-32 for gentoo-portage-dev@lists.gentoo.org; Mon, 18 Jul 2005 03:27:39 +0000 Received: by opteron246.suzuki-stubbs.home (Postfix, from userid 1000) id 31253100A8E; Mon, 18 Jul 2005 12:27:49 +0900 (JST) From: Jason Stubbs To: gentoo-portage-dev@lists.gentoo.org Subject: [gentoo-portage-dev] CLEANUP: Replace separation of root and wheel based on USERLAND with gid 0 Date: Mon, 18 Jul 2005 12:27:45 +0900 User-Agent: KMail/1.8.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1871104.cdHUCknyYa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507181227.49008.jstubbs@gentoo.org> X-Archives-Salt: 2cdd4a65-72d4-4d23-8386-eba20f04ee21 X-Archives-Hash: 712e0688fb24a45540f1b3b196664b68 --nextPart1871104.cdHUCknyYa Content-Type: multipart/mixed; boundary="Boundary-01=_xGy2CZz5YPZuaEh" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_xGy2CZz5YPZuaEh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Author: Jason Stubbs The permissions modifying code of ebuild.sh sets files to have group=20 wheel on BSD and Darwin and group root on other systems. The=20 intention is that the group have gid 0 on all systems. This code=20 removes the if block and uses the numerical identifier. =2D-=20 Jason Stubbs --Boundary-01=_xGy2CZz5YPZuaEh Content-Type: text/x-diff; charset="us-ascii"; name="unify_wheel_root.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="unify_wheel_root.patch" diff -uNr portage-stable/bin/ebuild.sh portage-fixed/bin/ebuild.sh --- portage-stable/bin/ebuild.sh 2005-05-15 19:20:58.000000000 +0900 +++ portage-fixed/bin/ebuild.sh 2005-07-18 11:20:55.452602608 +0900 @@ -1087,11 +1087,7 @@ find "${D}/" -group portage | while read file; do count=$(( $count + 1 )) s=$(stat_perms "$file") - if [ "$USERLAND" == "BSD" ] || [ "$USERLAND" == "Darwin" ];then - chgrp wheel "$file" - else - chgrp root "$file" - fi + chgrp 0 "$file" chmod "$s" "$file" done if (( $count > 0 )); then --Boundary-01=_xGy2CZz5YPZuaEh-- --nextPart1871104.cdHUCknyYa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBC2yG0xvWNPsk/ZP4RAhENAJ9T+vw4+w/z2rCCc3K+efT8GjOuSQCgsg5V hgFFGCkXQO1ipBZxjkDPRnk= =3ZGQ -----END PGP SIGNATURE----- --nextPart1871104.cdHUCknyYa-- -- gentoo-portage-dev@gentoo.org mailing list