<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/net/samba420, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/'/>
<entry>
<title>*: Fix dependency on lmdb0</title>
<updated>2026-07-06T19:38:18+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2026-07-06T19:38:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=7a7dea44149e933dc87f3f116b056e252f1fa2f7'/>
<id>7a7dea44149e933dc87f3f116b056e252f1fa2f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>databases/lmdb0: Add port for LMDB 0.9.x legacy ABI</title>
<updated>2026-07-06T15:57:32+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2026-07-05T16:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=5f9d389f299ac8124a5114c2f014984390b6fd1e'/>
<id>5f9d389f299ac8124a5114c2f014984390b6fd1e</id>
<content type='text'>
LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.

Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.

This commit introduces databases/lmdb0 as a holding port for the 0.9.35
release, pinned to the 0.x branch with PORTSCOUT=limit:^0. and mutually
conflicting with databases/lmdb, which retains 1.0. The two packages
cannot be installed simultaneously, but having lmdb0 available means:

* Ports known to require the 0.9 ABI can declare an explicit dependency
  on databases/lmdb0 until they are validated against 1.0.
* Users with existing databases in the 0.9 format can still access the
  mdb_dump and mdb_load utilities to migrate data before upgrading.
* The package conflict prevents accidental mixing.

All 50 direct dependents of databases/lmdb are redirected to
databases/lmdb0 for now with a PORTREVISION bump, effectively restoring
the tree to the state prior to the LMDB 1.0 update. Once all dependent
ports are validated against LMDB 1.0, they will be moved back to
databases/lmdb and databases/lmdb0 will be removed.

PR:             ports/296530
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.

Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.

This commit introduces databases/lmdb0 as a holding port for the 0.9.35
release, pinned to the 0.x branch with PORTSCOUT=limit:^0. and mutually
conflicting with databases/lmdb, which retains 1.0. The two packages
cannot be installed simultaneously, but having lmdb0 available means:

* Ports known to require the 0.9 ABI can declare an explicit dependency
  on databases/lmdb0 until they are validated against 1.0.
* Users with existing databases in the 0.9 format can still access the
  mdb_dump and mdb_load utilities to migrate data before upgrading.
* The package conflict prevents accidental mixing.

All 50 direct dependents of databases/lmdb are redirected to
databases/lmdb0 for now with a PORTREVISION bump, effectively restoring
the tree to the state prior to the LMDB 1.0 update. Once all dependent
ports are validated against LMDB 1.0, they will be moved back to
databases/lmdb and databases/lmdb0 will be removed.

PR:             ports/296530
</pre>
</div>
</content>
</entry>
<entry>
<title>all: drop support for FreeBSD 13, mips and risc64sf</title>
<updated>2026-05-07T21:47:29+00:00</updated>
<author>
<name>Rene Ladan</name>
<email>rene@FreeBSD.org</email>
</author>
<published>2026-03-05T20:06:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4a'/>
<id>2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4a</id>
<content type='text'>
Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

  desktop kde python tcltk office
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

  desktop kde python tcltk office
</pre>
</div>
</content>
</entry>
<entry>
<title>net/samba420: Add patches to fix ndr.h consumers (i.e. SSSD)</title>
<updated>2026-03-20T15:11:31+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2026-03-05T19:23:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=bc1bc4b7ec224b5a2411deb5f9fd6d6262b99741'/>
<id>bc1bc4b7ec224b5a2411deb5f9fd6d6262b99741</id>
<content type='text'>
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd

PR:		293566
Approved by:	samba (maintainer timeout)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd

PR:		293566
Approved by:	samba (maintainer timeout)
</pre>
</div>
</content>
</entry>
<entry>
<title>net/samba420: opt out from Features/fortify.mk</title>
<updated>2026-02-26T19:58:35+00:00</updated>
<author>
<name>Evgenii Khramtsov</name>
<email>2khramtsov@gmail.com</email>
</author>
<published>2026-01-12T10:41:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=b513719c8cf79f08de8e396458000feb01302f1b'/>
<id>b513719c8cf79f08de8e396458000feb01302f1b</id>
<content type='text'>
[...]
Checking for freebsd sendfile support                                                           : not found
sendfile support not found but it was requested !
(complete log in /wrkdirs/usr/ports/net/samba420/work/samba-4.20.8/bin/config.log)
===&gt;  Script "configure" failed unexpectedly.
[...]

