View | Details | Raw Unified | Return to bug 226204
Collapse All | Expand All

(-)Makefile (-7 / +9 lines)
Lines 21-28 Link Here
21
RELEASE_VER=		10.2.0
21
RELEASE_VER=		10.2.0
22
BUILD_VER=		7253323
22
BUILD_VER=		7253323
23
23
24
OPTIONS_DEFINE=		DNET LIBNOTIFY OPENSSL X11
24
OPTIONS_DEFINE=		DNET LIBNOTIFY OPENSSL X11 FUSE
25
OPTIONS_DEFAULT=	DNET LIBNOTIFY OPENSSL X11
25
OPTIONS_DEFAULT=	DNET LIBNOTIFY OPENSSL X11 FUSE
26
26
27
OPTIONS_SUB=
27
OPTIONS_SUB=
28
28
Lines 38-48 Link Here
38
DNET_CONFIGURE_WITH=	dnet
38
DNET_CONFIGURE_WITH=	dnet
39
DNET_LIB_DEPENDS=	libdnet.so:net/libdnet
39
DNET_LIB_DEPENDS=	libdnet.so:net/libdnet
40
OPENSSL_CONFIGURE_WITH=	ssl
40
OPENSSL_CONFIGURE_WITH=	ssl
41
FUSE_USES=		fuse
41
42
42
WRKSRC_SUBDIR=		open-vm-tools
43
WRKSRC_SUBDIR=		open-vm-tools
43
44
44
GNU_CONFIGURE=		yes
45
GNU_CONFIGURE=		yes
45
USES=			autoreconf fuse gettext-runtime kmod libtool localbase pathfix pkgconfig
46
USES=			autoreconf gettext-runtime kmod libtool localbase pathfix pkgconfig
46
USE_GNOME=		glib20
47
USE_GNOME=		glib20
47
48
48
USE_GITHUB=		yes
49
USE_GITHUB=		yes
Lines 55-60 Link Here
55
56
56
CONFIGURE_ARGS+=	--without-icu \
57
CONFIGURE_ARGS+=	--without-icu \
57
			--disable-vgauth \
58
			--disable-vgauth \
59
			--disable-grabbitmqproxy \
60
			--without-procps \
61
			--disable-deploypkg \
58
			--sysconfdir=${PREFIX}/etc
62
			--sysconfdir=${PREFIX}/etc
59
63
60
CONFLICTS+=		vmware-guestd[0-9]* vmware-tools[0-9]*
64
CONFLICTS+=		vmware-guestd[0-9]* vmware-tools[0-9]*
Lines 80-86 Link Here
80
		${WRKSRC}/lib/guestApp/guestApp.c
84
		${WRKSRC}/lib/guestApp/guestApp.c
81
85
82
post-build:
86
post-build:
83
	cd ${WRKSRC}/modules && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS}
87
	(cd ${WRKSRC}/modules && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS})
