The Samba suite is a set of programs which run under the FreeBSD
operating system. These programs deliver most of the important
functionality of a Microsoft Lan Manager server. That is, they support
remote access to FreeBSD filespace and FreeBSD printers from Lan Manager
compatible clients. In practical terms, this means that such clients can
connect to and use FreeBSD filespace as if it was a local disk drive, or
FreeBSD printers as if they were local printers.
Some of the most popular Lan Manager compatible clients include Lan
Manager itself, Windows for Workgroups, OS/2 and Windows NT.
WWW: http://www.samba.org/
===> The following configuration options are available for samba35-3.5.19:
LDAP=on: With LDAP support
ADS=off: With Active Directory support
CUPS=on: With CUPS printing support
WINBIND=on: With WinBIND support
SWAT=off: With SWAT WebGUI
ACL_SUPPORT=off: With ACL support
AIO_SUPPORT=off: With Asyncronous IO support
FAM_SUPPORT=off: With File Alteration Monitor
SYSLOG=off: With Syslog support
QUOTAS=off: With Disk quota support
UTMP=off: With UTMP accounting support
PAM_SMBPASS=off: With PAM authentication vs passdb backends
DNSUPDATE=off: With dynamic DNS update(require ADS)
AVAHI=off: With Bonjour service discovery support
EXP_MODULES=off: With experimental modules
POPT=on: With system-wide POPT library
IPV6=on: With IPv6 support
MAX_DEBUG=off: With maximum debugging
SMBTORTURE=off: With smbtorture
===> Use 'make config' to modify these settings
new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility
This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG
it can take the following arguments:
- yes (meaning build only dep)
- build (meaning build only dep)
- run (meaning run only dep)
- both (meaning run and build dep)
From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.
While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config
With Hat: portmgr
Exp-runs by: bapt (pointhat-west), beat (pointyhat)
The samba rc.d script uses some clever tricks to start (up to) 3 different
services using the same script. As a result it resets rcvar several times
in order to process the options for each service.
The changes I made on 2012/01/14 to facilitate the removal of set_rc_var()
from HEAD were effective in the case where the WINBIND option was off (the
case that I tested) because that causes the related portions of the rc.d
script to be removed completely on install. However, if installed from a
package, or installed using the the default OPTIONS, WINBIND is on, which
caused the last known rcvar to be winbind_enable.
Since the common case seems to be for users to use samba_enable (which
only enables smb_and nmb_ by default) the fact that rcvar=winbind_enable,
but that knob is off, caused the startup script to trip on a totally
unrelated portion of rc.subr.
(Only the first 15 lines of the commit message are shown above )
Security update to address root credential remote code execution issue
(CVE-2012-1182):
- Update samba36 to 3.6.4;
- Update samba35 to 3.5.14;
- Update samba34 to 3.4.16;
All samba users are advised to update.
Security: baf37cd2-8351-11e1-894e-00215c6a37bb
With hat: secteam@
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav