Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2025 05:45:59 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8912a454d8ec - main - filesystems/fusefs-libs3: Add patch fixing race when mounting via library call
Message-ID:  <202506170545.55H5jxaJ093016@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

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

commit 8912a454d8ec84149d8dcfdb30f83b1dc7947fca
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-06-05 10:05:39 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-06-17 05:45:20 +0000

    filesystems/fusefs-libs3: Add patch fixing race when mounting via library call
    
    Reviewed by:    asomers
    Approved by:    se (maintainer)
    PR:             https://github.com/freebsd/freebsd-ports/pull/408
    Upstream PR:    https://github.com/libfuse/libfuse/pull/1240
---
 filesystems/fusefs-libs3/Makefile                     |  1 +
 filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/filesystems/fusefs-libs3/Makefile b/filesystems/fusefs-libs3/Makefile
index c668b10eb317..83a65ed668be 100644
--- a/filesystems/fusefs-libs3/Makefile
+++ b/filesystems/fusefs-libs3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fusefs-libs3
 DISTVERSION=	3.17.1
+PORTREVISION=	1
 CATEGORIES=	filesystems sysutils
 MASTER_SITES=	https://github.com/libfuse/libfuse/releases/download/fuse-${DISTVERSION}/
 DISTNAME=	fuse-${DISTVERSION}
diff --git a/filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c b/filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c
new file mode 100644
index 000000000000..00f3ac5b294e
--- /dev/null
+++ b/filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c
@@ -0,0 +1,10 @@
+--- lib/mount_bsd.c.orig	2025-03-24 12:25:30 UTC
++++ lib/mount_bsd.c
+@@ -214,6 +214,7 @@ mount:
+ 			_exit(EXIT_FAILURE);
+ 		}
+ 
++		waitpid(pid, &status, 0);
+ 		_exit(EXIT_SUCCESS);
+ 	}
+ 


home | help

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