various: Bump Go ports for Go 1.26.10 / 1.27.3d81b7ba3c3
Port details
security/lego 5.5.2_2
Let's Encrypt client and ACME library written in Go
Port info
- Maintainer
- matt@matthoran.com
- Packages
- latest: 5.5.2_2
- Upstream
- up to date
- Last update
- to 5.5.2_2 · d81b7ba3c3
- Quarterly
- 2026Q4: 5.5.2_2 · last MFH 60647eff54
- WWW
- https://github.com/go-acme/lego
- Links
- cgit · VuXML
Install
- Package
# pkg install legoinstalls 5.5.2_2 fromlatest; fromquarterly(2026Q4) 5.5.2_2- Port
# cd /usr/ports/security/lego && make install clean- Size
- 15 MiB download · 65 MiB installed
- Depends on
- security/ca_root_nss 3.132
- License
- MIT
- Creates
- user
_lego, group_lego,www - pkg-message
Shown after installing
There are sample scripts in /usr/local/etc/lego that you can use for renewing and deploying certificates. In order to run the script regularly to update the certificates add this line to /etc/periodic.conf: weekly_lego_enable="YES" Additionally the following parameters may be added to /etc/periodic.conf: Script to run to renew certificates, will be run as _lego (required) weekly_lego_renewscript="/usr/local/etc/lego/lego.sh" To run a script after the renewal to deploy certificates weekly_lego_deployscript="/usr/local/etc/lego/deploy.sh" Note that the deploy script is provided as a sample and may need to be modified for your environment. The script will attempt to deploy certificates to /usr/local/etc/ssl/certs and private keys to /usr/local/etc/ssl/private. The script also tries to restart nginx. If using the sample renew script, lego will load its configuration from /usr/local/etc/lego/lego.yml. See https://go-acme.github.io/lego/references/ref-file/index.html for more details. To run lego for the first time, configure an account and certificate in /usr/local/etc/lego/lego.yml. Then execute lego as the _lego user: $ lego --config /usr/local/etc/lego/lego.ymlShown after upgrading
To migrate from lego v4 to v5 run $ lego migrate --path /usr/local/etc/ssl/lego as the _lego user. This command migrates to a new file structure and outputs configuration that can be used as the basis for /usr/local/etc/lego/lego.yml. See https://go-acme.github.io/lego/references/ref-file/index.html for more details on the configuration file format. /usr/local/etc/lego/lego.sh will need to be updated as well, as the renew command has been removed. The script can also be simplified when a configuration file is used. See /usr/local/etc/lego/lego.sh.sample for an example.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 5.5.2_2 | 5.5.2_1 | – |
| FreeBSD 15 | 5.5.2_2 | 5.5.2_1 | – |
| FreeBSD 14 | 5.5.2_2 | 5.5.2_1 | 5.5.2_2 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 5.5.2_2 | 5.5.2_1 | – |
| FreeBSD 14 | 5.5.2_2 | 5.5.2_1 | 5.5.2_2 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 5.5.2_2.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (118)
various: Bump Go ports031fc6bfbf
security/lego: Update to 5.5.2 Changelog: https://github.com/go-acme/lego/releases/tag/v5.5.2 PR: 2988923351eb189f
security/lego: Update to 5.5.1 Changelog: https://github.com/go-acme/lego/releases/tag/v5.5.1f2fc7427f3
security/lego: Update 5.4.0 => 5.4.1 Changelog: https://github.com/go-acme/lego/blob/v5.4.1/CHANGELOG.md PR: 298212 Approved by: osa, vvd (Mentors, implicit)114198b2bc
many: Bump go ports for 1.26.8 and 1.27.1dd0905142a
security/lego: Update 5.3.1 => 5.4.0 Changelog: https://github.com/go-acme/lego/blob/v5.4.0/CHANGELOG.md PR: 297764 Sponsored by: UNIS Labs0aefd8a48a
various: Bump go ports for go-1.25.14 / 1.26.74867821cd6
various: Bump go ports for go-1.25.13 / 1.26.66d39dcf04e
various: Drop Go 1.25+ version pin This is a nop since 1.25 is the oldest version we support.4a24b8eb7f
security/lego: Update to 5.3.1 Additionally to submitted patch define "min" version of go(lang) and use GO_LDFLAGS Changelog: https://github.com/go-acme/lego/blob/HEAD/CHANGELOG.md#v531 PR: 2970487b0ecf53bd
various: Bump go ports for go-1.25.12 / 1.26.54ea3547132
security/lego: Update to 5.2.2 Changelog: https://github.com/go-acme/lego/releases/tag/v5.2.2 PR: 29589862832b0e10
various: Bump go ports for go-1.25.11 / go-1.26.4dd8dc2a59d
security/lego: Update 4.35.2 => 5.2.1 Changelog: https://github.com/go-acme/lego/releases/tag/v5.0.0 https://github.com/go-acme/lego/releases/tag/v5.0.1 https://github.com/go-acme/lego/releases/tag/v5.0.2 https://github.com/go-acme/lego/releases/tag/v5.0.3 https://github.com/go-acme/lego/releases/tag/v5.0.4 https://github.com/go-acme/lego/releases/tag/v5.1.0 https://github.com/go-acme/lego/releases/tag/v5.2.0 https://github.com/go-acme/lego/releases/tag/v5.2.1 While here sort plist. PR: 295779 Sponsored by: UNIS Labsd09c2fdb88
various: Bump ports for Go 1.25.104e243a83f8
security/lego: Update 4.34.0 => 4.35.2 Changelog: https://github.com/go-acme/lego/blob/v4.35.2/CHANGELOG.md PR: 294785 Event: Wiesbaden Hackathon 2026048e901cfcfc
security/lego: Update 4.33.0 => 4.34.0 Changelog: https://github.com/go-acme/lego/blob/v4.34.0/CHANGELOG.md PR: 294617 Sponsored by: UNIS Labs8a3c0effb9
various: Bump go ports for go-1.25.9 / 1.26.27507e72a84
security/lego: Update 4.32.0 => 4.33.0 Changelog: https://github.com/go-acme/lego/blob/v4.33.0/CHANGELOG.md PR: 2939654a7c793eca
various: Bump ports for Go 1.25.8a8d318da7c
security/lego: update to 4.32.0 PR: 293374ad356652cd
various: Bump ports for Go default 1.24->1.2597685c1886
security/lego: Update 4.30.1 => 4.31.0 Changelog: https://github.com/go-acme/lego/blob/v4.31.0/CHANGELOG.md PR: 29298654efdacf35
various: Bump Go ports for 1.24.13529df949a5
various: Bump Go ports for 1.24.12013f2d30b0
security/lego: update to 4.31.0 PR: 291758762aa293ee
security/lego: update to 4.29.0 PR: 2913500856bd7f35
various: Bump Go ports for 1.24.11b24429e3ed
security/lego: Update to 4.28.1 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4281 PR: 2908972de7709670
various: Bump Go ports for 1.24.100dfced16fb
security/lego: Update to 4.28.0 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4280 PR: 290720 Reported by: Matthew Horan <matt@matthoran.com> (maintainer)a684b78f7a
security/lego: Update 4.26.0 => 4.27.0 Changelog: https://github.com/go-acme/lego/blob/v4.27.0/CHANGELOG.md PR: 29035646e6491a94
various: Bump go ports for go-1.24.990f976619b
many: Bump dependent ports after go124 update2e7587aaf8
security/lego: Update 4.25.2 => 4.26.0 Changelog: https://github.com/go-acme/lego/blob/v4.26.0/CHANGELOG.md - Fix using custom user. - Optimize post-install - reduce MKDIR and INSTALL_SCRIPT calls. - Fix user parametrization in periodic script. PR: 289636 Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>43eed48b66
many: Bump go ports for go-1.24.731a5a229a7
security/lego: Update 4.25.1 => 4.25.2 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4252-2025-08-06 PR: 288717 Approved by: yuri@ (Mentor)a2b29e939c
go ports: Bump for 1.24.653610681ea
security/lego: Update 4.24.0 => 4.25.1 Changelogs: https://github.com/go-acme/lego/blob/v4.25.1/CHANGELOG.md While here remove go version from USES. PR: 28839429d2f4be24
security/lego: update to 4.24.0 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4240-2025-07-07 PR: 288326 Reported by: Matthew Horan <matt@matthoran.com> (maintainer)7b4b533524
security/lego: Update to 4.23.1 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4231-2025-04-16 PR: 286163 Approved by: submitter is maintainer50a66168da
go: Bump ports for go124 updatea4e30d4f4f
Bump all go ports for yesterday's releasesd0642a6176
all: Bump after lang/go123 update PR: 284681f9fbe03c69
security/lego: Update 4.21.0 => 4.22.2 Changelogs: https://github.com/go-acme/lego/blob/v4.22.2/CHANGELOG.md PR: 28486735ee704e21
all: Bump after lang/go123 update MFH: 2025Q1ca07a602a8
security/lego: Update to 4.21.0 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4210-2024-12-20 PR: 283474cd976e5e82
security/lego: update to 4.20.4 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4204-2024-11-21 PR: 28290069562de3eb
security/lego: Update to 4.20.2 Changelog: https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v4202-2024-11-11 PR: 282719 Approved by: submitter is maintainerbbdac7e3b1