summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2010-03-24 17:04:34 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2010-03-24 17:04:34 +0000
commit32f48dd6162f053559115f282e6c31afba3714e5 (patch)
tree96dd22bcd66c764c2be22e83e365440999f57250 /app-emulation
parentversion bump (diff)
downloadhistorical-32f48dd6162f053559115f282e6c31afba3714e5.tar.gz
historical-32f48dd6162f053559115f282e6c31afba3714e5.tar.bz2
historical-32f48dd6162f053559115f282e6c31afba3714e5.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/open-vm-tools/ChangeLog11
-rw-r--r--app-emulation/open-vm-tools/Manifest10
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-0.0.20090618.172495-r2.ebuild131
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-0.0.20090722.179896.ebuild131
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-0.0.20100320.243334.ebuild (renamed from app-emulation/open-vm-tools/open-vm-tools-0.0.20090824.187411.ebuild)104
5 files changed, 60 insertions, 327 deletions
diff --git a/app-emulation/open-vm-tools/ChangeLog b/app-emulation/open-vm-tools/ChangeLog
index c4e74aed5218..a01bb0dcb214 100644
--- a/app-emulation/open-vm-tools/ChangeLog
+++ b/app-emulation/open-vm-tools/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-emulation/open-vm-tools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.34 2010/03/16 16:23:03 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.35 2010/03/24 17:04:34 vadimk Exp $
+
+*open-vm-tools-0.0.20100320.243334 (24 Mar 2010)
+
+ 24 Mar 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+ -open-vm-tools-0.0.20090618.172495-r2.ebuild,
+ -open-vm-tools-0.0.20090722.179896.ebuild,
+ -open-vm-tools-0.0.20090824.187411.ebuild,
+ +open-vm-tools-0.0.20100320.243334.ebuild:
+ version bump
*open-vm-tools-0.0.20100223.236320-r1 (16 Mar 2010)
*open-vm-tools-0.0.20091216.217847-r2 (16 Mar 2010)
diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest
index 0015d11a6950..23b9e50e3d20 100644
--- a/app-emulation/open-vm-tools/Manifest
+++ b/app-emulation/open-vm-tools/Manifest
@@ -8,15 +8,11 @@ AUX open-vm.initd 1875 RMD160 9d2cc36fd93e70ae20eecd49b10c4da0e09aad69 SHA1 1702
AUX tools.conf 21 RMD160 88b5b8c8e088333e9c00b2e1c3f3572553342e7b SHA1 42a670b887751dbe9317624dd11068390d1780b0 SHA256 05dcb62e54991ca5546066e4d04b50be98fb0cc229168d4d73df8cf8a94c068c
AUX vmguestlib-pkg-config.patch 314 RMD160 67aebad0f0fe06c68d1e816c00b5499c6758134e SHA1 1df5e5c116333cf25eb7614316e1d92d4ea8a325 SHA256 69a40f99d85604492595ce3501641dbf8077a7ea96e2516f49b8f798685a04b3
AUX xautostart.conf 59 RMD160 ca1ea3f1b82caa6e97d94835d88a39a6f153ff7a SHA1 92ba86e426fdaa3de1a8aad56db2d2ac358949a1 SHA256 13398e0ffcd7005bc8c92f3cd62865d2601e52fc980a4702fa252bef5c1efcc7
-DIST open-vm-tools-2009.06.18-172495.tar.gz 3424675 RMD160 7fceacdc3e2e1857a85fd348625ed906383bb52f SHA1 3f2273e2366dc8bca60a3f84e0933580aa4c066d SHA256 27d529553c9a62172876a9a88289102d77bc6307b6fc10b7a2bc17cbbb54251e
-DIST open-vm-tools-2009.07.22-179896.tar.gz 3455624 RMD160 5d6b7bc27cf93061d6fb250db8271c8891699721 SHA1 66aae7773445dc3589420278b0b55bc8a107cb5b SHA256 50eff9fc275b2ceb73cac64cd671ddbd0602337c7190cfda85103c290805a556
-DIST open-vm-tools-2009.08.24-187411.tar.gz 3516336 RMD160 7fde99197565895617ce03677a5803f4b3835462 SHA1 8749f71ea02767e2ea04ac0f66762b5cdc1398dc SHA256 703544111a7c01adfc7c4d81f0d9c783a5d56edff40c0eb5f32410390357f6f5
DIST open-vm-tools-2009.12.16-217847.tar.gz 3557356 RMD160 ed473e82672178acb2de4c9d8fcd95dd6655735f SHA1 6bf9dc1441415ccad6fcfb1cfccaf75c64d05424 SHA256 55554d22a9733532416e76eaa7ff1bad68f4b695fb75d03dfa3fb6bf32210ace
DIST open-vm-tools-2010.02.23-236320.tar.gz 3504028 RMD160 b8ede0e98beab10aab1212835cb452566f026854 SHA1 f6825c62dbdb414a16b326fcdab5bdf7dd618d9e SHA256 e7f170636de4905fb0947f2cbc84289f690529551fb81860f240ef884f40d42c
-EBUILD open-vm-tools-0.0.20090618.172495-r2.ebuild 3466 RMD160 b33bc77efed16056d6b38ef02eaf155f93eb8b7d SHA1 7ef10f905fbabee15fbac540cccaf7bf6065b271 SHA256 1ad2cc59a03d9925b0049f72acbd3ed8436cdd911ab46c15b3a7c6839cec09a7
-EBUILD open-vm-tools-0.0.20090722.179896.ebuild 3465 RMD160 19a673371becafdbcf2852114a877194eb8421fc SHA1 9b4969677bdc5c131efa9d156ad3550a9322265f SHA256 dcce2a06acf2da73513a42b40d1e08283e303995e73d6e859120d88c767a787d
-EBUILD open-vm-tools-0.0.20090824.187411.ebuild 3177 RMD160 c8be53e80ede486579201fe0bc8b54cc73dc67b0 SHA1 239de3201de177505bd580e1ea5f55e3b5ab6830 SHA256 4769a6f8b250aa2e6029949a4d7454790bbd991fefd060f46e14d777adce3496
+DIST open-vm-tools-2010.03.20-243334.tar.gz 3523972 RMD160 4130b1f8b3e489238d07678bab2abfc623f0b062 SHA1 9211353a60f35378b9ec9273973ab3dc79e625a0 SHA256 9a4b8f48cdfddecd976756b56465f65e579164f9f99f6fba934d43a32b6f7ec6
EBUILD open-vm-tools-0.0.20091216.217847-r2.ebuild 3054 RMD160 b7fd4b0c94cc1591636769a6b497c363b95b5b63 SHA1 fb244c8c6b2441ad7e33e98eeab5a308ec7bfbfd SHA256 6d41a444a8e24bcd16e398449745b2b8b4b94a03b43f9967d133db890d035141
EBUILD open-vm-tools-0.0.20100223.236320-r1.ebuild 3185 RMD160 2b023dbb503a257582f56c12b1e68309b7d3251b SHA1 2e1380e67a592ec5ee1b3cf8d67e8db1205fc4c3 SHA256 2be3c8f12dd7eb68d6461aef955e7b129bc38c5fe37256c8bbc86ad303d478f5
-MISC ChangeLog 7509 RMD160 09559a428d4cafec7f9214ee8c3473d0f8bac595 SHA1 a2b22c5ffcf18a644544d63224a4f40fc1ed765b SHA256 3946b23a1a3877a540b8929e0da677888197e6a86a0d3ecbc49db716d140202c
+EBUILD open-vm-tools-0.0.20100320.243334.ebuild 3182 RMD160 0bdfc2ae4b54a4dba123c6c909ae1047279f49c5 SHA1 0136f36acfe58c843f1d32b90f83e20de260340b SHA256 77360df93796eb31f967c4e1ff2c5d3c28fbf787321ccda8846334b0f5ddc2da
+MISC ChangeLog 7809 RMD160 d6371dffc8f9384f71f219f4bc7e58eedf90c25e SHA1 479256d986cd6f891e64d8bdacf4d3cd305cccef SHA256 7abd5272515d3981dcacb76a64395ca3732a19f42c09e844589be9f8dc5f3dd7
MISC metadata.xml 791 RMD160 55a935bb194818c26471ad7e551dbffa1df2fc1c SHA1 cac933fef6a9eedc65a3d96f4edd117432bcbb2e SHA256 ac4e805eb85bb369b37f3381a6271a5bae8739b42465f64ee168cdc9683738d7
diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20090618.172495-r2.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20090618.172495-r2.ebuild
deleted file mode 100644
index e3eb4f0f5afe..000000000000
--- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20090618.172495-r2.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2009 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.20090618.172495-r2.ebuild,v 1.1 2009/07/10 19:51:51 vadimk Exp $
-
-EAPI="2"
-
-inherit eutils linux-mod pam versionator
-
-MY_DATE="$(get_version_component_range 3)"
-MY_BUILD="$(get_version_component_range 4)"
-MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Opensourced tools for VMware guests"
-HOMEPAGE="http://open-vm-tools.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X doc fuse icu unity xinerama"
-
-RDEPEND=">=dev-libs/glib-2
- dev-libs/libdnet
- sys-apps/ethtool
- sys-process/procps
- virtual/pam
- X? (
- dev-cpp/gtkmm
- x11-base/xorg-server
- x11-drivers/xf86-input-vmmouse
- x11-drivers/xf86-video-vmware
- x11-libs/gtk+
- x11-libs/libnotify
- x11-libs/libX11
- )
- fuse? ( sys-fs/fuse )
- icu? ( dev-libs/icu )
- unity? (
- dev-libs/uriparser
- x11-libs/libXScrnSaver
- )
- xinerama? ( x11-libs/libXinerama )
- !app-emulation/vmware-esx-tools
- !app-emulation/vmware-server-tools
- !app-emulation/vmware-workstation-tools
- "
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- virtual/linux-sources
- doc? ( app-doc/doxygen )
- "
-
-S="${WORKDIR}/${MY_P}"
-
-VMWARE_MOD_DIR="modules/linux"
-VMWARE_MODULE_LIST="pvscsi vmblock vmci vmhgfs vmsync vmmemctl vmxnet vmxnet3 vsock"
-
-pkg_setup() {
- use unity && ! use xinerama && \
- die 'The Unity USE flag requires USE="xinerama" as well'
-
- linux-mod_pkg_setup
- MODULE_NAMES=""
- BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
-
- for mod in ${VMWARE_MODULE_LIST};
- do
- if [ "${mod}" == "vmxnet" -o "${mod}" == "vmxnet3" ];
- then
- MODTARGET="net"
- else
- MODTARGET="openvmtools"
- fi
- MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
- done
-
- enewgroup vmware
-}
-
-src_prepare() {
- epatch "${FILESDIR}/default-scripts.patch"
- sed -i -e 's:VMTOOLSD_PLUGIN_ROOT=\\"\$(pkglibdir)\\":VMTOOLSD_PLUGIN_ROOT=\\"\$(pkglibdir)/plugins\\":g' \
- services/vmtoolsd/Makefile.in || die "sed plugin path failed"
- sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
- sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
-}
-
-src_configure() {
- econf \
- --with-procps \
- --with-dnet \
- --without-kernel-modules \
- $(use_with X x) \
- $(use_with X gtk2) \
- $(use_with X gtkmm) \
- $(use_with icu) \
- $(use_enable unity) \
- $(use_enable xinerama multimon)
-}
-
-src_compile() {
- linux-mod_src_compile
-
- emake || die "failed to compile"
-}
-
-src_install() {
- linux-mod_src_install
-
- emake DESTDIR="${D}" install || die "failed to install"
-
- rm "${D}"/etc/pam.d/vmtoolsd
- pamd_mimic_system vmtoolsd auth account
-
- newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
- newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
-
- if use X;
- then
- insinto /etc/xdg/autostart
- doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
-
- elog "To be able to use the drag'n'drop feature of VMware for file"
- elog "exchange, you need to do this:"
- elog " Add 'vmware-tools' to your default runlevel."
- elog " Add the users which should have access to this function"
- elog " to the group 'vmware'."
- fi
-}
diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20090722.179896.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20090722.179896.ebuild
deleted file mode 100644
index 5c3091d79d3d..000000000000
--- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20090722.179896.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2009 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.20090722.179896.ebuild,v 1.1 2009/07/24 23:12:56 vadimk Exp $
-
-EAPI="2"
-
-inherit eutils linux-mod pam versionator
-
-MY_DATE="$(get_version_component_range 3)"
-MY_BUILD="$(get_version_component_range 4)"
-MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Opensourced tools for VMware guests"
-HOMEPAGE="http://open-vm-tools.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X doc fuse icu unity xinerama"
-
-RDEPEND=">=dev-libs/glib-2
- dev-libs/libdnet
- sys-apps/ethtool
- sys-process/procps
- virtual/pam
- X? (
- dev-cpp/gtkmm
- x11-base/xorg-server
- x11-drivers/xf86-input-vmmouse
- x11-drivers/xf86-video-vmware
- x11-libs/gtk+
- x11-libs/libnotify
- x11-libs/libX11
- )
- fuse? ( sys-fs/fuse )
- icu? ( dev-libs/icu )
- unity? (
- dev-libs/uriparser
- x11-libs/libXScrnSaver
- )
- xinerama? ( x11-libs/libXinerama )
- !app-emulation/vmware-esx-tools
- !app-emulation/vmware-server-tools
- !app-emulation/vmware-workstation-tools
- "
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- virtual/linux-sources
- doc? ( app-doc/doxygen )
- "
-
-S="${WORKDIR}/${MY_P}"
-
-VMWARE_MOD_DIR="modules/linux"
-VMWARE_MODULE_LIST="pvscsi vmblock vmci vmhgfs vmsync vmmemctl vmxnet vmxnet3 vsock"
-
-pkg_setup() {
- use unity && ! use xinerama && \
- die 'The Unity USE flag requires USE="xinerama" as well'
-
- linux-mod_pkg_setup
- MODULE_NAMES=""
- BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
-
- for mod in ${VMWARE_MODULE_LIST};
- do
- if [ "${mod}" == "vmxnet" -o "${mod}" == "vmxnet3" ];
- then
- MODTARGET="net"
- else
- MODTARGET="openvmtools"
- fi
- MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
- done
-
- enewgroup vmware
-}
-
-src_prepare() {
- epatch "${FILESDIR}/default-scripts.patch"
- #sed -i -e 's:VMTOOLSD_PLUGIN_ROOT=\\"\$(pkglibdir)\\":VMTOOLSD_PLUGIN_ROOT=\\"\$(pkglibdir)/plugins\\":g' \
- # services/vmtoolsd/Makefile.in || die "sed plugin path failed"
- sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
- sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
-}
-
-src_configure() {
- econf \
- --with-procps \
- --with-dnet \
- --without-kernel-modules \
- $(use_with X x) \
- $(use_with X gtk2) \
- $(use_with X gtkmm) \
- $(use_with icu) \
- $(use_enable unity) \
- $(use_enable xinerama multimon)
-}
-
-src_compile() {
- linux-mod_src_compile
-
- emake || die "failed to compile"
-}
-
-src_install() {
- linux-mod_src_install
-
- emake DESTDIR="${D}" install || die "failed to install"
-
- rm "${D}"/etc/pam.d/vmtoolsd
- pamd_mimic_system vmtoolsd auth account
-
- newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
- newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
-
- if use X;
- then
- insinto /etc/xdg/autostart
- doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
-
- elog "To be able to use the drag'n'drop feature of VMware for file"
- elog "exchange, you need to do this:"
- elog " Add 'vmware-tools' to your default runlevel."
- elog " Add the users which should have access to this function"
- elog " to the group 'vmware'."
- fi
-}
diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20090824.187411.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20100320.243334.ebuild
index 594903ede2a9..fad006bb8a57 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20090824.187411.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-0.0.20100320.243334.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.20090824.187411.ebuild,v 1.1 2009/08/27 19:03:47 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100320.243334.ebuild,v 1.1 2010/03/24 17:04:34 vadimk Exp $
EAPI="2"
-inherit eutils linux-mod pam versionator
+inherit eutils pam versionator
MY_DATE="$(get_version_component_range 3)"
MY_BUILD="$(get_version_component_range 4)"
@@ -18,68 +18,56 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="X doc fuse icu unity xinerama"
-
-RDEPEND=">=dev-libs/glib-2
- dev-libs/libdnet
- sys-apps/ethtool
- sys-process/procps
- virtual/pam
- X? (
- dev-cpp/gtkmm
- x11-base/xorg-server
- x11-drivers/xf86-input-vmmouse
- x11-drivers/xf86-video-vmware
- x11-libs/gtk+
- x11-libs/libnotify
- x11-libs/libX11
- )
- fuse? ( sys-fs/fuse )
- icu? ( dev-libs/icu )
- unity? (
- dev-libs/uriparser
- x11-libs/libXScrnSaver
- )
- xinerama? ( x11-libs/libXinerama )
- "
+IUSE="X doc fuse icu +pic unity xinerama"
+
+RDEPEND="app-emulation/open-vm-tools-kmod
+ >=dev-libs/glib-2
+ dev-libs/libdnet
+ sys-apps/ethtool
+ sys-process/procps
+ virtual/pam
+ X? (
+ dev-cpp/gtkmm
+ x11-base/xorg-server
+ x11-drivers/xf86-input-vmmouse
+ x11-drivers/xf86-video-vmware
+ x11-libs/gtk+
+ x11-libs/libnotify
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+ fuse? ( sys-fs/fuse )
+ icu? ( dev-libs/icu )
+ unity? (
+ dev-libs/uriparser
+ x11-libs/libXScrnSaver
+ )
+ xinerama? ( x11-libs/libXinerama )
+ "
DEPEND="${RDEPEND}
- dev-util/pkgconfig
- virtual/linux-sources
- doc? ( app-doc/doxygen )
- "
+ dev-util/pkgconfig
+ virtual/linux-sources
+ doc? ( app-doc/doxygen )
+ "
S="${WORKDIR}/${MY_P}"
-VMWARE_MOD_DIR="modules/linux"
-VMWARE_MODULE_LIST="pvscsi vmblock vmci vmhgfs vmsync vmmemctl vmxnet vmxnet3 vsock"
-
pkg_setup() {
- use unity && ! use xinerama && \
- die 'The Unity USE flag requires USE="xinerama" as well'
-
- linux-mod_pkg_setup
- MODULE_NAMES=""
- BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
-
- for mod in ${VMWARE_MODULE_LIST};
- do
- if [ "${mod}" == "vmxnet" -o "${mod}" == "vmxnet3" ];
- then
- MODTARGET="net"
- else
- MODTARGET="openvmtools"
- fi
- MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
- done
+ use unity && ! use xinerama && die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup vmware
}
src_prepare() {
- epatch "${FILESDIR}/default-scripts.patch"
+ epatch "${FILESDIR}/default-scripts1.patch"
+ epatch "${FILESDIR}/checkvm-pie-safety.patch"
+ epatch "${FILESDIR}/vmguestlib-pkg-config.patch"
sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
- sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
+ # Do not filter out Werror
+ # Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708
+ # sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
+ sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
}
src_configure() {
@@ -87,28 +75,30 @@ src_configure() {
--with-procps \
--with-dnet \
--without-kernel-modules \
+ $(use_enable doc docs) \
+ --docdir=/usr/share/doc/${PF} \
$(use_with X x) \
$(use_with X gtk2) \
$(use_with X gtkmm) \
$(use_with icu) \
+ $(use_with pic) \
$(use_enable unity) \
$(use_enable xinerama multimon)
}
src_compile() {
- linux-mod_src_compile
-
emake || die "failed to compile"
}
src_install() {
- linux-mod_src_install
-
emake DESTDIR="${D}" install || die "failed to install"
rm "${D}"/etc/pam.d/vmtoolsd
pamd_mimic_system vmtoolsd auth account
+ rm "${D}"/usr/$(get_libdir)/*.la
+ rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
+
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"