From 6c175b587b97b281c3eb85fb6647cb73b714a217 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Tue, 9 Apr 2024 14:35:28 +0200 Subject: [PATCH] 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 (cherry picked from commit 39b0576274424e915fc1208c5cb50ca7880964dc) --- net/samba419/Makefile | 2 +- .../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 c05705b4e371b..a2f94220341da 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 b2a51efb7c732..6a8492d89401b 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 }, };