pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/open-vm-tools



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Oct  8 16:01:30 UTC 2017

Modified Files:
        pkgsrc/sysutils/open-vm-tools: Makefile distinfo options.mk
Added Files:
        pkgsrc/sysutils/open-vm-tools: PLIST
Removed Files:
        pkgsrc/sysutils/open-vm-tools: PLIST.common PLIST.x11

Log Message:
open-vm-tools: fix distfile retrieval, building, and clean-ups

PkgSrc-only changes:
- Used proper MASTER_SITE
- Distfile now can be downloaded correctly
- Unified PLISTs
- Clean up


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/sysutils/open-vm-tools/Makefile
cvs rdiff -u -r0 -r1.3 pkgsrc/sysutils/open-vm-tools/PLIST
cvs rdiff -u -r1.4 -r0 pkgsrc/sysutils/open-vm-tools/PLIST.common
cvs rdiff -u -r1.2 -r0 pkgsrc/sysutils/open-vm-tools/PLIST.x11
cvs rdiff -u -r1.25 -r1.26 pkgsrc/sysutils/open-vm-tools/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/open-vm-tools/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/open-vm-tools/Makefile
diff -u pkgsrc/sysutils/open-vm-tools/Makefile:1.76 pkgsrc/sysutils/open-vm-tools/Makefile:1.77
--- pkgsrc/sysutils/open-vm-tools/Makefile:1.76 Sun Oct  8 04:45:00 2017
+++ pkgsrc/sysutils/open-vm-tools/Makefile      Sun Oct  8 16:01:30 2017
@@ -1,41 +1,42 @@
-# $NetBSD: Makefile,v 1.76 2017/10/08 04:45:00 ryoon Exp $
+# $NetBSD: Makefile,v 1.77 2017/10/08 16:01:30 adam Exp $
 
 DISTNAME=      open-vm-tools-10.1.15
 CATEGORIES=    sysutils
-MASTER_SITES=  https://github.com/vmware/open-vm-tools/releases/download/${PKGVERSION_NOREV}/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=vmware/}
 
 MAINTAINER=    agc%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/vmware/open-vm-tools
 COMMENT=       Open source VMware tools
 LICENSE=       gnu-lgpl-v2.1
 
+GITHUB_TAG=    stable-${PKGVERSION_NOREV}
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}/${GITHUB_PROJECT}
+
 ONLY_FOR_PLATFORM=     NetBSD-*-i386 NetBSD-*-x86_64
 
 GCC_REQD+=     4.8
 BUILDLINK_TRANSFORM.NetBSD+=   rm:-Werror
 
-GNU_CONFIGURE= yes
-USE_LANGUAGES+=        c gnu++11
-USE_LIBTOOL=   yes
-USE_TOOLS+=    pkg-config autoconf automake
-
-PLIST_SRC=     PLIST.common
-
-CONFIGURE_ARGS+=               --disable-unity --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+=               --disable-vgauth
-CONFIGURE_ARGS+=               --disable-grabbitmqproxy
-CONFIGURE_ARGS+=               --disable-docs # Requires doxygen
-
-INSTALLATION_DIRS+=            share/examples/vmware-tools
-
-PKG_SYSCONFSUBDIR=             vmware-tools
-EGDIR=                         ${PREFIX}/share/examples/vmware-tools
-CONF_FILES_PERMS+=             ${EGDIR}/poweroff-vm-default ${PKG_SYSCONFDIR}/poweroff-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
-CONF_FILES_PERMS+=             ${EGDIR}/poweron-vm-default ${PKG_SYSCONFDIR}/poweron-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
-CONF_FILES_PERMS+=             ${EGDIR}/resume-vm-default ${PKG_SYSCONFDIR}/resume-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
-CONF_FILES_PERMS+=             ${EGDIR}/statechange.subr ${PKG_SYSCONFDIR}/statechange.subr ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
-CONF_FILES_PERMS+=             ${EGDIR}/suspend-vm-default ${PKG_SYSCONFDIR}/suspend-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
-RCD_SCRIPTS=                   vmtools
+USE_LANGUAGES=         c gnu++11
+USE_LIBTOOL=           yes
+USE_TOOLS+=            autoconf automake pkg-config
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --disable-docs # Requires doxygen
+CONFIGURE_ARGS+=       --disable-grabbitmqproxy
+CONFIGURE_ARGS+=       --disable-unity
+CONFIGURE_ARGS+=       --disable-vgauth
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+
+INSTALLATION_DIRS+=    share/examples/vmware-tools
+
+PKG_SYSCONFSUBDIR=     vmware-tools
+EGDIR=                 ${PREFIX}/share/examples/vmware-tools
+CONF_FILES_PERMS+=     ${EGDIR}/poweroff-vm-default ${PKG_SYSCONFDIR}/poweroff-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
+CONF_FILES_PERMS+=     ${EGDIR}/poweron-vm-default ${PKG_SYSCONFDIR}/poweron-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
+CONF_FILES_PERMS+=     ${EGDIR}/resume-vm-default ${PKG_SYSCONFDIR}/resume-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
+CONF_FILES_PERMS+=     ${EGDIR}/statechange.subr ${PKG_SYSCONFDIR}/statechange.subr ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
+CONF_FILES_PERMS+=     ${EGDIR}/suspend-vm-default ${PKG_SYSCONFDIR}/suspend-vm-default ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
+RCD_SCRIPTS=           vmtools
 
 SUBST_CLASSES+=                        fix-etc-path
 SUBST_STAGE.fix-etc-path=      pre-configure
