diff --git a/security/lego/Makefile b/security/lego/Makefile index 55ca1803d25b..a4beec5b1cd4 100644 --- a/security/lego/Makefile +++ b/security/lego/Makefile @@ -1,43 +1,42 @@ PORTNAME= lego DISTVERSIONPREFIX= v -DISTVERSION= 4.16.1 -PORTREVISION= 2 +DISTVERSION= 4.17.3 CATEGORIES= security MAINTAINER= matt@matthoran.com COMMENT= Let's Encrypt client and ACME library written in Go WWW= https://github.com/go-acme/lego LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss -USES= go:1.21,modules +USES= go:1.22,modules GO_MODULE= github.com/go-acme/lego/v4 GO_TARGET= ./cmd/lego GO_BUILDFLAGS= -ldflags '-X "main.version=${DISTVERSION}"' SAMPLE_FILES= deploy.sh.sample lego.sh.sample SUB_FILES= ${SAMPLE_FILES} 604.lego pkg-message SUB_LIST= LEGO_USER=${LEGO_USER} \ PORTNAME=${PORTNAME} LEGO_USER?= _lego USERS= ${LEGO_USER} GROUPS= ${LEGO_USER} PERIODIC_DIRS= etc/periodic/weekly PERIODIC_FILES= 604.lego post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS} ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODIC_FILES} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}/${PERIODIC_FILES} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl/lego \ ${STAGEDIR}${ETCDIR} ${STAGEDIR}${WWWDIR} . for d in ${SAMPLE_FILES} ${INSTALL_SCRIPT} ${WRKDIR}/${d} ${STAGEDIR}${ETCDIR}/${d} . endfor .include diff --git a/security/lego/distinfo b/security/lego/distinfo index 58407505cb55..a6ebe51efd82 100644 --- a/security/lego/distinfo +++ b/security/lego/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1710514580 -SHA256 (go/security_lego/lego-v4.16.1/v4.16.1.mod) = 57365553d8f45eca3e7a5689fcdbd258bccb71fe840968ac4fe5b60918e6766e -SIZE (go/security_lego/lego-v4.16.1/v4.16.1.mod) = 8587 -SHA256 (go/security_lego/lego-v4.16.1/v4.16.1.zip) = a81faba288beca1ae8dffbb2ad3d6d2aad6920e1b8da813163b96d8947a27c65 -SIZE (go/security_lego/lego-v4.16.1/v4.16.1.zip) = 1238940 +TIMESTAMP = 1716936130 +SHA256 (go/security_lego/lego-v4.17.3/v4.17.3.mod) = 49f84b5e9a38d2443a67482b19b9568bea3c6b7230f47a4a75527cae4906c252 +SIZE (go/security_lego/lego-v4.17.3/v4.17.3.mod) = 9410 +SHA256 (go/security_lego/lego-v4.17.3/v4.17.3.zip) = 7589a231ef4b446c29876a4e570605a6215cd69c2824ad1dc49d55d1d1a097a8 +SIZE (go/security_lego/lego-v4.17.3/v4.17.3.zip) = 1251831