From owner-dev-commits-ports-main@freebsd.org Fri Aug 13 01:33:24 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DEAAA67596B; Fri, 13 Aug 2021 01:33:24 +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 4Gm5fr5dkdz4b4T; Fri, 13 Aug 2021 01:33:24 +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 A98592D2F9; Fri, 13 Aug 2021 01:33:24 +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 17D1XOF2097990; Fri, 13 Aug 2021 01:33:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17D1XOmE097989; Fri, 13 Aug 2021 01:33:24 GMT (envelope-from git) Date: Fri, 13 Aug 2021 01:33:24 GMT Message-Id: <202108130133.17D1XOmE097989@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brad Davis Subject: git: ee4e8a0b3686 - main - sysutils/amazon-ssm-agent: Fix user creation with pkg -r MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ee4e8a0b3686f3387ce3eca0f604c076dfe67786 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2021 01:33:24 -0000 The branch main has been updated by brd (doc, src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=ee4e8a0b3686f3387ce3eca0f604c076dfe67786 commit ee4e8a0b3686f3387ce3eca0f604c076dfe67786 Author: Brad Davis AuthorDate: 2021-08-13 01:30:31 +0000 Commit: Brad Davis CommitDate: 2021-08-13 01:30:31 +0000 sysutils/amazon-ssm-agent: Fix user creation with pkg -r PR: 257800 Approved by: cperciva (maintainer) Sponsored by: Rubicon Communications, LLC ("Netgate") --- sysutils/amazon-ssm-agent/Makefile | 1 + sysutils/amazon-ssm-agent/pkg-deinstall | 2 +- sysutils/amazon-ssm-agent/pkg-install | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sysutils/amazon-ssm-agent/Makefile b/sysutils/amazon-ssm-agent/Makefile index 703a5ba153ad..7409763f549c 100644 --- a/sysutils/amazon-ssm-agent/Makefile +++ b/sysutils/amazon-ssm-agent/Makefile @@ -1,5 +1,6 @@ PORTNAME= amazon-ssm-agent PORTVERSION= 2.3.1205.0 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= cperciva@FreeBSD.org diff --git a/sysutils/amazon-ssm-agent/pkg-deinstall b/sysutils/amazon-ssm-agent/pkg-deinstall index 4dded1464e5b..b28dda276a2f 100644 --- a/sysutils/amazon-ssm-agent/pkg-deinstall +++ b/sysutils/amazon-ssm-agent/pkg-deinstall @@ -2,5 +2,5 @@ if [ "$2" = "DEINSTALL" ]; then echo "Removing ssm-user" - pw userdel ssm-user -r + pw -R ${PKG_ROOTDIR} userdel ssm-user -r fi diff --git a/sysutils/amazon-ssm-agent/pkg-install b/sysutils/amazon-ssm-agent/pkg-install index b71b68827a91..f42d5b710f72 100644 --- a/sysutils/amazon-ssm-agent/pkg-install +++ b/sysutils/amazon-ssm-agent/pkg-install @@ -2,5 +2,5 @@ if [ "$2" = "POST-INSTALL" ]; then echo "Creating ssm-user for SSM Agent Sessions" - pw useradd ssm-user -G wheel -m + pw -R ${PKG_ROOTDIR} useradd ssm-user -G wheel -m fi