@@ -45,7 +46,7 @@ SUBST_FILES.fix-etc-path+=    lib/procMgr/p
 SUBST_VARS.fix-etc-path+=      PREFIX
 
 pre-configure:
-       cd ${WRKSRC} && autoreconf -f
+       cd ${WRKSRC} && autoreconf -f -i
 
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
@@ -56,14 +57,13 @@ _WRAP_EXTRA_ARGS.CC+=       -Wno-error=unused-
 CWRAPPERS_APPEND.cc+=  -Wno-error=unused-local-typedefs -Wno-error=unused-but-set-variable
 .endif
 
+.include "options.mk"
+
 .include "../../archivers/libmspack/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../mk/fuse.buildlink3.mk"
-.include "../../mk/pam.buildlink3.mk"
 .include "../../net/libdnet/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../security/xml-security-c/buildlink3.mk"
-
-.include "options.mk"
-
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/pam.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/open-vm-tools/distinfo
diff -u pkgsrc/sysutils/open-vm-tools/distinfo:1.25 pkgsrc/sysutils/open-vm-tools/distinfo:1.26
--- pkgsrc/sysutils/open-vm-tools/distinfo:1.25 Sun Oct  8 04:45:00 2017
+++ pkgsrc/sysutils/open-vm-tools/distinfo      Sun Oct  8 16:01:30 2017
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.25 2017/10/08 04:45:00 ryoon Exp $
+$NetBSD: distinfo,v 1.26 2017/10/08 16:01:30 adam Exp $
 
-SHA1 (open-vm-tools-10.1.15.tar.gz) = 1f37ffd77a0ccfe99cd4b3a9057b75a878591ee7
-RMD160 (open-vm-tools-10.1.15.tar.gz) = 063611a9f97629c735766b2457742946d174a198
-SHA512 (open-vm-tools-10.1.15.tar.gz) = 0cf8fe4eb6eb8fecc74c6827c437a3cd7f02a36771c29c4becd6ef498274ec61c9b2e898b8ef3027af770e82814ed1a7b8d08a66c058fb078c6587c6ca1e1333
-Size (open-vm-tools-10.1.15.tar.gz) = 5145932 bytes
+SHA1 (open-vm-tools-10.1.15.tar.gz) = 1b9a68b8acedeb720c91ac20ddf17e5187320cc6
+RMD160 (open-vm-tools-10.1.15.tar.gz) = 27de01103f7d7ac16258acaf64545f5f47a796bc
+SHA512 (open-vm-tools-10.1.15.tar.gz) = 4c75ee3424c1cb0e4b949a8d52863337ca754eeae90e078fd63790fcc67ea11b9136f9f1cb0f32e31d3f934e514a269706db08c698b6fe0b3beb1fe9437cd103
+Size (open-vm-tools-10.1.15.tar.gz) = 3551568 bytes
 SHA1 (patch-ag) = 67ce2bcba5cfcbd48f4d2345d5529329424952b3
 SHA1 (patch-ah) = bdee6d92cdfe64f1ab513876ccd9d01f6fda6882
 SHA1 (patch-ai) = 3e8c67a33f6072319f1741bda960377fc2663b06

Index: pkgsrc/sysutils/open-vm-tools/options.mk
diff -u pkgsrc/sysutils/open-vm-tools/options.mk:1.5 pkgsrc/sysutils/open-vm-tools/options.mk:1.6
--- pkgsrc/sysutils/open-vm-tools/options.mk:1.5        Mon Feb 20 09:19:27 2017
+++ pkgsrc/sysutils/open-vm-tools/options.mk    Sun Oct  8 16:01:30 2017
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2017/02/20 09:19:27 tnn Exp $
+# $NetBSD: options.mk,v 1.6 2017/10/08 16:01:30 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.open-vm-tools
 PKG_SUPPORTED_OPTIONS= icu x11
