Commit Graph

388 Commits

Author SHA1 Message Date
jca
bb72b8f3e6 SECURITY update to samba-4.17.4
Release notes:
https://www.samba.org/samba/history/samba-4.17.4.html

Tests and ok Ian McWilliam (co-maintainer) and bket@
2022-12-16 11:40:55 +00:00
jca
739ff3aa68 SECURITY update to samba-4.17.3
Fix for (32 bits systems only)
https://www.samba.org/samba/security/CVE-2022-42898.html

Release notes:
https://www.samba.org/samba/history/samba-4.17.3.html
2022-11-16 14:58:57 +00:00
sthen
dae9f91e31 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:28:39 +00:00
jca
1acd0f5044 Also fix the @conflict with the now removed samba-util package
While it doesn't block updates there's no reason to leave this package
around.
2022-10-26 00:22:49 +00:00
jca
f0170dc236 SECURITY UPDATE to samba-4.17.2
Fixes for:

o CVE-2022-3437:  There is a limited write heap buffer overflow in the
GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal (included
in Samba).
https://www.samba.org/samba/security/CVE-2022-3437.html

o CVE-2022-3592:  A malicious client can use a symlink to escape the
exported directory.
https://www.samba.org/samba/security/CVE-2022-3592.html

Release notes:
https://www.samba.org/samba/history/samba-4.17.2.html
2022-10-25 22:35:58 +00:00
jca
ed8d54eb8b Update to samba-4.17.1
Test reports from bket@ and Ian McWilliam, ok Ian (co-maintainer)
2022-10-21 16:16:14 +00:00
sthen
9e273b3195 adjust @conflict lines to not include the version number; they were out of
date compared to 7.1-stable causing pkg_add -u to not allow merging
python+ldb+tevent.  ok jca@
2022-10-21 13:34:29 +00:00
jca
89811e3ec5 Major update to samba-4.17.0
Release notes:
https://www.samba.org/samba/history/samba-4.17.0.html

Test reports and oks from Ian McWilliam (maintainer) and bket@, thanks!
2022-10-05 17:03:41 +00:00
ajacoutot
d1b0444562 Move away from sysutils/gamin to libinotify.
no objection and help from jca@ (maintainer)
(-Wl,-rpath so that libinotify.so can be found)

tested with MacOS and Windows clients + OK Ian McWilliam (maintainer)
2022-09-07 08:19:09 +00:00
jca
9553dcc258 Unbreak on non-clang archs: switch to ports-gcc which supports TLS emulation
Tested on sparc64 by kmos@, ok kmos@
2022-08-21 16:24:07 +00:00
jca
91a5db4ccf SECURITY UPDATE to samba-4.16.4
Several fixes for the AD DC code, which AFAIK do not affect us, but also
a server memory information leak for the SMBv1 file server code (which
is disabled by default).

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

While here reinstate the PLIST bits that I lost in the update to 4.16.X.

Tests and ok Ian McWilliam (co-maintainer) and bket@
2022-07-29 10:43:01 +00:00
jca
e853e3b99c Update to samba-4.16.3
Release notes:
https://www.samba.org/samba/history/samba-4.16.3.html

Runtime tests and ok bket@ and IanMcWilliam (co-maintainer)
2022-07-19 11:13:37 +00:00
jca
712ed4abbf Update to samba-4.16.2
Release notes:
https://www.samba.org/samba/history/samba-4.16.0.html
https://www.samba.org/samba/history/samba-4.16.1.html
https://www.samba.org/samba/history/samba-4.16.2.html

Notable packaging changes:
1. Dynamically patch out the version information from the version scripts.
2. Disable gettext support, working around a build failure
3. Many libraries lose their versioning and gain a -samba4 suffix, among
them libreplace and libutil-setid.  Since it's not possible to use
regular LIB_DEPENDS any more, merge -util, -ldb and -tevent into -main.
ldb and tevent are unused outside of samba anyway, so packaging them
separately doesn't help much.