PR:	292390
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[...]
Checking for freebsd sendfile support                                                           : not found
sendfile support not found but it was requested !
(complete log in /wrkdirs/usr/ports/net/samba420/work/samba-4.20.8/bin/config.log)
===&gt;  Script "configure" failed unexpectedly.
[...]

PR:	292390
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: Remove references to USES= fam and move to LIB_DEPENDS</title>
<updated>2026-01-13T00:12:09+00:00</updated>
<author>
<name>Daniel Engberg</name>
<email>diizzy@FreeBSD.org</email>
</author>
<published>2026-01-11T17:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=97f98ba45c954c94d741439cfcf66d5e5059e3e4'/>
<id>97f98ba45c954c94d741439cfcf66d5e5059e3e4</id>
<content type='text'>
Only a handful of ports in tree uses this helper which
used to make a switch between devel/fam and devel/gamin more
convenient. With devel/fam going away there's no need to maintain
this any further for a handful of ports.

Approved by:	blanket
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only a handful of ports in tree uses this helper which
used to make a switch between devel/fam and devel/gamin more
convenient. With devel/fam going away there's no need to maintain
this any further for a handful of ports.

Approved by:	blanket
</pre>
</div>
</content>
</entry>
<entry>
<title>net/samba420: Deprecate without expiration date</title>
<updated>2025-12-18T14:30:24+00:00</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2025-12-18T14:09:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=f2ced994582d30fe4d664f0762b2bc348619b4d3'/>
<id>f2ced994582d30fe4d664f0762b2bc348619b4d3</id>
<content type='text'>
This is meant to give notice to Samba users that 4.20 is not supported
anymore. The default Samba in the tree is 4.16 currently, so removing
4.20 most likely will not be a big task.

PR:	291775
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is meant to give notice to Samba users that 4.20 is not supported
anymore. The default Samba in the tree is 4.16 currently, so removing
4.20 most likely will not be a big task.

PR:	291775
</pre>
</div>
</content>
</entry>
<entry>
<title>net/samba420: Update to 4.20.8</title>
<updated>2025-12-18T14:30:23+00:00</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2025-12-18T13:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=f333946f460e8e910afda9b04b2b93af00eae2f8'/>
<id>f333946f460e8e910afda9b04b2b93af00eae2f8</id>
<content type='text'>
- Remove files/patch-python_samba_tdb__util.py: it's already included in
  upstream distribution.

Reported by:	Andrej Ebert &lt;andrej@ebert.su&gt;
PR:	287927
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove files/patch-python_samba_tdb__util.py: it's already included in
  upstream distribution.

