diff --git a/srcpkgs/lego/INSTALL.msg b/srcpkgs/lego/INSTALL.msg new file mode 100644 index 00000000000000..b84849a28b2882 --- /dev/null +++ b/srcpkgs/lego/INSTALL.msg @@ -0,0 +1,5 @@ +When upgrading lego from version 4 to 5, you must run `lego migrate` to convert +existing data to the new format. + +Some commands have also changed, including the removal of the `renew` +command. Existing cron jobs may need to be updated accordingly. diff --git a/srcpkgs/lego/template b/srcpkgs/lego/template index ee53b31a5eea67..8be8480beb9db3 100644 --- a/srcpkgs/lego/template +++ b/srcpkgs/lego/template @@ -1,17 +1,17 @@ # Template file for 'lego' pkgname=lego -version=4.33.0 -revision=2 +version=5.8.2 +revision=1 build_style=go -go_import_path="github.com/go-acme/lego/v4" -go_package="${go_import_path}/cmd/lego" +go_import_path="github.com/go-acme/lego/v5" +go_ldflags="-X main.version=${version}" short_desc="Let's Encrypt client and ACME library written in Go" maintainer="Anachron " license="MIT" homepage="https://go-acme.github.io/lego" changelog="https://raw.githubusercontent.com/go-acme/lego/master/CHANGELOG.md" distfiles="https://github.com/go-acme/lego/archive/v${version}.tar.gz" -checksum=d57af04d6f5d0a018f19b099401fea093d4cc2efff177eaa45418b0046921175 +checksum=ba36f64a4165241b8e07c496e2ad83d71c9e9d32a60766fc14ba17844036e5fd post_install() { vlicense LICENSE