Help, runtime tests and ok from Ian McWilliam (co-maintainer) and bket@,
thanks!
2022-07-16 15:30:36 +00:00
jca
66cc9da326 Update to samba-4.15.8
Tests and ok bket@ and Ian McWilliam
2022-07-01 08:39:59 +00:00
jca
df04568750 Update to samba-4.15.7
Release notes:
https://www.samba.org/samba/history/samba-4.15.7.html

Tests/ok bket@ and Ian McWilliam (maintainer)
2022-05-18 17:47:59 +00:00
jca
6c0747c543 Update to samba-4.15.6
Tests and ok Ian McWilliam (co-maintainer) and bket@

Release notes:
https://www.samba.org/samba/history/samba-4.15.6.html
2022-03-23 20:00:48 +00:00
jca
6d6e1b113c Revert previous, the samba.rc script is not related to AD DC support.
It actually just starts nmbd and smbd.  I had already removed the
samba_ad_dc rc script when disabling AD DC support.

Reported by bket@ who kindly provided the revert diff, sorry for the
trouble!
2022-03-13 00:09:45 +00:00
jca
9fb44d50f8 Zap samba.rc, useless since we don't ship AD DC support anymore 2022-03-10 00:06:27 +00:00
jca
cd0fba1ff1 Drop RCS Ids in the ports I maintain 2022-03-10 00:04:05 +00:00
jca
172ab7deb7 SECURITY UPDATE to samba-4.15.5
Fixes for CVE-2021-44141, CVE-2021-44142 and CVE-2022-0336.
See the release notes for more information:
https://www.samba.org/samba/history/samba-4.15.4.html
https://www.samba.org/samba/history/samba-4.15.5.html

Tests by Ian and bket@, ok bket@
2022-02-02 12:33:52 +00:00
jca
a67e7954aa Update to samba-4.15.3
Tested by Ian (co-maintainer)
2021-12-13 12:58:05 +00:00
jca
2ffd2fd6b2 SECURITY UPDATE to samba-4.15.2
Please see the release notes for the list of CVEs:
https://www.samba.org/samba/history/samba-4.15.2.html

Tests and ok bket@ Ian McWilliam (co-maintainer)
2021-11-20 09:43:49 +00:00
sthen
37d14a5394 bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:01:52 +00:00
jca
83c7172543 Update to samba-4.15.0
Release notes: https://www.samba.org/samba/history/samba-4.15.0.html

Tested by Ian McWilliam (co-maintainer) and bket@, input from bket@
2021-10-18 12:25:20 +00:00
ajacoutot
a9199a502d net/avahi -> net/avahi,-libs 2021-09-03 11:47:41 +00:00
jca
e924879ecb Update to samba-4.14.7
Release notes:
https://www.samba.org/samba/history/samba-4.14.7.html

Tested by Ian McWilliam and bket@, ok bket@
2021-08-30 11:01:42 +00:00
jca
458d45692b Update to samba-4.14.6
Positive test reports from Ian (co-maintainer).

Release notes:
https://www.samba.org/samba/history/samba-4.14.6.html
2021-07-15 11:13:46 +00:00
jca
c5f795a3d2 Update to samba-4.14.5
Test report from Ian (co-maintainer)

Release notes:
https://www.samba.org/samba/history/samba-4.14.5.html
2021-06-28 13:24:00 +00:00
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
jca
58aa302ea8 Rename the mdfind executable to avoid a collision with gworkspace
This SpotLight "feature" is starting to get in the way!

Reported by ajacoutot@
2021-05-14 06:47:26 +00:00
jca
083f5a97f9 Major update to samba-4.14.4
Latest release.  Many bugs have been fixed, including possibly security
relevant ones.  This long overdue update has been postponed because of
binutils-2.17 ld(1) bugs in version scripts handling.  The issue is not
fixed but at least worked around.

The SHARED_LIBS handling is a bit ugly because of the .cpython-XY tag added
to some libraries names.

