From: Seemant Kulleen Date: Wed, 7 Jun 2006 13:13:23 +0000 (+0000) Subject: support ROOT at SpankY's request X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=592ff6ababc6741c7b410551d925a85778ddf334;p=gentoo.git support ROOT at SpankY's request Package-Manager: portage-2.1_rc4-r3 --- diff --git a/sys-libs/libutempter/ChangeLog b/sys-libs/libutempter/ChangeLog index 63a7601e81f1..ec64c64a2a11 100644 --- a/sys-libs/libutempter/ChangeLog +++ b/sys-libs/libutempter/ChangeLog @@ -1,11 +1,15 @@ # ChangeLog for sys-libs/libutempter # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.10 2006/06/07 12:03:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.11 2006/06/07 13:13:23 seemant Exp $ 07 Jun 2006; Diego Pettenò libutempter-1.1.4.1.ebuild: Re-add ~x86-fbsd keyword after adding linking with -lutil on FreeBSD. + 07 Jun 2006; Seemant Kulleen + libutempter-1.1.2.1.ebuild, libutempter-1.1.4.1.ebuild: + support ROOT at SpankY's request + 24 May 2006; Diego Pettenò libutempter-1.1.2.1.ebuild: Use the right compiler so that cross-distcc does not fail. diff --git a/sys-libs/libutempter/Manifest b/sys-libs/libutempter/Manifest index 1afeaaad252d..b95982e9a7e8 100644 --- a/sys-libs/libutempter/Manifest +++ b/sys-libs/libutempter/Manifest @@ -1,21 +1,18 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST libutempter-1.1.2-alt1.src.rpm 20125 RMD160 084e82c6a7f8b08f35534e5e8dc3e766cc88a098 SHA1 eb4c425ad736564d429f0d90bc9effdefd8b45f0 SHA256 918e4b02fe0fb6cf31d3de1c9867e1df0935ee6a5d011d26192db6f1d89a93f6 DIST libutempter-1.1.4-alt1.src.rpm 22109 RMD160 c93eba3195887e246ff0906b1613d7e2b3a7b4f6 SHA1 741c346c047651b84476bb39f264f0fc10e1b2e8 SHA256 a3f5cbad47665305e335424a6fbfefb702b58ab5592e4069c75040dde6a7b320 DIST libutempter-patches-1.tar.bz2 1968 RMD160 bb64e7d1b28c0fe235e61a9a79a554af8ca4b9fe SHA1 cf47ad2390d86cbe38b0de9a6055a437a9996793 SHA256 3acea214f5773f3cc842c1e1b716e6f1808edc9a8cdfa60cb4909b9eac17795c -EBUILD libutempter-1.1.2.1.ebuild 1927 RMD160 7a28d62f265ddd80739b319422ab0516c5e53404 SHA1 1e0a16220ef77a5193bac2cf0ca69c897aef9a17 SHA256 3ea417216da0bfceffcae0ba912a8e426d171cefae3ab2234aebefb897df20c0 -MD5 829cc6152add38f5946059c49be7bc4e libutempter-1.1.2.1.ebuild 1927 -RMD160 7a28d62f265ddd80739b319422ab0516c5e53404 libutempter-1.1.2.1.ebuild 1927 -SHA256 3ea417216da0bfceffcae0ba912a8e426d171cefae3ab2234aebefb897df20c0 libutempter-1.1.2.1.ebuild 1927 -EBUILD libutempter-1.1.4.1.ebuild 1772 RMD160 2683b47166499d811f4c6eb1c5569c4256154aec SHA1 f4f4f45c119e2bfefc836271897d91504cd0ebd2 SHA256 0ab52b0021feefa2e0b8ee5353bef5a8d12bcd041e1fb346675361fdc27ff20a -MD5 d314059db8ba7ee3e8f26fff2199df24 libutempter-1.1.4.1.ebuild 1772 -RMD160 2683b47166499d811f4c6eb1c5569c4256154aec libutempter-1.1.4.1.ebuild 1772 -SHA256 0ab52b0021feefa2e0b8ee5353bef5a8d12bcd041e1fb346675361fdc27ff20a libutempter-1.1.4.1.ebuild 1772 -MISC ChangeLog 1797 RMD160 0b768519b4a4ee0b1697c074525ba69763a92549 SHA1 415f437db06b50a5f227e834e8e5244a4d30aa87 SHA256 ea2ffd8b4576dd18c059b418398b09ac67c99efa56ab9fd400230a14637a4635 -MD5 066cfdd43d46058359fde36c091c03a8 ChangeLog 1797 -RMD160 0b768519b4a4ee0b1697c074525ba69763a92549 ChangeLog 1797 -SHA256 ea2ffd8b4576dd18c059b418398b09ac67c99efa56ab9fd400230a14637a4635 ChangeLog 1797 +EBUILD libutempter-1.1.2.1.ebuild 1923 RMD160 4d97b1e3ca18d2c669c7cc6bb0d27e9593058ccb SHA1 d60f3dfb0520253f4156d6a0cc6ffc448954dbb8 SHA256 c49027439ab04ce2d85464cb6975613826f064ec2a4e0158372c1f216f32ad98 +MD5 56922dd28eed910cd61408a89b2db25a libutempter-1.1.2.1.ebuild 1923 +RMD160 4d97b1e3ca18d2c669c7cc6bb0d27e9593058ccb libutempter-1.1.2.1.ebuild 1923 +SHA256 c49027439ab04ce2d85464cb6975613826f064ec2a4e0158372c1f216f32ad98 libutempter-1.1.2.1.ebuild 1923 +EBUILD libutempter-1.1.4.1.ebuild 1768 RMD160 f98d22e376ca96cd402275b1e2e9d7a6f970fb1b SHA1 c25d060fbbc8eb927274f02b077059d4d7d42135 SHA256 e0d589eb3a059a99e764573b75cfce8e9a61d87c77a6121d96ebdae7965ba5b4 +MD5 86350c69d807e7eecd4e3a9ade7299e4 libutempter-1.1.4.1.ebuild 1768 +RMD160 f98d22e376ca96cd402275b1e2e9d7a6f970fb1b libutempter-1.1.4.1.ebuild 1768 +SHA256 e0d589eb3a059a99e764573b75cfce8e9a61d87c77a6121d96ebdae7965ba5b4 libutempter-1.1.4.1.ebuild 1768 +MISC ChangeLog 1941 RMD160 9d4a2829965291b1493017506d7c8f2094be71d7 SHA1 8f0d808a501839df9e02b31eff12a4c6059a2d79 SHA256 c896c2267d4417604ee38e732d70a4ace1bc67ea1b2fad36e273ed72bba4d240 +MD5 4e9db79fa38c69dce04c1f09848f08a9 ChangeLog 1941 +RMD160 9d4a2829965291b1493017506d7c8f2094be71d7 ChangeLog 1941 +SHA256 c896c2267d4417604ee38e732d70a4ace1bc67ea1b2fad36e273ed72bba4d240 ChangeLog 1941 MISC metadata.xml 244 RMD160 a869a660236001523f00f960a5cead1412e7075c SHA1 5bfe881f7855733216bbb9fb3308967ee58bae4e SHA256 04d6ab951f4f1b907a649aff9405818e8aa8f0b81e2ac7095687b9836547a297 MD5 1fe2f84f5f9d41bc80bb795ef8845ff2 metadata.xml 244 RMD160 a869a660236001523f00f960a5cead1412e7075c metadata.xml 244 @@ -26,10 +23,3 @@ SHA256 15cb631ee02ceb4784384530618103ed952857a2ee62a90ca4dc78cff86c439a files/di MD5 d44fe6ef0a492fdf1a7c0f0c89eff4ce files/digest-libutempter-1.1.4.1 268 RMD160 0f3aea659b39cf8eedae0ed426890efa694168fa files/digest-libutempter-1.1.4.1 268 SHA256 c53db45f500c7342cb9a1dd72638a28f4a20271dc426793bfe84e8477d46baeb files/digest-libutempter-1.1.4.1 268 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFEhsCyAiZjviIA2XgRAouXAKDcdN/r1WEoz2dJfa8umUKyEi8onQCgtChk -8O3iQR0q+QvZzcpt3H+hyUE= -=+7yC ------END PGP SIGNATURE----- diff --git a/sys-libs/libutempter/libutempter-1.1.2.1.ebuild b/sys-libs/libutempter/libutempter-1.1.2.1.ebuild index 1c341c914cbb..424ce1a0e00a 100644 --- a/sys-libs/libutempter/libutempter-1.1.2.1.ebuild +++ b/sys-libs/libutempter/libutempter-1.1.2.1.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-libs/libutempter/libutempter-1.1.2.1.ebuild,v 1.11 2006/05/24 21:00:04 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.2.1.ebuild,v 1.12 2006/06/07 13:13:23 seemant Exp $ inherit rpm eutils flag-o-matic versionator toolchain-funcs @@ -64,18 +64,15 @@ src_install() { pkg_postinst() { - if [ "${ROOT}" = "/" ] + if [ -f ${ROOT}/var/log/wtmp ] then - if [ -f /var/log/wtmp ] - then - chown root:utmp /var/log/wtmp - chmod 664 /var/log/wtmp - fi + chown root:utmp ${ROOT}/var/log/wtmp + chmod 664 ${ROOT}/var/log/wtmp + fi - if [ -f /var/run/utmp ] - then - chown root:utmp /var/run/utmp - chmod 664 /var/run/utmp - fi + if [ -f ${ROOT}/var/run/utmp ] + then + chown root:utmp ${ROOT}/var/run/utmp + chmod 664 ${ROOT}/var/run/utmp fi } diff --git a/sys-libs/libutempter/libutempter-1.1.4.1.ebuild b/sys-libs/libutempter/libutempter-1.1.4.1.ebuild index 5307e7d806d4..1eb8406a4b3d 100644 --- a/sys-libs/libutempter/libutempter-1.1.4.1.ebuild +++ b/sys-libs/libutempter/libutempter-1.1.4.1.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-libs/libutempter/libutempter-1.1.4.1.ebuild,v 1.2 2006/06/07 12:03:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.4.1.ebuild,v 1.3 2006/06/07 13:13:23 seemant Exp $ inherit rpm eutils flag-o-matic versionator toolchain-funcs @@ -51,18 +51,15 @@ src_install() { pkg_postinst() { - if [ "${ROOT}" = "/" ] + if [ -f ${ROOT}/var/log/wtmp ] then - if [ -f /var/log/wtmp ] - then - chown root:utmp /var/log/wtmp - chmod 664 /var/log/wtmp - fi + chown root:utmp ${ROOT}/var/log/wtmp + chmod 664 ${ROOT}/var/log/wtmp + fi - if [ -f /var/run/utmp ] - then - chown root:utmp /var/run/utmp - chmod 664 /var/run/utmp - fi + if [ -f ${ROOT}/var/run/utmp ] + then + chown root:utmp ${ROOT}/var/run/utmp + chmod 664 ${ROOT}/var/run/utmp fi }