Reported by:	Andrej Ebert &lt;andrej@ebert.su&gt;
PR:	287927
</pre>
</div>
</content>
</entry>
<entry>
<title>net/samba420: Fix recent CVEs</title>
<updated>2025-10-22T14:43:05+00:00</updated>
<author>
<name>Andrea Venturoli</name>
<email>freebsd@netfence.it</email>
</author>
<published>2025-10-22T14:43:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=dfe0f7673b604dd813da98c2219c8d0ef3e7b599'/>
<id>dfe0f7673b604dd813da98c2219c8d0ef3e7b599</id>
<content type='text'>
PR:		290329
Security:	https://www.samba.org/samba/security/CVE-2025-10230.html
Security:	https://www.samba.org/samba/security/CVE-2025-9640.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		290329
Security:	https://www.samba.org/samba/security/CVE-2025-10230.html
Security:	https://www.samba.org/samba/security/CVE-2025-9640.html
</pre>
</div>
</content>
</entry>
<entry>
<title>net/samba420: fix fdescfs handling which causes several issues</title>
<updated>2025-08-21T19:01:17+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2025-06-30T12:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=a60d74e32eeedfcec40f37ba6a4e409fe53dbeeb'/>
<id>a60d74e32eeedfcec40f37ba6a4e409fe53dbeeb</id>
<content type='text'>
Issue from bug 284623: several PANIC errors in log.smbd, similar to:

  [2025/02/02 16:56:09.823293,	0] ../../lib/util/fault.c:193(smb_panic_log)
    PANIC (pid 8625): async open timeout in 4.20.7
  [2025/02/02 16:56:09.827129,	0] ../../lib/util/fault.c:304(log_stack_trace)
    BACKTRACE: 20 stack frames:
     #0 0x3645750f6ec7 &lt;log_stack_trace+0x37&gt; at /usr/local/lib/samba4/private/libgenrand-private-samba.so
     #1 0x3645750f6f9e &lt;smb_panic+0xe&gt; at /usr/local/lib/samba4/private/libgenrand-private-samba.so
     #2 0x36456b707b24 &lt;smbd_exit_server+0x1b4&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #3 0x36456b707981 &lt;smbd_exit_server+0x11&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #4 0x364575394bcc &lt;exit_server+0x1c&gt; at /usr/local/lib/samba4/private/libsmbd-shim-private-samba.so
     #5 0x36456b6b2b10 &lt;delete_all_streams&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #6 0x364575935dff &lt;tevent_common_invoke_timer_handler+0x18f&gt; at /usr/local/lib/libtevent.so.0
     #7 0x364575935fa4 &lt;tevent_common_loop_timer_delay+0x94&gt; at /usr/local/lib/libtevent.so.0
     #8 0x3645759337c5 &lt;tevent_context_same_loop+0xb15&gt; at /usr/local/lib/libtevent.so.0
     #9 0x36457592f36a &lt;_tevent_loop_once+0xea&gt; at /usr/local/lib/libtevent.so.0
     #10 0x36457592f5f2 &lt;tevent_common_loop_wait+0x32&gt; at /usr/local/lib/libtevent.so.0
     #11 0x36456b6cd34b &lt;smbd_process+0x83b&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #12 0x363d4788f9bd &lt;main+0x42fd&gt; at /usr/local/sbin/smbd
     #13 0x36457593067e &lt;tevent_common_invoke_fd_handler+0x9e&gt; at /usr/local/lib/libtevent.so.0
     #14 0x364575933a44 &lt;tevent_context_same_loop+0xd94&gt; at /usr/local/lib/libtevent.so.0
     #15 0x36457592f36a &lt;_tevent_loop_once+0xea&gt; at /usr/local/lib/libtevent.so.0
     #16 0x36457592f5f2 &lt;tevent_common_loop_wait+0x32&gt; at /usr/local/lib/libtevent.so.0
     #17 0x363d4788df3f &lt;main+0x287f&gt; at /usr/local/sbin/smbd
     #18 0x363d4788cbac &lt;main+0x14ec&gt; at /usr/local/sbin/smbd
     #19 0x36457742ac3a &lt;__libc_start1+0x12a&gt; at /lib/libc.so.7

Issue from bug 286821: accessing Samba shares from macOS clients results
in error dialogs titled: "There was a problem connecting to the server",
with content "The share does not exist on the server. Please check the
share name and then try again".

The problems are caused by fdescfs handling:
* patch 0028-s3-lib-system-add-FreeBSD-proc_fd_pattern.patch was how
  Timur solved the fd problem for Samba 4.19 (mounting fdescfs nodup
  under /var/run/samba4/fd);
