diff --git a/security/lego/Makefile b/security/lego/Makefile index b1884e0c7980..7660b761e1fb 100644 --- a/security/lego/Makefile +++ b/security/lego/Makefile @@ -1,43 +1,42 @@ PORTNAME= lego DISTVERSIONPREFIX= v -DISTVERSION= 4.17.4 -PORTREVISION= 2 +DISTVERSION= 4.18.0 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.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 40339dabda65..39891ac12483 100644 --- a/security/lego/distinfo +++ b/security/lego/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1718639935 -SHA256 (go/security_lego/lego-v4.17.4/v4.17.4.mod) = 20d7be4b4cdf23bc011457a2843d649b37c405b02abbb426bcba8593a455871d -SIZE (go/security_lego/lego-v4.17.4/v4.17.4.mod) = 9359 -SHA256 (go/security_lego/lego-v4.17.4/v4.17.4.zip) = ffd3bc4c5a112b66b93557dbe4f91f31234e9dfa49455ab962d18390269a914c -SIZE (go/security_lego/lego-v4.17.4/v4.17.4.zip) = 1251828 +TIMESTAMP = 1725117443 +SHA256 (go/security_lego/lego-v4.18.0/v4.18.0.mod) = 0286799f708d4a432022a34fc9b7a7eed9017f8587bc3a461fd066ae910f8cd6 +SIZE (go/security_lego/lego-v4.18.0/v4.18.0.mod) = 9361 +SHA256 (go/security_lego/lego-v4.18.0/v4.18.0.zip) = 0979fca45585d70383d290ec5b951102fbe09ba47f3aae961c2fb7359d4dccaa +SIZE (go/security_lego/lego-v4.18.0/v4.18.0.zip) = 1288029