84
88
85
post-install:
89
post-install:
86
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers
90
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers
Lines 88-96 Link Here
88
	${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmblock.ko
92
	${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmblock.ko
89
	${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmmemctl.ko
93
	${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmmemctl.ko
90
	${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmxnet.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmxnet.ko
94
	${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmxnet.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmxnet.ko
91
	${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/vmware/
92
	${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/
93
	${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/tests/
94
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.conf.d
95
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.conf.d
96
	${INSTALL_DATA} ${FILESDIR}/tools.conf.sample ${STAGEDIR}${PREFIX}/share/vmware-tools/
95
97
96
.include <bsd.port.post.mk>
98
.include <bsd.port.post.mk>
(-)files/tools.conf.sample (+3 lines)
Line 0 Link Here
1
[logging]
2
vmsvc.level=error
3
(-)files/vmware-kmod.in (-2 / +2 lines)
Lines 16-22 Link Here
16
vmware_mod_load()
16
vmware_mod_load()
17
{
17
{
18
	echo -n "Loading $1 kernel module: "
18
	echo -n "Loading $1 kernel module: "
19
	kldstat -n %%PREFIX%%/lib/vmware-tools/modules/drivers/$1.ko >/dev/null 2>&1
19
	kldstat -qn %%PREFIX%%/lib/vmware-tools/modules/drivers/$1.ko
20
	if [ "$?" = "0" ]; then
20
	if [ "$?" = "0" ]; then
21
		echo "already loaded."
21
		echo "already loaded."
22
	else
22
	else
Lines 32-38 Link Here
32
vmware_mod_status()
32
vmware_mod_status()
33
{
33
{
34
	echo -n "Checking $1 kernel module: "
34
	echo -n "Checking $1 kernel module: "
35
	kldstat -n %%PREFIX%%/lib/vmware-tools/modules/drivers/$1.ko >/dev/null 2>&1
35
	kldstat -qn %%PREFIX%%/lib/vmware-tools/modules/drivers/$1.ko
36
	if [ "$?" = "0" ]; then
36
	if [ "$?" = "0" ]; then
37
		echo "loaded."
37
		echo "loaded."
38
	else
38
	else
(-)pkg-plist (-15 / +13 lines)
Lines 1-4 Link Here
1
bin/vmhgfs-fuse
1
%%FUSE%%bin/vmhgfs-fuse
2
bin/vmtoolsd
2
bin/vmtoolsd
3
bin/vmware-checkvm
3
bin/vmware-checkvm
4
bin/vmware-hgfsclient
4
bin/vmware-hgfsclient
Lines 5-15 Link Here
5
bin/vmware-namespace-cmd
5
bin/vmware-namespace-cmd
6
bin/vmware-rpctool
6
bin/vmware-rpctool
7
bin/vmware-toolbox-cmd
7
bin/vmware-toolbox-cmd
8
bin/vmware-vmblock-fuse
9
%%X11%%bin/vmware-user
8
%%X11%%bin/vmware-user
10
%%X11%%bin/vmware-user-suid-wrapper
9
%%X11%%bin/vmware-user-suid-wrapper
11
%%X11%%etc/xdg/autostart/vmware-user.desktop
10
%%FUSE%%bin/vmware-vmblock-fuse
12
bin/vmware-xferlogs
11
bin/vmware-xferlogs
12
etc/pam.d/vmtoolsd
13
include/vmGuestLib/includeCheck.h
13
include/vmGuestLib/includeCheck.h
14
include/vmGuestLib/vmGuestLib.h
14
include/vmGuestLib/vmGuestLib.h
15
include/vmGuestLib/vmSessionId.h
15
include/vmGuestLib/vmSessionId.h
Lines 26-32 Link Here
26
lib/libvmtools.so
26
lib/libvmtools.so
27
lib/libvmtools.so.0
27
lib/libvmtools.so.0
28
lib/libvmtools.so.0.0.0
28
lib/libvmtools.so.0.0.0
29
@dir lib/vmware-tools/modules/input
30
lib/open-vm-tools/plugins/common/libhgfsServer.so
29
lib/open-vm-tools/plugins/common/libhgfsServer.so
31
lib/open-vm-tools/plugins/common/libvix.so
30
lib/open-vm-tools/plugins/common/libvix.so
32
lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
31
lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
Lines 36-46 Link Here
36
%%X11%%lib/open-vm-tools/plugins/vmusr/libresolutionSet.so
35
%%X11%%lib/open-vm-tools/plugins/vmusr/libresolutionSet.so
37
%%X11%%lib/open-vm-tools/plugins/vmusr/libdesktopEvents.so
36
%%X11%%lib/open-vm-tools/plugins/vmusr/libdesktopEvents.so
38
%%X11%%lib/open-vm-tools/plugins/vmusr/libdndcp.so
37
%%X11%%lib/open-vm-tools/plugins/vmusr/libdndcp.so
38
%%X11%%etc/xdg/autostart/vmware-user.desktop
39
lib/vmware-tools/modules/drivers/vmblock.ko
39
lib/vmware-tools/modules/drivers/vmblock.ko
40
lib/vmware-tools/modules/drivers/vmmemctl.ko
40
lib/vmware-tools/modules/drivers/vmmemctl.ko
41
lib/vmware-tools/modules/drivers/vmxnet.ko
41
lib/vmware-tools/modules/drivers/vmxnet.ko
42
libdata/pkgconfig/vmguestlib.pc
42
libdata/pkgconfig/vmguestlib.pc
43
sbin/mount_vmblock
43
sbin/mount_vmblock
44
%%DATADIR%%/messages/de/toolboxcmd.vmsg
45
%%DATADIR%%/messages/de/vmtoolsd.vmsg
46
%%DATADIR%%/messages/ja/toolboxcmd.vmsg
47
%%DATADIR%%/messages/ja/vmtoolsd.vmsg
48
%%DATADIR%%/messages/ko/toolboxcmd.vmsg
49
%%DATADIR%%/messages/ko/vmtoolsd.vmsg
50
%%DATADIR%%/messages/zh_CN/toolboxcmd.vmsg
44
share/vmware-tools/poweroff-vm-default
51
share/vmware-tools/poweroff-vm-default
45
share/vmware-tools/poweron-vm-default
52
share/vmware-tools/poweron-vm-default
46
share/vmware-tools/resume-vm-default
53
share/vmware-tools/resume-vm-default
Lines 47-63 Link Here
47
share/vmware-tools/scripts/vmware/network
54
share/vmware-tools/scripts/vmware/network
48
share/vmware-tools/statechange.subr
55
share/vmware-tools/statechange.subr
49
share/vmware-tools/suspend-vm-default
56
share/vmware-tools/suspend-vm-default
57
@sample share/vmware-tools/tools.conf.sample
50
share/vmware-tools/vm-support
58
share/vmware-tools/vm-support
51
%%DATADIR%%/messages/de/toolboxcmd.vmsg
59
@dir lib/vmware-tools/modules/input
52
%%DATADIR%%/messages/de/vmtoolsd.vmsg
53
%%DATADIR%%/messages/ja/toolboxcmd.vmsg
54
%%DATADIR%%/messages/ja/vmtoolsd.vmsg
55
%%DATADIR%%/messages/ko/toolboxcmd.vmsg
56
%%DATADIR%%/messages/ko/vmtoolsd.vmsg
57
%%DATADIR%%/messages/zh_CN/toolboxcmd.vmsg
58
@rmtry etc/vmware-tools/plugins
59
etc/pam.d/vmtoolsd
60
@dir %%DATADIR%%/scripts/vmware
61
@dir %%DATADIR%%/tests
62
@preunexec %%PREFIX%%/bin/vmware-rpctool 'tools.set.version 0' ; service vmware-guestd stop 2>/dev/null || /usr/bin/true
60
@preunexec %%PREFIX%%/bin/vmware-rpctool 'tools.set.version 0' ; service vmware-guestd stop 2>/dev/null || /usr/bin/true
63
@postexec service vmware-kmod restart && service vmware-guestd restart || /usr/bin/true
61
@postexec service vmware-kmod restart && service vmware-guestd restart || /usr/bin/true

Return to bug 226204