summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2011-02-11 13:55:36 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2011-02-11 13:55:36 +0000
commitde1cc249ebce2a95b3603a8beafa3c304381b4d7 (patch)
tree09e71109a9c7ae5dac438ce00fadf316d83de7e1
parentmanifests (diff)
downloadvmware-de1cc249ebce2a95b3603a8beafa3c304381b4d7.tar.gz
vmware-de1cc249ebce2a95b3603a8beafa3c304381b4d7.tar.bz2
vmware-de1cc249ebce2a95b3603a8beafa3c304381b4d7.zip
new vmware modules for vmware server 1.0.10 with Mario Fetka patchset
svn path=/trunk/; revision=443
-rw-r--r--app-emulation/vmware-modules/Manifest2
-rw-r--r--app-emulation/vmware-modules/vmware-modules-138.10.7.ebuild70
-rw-r--r--app-emulation/vmware-server/Manifest2
-rw-r--r--app-emulation/vmware-server/vmware-server-1.0.10.203137-r1.ebuild (renamed from app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild)9
4 files changed, 77 insertions, 6 deletions
diff --git a/app-emulation/vmware-modules/Manifest b/app-emulation/vmware-modules/Manifest
index 759c6e0..732d596 100644
--- a/app-emulation/vmware-modules/Manifest
+++ b/app-emulation/vmware-modules/Manifest
@@ -16,7 +16,9 @@ AUX sema.patch 3621 RMD160 c1710c17094f21bdc31190975a29421055cb85a8 SHA1 960475b
AUX sk_sleep.patch 6937 RMD160 e15642e34906138278563d57e9647e4e579d437e SHA1 ce9a3e9069bb85cb9793c59d38ad4f217ba8d5b2 SHA256 67a019290204b36410996ecd1bbe4e630b2022970ddb236a120abf1b810f05b4
AUX unlocked_ioctl.patch 1114 RMD160 9e837ff627f539e70fd0c110b17d5dd606dea9ea SHA1 0b1f11171a9d76a42ebf768557dc2e28152bc77a SHA256 d3ea574000ab0ccacad75534fc76b482ef78a47a7804e9f2abeb406ceccbb458
DIST vmware-any-any-update115.tar.gz 493641 RMD160 56cabe56f70c01a22a7671e861cc5a2df19855c7 SHA1 ff9b6fdf6ca74495eb5f4822a1854fc91185377c SHA256 b1c14fa9514663b85c2efe8331407e71cce96e5a21a8b941fa570c960bbdcaa1
+DIST vmware-modules-138.10-genpatches-7.tar.bz2 14498 RMD160 a6927bad3eb2b797eb5d8d2a90c6447ebb1fd709 SHA1 57a1524149f976bccfbc0789cd40863f1ab012f0 SHA256 2b3209e71543904eb39919b3da19df4b1c702b00e5f2def9c9d53b3ca9b7e2b6
EBUILD vmware-modules-1.0.0.15-r2.ebuild 445 RMD160 d16a678a0c9291289be89006b74782aeb0ba5a7a SHA1 c27bc611caae5e0b4afdc45ed5d62ee238a43b1e SHA256 f387e8c45b0b2fcee19b80a66dd3497981c54297fd9d21b7e01c60fb7e39a65d
+EBUILD vmware-modules-138.10.7.ebuild 1825 RMD160 3e4999c91f97217815c9d8ad852a63f0d452995d SHA1 c2bd1e62e0418f62b5f62261811734ba9e8f34b2 SHA256 573f1080031bf394cde783ef5d574da7934546d586e3dc942037fde0b1d2e6be
EBUILD vmware-modules-235.ebuild 1867 RMD160 7b2f32e517c869ca94109d13ded6b86be28f1ca2 SHA1 9d3d8e2301c90cd6fc17d8b709e0c900b88939d1 SHA256 586a938c4b69e546fff97dd3ec96a02e971630888c7e517c00ee0a60ba94b1fb
EBUILD vmware-modules-238.2-r1.ebuild 1935 RMD160 c11d2ee264d3e1f35158c4048bd76cb04fb98e33 SHA1 6ec948a5849d4aac511ceb74160f9497492d4da6 SHA256 115ba8c67658930cd0219cd411b174ef4402d3506721441be94e6242133de9b9
EBUILD vmware-modules-238.3-r2.ebuild 1872 RMD160 c28c4bb14c06e130c97b1da0d094602aa668d5d8 SHA1 01a56b8327e0558ec327ff40e1bcc04de6ded09d SHA256 b3b6bbfa1dadb41191d671bc73bd93d6d0936aac2f6ae0cedd2ffab418acbacc
diff --git a/app-emulation/vmware-modules/vmware-modules-138.10.7.ebuild b/app-emulation/vmware-modules/vmware-modules-138.10.7.ebuild
new file mode 100644
index 0000000..1d43989
--- /dev/null
+++ b/app-emulation/vmware-modules/vmware-modules-138.10.7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils flag-o-matic linux-mod versionator
+
+DESCRIPTION="VMware kernel modules for vmware server 1.0.x"
+HOMEPAGE="http://www.vmware.com/"
+
+MY_PV=$(get_version_component_range 1-2 "${PV}")
+MY_P=${PN}-${MY_PV}
+GENPATCHES_VER=$(get_version_component_range 3 "${PV}")
+MY_SV=$(get_version_component_range 2 "${PV}")
+SRC_URI="http://ftp.disconnected-by-peer.at/vmware/${MY_P}-genpatches-${GENPATCHES_VER}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ =app-emulation/vmware-server-1.0.${MY_SV}*"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ VMWARE_GROUP=${VMWARE_GROUP:-vmware}
+
+ VMWARE_MODULE_LIST="vmmon vmnet"
+ VMWARE_MOD_DIR="${PF}"
+
+ BUILD_TARGETS="auto-build VMWARE_VER=${VMWARE_VER} KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
+
+ enewgroup "${VMWARE_GROUP}"
+ filter-flags -mfpmath=sse
+
+ for mod in ${VMWARE_MODULE_LIST}; do
+ MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
+ done
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ for mod in ${VMWARE_MODULE_LIST}; do
+ tar -xf /opt/vmware/server/lib/modules/source/${mod}.tar
+ done
+}
+
+src_prepare() {
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/patches" epatch
+ sed -i -e '/\smake\s/s/make/$(MAKE)/g' {vmmon,vmnet}-only/Makefile || die "Sed failed."
+
+}
+
+src_install() {
+ # this adds udev rules for vmmon*
+ if echo ${VMWARE_MODULE_LIST} | grep -q vmmon ; then
+ dodir /etc/udev/rules.d
+ echo 'KERNEL=="vmmon*", GROUP="'${VMWARE_GROUP}'", MODE=660' >> "${D}/etc/udev/rules.d/60-vmware.rules" || die
+ echo 'KERNEL=="vmnet*", GROUP="'${VMWARE_GROUP}'", MODE=660' >> "${D}/etc/udev/rules.d/60-vmware.rules" || die
+ fi
+
+ linux-mod_src_install
+}
diff --git a/app-emulation/vmware-server/Manifest b/app-emulation/vmware-server/Manifest
index 22ddcc9..fdec3f8 100644
--- a/app-emulation/vmware-server/Manifest
+++ b/app-emulation/vmware-server/Manifest
@@ -14,5 +14,5 @@ AUX vmware-server.rc 1529 RMD160 d6840024f8c7be0a673e5e29660cc75fea9520d8 SHA1 0
AUX vmware-server.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d
DIST VMware-server-1.0.10-203137.tar.gz 107183610 RMD160 0ddaa6a6f5b3c08804eb1b97f13ffd0fc0b87876 SHA1 f21ed65a500b2176166d90ed2821892ce1cb1fd5 SHA256 744d6057daeea5f9a950d164a3d9c5ca6273feed645699cfcf16d8acbcfa504c
DIST vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 RMD160 7f64627b5b945e8d7dabe39c165a4b66b71fb4d3 SHA1 9d696750ca3ec92b31ca8112fd80dcd832494044 SHA256 c42299dd033187c67b45b739da66583fbd94cdcba745200b89a25ac96cd9364b
-EBUILD vmware-server-1.0.10.203137.ebuild 3003 RMD160 ab9f2256de79ad33c49baebb0cf1a5a8a7b8dfb9 SHA1 3ca0c501c4a98fb2f9f13ba7a4f11ade6431ede3 SHA256 c05cbcbf8b691b95d75cf676602b17be084ba7552fe39eedc162d4c52004edb5
+EBUILD vmware-server-1.0.10.203137-r1.ebuild 2894 RMD160 c0dd0133c2b2c296b40299092fca94282e4a5d32 SHA1 47abd4891c48e49824526ac2ee167be4a7ba84af SHA256 c38b3680f4d8fe32dba60cda40ae736db9c56988a927066d673c0f3e11fae1d9
MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215
diff --git a/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild b/app-emulation/vmware-server/vmware-server-1.0.10.203137-r1.ebuild
index e702211..04dee47 100644
--- a/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild
+++ b/app-emulation/vmware-server/vmware-server-1.0.10.203137-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild,v 1.1 2009/12/18 16:14:42 vadimk Exp $
@@ -10,11 +10,11 @@ inherit eutils versionator vmware
MY_PV=$(replace_version_separator 3 '-' )
MY_P="VMware-server-${MY_PV}"
+MY_SV=$(get_version_component_range 3 "${PV}")
DESCRIPTION="VMware Server for Linux"
HOMEPAGE="http://www.vmware.com/"
SRC_URI="mirror://vmware/software/vmserver/${MY_P}.tar.gz
- http://dev.gentoo.org/~ikelos/devoverlay-distfiles/${PN}-perl-fixed-rpath-libs.tar.bz2
mirror://gentoo/${PN}-perl-fixed-rpath-libs.tar.bz2"
LICENSE="vmware"
@@ -47,13 +47,12 @@ RDEPEND=">=sys-libs/glibc-2.3.5
!<sys-apps/dbus-0.62
!app-emulation/vmware-player
!app-emulation/vmware-workstation
- ~app-emulation/vmware-modules-1.0.0.15
- !<app-emulation/vmware-modules-1.0.0.15
- !>=app-emulation/vmware-modules-1.0.0.16
sys-apps/pciutils
virtual/pam
sys-apps/xinetd"
+PDEPEND="=app-emulation/vmware-modules-138.${MY_SV}*"
+
S=${WORKDIR}/vmware-server-distrib
RUN_UPDATE="no"