git: c0fb63e32ee2 - main - security/shibboleth-idp: Fix expr usage, bump PORTREVISION

From: Ryan Steinmetz <zi_at_FreeBSD.org>
Date: Wed, 17 Jan 2024 14:02:42 UTC
The branch main has been updated by zi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c0fb63e32ee2e16fe3262b61b70fe8909073935f

commit c0fb63e32ee2e16fe3262b61b70fe8909073935f
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2024-01-17 14:02:32 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2024-01-17 14:02:32 +0000

    security/shibboleth-idp: Fix expr usage, bump PORTREVISION
---
 security/shibboleth-idp/Makefile                | 1 +
 security/shibboleth-idp/files/shibboleth-idp.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/shibboleth-idp/Makefile b/security/shibboleth-idp/Makefile
index ad630033e951..29f2d8138b85 100644
--- a/security/shibboleth-idp/Makefile
+++ b/security/shibboleth-idp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	shibboleth
 PORTVERSION=	4.3.1
+PORTREVISION=	1
 CATEGORIES=	security www
 MASTER_SITES=	http://shibboleth.net/downloads/identity-provider/${PORTVERSION}/ \
 		http://shibboleth.net/downloads/identity-provider/latest4/${PORTVERSION}/ \
diff --git a/security/shibboleth-idp/files/shibboleth-idp.sh b/security/shibboleth-idp/files/shibboleth-idp.sh
index 70a9ef3276a6..13a08d5c8f18 100755
--- a/security/shibboleth-idp/files/shibboleth-idp.sh
+++ b/security/shibboleth-idp/files/shibboleth-idp.sh
@@ -338,7 +338,7 @@ if [ -f "$JETTY_CONF" ] && [ -r "$JETTY_CONF" ]
 then
   while read -r CONF
   do
-    if expr "$CONF" : '#' >/dev/null ; then
+    if expr -- "$CONF" : '#' >/dev/null ; then
       continue
     fi