summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2008-07-06 19:41:28 +0000
committerMike Auty <ikelos@gentoo.org>2008-07-06 19:41:28 +0000
commit345dd372f5a6d32f64ec77601000f1d446f9972f (patch)
treefb5d2669d7cde11828e3480983eb16b10702a062 /app-emulation/open-vm-tools
parentStable on sparc, bug #214731 (diff)
downloadhistorical-345dd372f5a6d32f64ec77601000f1d446f9972f.tar.gz
historical-345dd372f5a6d32f64ec77601000f1d446f9972f.tar.bz2
historical-345dd372f5a6d32f64ec77601000f1d446f9972f.zip
Version bump.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 i686
Diffstat (limited to 'app-emulation/open-vm-tools')
-rw-r--r--app-emulation/open-vm-tools/Manifest14
-rw-r--r--app-emulation/open-vm-tools/files/default-scripts.patch139
-rw-r--r--app-emulation/open-vm-tools/files/disable-toolbox.patch53
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild4
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-0.0.20080515.93241.ebuild (renamed from app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild)60
5 files changed, 174 insertions, 96 deletions
diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest
index 98bcfb82655a..9e2a15e95dbd 100644
--- a/app-emulation/open-vm-tools/Manifest
+++ b/app-emulation/open-vm-tools/Manifest
@@ -1,23 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX disable-toolbox.patch 4995 RMD160 dcce189c748f6e718d822a05f3fa96196cc9b7fd SHA1 497b488203c07bdb87332718c83ee412eee9c719 SHA256 337bdc179a32495e12931daf2f9c5438cb0dd08ee1009feb905d7f84c3d8115b
+AUX default-scripts.patch 3525 RMD160 7c3dfd342be245531493a9cf7a8be2be4c67dc4b SHA1 56ba6ca91262f73732a7d806a9c812aea683c2d2 SHA256 99ad1a202335736c50bbb92432371e522934d1a3347e992158b881cf9f810da6
AUX open-vm.confd 88 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 SHA1 56133c21c6d29243ac81a9c1ada61616778f3ce2 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c
AUX open-vm.initd 1875 RMD160 9d2cc36fd93e70ae20eecd49b10c4da0e09aad69 SHA1 1702f267d32ca138e0e99d9ed86b4abc32cc3997 SHA256 1799b78836441b389de0b3d92aad80fcf020fe8b57da4f6d6999f86ee87f51bf
AUX tools.conf 21 RMD160 88b5b8c8e088333e9c00b2e1c3f3572553342e7b SHA1 42a670b887751dbe9317624dd11068390d1780b0 SHA256 05dcb62e54991ca5546066e4d04b50be98fb0cc229168d4d73df8cf8a94c068c
AUX xautostart.conf 59 RMD160 ca1ea3f1b82caa6e97d94835d88a39a6f153ff7a SHA1 92ba86e426fdaa3de1a8aad56db2d2ac358949a1 SHA256 13398e0ffcd7005bc8c92f3cd62865d2601e52fc980a4702fa252bef5c1efcc7
-DIST open-vm-tools-2007.11.21-64693.tar.gz 2295022 RMD160 e166040e713f4b7f8fae835862128a7ec3fdca75 SHA1 5b5e8edd726a997e3db0585af010a4be3405cc67 SHA256 b00530bf578b07127880ad3107b2b98873d3e5f74876dd94644bac3883be4431
DIST open-vm-tools-2008.01.23-74039.tar.gz 2332290 RMD160 b8a78e28abb63f50b5b9f49ad5ebaa727eee4619 SHA1 9d3fb1c2b71533a6d6ee67ee8bbf21edb26e9d59 SHA256 78754c0ab0cb39aad96d80bd1ade4ac2174c4067625d603e2a6afcce6359cace
DIST open-vm-tools-2008.04.14-87182.tar.gz 2430703 RMD160 2003b86f881b8a9b51c61e833b0b7d4aca70e083 SHA1 0394f73975a34699b92ce90822803fdb365abc6f SHA256 34c19a50650e70fbaa3c1d01803cc96fd86dde4d5f1349bf444026a4b1016b07
-EBUILD open-vm-tools-0.0.20071121.64693.ebuild 4028 RMD160 435ec185b227838be5ab75bec3638ffe3fecb790 SHA1 4516388523ef98998f961708969806de1e06183d SHA256 9916f7927ffb18f62e74b3b82848d027b673ee5e2bc713ec4dd3c1ef61932d3f
-EBUILD open-vm-tools-0.0.20080123.74039.ebuild 3430 RMD160 54b84960d1608beca7ed4ab0146e25113b363dc4 SHA1 2cf1bc68c981aaa2752ded827c8ba20591346fee SHA256 7b384eb393b5c38bed69cc2b5c06beeeadc0d384a14439b025d4fe1edd8b5a73
+DIST open-vm-tools-2008.05.15-93241.tar.gz 2462536 RMD160 6482557a2bfd5628093e7d02262c6cb1f072c334 SHA1 58c1861ffdedb205fe58f65b29ad47bf72ded836 SHA256 465657c6c59b88458bb6bf8a5411ab7d1e5aef548e931b4291c8cec1cba55ea3
+EBUILD open-vm-tools-0.0.20080123.74039.ebuild 3420 RMD160 50cfa6520b7c38e3438e36ba819c4eba94c84df7 SHA1 ea7f16d65e49a9837e797a4aa25aee4cbfc94d49 SHA256 b303bc1efcf3c1dd8c74f316c42934523992ebdc130a996fe7c35a468d8da3fd
EBUILD open-vm-tools-0.0.20080414.87182.ebuild 3590 RMD160 2650240432ce16d71772c98261fd44bc5e196920 SHA1 3081fbfcf454bbe5b9a6ec5975659769fb9927f4 SHA256 beac0ff33c79779e54ebd2ac556c9e8939d0772d0be0a3ff50e677b7bdcfff10
+EBUILD open-vm-tools-0.0.20080515.93241.ebuild 3725 RMD160 b7996ef3e6bc4b49aab3528ec18b848c3105d2df SHA1 f08ab357f3173e069b000edbec27ec25baa77f8e SHA256 5834278bf5563a3c976af6170b0c64ba47971536d397f98c07a9e003c8c22758
MISC ChangeLog 1545 RMD160 ec40404397617ba383a2fcc20dde99e37287ab0e SHA1 ddb073c22b8340239ec2927f01fd2e1ab9c66801 SHA256 2a5279d11bd8f11b088348c5a6663ef213c8fbef5a08a36a15612db394e6f1e8
MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkgTNoIACgkQu7rWomwgFXqwmgCfYiphuHHC42xO6BmSP0NbD46V
-lRAAn1oW8Xoqxj2/Kn0C+gGmIudOJsPf
-=GLQj
+iEYEARECAAYFAkhxH/UACgkQu7rWomwgFXry+ACePx6Vrjxdc7Es7k7GCq9Vbijw
+kicAn3T+l0IzYYwMoVpXA6+r75ApUDRe
+=Jvru
-----END PGP SIGNATURE-----
diff --git a/app-emulation/open-vm-tools/files/default-scripts.patch b/app-emulation/open-vm-tools/files/default-scripts.patch
new file mode 100644
index 000000000000..2136dad71d90
--- /dev/null
+++ b/app-emulation/open-vm-tools/files/default-scripts.patch
@@ -0,0 +1,139 @@
+diff --git a/scripts/linux/resume-vm-default b/scripts/linux/resume-vm-default
+index cebbba0..dbd38a6 100644
+--- a/scripts/linux/resume-vm-default
++++ b/scripts/linux/resume-vm-default
+@@ -25,41 +25,10 @@
+ echo `date` ": Executing '$0'"
+ echo
+
+-find_networking_script() {
+- local script="error"
+- for dir in "/etc/init.d" "/sbin/init.d" "/etc" "/etc/rc.d" ; do
+- if [ -d "$dir/rc0.d" ] &&
+- [ -d "$dir/rc1.d" ] &&
+- [ -d "$dir/rc2.d" ] &&
+- [ -d "$dir/rc3.d" ] &&
+- [ -d "$dir/rc4.d" ] &&
+- [ -d "$dir/rc5.d" ] &&
+- [ -d "$dir/rc6.d" ]; then
+-
+- # Now find the appropriate networking script.
+- if [ -d "$dir/init.d" ]; then
+- if [ -x "$dir/init.d/network" ]; then
+- script="$dir/init.d/network"
+- elif [ -x "$dir/init.d/networking" ]; then
+- script="$dir/init.d/networking"
+- fi
+- else
+- if [ -x "$dir/network" ]; then
+- script="$dir/network"
+- elif [ -x "$dir/networking" ]; then
+- script="$dir/networking"
+- fi
+- fi
+- fi
+- done
+-
+- echo "$script"
+-}
+-
+ rescue_NIC() {
+ niclist="/var/run/vmware-active-nics"
+
+- ifup_path=`which ifup 2>/dev/null`;
++ ifup_path="/etc/init.d/net.";
+ if [ $? -ne 0 ]; then
+ return 1;
+ fi
+@@ -76,7 +45,7 @@ rescue_NIC() {
+ else
+ echo `date` "[rescue_nic] activating $nic ..."
+
+- $ifup_path $nic
++ $ifup_path$nic restart
+ fi
+ done < $niclist
+
+@@ -95,15 +64,8 @@ if [ -d "$scriptsdir" ]; then
+ done
+ fi
+
+-network=`find_networking_script`
+-if [ "$network" != "error" ]; then
+- "$network" restart
+- # Continue even if the networking init script wasn't successful.
+- status=0
+-else
+- echo "networking script not found"
+- status=1
+-fi
++# Continue even if the networking init script wasn't successful.
++status=0
+
+ if [ $status -eq 0 ]; then
+ rescue_NIC
+diff --git a/scripts/linux/suspend-vm-default b/scripts/linux/suspend-vm-default
+index 80bf5b9..f590194 100644
+--- a/scripts/linux/suspend-vm-default
++++ b/scripts/linux/suspend-vm-default
+@@ -25,37 +25,6 @@
+ echo `date` ": Executing '$0'"
+ echo
+
+-find_networking_script() {
+- local script="error"
+- for dir in "/etc/init.d" "/sbin/init.d" "/etc" "/etc/rc.d" ; do
+- if [ -d "$dir/rc0.d" ] &&
+- [ -d "$dir/rc1.d" ] &&
+- [ -d "$dir/rc2.d" ] &&
+- [ -d "$dir/rc3.d" ] &&
+- [ -d "$dir/rc4.d" ] &&
+- [ -d "$dir/rc5.d" ] &&
+- [ -d "$dir/rc6.d" ]; then
+-
+- # Now find the appropriate networking script.
+- if [ -d "$dir/init.d" ]; then
+- if [ -x "$dir/init.d/network" ]; then
+- script="$dir/init.d/network"
+- elif [ -x "$dir/init.d/networking" ]; then
+- script="$dir/init.d/networking"
+- fi
+- else
+- if [ -x "$dir/network" ]; then
+- script="$dir/network"
+- elif [ -x "$dir/networking" ]; then
+- script="$dir/networking"
+- fi
+- fi
+- fi
+- done
+-
+- echo "$script"
+-}
+-
+ save_active_NIC_list() {
+ ifconfig_path=`which ifconfig 2>/dev/null`
+ if [ $? ]; then
+@@ -76,15 +45,12 @@ fi
+
+ save_active_NIC_list
+
+-network=`find_networking_script`
+-if [ "$network" != "error" ]; then
+- "$network" stop
+- # If the network is down, this may fail but that's not a good reason
+- # to prevent the suspend.
+- status=0
+-else
+- echo "networking script not found"
+- status=1
+-fi
++for network in `ls /etc/init.d/net.*`;
++do
++ "$network" stop
++done
++# If the network is down, this may fail but that's not a good reason
++# to prevent the suspend.
++status=0
+
+ exit "$status"
diff --git a/app-emulation/open-vm-tools/files/disable-toolbox.patch b/app-emulation/open-vm-tools/files/disable-toolbox.patch
deleted file mode 100644
index 84f97bc65f04..000000000000
--- a/app-emulation/open-vm-tools/files/disable-toolbox.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -ruN open-vm-tools-2007.09.04-56574.orig/configure open-vm-tools-2007.09.04-56574/configure
---- open-vm-tools-2007.09.04-56574.orig/configure 2007-09-07 09:05:19.000000000 +0200
-+++ open-vm-tools-2007.09.04-56574/configure 2007-09-14 22:26:20.000000000 +0200
-@@ -25442,7 +25442,7 @@
- ###
- ### Create the Makefiles
- ###
--ac_config_files="$ac_config_files Makefile lib/Makefile lib/atomic/Makefile lib/atomic/shared/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/backdoor/shared/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/fileUtf8/Makefile lib/foundryMsg/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/deployPkg/Makefile lib/impersonate/Makefile lib/message/Makefile lib/message/shared/Makefile lib/misc/Makefile lib/misc/shared/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcOut/shared/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/socketMgr/Makefile lib/strUtil/Makefile lib/string/Makefile lib/string/shared/Makefile lib/sync/Makefile lib/sync/shared/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/toolsLogger/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmBackupLib/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile guestd/Makefile vmware-user/Makefile toolbox/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile libguestlib/Makefile"
-+ac_config_files="$ac_config_files Makefile lib/Makefile lib/atomic/Makefile lib/atomic/shared/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/backdoor/shared/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/fileUtf8/Makefile lib/foundryMsg/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/deployPkg/Makefile lib/impersonate/Makefile lib/message/Makefile lib/message/shared/Makefile lib/misc/Makefile lib/misc/shared/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcOut/shared/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/socketMgr/Makefile lib/strUtil/Makefile lib/string/Makefile lib/string/shared/Makefile lib/sync/Makefile lib/sync/shared/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/toolsLogger/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmBackupLib/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile guestd/Makefile vmware-user/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile libguestlib/Makefile"
-
-
- ###
-@@ -26131,7 +26131,7 @@
- "lib/wiper/Makefile") CONFIG_FILES="$CONFIG_FILES lib/wiper/Makefile" ;;
- "guestd/Makefile") CONFIG_FILES="$CONFIG_FILES guestd/Makefile" ;;
- "vmware-user/Makefile") CONFIG_FILES="$CONFIG_FILES vmware-user/Makefile" ;;
-- "toolbox/Makefile") CONFIG_FILES="$CONFIG_FILES toolbox/Makefile" ;;
-+ "") CONFIG_FILES="$CONFIG_FILES " ;;
- "hgfsclient/Makefile") CONFIG_FILES="$CONFIG_FILES hgfsclient/Makefile" ;;
- "hgfsmounter/Makefile") CONFIG_FILES="$CONFIG_FILES hgfsmounter/Makefile" ;;
- "checkvm/Makefile") CONFIG_FILES="$CONFIG_FILES checkvm/Makefile" ;;
-diff -ruN open-vm-tools-2007.09.04-56574.orig/Makefile.am open-vm-tools-2007.09.04-56574/Makefile.am
---- open-vm-tools-2007.09.04-56574.orig/Makefile.am 2007-09-07 09:05:07.000000000 +0200
-+++ open-vm-tools-2007.09.04-56574/Makefile.am 2007-09-14 22:26:12.000000000 +0200
-@@ -22,7 +22,6 @@
- SUBDIRS += lib
- SUBDIRS += guestd
- SUBDIRS += vmware-user
--SUBDIRS += toolbox
- SUBDIRS += hgfsclient
- # hgfsmounter is only needed on Linux.
- if LINUX
-diff -ruN open-vm-tools-2007.09.04-56574.orig/Makefile.in open-vm-tools-2007.09.04-56574/Makefile.in
---- open-vm-tools-2007.09.04-56574.orig/Makefile.in 2007-09-07 09:05:23.000000000 +0200
-+++ open-vm-tools-2007.09.04-56574/Makefile.in 2007-09-14 22:26:01.000000000 +0200
-@@ -79,7 +79,7 @@
- distclean-recursive maintainer-clean-recursive
- ETAGS = etags
- CTAGS = ctags
--DIST_SUBDIRS = lib guestd vmware-user toolbox hgfsclient hgfsmounter \
-+DIST_SUBDIRS = lib guestd vmware-user hgfsclient hgfsmounter \
- checkvm libguestlib
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- distdir = $(PACKAGE)-$(VERSION)
-@@ -220,7 +220,7 @@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = lib guestd vmware-user toolbox hgfsclient $(am__append_1) \
-+SUBDIRS = lib guestd vmware-user hgfsclient $(am__append_1) \
- checkvm libguestlib
- MODULES = vmblock vmhgfs vmmemctl vmxnet
- all: all-recursive
diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild
index c43ad31fcdf2..e3a893052eb2 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild,v 1.1 2008/01/30 14:08:32 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20080123.74039.ebuild,v 1.2 2008/07/06 19:41:28 ikelos Exp $
-inherit pam eutils linux-mod autotools versionator
+inherit pam eutils linux-mod versionator
MY_DATE="$(get_version_component_range 3)"
MY_BUILD="$(get_version_component_range 4)"
diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20080515.93241.ebuild
index 5a7a68a59a0b..6daa30a2087b 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-0.0.20080515.93241.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.4 2008/04/26 14:04:22 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20080515.93241.ebuild,v 1.1 2008/07/06 19:41:28 ikelos Exp $
-inherit eutils linux-mod versionator
+inherit pam eutils linux-mod autotools versionator
MY_DATE="$(get_version_component_range 3)"
MY_BUILD="$(get_version_component_range 4)"
@@ -15,10 +15,10 @@ DESCRIPTION="Opensourced tools for VMware guests"
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-IUSE="pam X xinerama"
+IUSE="X xinerama icu"
DEPEND="
virtual/linux-sources
sys-apps/ethtool
@@ -32,14 +32,18 @@ DEPEND="
!app-emulation/vmware-workstation-tools
!app-emulation/vmware-server-tools
!app-emulation/vmware-esx-tools
+ sys-process/procps
+ dev-libs/libdnet
+ icu? ( dev-libs/icu )
"
RDEPEND="${DEPEND/virtual\/linux\-sources/}
- X? (
+ virtual/pam
+ X? (
x11-base/xorg-server
x11-drivers/xf86-video-vmware
x11-drivers/xf86-input-vmmouse
- )
+ )
"
VMWARE_MOD_DIR="modules/linux"
@@ -49,7 +53,7 @@ pkg_setup() {
linux-mod_pkg_setup
MODULE_NAMES=""
- BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
+ BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}"
for mod in ${VMWARE_MODULE_LIST};
do
@@ -62,21 +66,25 @@ pkg_setup() {
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
done
+ ewarn "If you're compiling for a hardened target, please use the hardened"
+ ewarn "nopie compiler in the hardened profile (select it using gcc-config)."
+ ewarn "For more details please see bug #200376, comment 18."
+
enewgroup vmware
}
src_unpack() {
unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/default-scripts.patch"
+
+ eautoreconf
}
src_compile() {
- #if ! use X; then
- # epatch ${FILESDIR}/disable-toolbox.patch
- # rm -rf ${S}/toolbox
- #fi
-
econf \
+ $(use_with icu) \
$(use_with X x) \
$(use_enable xinerama multimon) \
|| die "Error: econf failed!"
@@ -90,23 +98,7 @@ src_install() {
linux-mod_src_install
- if use pam; then
- LIB="$(get_libdir)"
- PAMFILE="${D}/etc/pam.d/vmware-guestd"
- dodir "${ROOT}${LIB}"
- dodir "${ROOT}etc/pam.d"
- echo '#%PAM-1.0' > "${PAMFILE}"
- if [[ -e "${ROOT}${LIB}/security/pam_unix2.so" ]];
- then
- PAM_VER=2
- fi
-
- echo -e "auth\tsufficient\t${ROOT}${LIB}/security/pam_unix${PAM_VER}.so\tshadow\tnullok" >> "${PAMFILE}"
- echo -e "auth\trequired\t${ROOT}${LIB}/security/pam_unix_auth.so\tshadow\tnullok" >> "${PAMFILE}"
- echo -e "account\tsufficient\t${ROOT}${LIB}/security/pam_unix${PAM_VER}.so" >> "${PAMFILE}"
- echo -e "account\trequired\t${ROOT}${LIB}/security/pam_unix_acct.so" >> "${PAMFILE}"
-
- fi
+ pamd_mimic_system vmware-guestd auth account
# Install the various tools
cd "${S}"
@@ -128,15 +120,15 @@ src_install() {
dolib libguestlib/.libs/libguestlib.{so.0.0.0,a}
# Deal with the hgfsmounter
- into "${ROOT}"
+ into /
newsbin hgfsmounter/hgfsmounter mount.vmhgfs
- fperms u+s "${ROOT}sbin/mount.vmhgfs"
- ### FROM THIS POINT ON, into IS SET TO ${ROOT} not /usr !!!
+ fperms u+s /sbin/mount.vmhgfs
+ ### FROM THIS POINT ON, into IS SET TO ${ROOT}/ not ${ROOT}/usr !!!
# Install the /etc/ files
- exeinto "${ROOT}etc/vmware-tools"
+ exeinto /etc/vmware-tools
doexe scripts/linux/*
- insinto "${ROOT}etc/vmware-tools"
+ insinto /etc/vmware-tools
doins "${FILESDIR}/tools.conf"
# Only install this, when X is being used. Else it's useless waste of
# ressources when checking continuously for processes that will never appear