Index: head/sysutils/amazon-ssm-agent/Makefile =================================================================== --- head/sysutils/amazon-ssm-agent/Makefile (revision 535795) +++ head/sysutils/amazon-ssm-agent/Makefile (revision 535796) @@ -1,47 +1,51 @@ # $FreeBSD$ PORTNAME= amazon-ssm-agent -PORTVERSION= 2.3.612.0 -PORTREVISION= 1 +PORTVERSION= 2.3.1205.0 CATEGORIES= sysutils MAINTAINER= cperciva@FreeBSD.org COMMENT= Amazon Simple Systems Manager Agent LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= go USE_GITHUB= yes GH_ACCOUNT= aws GH_SUBDIR= src/github.com/aws/amazon-ssm-agent GO_BUILDFLAGS= -ldflags "-s -w" GO_TARGET= ./agent:${PREFIX}/sbin/amazon-ssm-agent \ ./agent/framework/processor/executer/outofproc/worker:${PREFIX}/sbin/ssm-document-worker \ ./agent/framework/processor/executer/outofproc/sessionworker:${PREFIX}/sbin/ssm-session-worker \ ./agent/session/logging:${PREFIX}/sbin/ssm-session-logger \ ./agent/cli-main:${PREFIX}/sbin/ssm-cli PLIST_FILES= etc/amazon/ssm/amazon-ssm-agent.json.template \ etc/amazon/ssm/seelog_unix.xml.template \ sbin/amazon-ssm-agent \ sbin/ssm-document-worker \ sbin/ssm-session-worker \ sbin/ssm-session-logger \ sbin/ssm-cli 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 ${INSTALL_DATA} ${WRKSRC}/seelog_unix.xml ${STAGEDIR}${PREFIX}/etc/amazon/ssm/seelog_unix.xml.template .include Index: head/sysutils/amazon-ssm-agent/distinfo =================================================================== --- head/sysutils/amazon-ssm-agent/distinfo (revision 535795) +++ head/sysutils/amazon-ssm-agent/distinfo (revision 535796) @@ -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 Index: head/sysutils/amazon-ssm-agent/files/patch-agent_version_version.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_version_version.go (revision 535795) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_version_version.go (nonexistent) @@ -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" Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_version_version.go ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_session_utility_utility__unix.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_session_utility_utility__unix.go (revision 535795) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_session_utility_utility__unix.go (nonexistent) @@ -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 - } - Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_session_utility_utility__unix.go ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_plugins_inventory_gatherers_application_dataProvider.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_plugins_inventory_gatherers_application_dataProvider.go (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_plugins_inventory_gatherers_application_dataProvider.go (revision 535796) @@ -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" + ) + Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_plugins_inventory_gatherers_application_dataProvider.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property