Port details |
- samba420 Free SMB/CIFS and AD/DC server and client for Unix
- 4.20.7_6 net
=6 4.20.7_4Version of this port present on the latest quarterly branch. - Maintainer: samba@FreeBSD.org
 - Port Added: 2025-01-30 14:45:23
- Last Update: 2025-06-24 13:14:44
- Commit Hash: dbab074
- People watching this port, also watch:: apache24, samba416, openssl, vim, freeradius3
- License: GPLv3+
- WWW:
- https://gitlab.com/samba-freebsd/
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/net/samba420/ && make install clean
- To add the package, run one of these commands:
- pkg install net/samba420
- pkg install samba420
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: samba420
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1737565689
SHA256 (samba-4.20.7.tar.gz) = 5afe8b66e612ab1c7e57c6146adfe98ec3ea9d40dee2962a2076a3d6d6973b78
SIZE (samba-4.20.7.tar.gz) = 42523056
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- jansson>=2.10 : devel/jansson
- libtasn1>=3.8 : security/libtasn1
- p5-Parse-Yapp>=0 : devel/p5-Parse-Yapp
- libarchive>=3.1.2 : archivers/libarchive
- cmocka>=1.1.3 : sysutils/cmocka
- talloc242>=2.4.2 : devel/talloc242
- tevent016>=0.16.1 : devel/tevent016
- tdb1410>=1.4.10 : databases/tdb1410
- ldb29>=2.9.1 : databases/ldb29
- py311-markdown>=3.3.7 : textproc/py-markdown@py311
- py311-dnspython>=2.2.1 : dns/py-dnspython@py311
- p5-JSON>=4.0 : converters/p5-JSON
- docbook.xsl : textproc/docbook-xsl
- xsltproc : textproc/libxslt
- pkgconf>=1.3.0_1 : devel/pkgconf
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- bison : devel/bison
- python3.11 : lang/python311
- perl5>=5.40.r<5.41 : lang/perl5.40
- Test dependencies:
-
- bash : shells/bash
- tshark : net/wireshark@nox11
- python3.11 : lang/python311
- Runtime dependencies:
-
- jansson>=2.10 : devel/jansson
- libtasn1>=3.8 : security/libtasn1
- libarchive>=3.1.2 : archivers/libarchive
- talloc242>=2.4.2 : devel/talloc242
- tevent016>=0.16.1 : devel/tevent016
- tdb1410>=1.4.10 : databases/tdb1410
- ldb29>=2.9.1 : databases/ldb29
- py311-markdown>=3.3.7 : textproc/py-markdown@py311
- py311-dnspython>=2.2.1 : dns/py-dnspython@py311
- python3.11 : lang/python311
- Library dependencies:
-
- libiconv.so : converters/libiconv
- libunwind.so : devel/libunwind
- libreadline.so : devel/readline
- libpopt.so : devel/popt
- libinotify.so : devel/libinotify
- libgnutls.so : security/gnutls
- libgcrypt.so : security/libgcrypt
- libsunacl.so : sysutils/libsunacl
- libavahi-client.so : net/avahi-app
- libintl.so : devel/gettext-runtime
- libfam.so.0 : devel/gamin
- libldap.so.2 : net/openldap26-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for samba420-4.20.7_6:
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
- Options name:
- net_samba420
- USES:
- compiler:c++11-lang iconv localbase:ldflags perl5 pkgconfig shebangfix waf gettext-runtime fam bison ldap python
- pkg-message:
- For install:
- How to start: http://wiki.samba.org/index.php/Samba4/HOWTO
* Your configuration is: /usr/local/etc/smb4.conf
* All the relevant databases are under: /var/db/samba4
* All the logs are under: /var/log/samba4
* Provisioning script is: /usr/local/bin/samba-tool
For the working DNS updates you will need to either build dns/bind9*
with the enabled GSSAPI(GSSAPI_MIT5 is recommended) or install
dns/samba-nsupdate package, which is preconfigured with such a support.
You will need to specify location of the 'nsupdate' command in the
smb4.conf file:
nsupdate command = /usr/local/bin/samba-nsupdate -g
For additional documentation check: https://wiki.samba.org/index.php/User_Documentation
Port related bug reports can go to the https://gitlab.com/samba-freebsd/ports/-/issues or
to the FreeBSD Bugzilla https://bugs.freebsd.org/
All Samba related bug reports should go to the: https://bugzilla.samba.org/
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4.20.7_6 24 Jun 2025 13:14:44
    |
