Samba4 is an attempt to implement an Active Directory compatible Domain
Controller.
In short, you can join a WinNT, Win2000, WinXP or Win 2003 - 2016 member
server to a Samba4 domain, and it will behave much as it does in AD,
including Kerberos domain logins where applicable.
===> The following configuration options are available for samba419-4.19.9_14:
ADS=on: Active Directory client(implies LDAP)
AD_DC=on: Active Directory Domain Controller(implies PYTHON3)
CLUSTER=off: Clustering support
CUPS=off: CUPS printing system support
DOCS=on: Build and/or install documentation
FAM=on: File Alteration Monitor
GPGME=off: GpgME support
LDAP=on: LDAP client
MANPAGES=on: Build and/or install manual pages
PROFILE=on: Profiling data
PYTHON3=on: Python 3.x bindings or support
QUOTAS=on: Disk quota support
SYSLOG=on: Syslog logging support
UTMP=on: UTMP accounting
====> VFS modules
FRUIT=on: MacOSX and TimeMachine support
GLUSTERFS=off: GlusterFS support
====> GSSAPI Security API support: you have to select exactly one of them
GSSAPI_BUILTIN=on: GSSAPI support via bundled Heimdal
GSSAPI_MIT=off: GSSAPI support via security/krb5
====> Zero configuration networking: you have to select exactly one of them
ZEROCONF_NONE=off: Zeroconf support is absent
AVAHI=on: Zeroconf support via Avahi
MDNSRESPONDER=off: Zeroconf support via mDNSResponder
===> Use 'make config' to modify these settings
databases/lmdb: allow to install both 0.x and 1.x together
LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.
Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc
A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.
Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
in the migration path, lmdb, the lmdb 0.x is supposed to get removed at
some point.
Approved by: mat (portmgr)
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D60741
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI
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
(Only the first 15 lines of the commit message are shown above )
all: drop support for FreeBSD 13, mips and risc64sf
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
net/samba419: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout)
net/samba419: opt out from Features/fortify.mk
[...]
Checking for freebsd sendfile support
: not found
sendfile support not found but it was requested !
(complete log in
/wrkdirs/usr/ports/net/samba419/work/samba-4.19.9/bin/config.log)
===> Script "configure" failed unexpectedly.
[...]
PR: 292389
treewide: Remove references to USES= fam and move to LIB_DEPENDS
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
net/samba419: Deprecate without expiration date
This is meant to give notice to Samba users that 4.19 is not supported
anymore. The default Samba in the tree is 4.16 currently, so removing
4.19 most likely will not be a big task.
PR: 289294
security/gpgme: Update to 2.0.0
Upstream has split most of the bindings out into separate projects with
this release, so the child ports that were previously providing various
bindings are now autonomous and have new origins. The python bindings
should have been called py-gpg for many years now, since 'gpg' is the
actual module name, so this also corrects that issue.
security/gpgme-cpp -> security/gpgmepp
security/gpgme-qt -> security/qgpgme
security/py-gpgme -> security/py-gpg
gpgmepp and qgpgme have been converted to CMake. py-gpg is now a "fun"
autotools and FreeBSD ports system hybrid. Gpgme, itself, still uses
autotools, but with much less parenting (patching) to do for its
emancipated children.
Adjust several ports to fix API incompatibility with upstream patches
and with some of my own. Adjust all consumers to use the new port
origins of the former child ports.
https://dev.gnupg.org/T7673
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.
Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above )
net/samba4{19,20}: Rework manpages handling
* Rename option MANDOC to MANPAGES to match with other ports and
Mk/bsd.options.desc.mk.
* Remove outdated, incorrect, precompiled manpages from ${FILESDIR}/files/man.
* Properly disable manpages generation since XSLTPROC was set to true(1) WAF
always assumed xsltproc(1) to work and if any automatic dependency pulled in
textproc/docbook-xsl, manpages were generated even if explicitly disabled.
PR: 281415
Approved by: jrm (mentor), mikael, 0mp
Differential Revision: https://reviews.freebsd.org/D49299
gnome: remove tracker2
Tracker2 has long ago been replaced by tracker3 which is also gone now
and replaced by tinysparql.
Tracker2 is creating some complication for many ports (including
grilo-plugins) when installed, considering it not supported anymore,
just remove it instead of fighting it in each related port
net/samba419: Dynamically calculate FreeBSD proc_fd_pattern
Port timur's patch for dynamic calcuation of the proc fd (fdescfs)
pattern mounted by the samba_server RC script from net/samba416.
Tested by: michaelo
Approved by: jrm (mentor), mikael, timur
MFH: 2025Q1
Differential Revision: https://reviews.freebsd.org/D48416
net/samba419: Use a simple approach to reconcile O_PATH and vfs_zfsacl
The current, sophisticated approach does not fully cover all usecases and flag
twiddling around O_EMPTY_PATH, resort to use working fdescfs(5) magic for now.
PR: 277878
Tested by: michaelo, vvd, Peter Eriksson
Approved by: jrm (mentor), vvd, mikael (samba)
MFH: 2025Q1
Differential Revision: https://reviews.freebsd.org/D48399
net/samba419: Use external dependencies by default
The Samba package can be built with the following dependencies bundled
in: cmocka, talloc, tevent, tdb, and ldb. This is a handy way of getting
the right versions of all those dependencies. Unfortunately, the bundled
dependencies conflict with their packaged counterparts, which leads to
the build and installation issues with packages like security/sssd2 and
net/freeradius3. Building Samba without the bundled dependencies
resolves those issues, so let's do that.
PR: 280557
Approved by: samba (mikael, 0mp)
Sponsored by: Klara, Inc.
net/samba419: Update version checks for ldb; switch to ldb28
Samba 4.19 requires ldb 2.8.1 or newer to build without bundled
dependencies.
PR: 280510
Approved by: portmgr blanket
Sponsored by: Klara, Inc.
net/samba419: Update required version for tevent
The configure step fails with:
> Checking for system tevent (>=0.15.0) : not found
> ERROR: System library tevent of version 0.15.0 not found, and bundling
disabled
> ===> Script "configure" failed unexpectedly.
PR: 280510, 280511
Approved by: portmgr blanket
Sponsored by: Klara, Inc.
net/samba419: Update version requirements for talloc
The configure step fails with the following message:
> Checking for system talloc (>=2.4.1) : not found
> ERROR: System library talloc of version 2.4.1 not found, and bundling disabled
> ===> Script "configure" failed unexpectedly.
Update the required talloc version accordingly in the makefile.
PR: 280510, 280509
Sponsored by: Klara, Inc.
Approved by: portmgr blanket
net/samba419: Require the right version of unbundled tdb
When building with SAMBA4_BUNDLED_TDB=no, the configure target errors out with
the following message:
> Checking for system tdb (>=1.4.9) : not found
> ERROR: System library tdb of version 1.4.9 not found, and bundling disabled
> ===> Script "configure" failed unexpectedly.
Update the version requirements in the makefile accordingly.
To address this properly, we need to bring databases/tdb 1.4.9 to the ports
tree.
Approved by: portmgr blanket
Fixes: b0a4fa4a12b0 net/samba419: Add new port
Sponsored by: Klara, Inc.
net/samba419: Add new port
Many thanks to Joshua Kinard, Siva Mahadevan, Yasuhiro Kimura, Andrew Walker,
and Peter Eriksson for their patches.
PR: 270383