diff options
author | Mike Auty <ikelos@gentoo.org> | 2006-03-11 21:22:48 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2006-03-11 21:22:48 +0000 |
commit | 1b1dd7a0f4c8e24d171c50a19b669ee5fb752122 (patch) | |
tree | 818f212eab7a4e022d974afa04c6fd1fa4bc9efb /app-emulation/vmware-server-console | |
parent | Vmware-server-* packages version bump to 22088. (diff) | |
download | vmware-1b1dd7a0f4c8e24d171c50a19b669ee5fb752122.tar.gz vmware-1b1dd7a0f4c8e24d171c50a19b669ee5fb752122.tar.bz2 vmware-1b1dd7a0f4c8e24d171c50a19b669ee5fb752122.zip |
Fix userpriv problems by adding chmod.
Fix ${ROOT} usage.
svn path=/trunk/; revision=8
Diffstat (limited to 'app-emulation/vmware-server-console')
-rw-r--r-- | app-emulation/vmware-server-console/Manifest | 6 | ||||
-rw-r--r-- | app-emulation/vmware-server-console/vmware-server-console-1.0.0.22088.ebuild | 49 |
2 files changed, 28 insertions, 27 deletions
diff --git a/app-emulation/vmware-server-console/Manifest b/app-emulation/vmware-server-console/Manifest index 34dd667..722b954 100644 --- a/app-emulation/vmware-server-console/Manifest +++ b/app-emulation/vmware-server-console/Manifest @@ -7,6 +7,6 @@ SHA256 fa2d858dc5fb5349991ec500529a742cae6b2c9652938dad3352187c311e4842 files/di MD5 aa1b576735134579f04b29763901dc4f files/vmware.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c files/vmware.xml 1592 SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d files/vmware.xml 1592 -MD5 42ddcc1cf40e1cddd1e0f0b689eab136 vmware-server-console-1.0.0.22088.ebuild 5073 -RMD160 b26a4a758dc3061c8f7b480e3b2015ac4e64430c vmware-server-console-1.0.0.22088.ebuild 5073 -SHA256 e20fac674345645d3c0360b549445d2471d8d230016e839e1da70844e8c5ea18 vmware-server-console-1.0.0.22088.ebuild 5073 +MD5 bf79772e43fdc14e656d1444f0b56dee vmware-server-console-1.0.0.22088.ebuild 5179 +RMD160 c0de01d6b521a755038c549b64158b10519455c9 vmware-server-console-1.0.0.22088.ebuild 5179 +SHA256 c3a54a10ae0b4c680c0809312f67640a3f708d34f83e86cbbf091a2ca89de3c8 vmware-server-console-1.0.0.22088.ebuild 5179 diff --git a/app-emulation/vmware-server-console/vmware-server-console-1.0.0.22088.ebuild b/app-emulation/vmware-server-console/vmware-server-console-1.0.0.22088.ebuild index 7839f85..53e46a5 100644 --- a/app-emulation/vmware-server-console/vmware-server-console-1.0.0.22088.ebuild +++ b/app-emulation/vmware-server-console/vmware-server-console-1.0.0.22088.ebuild @@ -33,25 +33,26 @@ DEPEND=">=sys-libs/glibc-2.3.5 # precompiled binary package thats linked to glibc. RDEPEND=">=sys-libs/glibc-2.3.5 amd64? ( app-emulation/emul-linux-x86-gtklibs ) - || ( ( x11-libs/libSM - x11-libs/libICE - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXcursor - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXft - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXtst - ) - virtual/x11 - ) + !amd64 ( || ( ( x11-libs/libSM + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXcursor + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXft + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXtst + ) + virtual/x11 + ) + ) >=dev-lang/perl-5 - " + " dir=/opt/vmware/server/console Ddir=${D}/${dir} @@ -140,21 +141,21 @@ pkg_preinst() { } pkg_config() { - einfo "Running ${dir}/bin/vmware-config-console.pl" - ${dir}/bin/vmware-config-console.pl + einfo "Running ${ROOT}${dir}/bin/vmware-config-console.pl" + ${ROOT}${dir}/bin/vmware-config-console.pl } pkg_postinst() { - update-mime-database /usr/share/mime + update-mime-database "${ROOT}/usr/share/mime" # This is to fix the problem where the not_configured file doesn't get # removed when the configuration is run. This doesn't remove the file # It just tells the vmware-config-console.pl script it can delete it. einfo "Updating /etc/vmware-console/locations" - for x in /etc/vmware-console/._cfg????_locations ; do + for x in "${ROOT}/etc/vmware-console/._cfg????_locations" ; do if [ -f $x ] ; then - cat $x >> /etc/vmware-console/locations - rm -f $x + cat $x >> "${ROOT}/etc/vmware-console/locations" + rm $x fi done |