Jason E. Hale (jhale)  |
*/*: Bump security/gpgme consumers |
4.20.7_5 24 Jun 2025 13:09:24
    |
Jason E. Hale (jhale)  |
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 |
4.20.7_5 19 Jun 2025 20:28:47
    |
Charlie Li (vishwin)  |
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 ) |
4.20.7_5 11 Jun 2025 11:15:46
    |
Xavier Beaudouin (kiwi)  Author: ml@netfence.it |
net/samba420: Unbreak samba 4.20
This fix the 0100 patch to make file creation working. The
patch has been updated to not alter too much the patch, to
make it working.
This make now samba 4.20 working even if it has only be tested
on Windows and MacOS with basic functionality.
PR: 284623
Approved by: 0mp (mentor)
Approved by: samba (kiwi)
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D50778 |
4.20.7_4 12 Mar 2025 09:02:37
    |
Michael Osipov (michaelo)  |
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 |
4.20.7_3 08 Mar 2025 14:05:10
    |
Gleb Popov (arrowd)  |
*: Bump revisions after dbus update
PR: 285253
Reported by: Martin Birgmeier <d8zNeCFG@aon.at> |
4.20.7_2 05 Mar 2025 15:00:42
    |
Baptiste Daroussin (bapt)  |
net/samba*: fix plist after removal of SPOTLIGHT option |
4.20.7_2 05 Mar 2025 10:30:38
    |
Baptiste Daroussin (bapt)  |
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 |
4.20.7_2 18 Feb 2025 16:49:02
    |
Michael Osipov (michaelo)  Author: Andrea Venturoli |
net/samba4{19,20}: "samba-tool domain backup offline" hangs
PR: 250906
Tested by: ml@netfence.it
Approved by: otis (mentor), kiwi, vvd, allanjude
MFH: 2025Q1
Differential Revision: https://reviews.freebsd.org/D49044 |
4.20.7_1 06 Feb 2025 04:58:50
    |
Yasuhiro Kimura (yasu)  |
*/*: Fix conflict of PKGNAME
* Fix conflict of PKGNAME by adding PKGNAMESUFFIX to the ports below
- databases/tdb1410
- devel/talloc242
- devel/tevent016
* Set CONFLICTS_INSTALL between different versions of each port.
* Update dependencies of databases/ldb29 and net/samba420 to reflect
change of PKGNAME.
* Bump PORTREVISION of modified ports.
Reviewed by: 0mp, kiwi
Differential Revision: https://reviews.freebsd.org/D48826 |
4.20.7 04 Feb 2025 13:16:03
    |
Xavier Beaudouin (kiwi)  Author: shellingfield@icloud.com |
net/samba420: net/samba419: Fix plist for ad_dc replication
PR: 284473
PR: 281672
Reported by: Oljas Kuzembaev <oljas@oml.su>
Approved by: 0mp (mentor)
Approved by: samba (0mp, kiwi)
Differential Revision: https://reviews.freebsd.org/D48828 |
4.20.7 01 Feb 2025 19:53:41
    |
Yasuhiro Kimura (yasu)  |
net/samba420: Fix plist when PYTHON3 options is enabled.
PR: 284505
Reported by: shellingfield@icloud.com |
4.20.7 31 Jan 2025 14:22:10
    |
Xavier Beaudouin (kiwi)  Author: shellingfield@icloud.com |
net/samba420: Fix plist library
PR: 284473
Reported by: Oljas Kuzembaev <oljas@oml.su>
Approved by: 0mp (mentor)
Approved by: samba (0mp, kiwi)
Differential Revision: https://reviews.freebsd.org/D48739 |
4.20.7 30 Jan 2025 14:42:00
    |
Xavier Beaudouin (kiwi)  Author: Joshua Kinard |
net/samba420: Update 4.20
Changelog: https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.20
PR: 280533
Sponsored by: Klara, Inc.
Approved by: 0mp (mentor)
Approved by: samba (0mp, kiwi)
Co-authored-by: Xavier Beaudouin <kiwi@FreeBSD.org> |
4.19.9_5 30 Jan 2025 14:42:00
    |
Xavier Beaudouin (kiwi)  |
net/samba420: Repocopy from net/samba419
PR: 280533
Sponsored by: Klara, Inc.
Approved by: 0mp (mentor)
Approved by: samba (0mp, kiwi) |