From 8622098b6f5359b5cc86c215171e5c3addf42200 Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Thu, 13 Oct 2011 14:07:59 +0000 Subject: open-vm-tools: version bump svn path=/trunk/; revision=505 --- app-emulation/open-vm-tools-kmod/Manifest | 4 +- .../open-vm-tools-kmod-0.0.20110821.471295.ebuild | 78 ------------- .../open-vm-tools-kmod-0.0.20110923.491607.ebuild | 78 +++++++++++++ app-emulation/open-vm-tools/Manifest | 4 +- .../open-vm-tools-0.0.20110821.471295.ebuild | 123 --------------------- .../open-vm-tools-0.0.20110923.491607.ebuild | 123 +++++++++++++++++++++ 6 files changed, 205 insertions(+), 205 deletions(-) delete mode 100644 app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110821.471295.ebuild create mode 100644 app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110923.491607.ebuild delete mode 100644 app-emulation/open-vm-tools/open-vm-tools-0.0.20110821.471295.ebuild create mode 100644 app-emulation/open-vm-tools/open-vm-tools-0.0.20110923.491607.ebuild diff --git a/app-emulation/open-vm-tools-kmod/Manifest b/app-emulation/open-vm-tools-kmod/Manifest index 3f6f4c6..cf8844c 100644 --- a/app-emulation/open-vm-tools-kmod/Manifest +++ b/app-emulation/open-vm-tools-kmod/Manifest @@ -1,3 +1,3 @@ -DIST open-vm-tools-2011.08.21-471295.tar.gz 3671447 RMD160 769cc37d1842ea0d1e48f7e4e3451012096ac546 SHA1 15626782a4e9ccc124026ae6a945a0dc12f8065a SHA256 d17c5bcba50ddad495c56b06805f6d8061a1a11553fef67ee8dcaec42f26e83a -EBUILD open-vm-tools-kmod-0.0.20110821.471295.ebuild 1806 RMD160 b90ac2ed875525aaad39c0f5dbefa4ea1af88d41 SHA1 2986384273c6d545db67db12cfaf84b29ebfef2f SHA256 a66ec070786d3719b2d3a92a8abfde46ab6d15f4c2237826feb778d4ec0ce8c0 +DIST open-vm-tools-2011.09.23-491607.tar.gz 3455939 RMD160 12400eb9580086c7768f6e9b702c1be88db04061 SHA1 69f1dad5f26ff0d5efad878aea608a4fb1c1455b SHA256 27311a0839e8e7defcbd1dcaf1e9943dacb0fbb7e89f7a66db6fbc349eec40ee +EBUILD open-vm-tools-kmod-0.0.20110923.491607.ebuild 1806 RMD160 b90ac2ed875525aaad39c0f5dbefa4ea1af88d41 SHA1 2986384273c6d545db67db12cfaf84b29ebfef2f SHA256 a66ec070786d3719b2d3a92a8abfde46ab6d15f4c2237826feb778d4ec0ce8c0 MISC metadata.xml 503 RMD160 fc12351dcb94137033d4810fc69d0211e0d0ec93 SHA1 bbe6feea6eff4574c897555e35649c6bd1f01963 SHA256 bed306dcff1b6d4243cf63ba912c88d3a630081501891687925c9dbf37995e00 diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110821.471295.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110821.471295.ebuild deleted file mode 100644 index eebb6d3..0000000 --- a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110821.471295.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit linux-mod versionator - -MY_DATE="$(get_version_component_range 3)" -MY_BUILD="$(get_version_component_range 4)" -MY_PN="${PN/-kmod}" -MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}" -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="Opensourced tools for VMware guests" -HOMEPAGE="http://open-vm-tools.sourceforge.net/" -SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" - -DEPEND="${RDEPEND} - virtual/linux-sources - " - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - linux-mod_pkg_setup - - VMWARE_MOD_DIR="modules/linux" - VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync vmxnet vsock" - - 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" ]; - then - MODTARGET="net" - else - MODTARGET="openvmtools" - fi - MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})" - done -} - -src_prepare() { - sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\ - || die "Sed failed." -} - -src_configure() { - : # do nothing at all -} - -src_install() { - linux-mod_src_install - - local udevrules="${T}/60-vmware.rules" - cat > "${udevrules}" <<-EOF - KERNEL=="vsock", GROUP="vmware", MODE=660 - EOF - insinto /etc/udev/rules.d/ - doins "${udevrules}" -} - -pkg_postinst() { - linux-mod_pkg_postinst - elog "vmxnet3 for Linux is now upstream (as of Linux 2.6.32)" - elog "pvscsi for Linux is now upstream (vmw_pvscsi) (as of Linux 2.6.33)" - elog "vmmemctl for Linux is now upstream (vmw_balloon) (as of Linux 2.6.34)" -} diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110923.491607.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110923.491607.ebuild new file mode 100644 index 0000000..eebb6d3 --- /dev/null +++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20110923.491607.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit linux-mod versionator + +MY_DATE="$(get_version_component_range 3)" +MY_BUILD="$(get_version_component_range 4)" +MY_PN="${PN/-kmod}" +MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Opensourced tools for VMware guests" +HOMEPAGE="http://open-vm-tools.sourceforge.net/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" + +DEPEND="${RDEPEND} + virtual/linux-sources + " + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + linux-mod_pkg_setup + + VMWARE_MOD_DIR="modules/linux" + VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync vmxnet vsock" + + 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" ]; + then + MODTARGET="net" + else + MODTARGET="openvmtools" + fi + MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})" + done +} + +src_prepare() { + sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\ + || die "Sed failed." +} + +src_configure() { + : # do nothing at all +} + +src_install() { + linux-mod_src_install + + local udevrules="${T}/60-vmware.rules" + cat > "${udevrules}" <<-EOF + KERNEL=="vsock", GROUP="vmware", MODE=660 + EOF + insinto /etc/udev/rules.d/ + doins "${udevrules}" +} + +pkg_postinst() { + linux-mod_pkg_postinst + elog "vmxnet3 for Linux is now upstream (as of Linux 2.6.32)" + elog "pvscsi for Linux is now upstream (vmw_pvscsi) (as of Linux 2.6.33)" + elog "vmmemctl for Linux is now upstream (vmw_balloon) (as of Linux 2.6.34)" +} diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest index c66e65a..7255656 100644 --- a/app-emulation/open-vm-tools/Manifest +++ b/app-emulation/open-vm-tools/Manifest @@ -2,6 +2,6 @@ AUX default-scripts.patch 6245 RMD160 858a918af6d783d06131abcf8352b650fb47d390 S AUX open-vm-tools.desktop 140 RMD160 2e4a6ec7d866975c0952e78b5ea72fef3904b411 SHA1 0b012eb6f0fedadf8e6dfefb8a63eec2d52eb43f SHA256 86363f5430d33afb2f9fcb004ca86813f14434f56986e427e296bd530724eeb0 AUX open-vm-tools.initd 1875 RMD160 1462e939f2e8bfb4aa7a828fb8a436429ea8d002 SHA1 8eae35945cad1d9e9089f96a5211dfb23a891b7d SHA256 83a8c41d201e571193bd116a242abcdedd5d365a71f6e40bce2d3a40e0c2c15f AUX open-vm.confd 88 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 SHA1 56133c21c6d29243ac81a9c1ada61616778f3ce2 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c -DIST open-vm-tools-2011.08.21-471295.tar.gz 3671447 RMD160 769cc37d1842ea0d1e48f7e4e3451012096ac546 SHA1 15626782a4e9ccc124026ae6a945a0dc12f8065a SHA256 d17c5bcba50ddad495c56b06805f6d8061a1a11553fef67ee8dcaec42f26e83a -EBUILD open-vm-tools-0.0.20110821.471295.ebuild 3288 RMD160 eb4cfa9bddb38849dad250d078ecba91ebbe350c SHA1 0f68d3ced1c2ccb006a99555df25463b3aff1705 SHA256 4cde018ca3b627641014b21412097f540bbbac78f307059180f85d856c3611c4 +DIST open-vm-tools-2011.09.23-491607.tar.gz 3455939 RMD160 12400eb9580086c7768f6e9b702c1be88db04061 SHA1 69f1dad5f26ff0d5efad878aea608a4fb1c1455b SHA256 27311a0839e8e7defcbd1dcaf1e9943dacb0fbb7e89f7a66db6fbc349eec40ee +EBUILD open-vm-tools-0.0.20110923.491607.ebuild 3288 RMD160 eb4cfa9bddb38849dad250d078ecba91ebbe350c SHA1 0f68d3ced1c2ccb006a99555df25463b3aff1705 SHA256 4cde018ca3b627641014b21412097f540bbbac78f307059180f85d856c3611c4 MISC metadata.xml 791 RMD160 55a935bb194818c26471ad7e551dbffa1df2fc1c SHA1 cac933fef6a9eedc65a3d96f4edd117432bcbb2e SHA256 ac4e805eb85bb369b37f3381a6271a5bae8739b42465f64ee168cdc9683738d7 diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20110821.471295.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20110821.471295.ebuild deleted file mode 100644 index 3faf2d3..0000000 --- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20110821.471295.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils 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 +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:2.4 - x11-base/xorg-server - x11-drivers/xf86-input-vmmouse - x11-drivers/xf86-video-vmware - x11-libs/gtk+:2 - x11-libs/libnotify - x11-libs/libX11 - x11-libs/libXtst - ) - fuse? ( sys-fs/fuse ) - icu? ( dev-libs/icu ) - unity? ( - dev-libs/uriparser - media-libs/libpng - x11-libs/libXScrnSaver - ) - xinerama? ( x11-libs/libXinerama ) - " - -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) - dev-util/pkgconfig - virtual/linux-sources - sys-apps/findutils - " - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - use unity && ! use X && die 'The Unity USE flag requires "X" USE flag as well' - use unity && ! use xinerama && die 'The Unity USE flag requires xinerame USE="xinerama" as well' - - enewgroup vmware -} - -src_prepare() { - epatch "${FILESDIR}/default-scripts.patch" - #epatch "${FILESDIR}/checkvm-pie-safety.patch" - #sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure 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() { - econf \ - --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) - - # Bugs 260878, 326761 - find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed" -} - -src_compile() { - emake || die "failed to compile" -} - -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" - - if use X; - then - fperms 4755 "/usr/bin/vmware-user-suid-wrapper" || die - - dobin "${S}"/scripts/common/vmware-xdg-detect-de - - 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, please add the users to the 'vmware' group." - fi - elog "Add 'vmware-tools' service to the default runlevel." -} diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20110923.491607.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20110923.491607.ebuild new file mode 100644 index 0000000..3faf2d3 --- /dev/null +++ b/app-emulation/open-vm-tools/open-vm-tools-0.0.20110923.491607.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils 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 +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:2.4 + x11-base/xorg-server + x11-drivers/xf86-input-vmmouse + x11-drivers/xf86-video-vmware + x11-libs/gtk+:2 + x11-libs/libnotify + x11-libs/libX11 + x11-libs/libXtst + ) + fuse? ( sys-fs/fuse ) + icu? ( dev-libs/icu ) + unity? ( + dev-libs/uriparser + media-libs/libpng + x11-libs/libXScrnSaver + ) + xinerama? ( x11-libs/libXinerama ) + " + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + dev-util/pkgconfig + virtual/linux-sources + sys-apps/findutils + " + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + use unity && ! use X && die 'The Unity USE flag requires "X" USE flag as well' + use unity && ! use xinerama && die 'The Unity USE flag requires xinerame USE="xinerama" as well' + + enewgroup vmware +} + +src_prepare() { + epatch "${FILESDIR}/default-scripts.patch" + #epatch "${FILESDIR}/checkvm-pie-safety.patch" + #sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure 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() { + econf \ + --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) + + # Bugs 260878, 326761 + find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed" +} + +src_compile() { + emake || die "failed to compile" +} + +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" + + if use X; + then + fperms 4755 "/usr/bin/vmware-user-suid-wrapper" || die + + dobin "${S}"/scripts/common/vmware-xdg-detect-de + + 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, please add the users to the 'vmware' group." + fi + elog "Add 'vmware-tools' service to the default runlevel." +} -- cgit v1.2.3-65-gdbad