diff options
author | Alan Somers <asomers@FreeBSD.org> | 2025-08-05 16:04:35 -0600 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2025-08-06 07:47:08 -0600 |
commit | 5f9aa574da6ad6537540747e5dd7e0a69f417881 (patch) | |
tree | 38774bd20d3a5ad1cd6cd402a3e700e5ead8ea2b | |
parent | archivers/py-borgbackup: Add github to MASTER_SITES (diff) |
filesystems/zrepl: fix 500.zrepl periodic job with multiple certs
Fix the sh syntax in the optional 500.zrepl periodic job so it will work
even if there are multiple .crt files present.
PR: 288682
Approved by: driesm (maintainer)
Sponsored by: ConnectWise, LLC
-rw-r--r-- | filesystems/zrepl/Makefile | 2 | ||||
-rw-r--r-- | filesystems/zrepl/files/500.zrepl.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filesystems/zrepl/Makefile b/filesystems/zrepl/Makefile index 32b3da5a73fb..531be207dc23 100644 --- a/filesystems/zrepl/Makefile +++ b/filesystems/zrepl/Makefile @@ -1,7 +1,7 @@ PORTNAME= zrepl DISTVERSIONPREFIX= v DISTVERSION= 0.6.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= filesystems sysutils MAINTAINER= driesm@FreeBSD.org diff --git a/filesystems/zrepl/files/500.zrepl.in b/filesystems/zrepl/files/500.zrepl.in index b7f1b3abb4d3..e4a83608a75a 100644 --- a/filesystems/zrepl/files/500.zrepl.in +++ b/filesystems/zrepl/files/500.zrepl.in @@ -24,7 +24,7 @@ case "$weekly_zrepl_enable" in echo echo "Check Zrepl certificates for upcoming expiration:" - for cert in `/usr/bin/find %%ETCDIR%% -maxdepth 1 -name *.crt`; do + for cert in `/usr/bin/find %%ETCDIR%% -maxdepth 1 -name "*.crt"`; do /usr/bin/openssl x509 --in "${cert}" \ -checkend "${weekly_zrepl_warntime}" |