git: 39b057627442 - main - net/samba419: Fix procfd search patterns for FreeBSD

From: Michael Osipov <michaelo_at_FreeBSD.org>
Date: Wed, 08 Jan 2025 13:48:28 UTC
The branch main has been updated by michaelo:

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

commit 39b0576274424e915fc1208c5cb50ca7880964dc
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-04-09 12:35:28 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-01-08 13:48:04 +0000

    net/samba419: Fix procfd search patterns for FreeBSD
    
    PR:             277878
    Approved by:    jrm (mentor)
    Tested by:      michaelo, Antti Rasinen
    MFH:            2025Q1
    Differential Revision:  https://reviews.freebsd.org/D48313
---
 net/samba419/Makefile                                                 | 2 +-
 net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/samba419/Makefile b/net/samba419/Makefile
index c05705b4e371..a2f94220341d 100644
--- a/net/samba419/Makefile
+++ b/net/samba419/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=			${SAMBA4_BASENAME}419
 PORTVERSION=			${SAMBA4_VERSION}
-PORTREVISION=			1
+PORTREVISION=			2
 CATEGORIES?=			net
 MASTER_SITES=			SAMBA/samba/stable SAMBA/samba/rc
 DISTNAME=			${SAMBA4_DISTNAME}
diff --git a/net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch b/net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch
index b2a51efb7c73..6a8492d89401 100644
--- a/net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch
+++ b/net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch
@@ -70,7 +70,7 @@ https://bugzilla.samba.org/show_bug.cgi?id=15376
  	/* Linux */
  	{ "/proc/self/fd/%d", "/proc/self/fd/0" },
 +	/* FreeBSD */
-+	{ "/compat/linux/dev/fd/%d", "/compat/linux/dev/fd/0" },
++	{ "/var/run/samba4/fd/%d", "/var/run/samba4/fd/0" },
  	{ NULL, NULL },
  };