From nobody Mon Oct 3 17:55:22 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mh7lt2shjz4dpyd; Mon, 3 Oct 2022 17:55:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mh7lt2G9sz3x30; Mon, 3 Oct 2022 17:55:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664819722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wKEgIH1+xbrfqwVPlbETnfTdOSo6ZANL/LXiSbJ7www=; b=pdEjcHRhd40TKT91LLf50kxWZK6+LVQVwzkV3aafHfDnRJdQqG3RYTPCZl2RZN5j/whaHJ cNsgZYJC65CYifVZ50NHn5lJYtkpL2Qc9D7O9xBKCoc3nKedcNpD32B/sQByWSjpNzK3ld iWl3HUd/THuHpjYyUbFYOXa37MeVeDL5bbj/spCWxlURrNgaEA5dW1ewWdL6+aPzoARV2O znMaTePJKyPWDCKoIy7a3tksa02uFdiJDoC78PlNtd+V5Cpgdu1Vg0Mu4dUz8RvlS8X6zr qoXMhkRjK2aX4bgIguhACaleMLD9gBac3JHT1EuwLQWB/7EaN7llNBcqBCOWPQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mh7lt1HPBzHhn; Mon, 3 Oct 2022 17:55:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 293HtMDH068628; Mon, 3 Oct 2022 17:55:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293HtMp4068627; Mon, 3 Oct 2022 17:55:22 GMT (envelope-from git) Date: Mon, 3 Oct 2022 17:55:22 GMT Message-Id: <202210031755.293HtMp4068627@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: 8f9a376fdfe9 - main - emulators/open-vm-tools: Fix vmware-guestd rc List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f9a376fdfe9dc5fb43ba5f04aaba303393633c2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664819722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wKEgIH1+xbrfqwVPlbETnfTdOSo6ZANL/LXiSbJ7www=; b=PJhAoxUch8+krO+6+BWByL/nTA5AmvDF7AwqiVe2TgmJBfQh9kIiWdHT6133YAhPlKzQJ8 zBtT4rA4RXV4i8FDZx+TdW6dejiphU473aaBwHR9lM8jYjEZj5X/Q67YaykYMNCIgPnnnF 712DQg/11xgdMg37ghc53HUloB0dLvCVw06FaZPxJNh4M/Y6yOC3B5kiAh9zlDfnOeJBn7 ozGbvviFvyXwVUrRqbienHKfe2D1FaLM4VVLl/heIuhgkbUFOWC/Qlweavx53joNq4YX1b 93lzgfKTd4U19c1Wvx27HP9D45wV/W8xBbqMHDQaaczFN0vZuKUJujWeSTBV9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664819722; a=rsa-sha256; cv=none; b=u5jR0/nXHq8bVrv1YoOYOXXnwFzDZLcG3pv/0E0BBKR5M7leTHFG67pVB3meGbeeR/RGrb nz926+S7q9f7rMWFVYcxqr1ShvJpYnnCj72b5fhbMy68ue5fSCN9Qu8GM9gIH6Wcx+1TZv 41797ajnOjhEBwamdO6izP+fMyhugFtIYY/F7d+RNWB8fs1w6FkND0BnqeCITqqKBHcjkQ y7qi8JeSatvd4xSCCaxuhWiBMEC7MP4eswTh49FswZt113Q8V1+ipzom3jj6xmrFrnHsJn QCUlOOWM3KItaj49f+hce4prH8LnfrT0ED5VsXQOCVWWKosH/uA1PlL5LiynLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f9a376fdfe9dc5fb43ba5f04aaba303393633c2 commit 8f9a376fdfe9dc5fb43ba5f04aaba303393633c2 Author: Geoff Davis AuthorDate: 2022-10-03 17:51:41 +0000 Commit: Renato Botelho CommitDate: 2022-10-03 17:55:12 +0000 emulators/open-vm-tools: Fix vmware-guestd rc Add eval to the call to ${checkvm_cmd} to make sure stdout/stderr are redirect to /dev/null and remove spurious output when it's executed PR: 266520 Sponsored by: Rubicon Communications, LLC ("Netgate") --- emulators/open-vm-tools/Makefile | 1 + emulators/open-vm-tools/files/vmware-guestd.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile index 1539f3fee5c3..bce1166d3214 100644 --- a/emulators/open-vm-tools/Makefile +++ b/emulators/open-vm-tools/Makefile @@ -1,6 +1,7 @@ PORTNAME= open-vm-tools PORTVERSION= 12.1.0 DISTVERSIONPREFIX= stable- +PORTVERSION= 1 PORTEPOCH= 2 CATEGORIES= emulators diff --git a/emulators/open-vm-tools/files/vmware-guestd.in b/emulators/open-vm-tools/files/vmware-guestd.in index 99235082d679..f7aca835fbff 100644 --- a/emulators/open-vm-tools/files/vmware-guestd.in +++ b/emulators/open-vm-tools/files/vmware-guestd.in @@ -18,7 +18,7 @@ rcvar=vmware_guestd_enable load_rc_config $name checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null 2>&1" -if ${checkvm_cmd}; then +if eval "${checkvm_cmd}"; then : ${vmware_guestd_enable:="YES"} else : ${vmware_guestd_enable:="NO"}