Amazon SSM (Simple Systems Manager) is a service for remotely controlling
(executing code on) EC2 instances. This port provides the SSM "Agent",
which polls an Amazon Web Services API for commands, spawns them, and
sends their output back.
sysutils/amazon-ssm-agent: Use pw(8)'s new metalog feature
This allows the ssm-agent user to be created when installing as an
unprivileged user. That is, if the package is installed with pkg(8)'s
METALOG option set, the home directory for ssm-agent will be added to
the metalog.
PR: 290080
Approved by: cperciva (maintainer)
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
sysutils/amazon-ssm-agent: fix build on arm64
Bump golang.org/x/sys dependency to a version new enough to support
arm64-freebsd. Replace github.com/kr/pty dependency with a new
version, which moved to github.com/creack/pty.
Approved by: portmgr (build fix blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
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
Go ports: cleanup, finish transition to USES=go started with r505321 (cat.
sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
Reviewed by: tobik
Approved by: araujo (mentor), portmgr (adamw)
Differential Revision: https://reviews.freebsd.org/D21744
Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.
USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.
PR: 238849
Submitted by: dg@syrec.org (also D20745)
Reviewed by: mat, tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D20746
Update amazon-ssm-agent to 2.3.612.0.
This adds support for "sessions", aka. creating a remote shell via the Agent.
In order to support this, an "ssm-user" account is created when the package
is installed; we create this via pkg-install rather than the USERS= / UIDs
functionality, since ssm-user needs to be in wheel and needs to have a home
directory.
Thanks to: Alexey Milevsky
Build amazon-ssm-agent directly from the port Makefile rather than recursing
into the makefile distributed with the source code. In particular, this
should fix the build on i386, where it is currently broken due to amd64
being hard-coded as the build architecture. Numerous other cleanups to the
build. [1]
Change LICENSE and remove subsidiary variables, as Amazon has relicensed
this from the "Amazon" license to Apache 2.0.
Submitted by: swills [1]
Update Amazon SSM Agent to version 2.0.790.0.
This update does not appear to bring any significant functional changes
affecting FreeBSD; but some patches from the ports tree have been merged
upstream so this commit reduces the set of local patches.
This version of the Amazon SSM Agent builds a "ssm-cli" utility. Since I
have been unable to determine what this utility does, and it seems to be
entirely undocumented, it is not being installed.