Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2024 09:29:09 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 04b16f6b83e5 - main - security/sssd*: Use an absolute path in sssd_prestart()
Message-ID:  <202408220929.47M9T94L000772@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

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

commit 04b16f6b83e5167fec567d1ba6652a53880781a3
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-05-17 14:45:46 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-08-22 09:28:26 +0000

    security/sssd*: Use an absolute path in sssd_prestart()
    
    I believe this script worked by accident before.
    
    PR:             279255
    Approved by:    maintainer
    Sponsored by:   Klara, Inc.
---
 security/sssd/Makefile       | 2 +-
 security/sssd/files/sssd.in  | 2 +-
 security/sssd2/Makefile      | 2 +-
 security/sssd2/files/sssd.in | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index ee98e270d779..8f31f40c48f0 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sssd
 PORTVERSION=	1.16.5
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	security
 MASTER_SITES=	https://releases.pagure.org/SSSD/${PORTNAME}/
 
diff --git a/security/sssd/files/sssd.in b/security/sssd/files/sssd.in
index 142e46e1a8f4..1615c0982db2 100644
--- a/security/sssd/files/sssd.in
+++ b/security/sssd/files/sssd.in
@@ -33,7 +33,7 @@ sssd_prestart()
 {
 
 	for i in db/sss/db db/sss/gpo_cache db/sss/keytabs db/sss/mc db/sss/pubconf/krb5.include.d/ db/sss/secrets log/sssd run/sss/pipes/private;  do
-		if [ ! -d var/${i} ]; then mkdir -p /var/${i}; fi
+		if [ ! -d /var/${i} ]; then mkdir -p /var/${i}; fi
 	done
 }
 
diff --git a/security/sssd2/Makefile b/security/sssd2/Makefile
index 8f15aa67e624..ac67c0fbfd7c 100644
--- a/security/sssd2/Makefile
+++ b/security/sssd2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sssd
 PORTVERSION=	2.9.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 PKGNAMESUFFIX=	2
 
diff --git a/security/sssd2/files/sssd.in b/security/sssd2/files/sssd.in
index 4afded5b21d9..d2e70aaef597 100644
--- a/security/sssd2/files/sssd.in
+++ b/security/sssd2/files/sssd.in
@@ -33,7 +33,7 @@ sssd_prestart()
 {
 
 	for i in db/sss/db db/sss/gpo_cache db/sss/keytabs db/sss/mc db/sss/pubconf/krb5.include.d/ db/sss/secrets log/sssd run/sss/pipes/private;  do
-		if [ ! -d var/${i} ]; then mkdir -p /var/${i}; fi
+		if [ ! -d /var/${i} ]; then mkdir -p /var/${i}; fi
 	done
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408220929.47M9T94L000772>