128 Commits

Author SHA1 Message Date
jca
2b4ffc9571 SECURITY update to samba-4.9.15
Fixes for:
o CVE-2019-10218: Client code can return filenames containing path separators.
o CVE-2019-14833: Samba AD DC check password script does not receive the
full password.
o CVE-2019-14847: User with "get changes" permission can crash AD DC
LDAP server via dirsync.

Release notes for 4.9.14 and 4.9.15:
https://www.samba.org/samba/history/samba-4.9.14.html
https://www.samba.org/samba/history/samba-4.9.15.html

Tested by and ok gonzalo@
2019-10-30 12:20:48 +00:00
jca
1c7cf322bf Update to samba-4.9.13
4.8.x is not supported upstream any more, so better update before 6.6 is
tagged if we want to benefit from upstream's security updates.

To stay on the safe side, this update doesn't enable the LMDB backend
which has become the default upstream.  samba requires a 64 bits system
to use LMDB (32 bits systems can keep on using tdb); and LMDB has always
been a problem child on OpenBSD anyway.

Lightly tested by me, bulk build test and ok ajacoutot@ (thanks!)
2019-10-07 12:50:13 +00:00
jca
8650b589f6 Fix path in README, found by portcheck 2019-06-22 23:58:23 +00:00
jca
b396b7b2d5 Fix @conflict marker
ok naddy@
2019-04-12 18:21:17 +00:00
jca
1640d1178d Update to samba-4.8.9
Tests by Ian McWilliam
2019-03-10 18:08:05 +00:00
jca
5aa2c7cc1b Fix pexp
If you run samba_ad_dc you'll need to kill samba manually and remove
/var/run/rc.d/samba_ad_dc for the change to take effect.
2018-11-30 15:17:31 +00:00
jca
dfdbec6a0e The ldb tools link against libldb-cmdline-samba4.so. 2018-11-28 16:36:05 +00:00
jca
955efd894f Move ldb-related files in the appropriate subpackages 2018-11-17 00:20:50 +00:00
espie
93aef53599 and of course some would conflict... finish PKGSTEM changes manually 2018-09-04 12:53:16 +00:00
jca
b6e6c1fee2 Update to samba-4.8.5
Tests by Ian McWilliam
2018-08-29 11:40:23 +00:00
jca
688d33e494 SECURITY update to samba-4.8.4
Fixes:
o  CVE-2018-1139  (Weak authentication protocol allowed.)
o  CVE-2018-1140  (Denial of Service Attack on DNS and LDAP server.)
o  CVE-2018-10858 (Insufficient input validation on client directory
                   listing in libsmbclient.)
o  CVE-2018-10918 (Denial of Service Attack on AD DC
		   DRSUAPI server.)
o  CVE-2018-10919 (Confidential attribute disclosure
		   from the AD LDAP server.)

See https://www.samba.org/samba/history/samba-4.8.4.html for more
information.
2018-08-14 10:35:00 +00:00
jca
02cac1c86b Update to samba-4.8.3
Tested by Ian McWilliam and Vijay Sankar.
2018-08-02 11:39:33 +00:00
jca
53e022c847 Update to samba-4.8.2
Release notes:
https://www.samba.org/samba/history/samba-4.8.0.html
https://www.samba.org/samba/history/samba-4.8.1.html
https://www.samba.org/samba/history/samba-4.8.2.html

Tested by Ian, who hit a crash and contributed a fix.  Looks like the
new virusfilter.so vfs module is broken.
2018-06-11 11:59:51 +00:00
jca
3d0c20239e Update to samba-4.7.5
Bulk build & ok ajacoutot@ (thanks!).  Let's put this in now so more
people can test, discussed with Ian.

Release notes:
https://www.samba.org/samba/history/samba-4.7.5.html

All release notes for the 4.7 series:
https://git.samba.org/?p=samba.git;a=blob;f=WHATSNEW.txt;h=2914f57c60273c797e756d66759ab81704516864;hb=refs/heads/v4-7-stable
2018-02-15 09:59:44 +00:00
rpe
214644a454 Now that all ports rc.* scripts are using #!/bin/ksh
- change [] tests to [[]]
- change arithmetic [] tests to (())
- change = to == inside [[]]
- remove unecessary quoting inside [[]]

OK aja@
2018-01-14 14:42:18 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
jca
b079a2af84 Update to samba-4.6.11
See https://wiki.samba.org/index.php/Samba_4.6_Features_added/changed
for a ChangeLog.  samba-4.6.10 bulk build & ok ajacoutot@, tests by Ian;
samba-4.6.11 just adds a bunch of security fixes over 4.6.10.
2017-11-22 16:15:44 +00:00
ajacoutot
4ee307450d /usr/local/include/samba-4.0/ was not registered in any subpackage; make
-tevent own it since all include/samba-4.0 consumers depend on it.
2017-05-16 08:45:32 +00:00
jca
165b6b53cc Regen PLIST to use MODPY_PYOEXTENSION 2017-03-12 22:19:50 +00:00
jca
d8700eb3ee Update to samba-4.5.2 2016-12-19 10:12:18 +00:00
ajacoutot
963b076884 -util should own the /usr/local/lib/samba/ directory to prevent the following
warning when pkg_delete samba:
Error deleting directory /usr/local/lib/samba: Directory not empty

ok jca@ (maintainer)
2016-11-11 15:16:57 +00:00
jca
005e273761 Update to samba-4.5.1
Changes:
  https://www.samba.org/samba/history/samba-4.5.0.html
  https://www.samba.org/samba/history/samba-4.5.1.html

powerpc build test kirby@, ok Ian McWilliam
2016-11-09 15:59:37 +00:00
jca
55dada1e0e SECURITY update to samba-4.4.5
* CVE-2016-2119 (Client side SMB2/3 required signing can be downgraded)

