Port details |
- samba419 Free SMB/CIFS and AD/DC server and client for Unix
- 4.19.9_1 net =14 4.19.8_1Version of this port present on the latest quarterly branch.
- Maintainer: samba@FreeBSD.org
- Port Added: 2024-02-09 15:36:06
- Last Update: 2024-10-23 04:25:33
- Commit Hash: f8c19ed
- People watching this port, also watch:: openssl, apache24, git, samba416, pkg
- 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/samba419/ && make install clean
- To add the package, run one of these commands:
- pkg install net/samba419
- pkg install samba419
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: samba419
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1729258042
SHA256 (samba-4.19.9.tar.gz) = 71ed406444714c90bb9d36c576d807b67af15449f297e91106d42b3ca2fa5549
SIZE (samba-4.19.9.tar.gz) = 41877221
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
- talloc>=2.4.1 : devel/talloc
- tevent>=0.15.0 : devel/tevent
- tdb>=1.4.9 : databases/tdb
- ldb28>=2.8.1 : databases/ldb28
- 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
- pkgconf>=1.3.0_1 : devel/pkgconf
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- bison : devel/bison
- python3.11 : lang/python311
- perl5>=5.36<5.37 : lang/perl5.36
- 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
- talloc>=2.4.1 : devel/talloc
- tevent>=0.15.0 : devel/tevent
- tdb>=1.4.9 : databases/tdb
- ldb28>=2.8.1 : databases/ldb28
- 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 samba419-4.19.9_1:
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
MANDOC=off: Build manpages from DOCBOOK templates
PROFILE=on: Profiling data
PYTHON3=on: Python 3.x bindings or support
QUOTAS=on: Disk quota support
SPOTLIGHT=off: Spotlight server-side search 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_samba419
- 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.19.9_1 23 Oct 2024 04:25:33 |
Yasuhiro Kimura (yasu) |
net/samba419: Update to 4.19.9
ReleaseNotes: https://www.samba.org/samba/history/samba-4.19.9.html
PR: 282254
Reviewed by: 0mp
Differential Revision: https://reviews.freebsd.org/D47183 |
4.19.8_1 02 Oct 2024 13:32:18 |
Dimitry Andric (dim) |
net/samba419: fix rl_completion_func_t detection and usage
After a recent devel/readline update, net/samba419 fails to compile with
clang 19, resulting in errors similar to:
../../libcli/smbreadline/smbreadline.c:139:38: warning: 'CPPFunction' is
deprecated [-Wdeprecated-declarations]
139 | rl_attempted_completion_function = RL_COMPLETION_CAST
completion_fn;
| ^
../../lib/replace/system/readline.h:50:31: note: expanded from macro
'RL_COMPLETION_CAST'
50 | # define RL_COMPLETION_CAST (CPPFunction *)
| ^
/usr/local/include/readline/rltypedefs.h:38:50: note: 'CPPFunction' has been
explicitly marked deprecated here
38 | typedef char **CPPFunction (void) __attribute__((deprecated));
| ^
../../libcli/smbreadline/smbreadline.c:139:36: error: incompatible function
pointer types assigning to 'rl_completion_func_t *' (aka 'char **(*)(const char
*, int, int)') from 'CPPFunction *' (aka 'char **(*)(void)')
[-Wincompatible-function-pointer-types] (Only the first 15 lines of the commit message are shown above ) |
4.19.8_1 09 Sep 2024 16:44:37 |
Mateusz Piotrowski (0mp) Author: Yasuhiro Kimura |
net/samba419: Update to 4.19.8
Changelog: https://www.samba.org/samba/history/samba-4.19.8.html
PR: 280861
Approved by: samba (mikael, yasu, 0mp) |
4.19.7_1 16 Aug 2024 19:44:10 |
Mateusz Piotrowski (0mp) |
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. |
4.19.7 13 Aug 2024 11:43:09 |
Mateusz Piotrowski (0mp) |
*/*: Let samba@ maintain ldb, tdb, talloc, tevent, and Samba
PR: 280556
Approved by: portmgr |
4.19.7 11 Aug 2024 18:24:57 |
Mateusz Piotrowski (0mp) |
net/samba419: Allow setting *_BUNDLED_* via make.conf
PR: 280557
Approved by: portmgr blanket |
4.19.7 31 Jul 2024 09:02:36 |
Mateusz Piotrowski (0mp) |
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. |
4.19.7 31 Jul 2024 09:01:54 |
Mateusz Piotrowski (0mp) |
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. |
4.19.7 31 Jul 2024 09:00:41 |
Mateusz Piotrowski (0mp) |
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 |
4.19.7 30 Jul 2024 11:53:26 |
Mateusz Piotrowski (0mp) |
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. |
4.19.7 15 Jun 2024 03:10:21 |
Yasuhiro Kimura (yasu) |
net/samba419: Update to 4.19.7
ReleaseNotes: https://www.samba.org/samba/history/samba-4.19.7.html
PR: 279701
Approved by: maintainer |
4.19.6_1 26 May 2024 12:17:36 |
Yoshihiro Takahashi (nyan) |
net/samba419: Fix startup script in a jail environment
PR: 275343
Approved by: mikael (maintainer, ports committer) |
4.19.6 21 Apr 2024 17:17:11 |
Yasuhiro Kimura (yasu) |
net/samba419: Update to 4.19.6
ReleaseNotes: https://www.samba.org/samba/history/samba-4.19.6.html
PR: 278508
Approved by: maintainer |
4.19.5_1 28 Feb 2024 14:30:15 |
Mikael Urankar (mikael) Author: Denis Shaposhnikov |
net/samba419: fix conflict with talloc
PR: 276988 |
4.19.5 20 Feb 2024 00:24:06 |
Yasuhiro Kimura (yasu) |
net/samba419: Update to 4.19.5
ReleaseNotes: https://www.samba.org/samba/history/samba-4.19.5.html
PR: 277162
Approved by: maintainer |
4.19.4 09 Feb 2024 15:33:54 |
Mikael Urankar (mikael) |
net/samba419: Add new port
Many thanks to Joshua Kinard, Siva Mahadevan, Yasuhiro Kimura, Andrew Walker,
and Peter Eriksson for their patches.
PR: 270383 |