git: 41eae13f26d2 - main - net/389-ds-base: Update to 3.2.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Sep 2026 13:01:44 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41eae13f26d23241efc2a9cf988a6da410c0a057
commit 41eae13f26d23241efc2a9cf988a6da410c0a057
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-09-17 13:00:54 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-17 13:00:54 +0000
net/389-ds-base: Update to 3.2.3
The daemon.c patch now guards the LeakSanitizer ptrace probe, which
upstream added without a non-Linux path, and lib/sysctl.d/70-dirsrv.conf
leaves the plist because upstream ties it to the systemd build.
Changes: https://github.com/389ds/389-ds-base/releases/tag/389-ds-base-3.2.3
Security: 3f5c81ae-b227-11f1-a655-3497f65b111b
Sponsored by: Netzkommune GmbH
---
net/389-ds-base/Makefile | 3 +-
net/389-ds-base/distinfo | 6 ++--
.../files/patch-ldap_servers_slapd_daemon.c | 33 +++++++++++++++++++---
net/389-ds-base/pkg-plist | 1 -
4 files changed, 33 insertions(+), 10 deletions(-)
diff --git a/net/389-ds-base/Makefile b/net/389-ds-base/Makefile
index bdcb9d5bb5f1..ed0ed5a6d7de 100644
--- a/net/389-ds-base/Makefile
+++ b/net/389-ds-base/Makefile
@@ -1,6 +1,5 @@
PORTNAME= 389-ds-base
-DISTVERSION= 3.2.2
-PORTREVISION= 1
+DISTVERSION= 3.2.3
CATEGORIES= net
MASTER_SITES= https://github.com/389ds/389-ds-base/releases/download/${PORTNAME}-${DISTVERSION}/
diff --git a/net/389-ds-base/distinfo b/net/389-ds-base/distinfo
index 951e1b030830..7a477659283f 100644
--- a/net/389-ds-base/distinfo
+++ b/net/389-ds-base/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1787094160
-SHA256 (389-ds-base-3.2.2.tar.bz2) = 30b5ba8ef2c4dddcf168e2ec9ba183a77950639b1c93d8ebf47208af9262a84a
-SIZE (389-ds-base-3.2.2.tar.bz2) = 23842375
+TIMESTAMP = 1789569578
+SHA256 (389-ds-base-3.2.3.tar.bz2) = 0e0ca35fc52f3e6341e0048e22d9e8b68026c2aaf644fe1019fc0696015a967b
+SIZE (389-ds-base-3.2.3.tar.bz2) = 23986083
diff --git a/net/389-ds-base/files/patch-ldap_servers_slapd_daemon.c b/net/389-ds-base/files/patch-ldap_servers_slapd_daemon.c
index 038a26c00479..66b380707c8f 100644
--- a/net/389-ds-base/files/patch-ldap_servers_slapd_daemon.c
+++ b/net/389-ds-base/files/patch-ldap_servers_slapd_daemon.c
@@ -1,6 +1,6 @@
---- ldap/servers/slapd/daemon.c.orig 2026-06-28 09:01:40 UTC
+--- ldap/servers/slapd/daemon.c.orig 2026-09-07 12:14:21 UTC
+++ ldap/servers/slapd/daemon.c
-@@ -805,6 +805,7 @@ disk_monitoring_thread(void *nothing __attribute__((un
+@@ -811,6 +811,7 @@
return;
}
@@ -8,7 +8,7 @@
char *epoll_event_flags_to_string(PRUint32 events)
{
static char buf[64];
-@@ -850,6 +851,7 @@ char *epoll_event_flags_to_string(PRUint32 events)
+@@ -856,6 +857,7 @@
}
return buf;
}
@@ -16,7 +16,32 @@
#ifdef ENABLE_EPOLL
static void
-@@ -3115,11 +3117,13 @@ configure_pr_socket(PRFileDesc **pr_socket, int secure
+@@ -2607,6 +2609,16 @@
+ static int
+ lsan_ptrace_available(void)
+ {
++#ifdef __FreeBSD__
++ /*
++ * The probe is Linux specific: the child PTRACE_ATTACHes to its own
++ * parent and then waitpid()s on it. Neither works here, FreeBSD spells
++ * the request PT_ATTACH and a child cannot wait for its parent. This
++ * only serves the LeakSanitizer in ASAN builds, so report it as
++ * unavailable.
++ */
++ return 0;
++#else
+ pid_t child, ret;
+ int status;
+ int available = 0;
+@@ -2641,6 +2653,7 @@
+ }
+
+ return available;
++#endif /* __FreeBSD__ */
+ }
+
+ void
+@@ -3207,11 +3220,13 @@
} /* else (!enable_nagle) */
if (!local) {
diff --git a/net/389-ds-base/pkg-plist b/net/389-ds-base/pkg-plist
index c2c94149ab34..6ef74fa53c3b 100644
--- a/net/389-ds-base/pkg-plist
+++ b/net/389-ds-base/pkg-plist
@@ -70,7 +70,6 @@ lib/dirsrv/python/logregex.py
lib/libsvrcore.so
lib/libsvrcore.so.0
lib/libsvrcore.so.0.0.0
-lib/sysctl.d/70-dirsrv.conf
libdata/pkgconfig/dirsrv.pc
libdata/pkgconfig/svrcore.pc
sbin/ldap-agent