sysutils/amazon-ssm-agent: update to 2.3.1205.0

Changelog - https://github.com/aws/amazon-ssm-agent/releases

Approved by: cperciva (maintainer)
Differential Revision: https://reviews.freebsd.org/D24872
This commit is contained in:
Oleksii Samorukov
2020-05-18 22:27:17 +00:00
parent 14913d799b
commit 45bbfd1697
5 changed files with 19 additions and 24 deletions

View File

@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= amazon-ssm-agent
PORTVERSION= 2.3.612.0
PORTREVISION= 1
PORTVERSION= 2.3.1205.0
CATEGORIES= sysutils
MAINTAINER= cperciva@FreeBSD.org
@@ -39,6 +38,11 @@ USE_RC_SUBR= amazon-ssm-agent
post-patch:
${LN} -s ${WRKSRC}/vendor/src/* ${WRKSRC}/vendor/
pre-build:
# set package version
cd ${GO_WRKSRC} && BRAZIL_PACKAGE_VERSION=${PORTVERSION} \
${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run ./agent/version/versiongenerator/version-gen.go
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/amazon/ssm
${INSTALL_DATA} ${WRKSRC}/amazon-ssm-agent.json.template ${STAGEDIR}${PREFIX}/etc/amazon/ssm

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1557465201
SHA256 (aws-amazon-ssm-agent-2.3.612.0_GH0.tar.gz) = 297937404da04e52adbe92a767f2aa11ae03b4fd61c112a6fac793a5fae40ff4
SIZE (aws-amazon-ssm-agent-2.3.612.0_GH0.tar.gz) = 16975913
TIMESTAMP = 1589747277
SHA256 (aws-amazon-ssm-agent-2.3.1205.0_GH0.tar.gz) = 3a2424c6cd669486581ccf09cd57cbaecd69ef5731a62a50a826eb4b9515face
SIZE (aws-amazon-ssm-agent-2.3.1205.0_GH0.tar.gz) = 22202960

View File

@@ -0,0 +1,10 @@
--- agent/plugins/inventory/gatherers/application/dataProvider.go.orig 2020-05-07 19:53:12 UTC
+++ agent/plugins/inventory/gatherers/application/dataProvider.go
@@ -7,7 +7,6 @@ import (
"fmt"
"github.com/aws/amazon-ssm-agent/agent/context"
- "github.com/aws/amazon-ssm-agent/agent/plugins/configurepackage/localpackages"
"github.com/aws/amazon-ssm-agent/agent/plugins/inventory/model"
)

View File

@@ -1,11 +0,0 @@
--- agent/session/utility/utility_unix.go.orig 2019-05-15 22:56:33 UTC
+++ agent/session/utility/utility_unix.go
@@ -65,7 +65,7 @@ func (u *SessionUtil) CreateLocalAdminUser(log log.T)
}
}
- err = u.createSudoersFileIfNotPresent(log)
+ err = nil
return
}

View File

@@ -1,8 +0,0 @@
--- agent/version/version.go.orig 2019-05-08 20:19:03 UTC
+++ agent/version/version.go
@@ -19,4 +19,4 @@
package version
// Version is the version of the Agent
-const Version = "2.3.0.0"
+const Version = "2.3.612.0"