From nobody Sat Dec 18 05:18:11 2021 X-Original-To: dev-commits-ports-main@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 7F24318F91DF; Sat, 18 Dec 2021 05:18:12 +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 4JGDdc1c8Tz3lHw; Sat, 18 Dec 2021 05:18:12 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 137401C80; Sat, 18 Dec 2021 05:18:12 +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 1BI5IBmv092540; Sat, 18 Dec 2021 05:18:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BI5IBxS092539; Sat, 18 Dec 2021 05:18:11 GMT (envelope-from git) Date: Sat, 18 Dec 2021 05:18:11 GMT Message-Id: <202112180518.1BI5IBxS092539@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Colin Percival Subject: git: 639c5484460a - main - sysutils/amazon-ssm-agent: Add missing $PATH List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 639c5484460ad18b8acfe8d259f2ef08158438ba Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639804692; 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=wnyqSXd39cAIXI60v0eS/ZHMzTdO0jiF6uj1sUmI7fc=; b=Cy0dYuwmkjlr58ab8FFSs36vwzFQz+vw0z3qcBWn5rV1/ZAN/JZ1PO8pO2aTMKJLOopOcx e6OeUftBoH7wH/CQU5zsuFQu4oFUQwvFotLKtdiWTSjYEl8YwfwHMdg81hSkBIltK9XWQT 4bTkdwrnBpp+Sfbt3m5/vfc31/M1pHpftu5zJ8yKwZdraI6fWO9Jwld5ZfkVOO1S+O0EKH l4Ut/IwkrBW6O4VPa3gxzy6g1cbjLlXmwA8ICPGj0o+gw8/+EsNYyeMgIMM/WM4ucZcAdA CoJE4uycZ4xIhfo5S3XM2XCDbDyRzWj6F07H68gpNVtUfJJ89dxlujcAGiJ4IA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639804692; a=rsa-sha256; cv=none; b=AUkZuI0JEZTH1RmgYAMixGIR5KDqei87jZrGZTcu3qPSvAWQ2pMD7HE/0mjEHX1tPRiFG0 dl52wM5OOkURJMcZoGAvBpqvxVogrHJqdjIQUd4qe6YD86RxE9MQMhchCIOW7MjtSHcMHb gJ905k6Cxi3fpvl/zrsFB7n6U8+pFDW+7Rdv2l4v8pJLycn5n/jcLrzu1pVv9ZNkXxBxoN jvkcHmFg4xfacfLOOqTWAuxPdzsyKsMzOuY45YoOYZrmNhL+R6xWsS3najqxBH8e9phnaa TTVkFj+m4LY4+p43fvKpsrbJknFgG5spykjPFcECP21MxGENNRkLaL/m0t3Pmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/ports/commit/?id=639c5484460ad18b8acfe8d259f2ef08158438ba commit 639c5484460ad18b8acfe8d259f2ef08158438ba Author: Colin Percival AuthorDate: 2021-12-18 05:11:53 +0000 Commit: Colin Percival CommitDate: 2021-12-18 05:14:39 +0000 sysutils/amazon-ssm-agent: Add missing $PATH The SSM Agent can be used to effect a login shell; set $PATH appropriately for interactive logins. PR: 260476 Reported by: amendlik at gmail Sponsored by: https://www.patreon.com/cperciva --- sysutils/amazon-ssm-agent/Makefile | 2 +- sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/amazon-ssm-agent/Makefile b/sysutils/amazon-ssm-agent/Makefile index 0c10138767f8..9bdd24ef864d 100644 --- a/sysutils/amazon-ssm-agent/Makefile +++ b/sysutils/amazon-ssm-agent/Makefile @@ -1,6 +1,6 @@ PORTNAME= amazon-ssm-agent PORTVERSION= 2.3.1205.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= cperciva@FreeBSD.org diff --git a/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in b/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in index b0b8fc96185e..b4ffe6487d13 100644 --- a/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in +++ b/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in @@ -17,6 +17,7 @@ rcvar=amazon_ssm_agent_enable load_rc_config $name : ${amazon_ssm_agent_enable="NO"} +: ${amazon_ssm_agent_env="PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ssm-user/bin"} pidfile="/var/run/${name}.pid" command="/usr/sbin/daemon"