summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2012-03-25 11:00:52 -0400
committerVadim Kuznetsov <vadimk@gentoo.org>2012-03-25 11:00:52 -0400
commit07941fa517b7adbf9e05460cade622c6b0037bdb (patch)
tree361e78f20b856b2fa2b107d544a204f5c75d84e0
parentempty (diff)
downloadvmware-07941fa517b7adbf9e05460cade622c6b0037bdb.tar.gz
vmware-07941fa517b7adbf9e05460cade622c6b0037bdb.tar.bz2
vmware-07941fa517b7adbf9e05460cade622c6b0037bdb.zip
config checks and udev rules
-rw-r--r--app-emulation/open-vm-tools-kmod/Manifest4
-rw-r--r--app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368-r1.ebuild (renamed from app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild)18
-rw-r--r--app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212-r1.ebuild (renamed from app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild)17
3 files changed, 19 insertions, 20 deletions
diff --git a/app-emulation/open-vm-tools-kmod/Manifest b/app-emulation/open-vm-tools-kmod/Manifest
index 1efb0c3..6365884 100644
--- a/app-emulation/open-vm-tools-kmod/Manifest
+++ b/app-emulation/open-vm-tools-kmod/Manifest
@@ -1,6 +1,6 @@
AUX fragsize.patch 4543 RMD160 3c9b7f1f08d0ac3a306b8e6632bcf18310484a26 SHA1 f623bdbe583153e0e12f293954c5ac155539a3f7 SHA256 fee39ad39fb9d3d84bfa09b7a51096ffc7d1f65f78a227ab591c0c006eef9f8e
DIST open-vm-tools-2012.03.13-651368.tar.gz 3551741 RMD160 3b0c6b8f0561d8b6703056eb66fd754cb20762d0 SHA1 190f843d63585c128f2a9f3d3a912ac6cd6df462 SHA256 f173071705aec3c835d2a2d3f8ae8178defff216c706b23765d0c932171e6795
DIST open-vm-tools-8.8.2-590212.tar.gz 3795261 RMD160 67e95c0b8a3c8b433bb5f30f186b7ae9d4cacc83 SHA1 8bc165bdda760dcf3723ffcc9d5f72a5beeff88d SHA256 c985c8fe7b292209ec1ac7c2b60749d7a9dd7859d789c332deb6baaf53ba8878
-EBUILD open-vm-tools-kmod-2012.03.13.651368.ebuild 1697 RMD160 ba38184e8cd4a3ebd9d8568bfa69b538d10dfbf8 SHA1 32fccf5760462c14f93f6e044510d29dbf1bcb38 SHA256 5cb15a7946d7dd6642e5192cbbe2da8ea3cbb22c98f949dc353ee5b5b0b7176e
-EBUILD open-vm-tools-kmod-8.8.2.590212.ebuild 1889 RMD160 e47c6aaf0b6a09b03df00ea311c914c0945386f1 SHA1 f11564ab9480d179a8655517f9e4e7a2a1ee916a SHA256 7339254f6daaca6b1dca5be524cb734d60b7d7f12941efb129c3e9e50adc57f8
+EBUILD open-vm-tools-kmod-2012.03.13.651368-r1.ebuild 1523 RMD160 ad3ad803e055c677dc76246cd01808162aad8216 SHA1 1219c9d05ac9615f25d80dd69e2e7a43a1ed27bd SHA256 7cee943f8d33c91255ada84a272288965674773b655aa7c491f2dec16e28d0c1
+EBUILD open-vm-tools-kmod-8.8.2.590212-r1.ebuild 1714 RMD160 75410d7484036f0030f29ed895b88c111b074052 SHA1 668224ff341c400b6b1bcc384beba73f97d8da57 SHA256 5b1db32b43eef75ca093b03cd74afc73065ac46840b2ca1cf13da247488a7dfe
MISC metadata.xml 503 RMD160 fc12351dcb94137033d4810fc69d0211e0d0ec93 SHA1 bbe6feea6eff4574c897555e35649c6bd1f01963 SHA256 bed306dcff1b6d4243cf63ba912c88d3a630081501891687925c9dbf37995e00
diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368-r1.ebuild
index 8931ce9..869136b 100644
--- a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild
+++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="4"
-inherit linux-mod versionator
+inherit linux-info linux-mod versionator
MY_PN="${PN/-kmod}"
MY_PV="$(replace_version_separator 3 '-')"
@@ -25,6 +25,13 @@ DEPEND="${RDEPEND}
virtual/linux-sources
"
+CONFIG_CHECK="
+ ~DRM_VMWGFX
+ ~VMWARE_BALLOON
+ ~VMWARE_PVSCSI
+ ~VMXNET3
+ "
+
S="${WORKDIR}/${MY_P}"
pkg_setup() {
@@ -64,13 +71,6 @@ src_install() {
cat > "${udevrules}" <<-EOF
KERNEL=="vsock", GROUP="vmware", MODE=660
EOF
- insinto /etc/udev/rules.d/
+ insinto /lib/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-8.8.2.590212.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212-r1.ebuild
index c161cd0..86af76f 100644
--- a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild
+++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="4"
-inherit linux-mod versionator
+inherit linux-info linux-mod versionator
MY_PN="${PN/-kmod}"
MY_PV="$(replace_version_separator 3 '-')"
@@ -24,6 +24,12 @@ RDEPEND=""
DEPEND="${RDEPEND}
virtual/linux-sources
"
+CONFIG_CHECK="
+ ~DRM_VMWGFX
+ ~VMWARE_BALLOON
+ ~VMWARE_PVSCSI
+ ~VMXNET3
+ "
S="${WORKDIR}/${MY_P}"
@@ -65,13 +71,6 @@ src_install() {
cat > "${udevrules}" <<-EOF
KERNEL=="vsock", GROUP="vmware", MODE=660
EOF
- insinto /etc/udev/rules.d/
+ insinto /lib/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)"
-}