summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-06-04 10:12:40 -0400
committerMike Gilbert <floppym@gentoo.org>2022-06-04 10:13:40 -0400
commit098be6c6eafc263fd824772c82c26d60c88f5ebe (patch)
treefa8926557bfdfa13d807f9ee888056969ba1f531 /app-emulation
parentdev-lisp/sbcl: remove old version (diff)
downloadgentoo-098be6c6eafc263fd824772c82c26d60c88f5ebe.tar.gz
gentoo-098be6c6eafc263fd824772c82c26d60c88f5ebe.tar.bz2
gentoo-098be6c6eafc263fd824772c82c26d60c88f5ebe.zip
app-emulation/open-vm-tools: use udev eclass
Closes: https://bugs.gentoo.org/849599 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild11
-rw-r--r--app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild11
2 files changed, 20 insertions, 2 deletions
diff --git a/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild b/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild
index 5a59713f2a67..02e927c472da 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools linux-info pam systemd
+inherit autotools linux-info pam systemd udev
DESCRIPTION="Tools for VMware guests"
HOMEPAGE="https://github.com/vmware/open-vm-tools"
@@ -104,6 +104,7 @@ src_configure() {
$(use_enable vgauth)
$(use_with dnet)
$(use_with icu)
+ --with-udev-rules-dir="$(get_udevdir)/rules.d"
)
# Avoid a bug in configure.ac
use ssl || myeconfargs+=( --without-ssl )
@@ -138,3 +139,11 @@ src_install() {
dobin scripts/common/vmware-xdg-detect-de
fi
}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild b/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild
index 81f1a30045a4..29730afa69b4 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools linux-info pam systemd
+inherit autotools linux-info pam systemd udev
DESCRIPTION="Tools for VMware guests"
HOMEPAGE="https://github.com/vmware/open-vm-tools"
@@ -104,6 +104,7 @@ src_configure() {
$(use_enable vgauth)
$(use_with dnet)
$(use_with icu)
+ --with-udev-rules-dir="$(get_udevdir)/rules.d"
)
# Avoid a bug in configure.ac
use ssl || myeconfargs+=( --without-ssl )
@@ -138,3 +139,11 @@ src_install() {
dobin scripts/common/vmware-xdg-detect-de
fi
}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}