notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
lego Let's Encrypt client and ACME library written in Go
5.5.1 security on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.2.2_3Version of this port present on the latest quarterly branch.
Maintainer: matt@matthoran.com search for ports maintained by this maintainer
Port Added: 2019-07-24 07:50:33
Last Update: 2026-09-20 07:32:54
Commit Hash: f2fc742
People watching this port, also watch:: sudo, bastille, pkg, go-anubis, haproxy
License: MIT
WWW:
https://github.com/go-acme/lego
Description:
lego is a client for Let's Encrypt users, written in Go. It has support for a number of ACME challenges, and no external dependencies.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/lego-5.5.1/catalog.mk
  2. /usr/local/share/licenses/lego-5.5.1/LICENSE
  3. /usr/local/share/licenses/lego-5.5.1/MIT
  4. bin/lego
  5. @dir(_lego,_lego,0700) etc/lego
  6. @dir(,,0755) etc/ssl
  7. @dir(_lego,_lego,0755) etc/ssl/lego
  8. @dir(_lego,www,) www/lego
  9. @sample etc/lego/deploy.sh.sample
  10. @sample(_lego,_lego,0700) etc/lego/lego.sh.sample
  11. @sample(_lego,_lego,0600) etc/lego/lego.yml.sample
  12. etc/periodic/weekly/604.lego
  13. @owner
  14. @group
  15. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lego>0:security/lego
To install the port:
cd /usr/ports/security/lego/ && make install clean
To add the package, run one of these commands:
  • pkg install security/lego
  • pkg install lego
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lego
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1789779155 SHA256 (go/security_lego/lego-v5.5.1/v5.5.1.mod) = 78a350484b49906be12120d2b1b5ac6ab1b7f00a95b70b53c01aa6e63326f75e SIZE (go/security_lego/lego-v5.5.1/v5.5.1.mod) = 10624

Expand this list (2 items)

Collapse this list.

SHA256 (go/security_lego/lego-v5.5.1/v5.5.1.zip) = 10f8e49ca50c795a3df62dd2e8dfb795d932c89062c73004fb496351273b8852 SIZE (go/security_lego/lego-v5.5.1/v5.5.1.zip) = 2504115

Collapse this list.


Packages (timestamps in pop-ups are UTC):
lego
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.34.04.35.2n/an/an/an/an/an/a
FreeBSD:13:quarterly4.33.0_14.33.0_1n/an/an/an/an/an/a
FreeBSD:14:latest5.4.15.5.1-4.25.25.5.1---
FreeBSD:14:quarterly5.2.2_35.2.2_3-4.23.15.2.2_3---
FreeBSD:15:latest5.5.15.5.1n/a-n/an/a--
FreeBSD:15:quarterly5.2.2_35.2.2_3n/a-n/an/a--
FreeBSD:16:latest5.4.15.5.1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go126 : lang/go126
Runtime dependencies:
  1. ca-root-nss.crt : security/ca_root_nss
Fetch dependencies:
  1. go126 : lang/go126
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
security_lego
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/go-acme/lego/v5/@v/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2026-06-01
    Affects: Users of security/lego
    Author: matt@matthoran.com
    Reason: 
      To migrate from lego v4 to v5 run
    
      $ lego migrate --path PREFIX/etc/ssl/lego
    
      as the LEGO_USER user. This command migrates to a new file structure and
      outputs configuration that can be used as the basis for ETCDIR/lego.yml. See
      https://go-acme.github.io/lego/references/ref-file/index.html for more
      details on the configuration file format.
    
      ETCDIR/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 ETCDIR/lego.sh.sample for an example.
    
    

Number of commits found: 115 (showing only 15 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.0.1
04 Sep 2020 16:17:40
Revision:547551Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 4.0.1

Changes:	https://github.com/go-acme/lego/blob/master/CHANGELOG.md#v401---2020-09-03
PR:		249091
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.9.0
02 Sep 2020 05:00:15
Revision:547331Original commit files touched by this commit
swills search for other commits by this committer
security/lego: Update to 3.9.0

PR:		249057
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.8.0
07 Jul 2020 03:53:53
Revision:541388Original commit files touched by this commit
lwhsu search for other commits by this committer
Update to 3.8.0

PR:		247816
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.7.0
23 May 2020 17:41:14
Revision:536327Original commit files touched by this commit
joneum search for other commits by this committer
Update to 3.7.0

PR:		246379
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
Sponsored by:	Netzkommune GmbH
3.6.0
24 Apr 2020 18:50:13
Revision:532889Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 3.6.0

Changes:	https://github.com/go-acme/lego/releases/tag/v3.6.0
PR:		245886
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.5.0
02 Apr 2020 17:50:34
Revision:530392Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 3.5.0

Changes:	https://github.com/go-acme/lego/releases/tag/v3.5.0
PR:		244891
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.4.0
03 Mar 2020 18:13:20
Revision:527689Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 3.4.0

Changes:	https://github.com/go-acme/lego/releases/tag/v3.4.0
PR:		244570
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.3.0
11 Jan 2020 17:40:57
Revision:522699Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 3.3.0

PR:		243269
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.2.0_1
12 Dec 2019 12:00:55
Revision:519860Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Unbreak on aarch64

===>  Building lego from ./cmd/lego
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128

http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518685_s355218/logs/errors/lego-3.2.0.log

Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to
83d349e8ac1a which adds support for freebsd/arm64.

PR:		242581
Approved by:	Matthew Horan <matt@matthoran.com> (maintainer)
3.2.0
11 Nov 2019 12:52:02
Revision:517259Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 3.2.0

Changes:	https://github.com/go-acme/lego/releases/tag/v3.2.0

PR:		241864
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
Approved by:	tz (mentor, implicit)
3.1.0
09 Oct 2019 16:01:35
Revision:514169Original commit files touched by this commit
dmgk search for other commits by this committer
security/lego: Update to 3.1.0

Changes:	https://github.com/go-acme/lego/releases/tag/v3.1.0

PR:		241155
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21957
3.0.2
02 Sep 2019 22:48:48
Revision:510881Original commit files touched by this commit
swills search for other commits by this committer
security/lego: update to 2.7.2

PR:		239574
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
2.7.1
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
2.7.1
25 Jul 2019 11:46:27
Revision:507317Original commit files touched by this commit
swills search for other commits by this committer
security/lego: Update to 2.7.1

PR:		239433
Submitted by:	Matthew Horan <matt@matthoran.com> (maintainer)
2.6.0
24 Jul 2019 07:50:15
Revision:507266Original commit files touched by this commit
rodrigo search for other commits by this committer
Add new port security/lego

Lego is a new let's encrypt client write in Go with
support for number of ACME challenges and no external
dependencies.

PR:		237349
Submitted by:	Matthew Horan <matt@matthoran.com>

Number of commits found: 115 (showing only 15 on this page)

«  1 | 2