@@ -6,6 +6,8 @@ PKG_SUGGESTED_OPTIONS=  icu x11
 
 .include "../../mk/bsd.options.mk"
 
+PLIST_VARS+=   x11
+
 .if !empty(PKG_OPTIONS:Micu)
 .include "../../textproc/icu/buildlink3.mk"
 .else
@@ -13,7 +15,7 @@ CONFIGURE_ARGS+=              --without-icu
 .endif
 
 .if !empty(PKG_OPTIONS:Mx11)
-PLIST_SRC+=    PLIST.x11
+PLIST.x11=     yes
 MESSAGE_SRC+=  MESSAGE.x11
 .  include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
 .  include "../../sysutils/desktop-file-utils/desktopdb.mk"

Added files:

Index: pkgsrc/sysutils/open-vm-tools/PLIST
diff -u /dev/null pkgsrc/sysutils/open-vm-tools/PLIST:1.3
--- /dev/null   Sun Oct  8 16:01:30 2017
+++ pkgsrc/sysutils/open-vm-tools/PLIST Sun Oct  8 16:01:30 2017
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.3 2017/10/08 16:01:30 adam Exp $
+bin/vmhgfs-fuse
+bin/vmtoolsd
+bin/vmware-checkvm
+bin/vmware-hgfsclient
+bin/vmware-namespace-cmd
+bin/vmware-rpctool
+bin/vmware-toolbox-cmd
+${PLIST.x11}bin/vmware-user-suid-wrapper
+bin/vmware-vmblock-fuse
+bin/vmware-xferlogs
+${PLIST.x11}etc/vmware-tools/xdg/autostart/vmware-user.desktop
+include/libDeployPkg/guestcust-events.h
+include/libDeployPkg/imgcust-api.h
+include/libDeployPkg/includeCheck.h
+include/libDeployPkg/linuxDeployment.h
+include/libDeployPkg/log.h
+include/libDeployPkg/process.h
+include/libDeployPkg/rpcout.h
+include/libDeployPkg/vm_basic_types.h
+include/vmGuestLib/includeCheck.h
+include/vmGuestLib/vmGuestLib.h
+include/vmGuestLib/vmSessionId.h
+include/vmGuestLib/vm_basic_types.h
+lib/libDeployPkg.la
+lib/libguestlib.la
+lib/libhgfs.la
+lib/libvmtools.la
+lib/open-vm-tools/plugins/common/libhgfsServer.la
+lib/open-vm-tools/plugins/common/libvix.la
+lib/open-vm-tools/plugins/vmsvc/libdeployPkgPlugin.so
+lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
+lib/open-vm-tools/plugins/vmsvc/libpowerOps.so
+lib/open-vm-tools/plugins/vmsvc/libtimeSync.so
+lib/open-vm-tools/plugins/vmsvc/libvmbackup.so
+${PLIST.x11}lib/open-vm-tools/plugins/vmusr/libdesktopEvents.so
+${PLIST.x11}lib/open-vm-tools/plugins/vmusr/libdndcp.so
+${PLIST.x11}lib/open-vm-tools/plugins/vmusr/libresolutionSet.so
+lib/pkgconfig/libDeployPkg.pc
+lib/pkgconfig/vmguestlib.pc
+sbin/mount.vmblock
+share/examples/vmware-tools/pam.d/vmtoolsd
+share/examples/vmware-tools/poweroff-vm-default
+share/examples/vmware-tools/poweron-vm-default
+share/examples/vmware-tools/resume-vm-default
+share/examples/vmware-tools/scripts/vmware/network
+share/examples/vmware-tools/statechange.subr
+share/examples/vmware-tools/suspend-vm-default
+share/open-vm-tools/messages/de/toolboxcmd.vmsg
+share/open-vm-tools/messages/de/vmtoolsd.vmsg
+share/open-vm-tools/messages/ja/toolboxcmd.vmsg
+share/open-vm-tools/messages/ja/vmtoolsd.vmsg
+share/open-vm-tools/messages/ko/toolboxcmd.vmsg
+share/open-vm-tools/messages/ko/vmtoolsd.vmsg
+share/open-vm-tools/messages/zh_CN/toolboxcmd.vmsg



Home | Main Index | Thread Index | Old Index