Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David C. Haley (3141eac8aad9aecae3800afe64754a0a00e4cd4f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: "David C. Haley" <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David C. Haley (3141eac8aad9aecae3800afe64754a0a00e4cd4f)
  • Date: Fri, 14 Apr 2023 05:35:36 +0000

GIT changes to master grimoire by David C. Haley <khoralin AT gmail.com>:

utils/open-vm-tools/BUILD | 7 ++++--
utils/open-vm-tools/DEPENDS | 21 ++++++++++++++++++-
utils/open-vm-tools/DETAILS | 8 +++----
utils/open-vm-tools/HISTORY | 6 +++++
utils/open-vm-tools/INSTALL | 1
utils/open-vm-tools/init.d/vmtoolsd | 38
++++++++++++++++++++++++++++++++++++
6 files changed, 72 insertions(+), 9 deletions(-)

New commits:
commit 3141eac8aad9aecae3800afe64754a0a00e4cd4f
Author: David C. Haley <khoralin AT gmail.com>
Commit: David C. Haley <khoralin AT gmail.com>

utils/open-vm-tools: Version Bump -> 12.2.0, init.d Script Added

diff --git a/utils/open-vm-tools/BUILD b/utils/open-vm-tools/BUILD
index 8f9a5b8..ffb437f 100755
--- a/utils/open-vm-tools/BUILD
+++ b/utils/open-vm-tools/BUILD
@@ -1,2 +1,5 @@
-CFLAGS="$CFLAGS -nopie" &&
-default_build
+cd "$SOURCE_DIRECTORY"/"$SPELL" &&
+
+autoreconf -i &&
+default_build &&
+ldconfig
diff --git a/utils/open-vm-tools/DEPENDS b/utils/open-vm-tools/DEPENDS
index 76c5f1d..fdd2213 100755
--- a/utils/open-vm-tools/DEPENDS
+++ b/utils/open-vm-tools/DEPENDS
@@ -1,2 +1,19 @@
-# This is just a place-holder for now.
-optional_depends X11-SERVER --with-x --without-x "for X support in
components"
+depends automake &&
+depends glib2 &&
+depends libmspack &&
+depends libtirpc &&
+
+optional_depends doxygen \
+ "" \
+ "" \
+ "Generate API Documentation" &&
+
+optional_depends linux-pam \
+ "" \
+ "--without-pam" \
+ "For PAM Support" &&
+
+optional_depends libx11 \
+ "" \
+ "--without-x" \
+ "For X11 Support"
diff --git a/utils/open-vm-tools/DETAILS b/utils/open-vm-tools/DETAILS
index 7c5d961..46722c6 100755
--- a/utils/open-vm-tools/DETAILS
+++ b/utils/open-vm-tools/DETAILS
@@ -1,10 +1,10 @@
SPELL="open-vm-tools"
- VERSION="2008.02.13-77928"
+ VERSION="stable-12.2.0"
SOURCE="${SPELL}-${VERSION}.tar.gz"
-
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/${SPELL}/${SOURCE}
-
SOURCE_HASH=sha512:69b9e1567a6337fb05ac4085514ede3fb156dd4a41ec05983f6757aaa3a0d8c6b659471b1dabd7a4966857c5ac1b417f69f59647da7535e1a412a63ddb5ddf6a
+ SOURCE_URL[0]=https://github.com/vmware/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:e751efbba931755ec314bc98e52da8bfae3d6692115e8884b2f810e12c6c727388bb68052e7641d24bbb7b6e549b84e7275a5d05ac85c4371f500dec503c286a
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE="http://open-vm-tools.sourceforge.net";
+ WEB_SITE="http://github.com/vmware/open-vm-tools";
KEYWORDS="utils vmware emulatore vm"
LICENSE[0]=GPL
ENTERED=20080222
diff --git a/utils/open-vm-tools/HISTORY b/utils/open-vm-tools/HISTORY
index 26f3e9c..2afa6ee 100644
--- a/utils/open-vm-tools/HISTORY
+++ b/utils/open-vm-tools/HISTORY
@@ -1,3 +1,9 @@
+2023-04-14 David C. Haley <khoralin AT gmail.com>
+ * DETAILS: major version bump -> 12.2.0
+ Switched URLs from Sourceforge to Github
+ * DEPENDS: removed X11-SERVER, revised based on upstream reqs
+ * init.d: Created, provides autostart of vmtoolsd
+
2019-08-28 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: switch dependency from xorg-server to X11-SERVER

diff --git a/utils/open-vm-tools/INSTALL b/utils/open-vm-tools/INSTALL
deleted file mode 100755
index e6fe4f7..0000000
--- a/utils/open-vm-tools/INSTALL
+++ /dev/null
@@ -1 +0,0 @@
-make install
diff --git a/utils/open-vm-tools/init.d/vmtoolsd
b/utils/open-vm-tools/init.d/vmtoolsd
new file mode 100755
index 0000000..9e6a425
--- /dev/null
+++ b/utils/open-vm-tools/init.d/vmtoolsd
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+SERVICE="VMware Tools"
+PROGRAM=/usr/bin/vmtoolsd
+PIDFILE=/var/run/vmtoolsd.pid
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo -n "Starting $SERVICE..."
+ $PROGRAM -b $PIDFILE
+ ITER=0
+ while [ ! -e $PIDFILE ] && [ "$ITER" -lt 10 ] ; do sleep 1; echo -n .
;ITER=$((++ITER)); done
+ echo
+ if [ ! -e $PIDFILE ]; then
+ print_status failure
+ exit 1
+ fi
+}
+
+stop() {
+ echo "Stopping $SERVICE..."
+ if [[ -e $PIDFILE ]]; then
+ kill `cat $PIDFILE`
+ rm $PIDFILE
+ else
+ print_status failure
+ exit 1
+ fi
+}
+
+restart() {
+ echo "Restarting $SERVICE..."
+ $0 stop
+ $0 start
+}



  • [SM-Commit] GIT changes to master grimoire by David C. Haley (3141eac8aad9aecae3800afe64754a0a00e4cd4f), David C. Haley, 04/14/2023

Archive powered by MHonArc 2.6.24.

Top of Page