* if only this had been accepted upstream, we would not have had this
  problem in 4.20... :(
* in any case this code is now unused in 4.20, where Samba went even
  more Linux-only;
* patch 0101-FreeBSD-add-fdescfs-paths-workaround.patch was a naive
  tentative to solve the same problem for 4.20, apparently without
  taking into account what had been done before; it's broken by design,
  brokenly implementated and it simply doesn't work.

Apply a patch by Andrea Venturoli &lt;ml@netfence.it&gt;, which drops the 0101
patch, and modifies the older 0028 patch to revive what Timur had done.

PR:		284623, 286821
Tested by:	O. Hartmann &lt;ohartmann@walstatt.org&gt; and others
Approved by:	samba (0mp)
MFH:		2025Q3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue from bug 284623: several PANIC errors in log.smbd, similar to:

  [2025/02/02 16:56:09.823293,	0] ../../lib/util/fault.c:193(smb_panic_log)
    PANIC (pid 8625): async open timeout in 4.20.7
  [2025/02/02 16:56:09.827129,	0] ../../lib/util/fault.c:304(log_stack_trace)
    BACKTRACE: 20 stack frames:
     #0 0x3645750f6ec7 &lt;log_stack_trace+0x37&gt; at /usr/local/lib/samba4/private/libgenrand-private-samba.so
     #1 0x3645750f6f9e &lt;smb_panic+0xe&gt; at /usr/local/lib/samba4/private/libgenrand-private-samba.so
     #2 0x36456b707b24 &lt;smbd_exit_server+0x1b4&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #3 0x36456b707981 &lt;smbd_exit_server+0x11&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #4 0x364575394bcc &lt;exit_server+0x1c&gt; at /usr/local/lib/samba4/private/libsmbd-shim-private-samba.so
     #5 0x36456b6b2b10 &lt;delete_all_streams&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #6 0x364575935dff &lt;tevent_common_invoke_timer_handler+0x18f&gt; at /usr/local/lib/libtevent.so.0
     #7 0x364575935fa4 &lt;tevent_common_loop_timer_delay+0x94&gt; at /usr/local/lib/libtevent.so.0
     #8 0x3645759337c5 &lt;tevent_context_same_loop+0xb15&gt; at /usr/local/lib/libtevent.so.0
     #9 0x36457592f36a &lt;_tevent_loop_once+0xea&gt; at /usr/local/lib/libtevent.so.0
     #10 0x36457592f5f2 &lt;tevent_common_loop_wait+0x32&gt; at /usr/local/lib/libtevent.so.0
     #11 0x36456b6cd34b &lt;smbd_process+0x83b&gt; at /usr/local/lib/samba4/private/libsmbd-base-private-samba.so
     #12 0x363d4788f9bd &lt;main+0x42fd&gt; at /usr/local/sbin/smbd
     #13 0x36457593067e &lt;tevent_common_invoke_fd_handler+0x9e&gt; at /usr/local/lib/libtevent.so.0
     #14 0x364575933a44 &lt;tevent_context_same_loop+0xd94&gt; at /usr/local/lib/libtevent.so.0
     #15 0x36457592f36a &lt;_tevent_loop_once+0xea&gt; at /usr/local/lib/libtevent.so.0
     #16 0x36457592f5f2 &lt;tevent_common_loop_wait+0x32&gt; at /usr/local/lib/libtevent.so.0
     #17 0x363d4788df3f &lt;main+0x287f&gt; at /usr/local/sbin/smbd
     #18 0x363d4788cbac &lt;main+0x14ec&gt; at /usr/local/sbin/smbd
     #19 0x36457742ac3a &lt;__libc_start1+0x12a&gt; at /lib/libc.so.7

Issue from bug 286821: accessing Samba shares from macOS clients results
in error dialogs titled: "There was a problem connecting to the server",
with content "The share does not exist on the server. Please check the
share name and then try again".

The problems are caused by fdescfs handling:
* patch 0028-s3-lib-system-add-FreeBSD-proc_fd_pattern.patch was how
  Timur solved the fd problem for Samba 4.19 (mounting fdescfs nodup
  under /var/run/samba4/fd);
* if only this had been accepted upstream, we would not have had this
  problem in 4.20... :(
* in any case this code is now unused in 4.20, where Samba went even
  more Linux-only;
* patch 0101-FreeBSD-add-fdescfs-paths-workaround.patch was a naive
  tentative to solve the same problem for 4.20, apparently without
  taking into account what had been done before; it's broken by design,
  brokenly implementated and it simply doesn't work.

Apply a patch by Andrea Venturoli &lt;ml@netfence.it&gt;, which drops the 0101
patch, and modifies the older 0028 patch to revive what Timur had done.

PR:		284623, 286821
Tested by:	O. Hartmann &lt;ohartmann@walstatt.org&gt; and others
Approved by:	samba (0mp)
MFH:		2025Q3
</pre>
</div>
</content>
</entry>
</feed>
