From 813c28c359b8c1065ea8679daa753b5ee7443a3f Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Wed, 20 Apr 2011 14:40:51 +0000 Subject: Bug 364157 Package-Manager: portage-2.1.9.46/cvs/Linux x86_64 --- app-emulation/open-vm-tools/ChangeLog | 9 +- app-emulation/open-vm-tools/Manifest | 10 +- .../open-vm-tools-0.0.20110328.387002-r1.ebuild | 125 --------------------- .../open-vm-tools-0.0.20110328.387002-r2.ebuild | 125 +++++++++++++++++++++ 4 files changed, 138 insertions(+), 131 deletions(-) delete mode 100644 app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r1.ebuild create mode 100644 app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r2.ebuild (limited to 'app-emulation') diff --git a/app-emulation/open-vm-tools/ChangeLog b/app-emulation/open-vm-tools/ChangeLog index 5b3b5cc2bcf0..144af319ed5c 100644 --- a/app-emulation/open-vm-tools/ChangeLog +++ b/app-emulation/open-vm-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emulation/open-vm-tools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.48 2011/04/19 15:29:00 vadimk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.49 2011/04/20 14:40:51 vadimk Exp $ + +*open-vm-tools-0.0.20110328.387002-r2 (20 Apr 2011) + + 20 Apr 2011; Vadim Kuznetsov + -open-vm-tools-0.0.20110328.387002-r1.ebuild, + +open-vm-tools-0.0.20110328.387002-r2.ebuild: + Bug 364157 *open-vm-tools-0.0.20110328.387002-r1 (19 Apr 2011) diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest index 94041d3db96b..06522151661b 100644 --- a/app-emulation/open-vm-tools/Manifest +++ b/app-emulation/open-vm-tools/Manifest @@ -20,13 +20,13 @@ EBUILD open-vm-tools-0.0.20100919.301124.ebuild 3380 RMD160 4b538e280b7e7b6f2667 EBUILD open-vm-tools-0.0.20101219.339835-r1.ebuild 3436 RMD160 47d0cb15ecf54f09d2e303d6f48d363794efd08f SHA1 7e3061b0def4f06238f772d497b5b42585bad70b SHA256 dc4f3683c86233edb19624dc8e37077d8e293e48edc0b5029569f1e8c5588434 EBUILD open-vm-tools-0.0.20110124.354108.ebuild 3433 RMD160 c5ee89f5d88c4db328b524e26a07007033c4bcd2 SHA1 06f67fc8ccca24f4b2e4d2eb6adba14498fc8fb8 SHA256 52a9798a3447ac45a57569366931b25f79993fffb4905274584b981d5ecb4250 EBUILD open-vm-tools-0.0.20110223.368700.ebuild 3433 RMD160 e149df7bfd2622c386c539be0e84580f8d59fc71 SHA1 9befacd864026bc5f62384b2e3bf7e15297da6a8 SHA256 b510d2b154f9ca6cbe111b6081bc500226ba488f1f5405eba54f77e43967522d -EBUILD open-vm-tools-0.0.20110328.387002-r1.ebuild 3487 RMD160 79191378ba6310a00cedc4c2af4df92032403ea2 SHA1 a9beb2a3120c242d30c5531ecbf26a05f2de65fa SHA256 65dd41d7da065cd3edbf2954d882ffafb56ca2a271f664bdf97c5c243492cd24 -MISC ChangeLog 10541 RMD160 4e479dfca9b79ac38e88df238ab2b089a2aac71e SHA1 10c9c7005d2197b5cf3012594d4aab9a9703824c SHA256 bf94920081a7bb7166d26a6d4addf94eccec6a28d405eb02bb4cfae6f7671867 +EBUILD open-vm-tools-0.0.20110328.387002-r2.ebuild 3488 RMD160 240ef5eba7d4c437ee914428ff8f55e39afa5ccb SHA1 7a09a623a8ddb5b1eaf1b66000088746fac65fa7 SHA256 bda89884d3d165ca4ffb0e374025a52fd4e17ea79c8cf3c6a059a878fd9ac666 +MISC ChangeLog 10755 RMD160 3528fe08bb90f1e7d86365a46d0ec8018de9f763 SHA1 ab7d3ab1a62791e15d733da3952eeae7d3fe05b1 SHA256 a2c3a5280355025aa182f843ccdc6414295ba11f99c82f4d7750d535dfc9b9f2 MISC metadata.xml 791 RMD160 55a935bb194818c26471ad7e551dbffa1df2fc1c SHA1 cac933fef6a9eedc65a3d96f4edd117432bcbb2e SHA256 ac4e805eb85bb369b37f3381a6271a5bae8739b42465f64ee168cdc9683738d7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk2tqvQACgkQiLKviuHfItUD+wCg1OfWun5WbTqZ57iuSGOGrfRh -5YQAnAhjtyg16oik4ZbSTucr/m30/ZwB -=9SZ3 +iEYEARECAAYFAk2u8ToACgkQiLKviuHfItVTBwCgpA5bxrlXwmH/KDEksyasm2YN +fa0An2e79i1mDd+3b61f2tCH2xIWpU7D +=rYT+ -----END PGP SIGNATURE----- diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r1.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r1.ebuild deleted file mode 100644 index 347bb5dc9f6a..000000000000 --- a/app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2011 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.20110328.387002-r1.ebuild,v 1.1 2011/04/19 15:29:00 vadimk Exp $ - -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 - 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 - 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" - - fperms 4755 "/usr/bin/vmware-user-suid-wrapper" || die - - 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 - 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, 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.20110328.387002-r2.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r2.ebuild new file mode 100644 index 000000000000..cc6203ce22d1 --- /dev/null +++ b/app-emulation/open-vm-tools/open-vm-tools-0.0.20110328.387002-r2.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2011 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.20110328.387002-r2.ebuild,v 1.1 2011/04/20 14:40:51 vadimk Exp $ + +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 + 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 + 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, 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 +} -- cgit v1.2.3-65-gdbad