Tests by Ian (co-maintainer)
2021-05-12 23:33:24 +00:00
jca
105f26ccda Add missing dep on py-tdb at build time
When missing, samba builds pytdb support using its bundled copy of tdb,
and installs it in WRKINST, as shown by update-plist.  samba runs fine
with the py-tdb package registered in its RUN_DEPENDS, but this is not
what was intended.  Consistently use libtdb and py-tdb from databases/tdb.
2021-04-25 12:09:46 +00:00
jca
01d195625f Zap empty rc script 2021-04-24 12:47:10 +00:00
jca
3be6e6a368 Document lack of AD DC support 2021-04-24 12:39:06 +00:00
jca
fcd83ae85a Drop AD DC support
Broken since ~2018 on clang+ld.lld archs, no analysis and no diff to fix
it, so it's time to send it to the Attic.  Support for AD DC mode can't
be optimal anyway, with the deprecation of the ntvfs server code and our
lack of xattrs/ACLs.

"Fine by me" Ian
2021-04-24 12:34:38 +00:00
sthen
882505db22 bump REVISION for libtalloc split, add dep on py-libtalloc to samba
ok jca@
2021-03-05 10:43:05 +00:00
ajacoutot
c67f256430 Bump for sysutils/gamin,-main -> sysutils/gamin 2021-02-27 08:53:07 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen
328a7417ef missed bump after databases/tdb commit, missed dep on databases/tdb,-python 2021-01-25 12:52:20 +00:00
sthen
ff3be859fa split the py2 version of py-dnspython off into net/py2-dnspython,
update the py3 version to 2.1.0, and adapt ports using it.
2021-01-16 21:21:04 +00:00
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
jca
a8b815ccf4 SECURITY update to samba-4.9.18
Fixes for:

o  CVE-2019-14902:
   The implementation of ACL inheritance in the Samba AD DC was not complete,
   and so absent a 'full-sync' replication, ACLs could get out of sync between
   domain controllers.

o  CVE-2019-14907:
   When processing untrusted string input Samba can read past the end of the
   allocated buffer when printing a "Conversion error" message to the logs.

o  CVE-2019-19344:
   During DNS zone scavenging (of expired dynamic entries) there is a read of
   memory after it has been freed.
2020-01-24 13:29:42 +00:00
jca
ea085df672 Fix conflict introduced in previous
Reported by semarie@
2019-12-23 12:26:22 +00:00
jca
ce254b18ea Downgrade to samba-4.9.17
samba-4.10.10 and later fail to link on ld.bfd archs.  Revert until
someone(tm) tracks down the problem.

Errors look like:

/usr/bin/ld: BFD 2.17 internal error, aborting at
/usr/src/gnu/usr.bin/binutils-2.17/bfd/elfcode.h line 190 in void
bfd_elf64_swap_symbol_in(bfd *, const void *, const void *,
Elf_Internal_Sym *)

/usr/bin/ld:
/pobj/samba-4.10.10/samba-4.10.10/bin/default/lib/param/libserver-role-samba4.so:
invalid string offset 3755991007 >= 625 for section `.dynstr'

3755991007 is 0xDFDFDFDF is likely already freed memory.

build failures:
http://build-failures.rhaalovely.net/sparc64/2019-12-11/net/samba,.log
http://build-failures.rhaalovely.net/mips64/2019-12-06/net/samba,,-ldb.log
2019-12-19 02:57:28 +00:00
jca
9c701a1707 SECURITY update to samba-4.10.11
Fixes:
o CVE-2019-14861: Samba AD DC zone-named record Denial of Service in DNS
management server (dnsserver).
o CVE-2019-14870: DelegationNotAllowed not being enforced in protocol
transition on Samba AD DC.
2019-12-10 09:56:50 +00:00
jca
f386421499 Avoid some printf("%s", NULL) log spam
While here add the same comment to another affected file.
Reported by Ian McWilliam
2019-12-05 10:01:52 +00:00
jca
a8b9fb8a4c Update to samba-4.10.10
Tested by Ian McWilliam
2019-12-04 00:17:53 +00:00
jca
d0d6b0a5b5 Switch back to kmos' mirror 2019-10-30 13:03:11 +00:00
jca
ee172fd1e7 Mirror this samba update for now, oops 2019-10-30 12:41:23 +00:00
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