ok ajacoutot@, Ian McWilliam, sthen@ on a previous version.  ok danj@
who noted missing entries in PLIST.
2016-07-08 18:39:50 +00:00
jca
a001ab7285 Update to samba-4.4.2
Tests by Vijay Sankar and Ian, ok Ian

This release contains the security fixes introduced by 4.4.2, plus the
new features and improvements from 4.4.0:

  https://www.samba.org/samba/history/samba-4.4.0.html
2016-04-22 11:48:36 +00:00
jca
13f7dce85d Update to samba-4.3.6
i386 build by danj@, ok sthen@

The changelog between 4.1.23 and 4.3.6 is too big to be described here.
The point of updating now is that 4.1.x won't receive updates for the
freshly published security advisories.  samba-4.3.8 will follow.
2016-04-12 17:42:09 +00:00
jca
e19d82005b Stop fetching and packaging outdated pdf docs; ok Ian 2016-03-23 19:08:15 +00:00
jca
16c613f366 SECURITY update to samba-4.1.23; ok Ian McWilliam
Fixes for CVE-2015-7560 and CVE-2016-0771.
2016-03-09 19:40:11 +00:00
ajacoutot
d60b768928 daemon_timeout is not passed to the child scripts either. 2015-11-29 15:50:20 +00:00
jca
1dcc435ff4 Do not mention SWAT, it has been removed. 2015-08-26 18:05:31 +00:00
jca
fa14e12281 Stray @sample /var/run/samba, noticed earlier by ajacoutot@
/var/run gets cleaned at boot time.  The samba daemons create this
directory at startup.
2015-08-25 15:38:16 +00:00
jca
48d3e06ff7 Add a note about nmbd being broken in AD DC setups, and bump.
Requested by giovanni@, putting it here instead of current.html so that
new users will be aware too.
2015-08-25 11:41:15 +00:00
jca
67d00b96ba Add an rc script for samba in AD DC mode. 2015-08-25 11:39:25 +00:00
jca
87847498b4 Tweak rc scripts and README. Tests, input from and ok sthen@ 2015-08-25 11:07:45 +00:00
jca
4b1d388711 Move samba4 to samba, and tweak the ports tree to use it.
ok ajacoutot@

Upcoming commits will add additional tweaks.

Many thanks to Vadim Zhukov (who did most of the work), Ian McWilliam
(co-maintainer), Stuart Henderson who provided lots of support and
feedback, Antoine Jacoutot who patiently dealt with my broken diffs,
and more generally all the people involved.  Most of the recent work was
done during p2k15 and c2k15.
2015-08-25 11:04:38 +00:00
ajacoutot
d9c1207e4f Move some obvious sudo -> '#' (root) in READMEs. 2015-07-07 14:43:36 +00:00
sthen
e56d2db445 Adjust the "meta" rc-scripts (these are used in ports with multiple daemons
which should all be started/stopped together), previously "restart" would
restart each sub-daemon in turn, but actually it should stop all daemons
and only then start them again. Additionally, as suggested by ajacoutot,
stop the procedure and return an error if stopping one of the rc scripts
failed.  ok ajacoutot@ rpe@
2015-02-17 22:08:36 +00:00
jca
e769be4eba Repair conflict between -main and -docs, introduced in previous.
The intended diff had this conflict resolved, but I ended up committing
the previous diff...  Problem spotted by Markus Lude.
2015-02-05 02:04:00 +00:00
jca
f7a904b485 Move the ldap files from the -docs to the -main samba package.
Requested by Marcus Merighi, patch by Ian McWilliam (MAINTAINER),
input from sthen@ and tweaks by me.

ok sthen@
2015-02-04 11:50:21 +00:00
ajacoutot
bca617be62 Make all meta rc.d scripts consistent.
While here, unbreak when options are passed (e.g. /etc/rc.d/foobar -df start)

ok sthen@
2014-12-08 10:57:08 +00:00
ajacoutot
dcb291c190 services(5) already contains what we need. 2014-07-11 16:20:37 +00:00
ajacoutot
497984ddf0 rc.conf.local is in man(1) section 8, at least for now. 2014-07-10 13:09:06 +00:00
sthen
243ede5192 remove ads flavour, it requires krb5 2014-04-21 22:24:17 +00:00
sthen
4a7a77a640 extra sanity checking, ensure that the rc.d scripts run by the meta script
are executable, I needed it for the bacula script which runs daemons split
between two packages, ajacoutot suggested applying to other similar scripts.
2013-05-03 18:43:26 +00:00
ajacoutot
a673865760 Tweak MESSAGEs/READMEs now that inetd(8) is off by default. 2013-04-27 15:44:20 +00:00
ajacoutot
194550b8c1 Install the pkgconfig files.
ok sthen@
2013-03-29 18:13:31 +00:00
brad
c5c4c0f07e Update to Samba 3.6.13.
ok MAINTAINER sthen@
2013-03-28 15:26:47 +00:00
brad
8aa757b05d Update to Samba 3.6.8 and fix potential fd leaks upon error with the utmp code.
ok sthen@ MAINTAINER
2012-09-25 20:11:11 +00:00
ajacoutot
06241e4236 Simplify how the order of the _pkg_scripts entries get reversed on stop.
from rpe, ok sthen@
2012-08-25 10:14:37 +00:00
ajacoutot
5787f3b87c Set rc_usercheck to NO. 2012-08-04 15:28:14 +00:00
ajacoutot
9824017b25 Remove the cups FLAVOR and depends on cups,-libs.
Fix to build with cups >= 1.6.
2012-08-04 14:45:34 +00:00