pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba4 samba4: updated to 4.16.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0bd7274cd398
branches:  trunk
changeset: 382953:0bd7274cd398
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 09 17:56:09 2022 +0000

description:
samba4: updated to 4.16.4

Release Notes for Samba 4.16.4

This is a security release in order to address the following defects:

o CVE-2022-2031:  Samba AD users can bypass certain restrictions associated with
                  changing passwords.
                  https://www.samba.org/samba/security/CVE-2022-2031.html

o CVE-2022-32744: Samba AD users can forge password change requests for any user.
                  https://www.samba.org/samba/security/CVE-2022-32744.html

o CVE-2022-32745: Samba AD users can crash the server process with an LDAP add
                  or modify request.
                  https://www.samba.org/samba/security/CVE-2022-32745.html

o CVE-2022-32746: Samba AD users can induce a use-after-free in the server
                  process with an LDAP add or modify request.
                  https://www.samba.org/samba/security/CVE-2022-32746.html

o CVE-2022-32742: Server memory information leak via SMB1.
                  https://www.samba.org/samba/security/CVE-2022-32742.html

diffstat:

 net/samba4/Makefile       |  27 ++++++++++++++-------------
 net/samba4/PLIST          |  17 ++++++++++++++++-
 net/samba4/PLIST.heimdal  |  15 ---------------
 net/samba4/PLIST.mit-krb5 |   4 ----
 net/samba4/distinfo       |   8 ++++----
 5 files changed, 34 insertions(+), 37 deletions(-)

diffs (176 lines):

diff -r b8f740d70e5a -r 0bd7274cd398 net/samba4/Makefile
--- a/net/samba4/Makefile       Tue Aug 09 17:55:37 2022 +0000
+++ b/net/samba4/Makefile       Tue Aug 09 17:56:09 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.147 2022/07/29 20:33:38 jperkin Exp $
+# $NetBSD: Makefile,v 1.148 2022/08/09 17:56:09 adam Exp $
 
-DISTNAME=      samba-4.16.3
+DISTNAME=      samba-4.16.4
 CATEGORIES=    net
 MASTER_SITES=  https://download.samba.org/pub/samba/stable/
 
@@ -91,7 +91,6 @@
 CONFIGURE_ARGS+=       --with-privileged-socket-dir=${SMB_PRIVSOCKETS}
 CONFIGURE_ARGS+=       --with-configdir=${SMB_CONFIG}
 CONFIGURE_ARGS+=       --with-libiconv=${BUILDLINK_PREFIX.iconv}
-#CONFIGURE_ARGS+=      --bundled-libraries=com_err
 CONFIGURE_ARGS+=       --abi-check-disable
 CONFIGURE_ARGS+=       --disable-symbol-versions
 .if defined(MAKE_JOBS) && !empty(MAKE_JOBS) && !(defined(MAKE_JOBS_SAFE) && !empty(MAKE_JOBS_SAFE:M[nN][oO]))
@@ -101,15 +100,17 @@
 .endif
 CONFIGURE_ARGS+=       --without-gpgme
 
-.include "../../mk/krb5.buildlink3.mk"
-
-PLIST_SRC=             ${PLIST_SRC_DFLT}
-PLIST_SRC+=            PLIST.${KRB5_TYPE}
-
-.if ${KRB5_TYPE} == "mit-krb5"
-CONFIGURE_ARGS+=       --with-system-mitkrb5 --with-experimental-mit-ad-dc
-CONFIGURE_ARGS+=       --with-system-mitkdc=${KRB5BASE}/sbin/krb5kdc
-.endif
+# XXX: currenlty Samba requires embedded Heimdall
+#.include "../../mk/krb5.buildlink3.mk"
+#.if ${KRB5_TYPE} == "mit-krb5"
+#BUILDLINK_API_DEPENDS.mit-krb5+=      mit-krb5>=1.19.0
+#CONFIGURE_ARGS+=      --with-experimental-mit-ad-dc
+#CONFIGURE_ARGS+=      --with-system-mitkdc=${KRB5BASE}/sbin/krb5kdc
+#CONFIGURE_ARGS+=      --with-system-mitkrb5
+#.else
+# XXX: does not work with AD
+#CONFIGURE_ARGS+=      --with-system-heimdalkrb5
+#.endif
 
 # Depends on ncurses, explicitly disable for now.
 CONFIGURE_ARGS+=       --without-regedit
@@ -219,7 +220,7 @@
 .endif
 .include "../../archivers/libarchive/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
-BUILDLINK_API_DEPENDS.ldb+=    ldb>=2.5.1
+BUILDLINK_API_DEPENDS.ldb+=    ldb>=2.5.2
 .include "../../databases/ldb/buildlink3.mk"
 .include "../../databases/lmdb/buildlink3.mk"
 .include "../../devel/cmocka/buildlink3.mk"
diff -r b8f740d70e5a -r 0bd7274cd398 net/samba4/PLIST
--- a/net/samba4/PLIST  Tue Aug 09 17:55:37 2022 +0000
+++ b/net/samba4/PLIST  Tue Aug 09 17:56:09 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.45 2022/07/29 20:33:38 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.46 2022/08/09 17:56:09 adam Exp $
 bin/cifsdd
 bin/dbwrap_tool
 bin/dumpmscat
@@ -466,6 +466,7 @@
 ${PYSITELIB}/samba/tests/krb5/kdc_base_test.py
 ${PYSITELIB}/samba/tests/krb5/kdc_tests.py
 ${PYSITELIB}/samba/tests/krb5/kdc_tgs_tests.py
+${PYSITELIB}/samba/tests/krb5/kpasswd_tests.py
 ${PYSITELIB}/samba/tests/krb5/ms_kile_client_principal_lookup_tests.py
 ${PYSITELIB}/samba/tests/krb5/pac_align_tests.py
 ${PYSITELIB}/samba/tests/krb5/raw_testcase.py
@@ -672,6 +673,7 @@
 ${PLIST.ads}lib/samba/nss_info/sfu.${SOEXT}
 ${PLIST.ads}lib/samba/nss_info/sfu20.${SOEXT}
 lib/samba/private/libCHARSET3-samba4.so
+${PLIST.ads}lib/samba/private/libHDB-SAMBA4-samba4.so
 lib/samba/private/libLIBWBCLIENT-OLD-samba4.so
 lib/samba/private/libMESSAGING-SEND-samba4.so
 lib/samba/private/libMESSAGING-samba4.so
@@ -680,6 +682,7 @@
 lib/samba/private/libRPC-WORKER-samba4.so
 lib/samba/private/libaddns-samba4.so
 lib/samba/private/libads-samba4.so
+${PLIST.ads}lib/samba/private/libasn1-samba4.so
 lib/samba/private/libasn1util-samba4.so
 lib/samba/private/libauth-samba4.so
 lib/samba/private/libauth-unix-token-samba4.so
@@ -696,6 +699,7 @@
 lib/samba/private/libcluster-samba4.so
 lib/samba/private/libcmdline-contexts-samba4.so
 lib/samba/private/libcmdline-samba4.so
+${PLIST.ads}lib/samba/private/libcom-err-samba4.so
 lib/samba/private/libcommon-auth-samba4.so
 ${PLIST.ads}lib/samba/private/libdb-glue-samba4.so
 lib/samba/private/libdbwrap-samba4.so
@@ -714,10 +718,19 @@
 lib/samba/private/libgpext-samba4.so
 lib/samba/private/libgpo-samba4.so
 lib/samba/private/libgse-samba4.so
+${PLIST.ads}lib/samba/private/libgss-preauth-samba4.so
+${PLIST.ads}lib/samba/private/libgssapi-samba4.so
+${PLIST.ads}lib/samba/private/libhcrypto-samba4.so
+${PLIST.ads}lib/samba/private/libhdb-samba4.so
+${PLIST.ads}lib/samba/private/libheimbase-samba4.so
+${PLIST.ads}lib/samba/private/libheimntlm-samba4.so
 lib/samba/private/libhttp-samba4.so
+${PLIST.ads}lib/samba/private/libhx509-samba4.so
 lib/samba/private/libidmap-samba4.so
 lib/samba/private/libinterfaces-samba4.so
 lib/samba/private/libiov-buf-samba4.so
+${PLIST.ads}lib/samba/private/libkdc-samba4.so
+${PLIST.ads}lib/samba/private/libkrb5-samba4.so
 lib/samba/private/libkrb5samba-samba4.so
 lib/samba/private/libldbsamba-samba4.so
 lib/samba/private/liblibcli-lsa3-samba4.so
@@ -741,6 +754,7 @@
 ${PLIST.ads}lib/samba/private/libprocess-model-samba4.so
 lib/samba/private/libregistry-samba4.so
 lib/samba/private/libreplace-samba4.so
+${PLIST.ads}lib/samba/private/libroken-samba4.so
 lib/samba/private/libsamba-cluster-support-samba4.so
 lib/samba/private/libsamba-debug-samba4.so
 lib/samba/private/libsamba-modules-samba4.so
@@ -773,6 +787,7 @@
 lib/samba/private/libutil-reg-samba4.so
 lib/samba/private/libutil-setid-samba4.so
 lib/samba/private/libutil-tdb-samba4.so
+${PLIST.ads}lib/samba/private/libwind-samba4.so
 lib/samba/private/libxattr-tdb-samba4.so
 ${PLIST.ads}lib/samba/process_model/prefork.${SOEXT}
 ${PLIST.ads}lib/samba/process_model/standard.${SOEXT}
diff -r b8f740d70e5a -r 0bd7274cd398 net/samba4/PLIST.heimdal
--- a/net/samba4/PLIST.heimdal  Tue Aug 09 17:55:37 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-@comment $NetBSD: PLIST.heimdal,v 1.1 2022/07/29 20:33:38 jperkin Exp $
-${PLIST.ads}lib/samba/private/libHDB-SAMBA4-samba4.so
-lib/samba/private/libasn1-samba4.so
-lib/samba/private/libcom-err-samba4.so
-lib/samba/private/libgss-preauth-samba4.so
-lib/samba/private/libgssapi-samba4.so
-lib/samba/private/libhcrypto-samba4.so
-lib/samba/private/libhdb-samba4.so
-lib/samba/private/libheimbase-samba4.so
-lib/samba/private/libheimntlm-samba4.so
-lib/samba/private/libhx509-samba4.so
-lib/samba/private/libkdc-samba4.so
-lib/samba/private/libkrb5-samba4.so
-lib/samba/private/libroken-samba4.so
-lib/samba/private/libwind-samba4.so
diff -r b8f740d70e5a -r 0bd7274cd398 net/samba4/PLIST.mit-krb5
--- a/net/samba4/PLIST.mit-krb5 Tue Aug 09 17:55:37 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST.mit-krb5,v 1.1 2022/07/29 20:33:38 jperkin Exp $
-lib/krb5/plugins/kdb/samba.so
-lib/samba/krb5/winbind_krb5_localauth.so
-man/man8/winbind_krb5_localauth.8
diff -r b8f740d70e5a -r 0bd7274cd398 net/samba4/distinfo
--- a/net/samba4/distinfo       Tue Aug 09 17:55:37 2022 +0000
+++ b/net/samba4/distinfo       Tue Aug 09 17:56:09 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.79 2022/07/29 20:33:38 jperkin Exp $
+$NetBSD: distinfo,v 1.80 2022/08/09 17:56:09 adam Exp $
 
-BLAKE2s (samba-4.16.3.tar.gz) = 465d98b2aaec2d305d81e38d6d61de0b1f5061802aeba284a9df52e83f0ee05c
-SHA512 (samba-4.16.3.tar.gz) = 8f082654251e6a3284ba8f411c55b854dc00a9c6b07c486ca01f53af2b6ec09d34c21d66a2a1afc7a8c62a9f715c643c1a22fc7688699d23f8fcafe6995b5ebd
-Size (samba-4.16.3.tar.gz) = 30593657 bytes
+BLAKE2s (samba-4.16.4.tar.gz) = a897a1150df7abf26af0c53923a9dc085d08eeaf2585dbbe0bc64e28ceb6d7ae
+SHA512 (samba-4.16.4.tar.gz) = 9754275ace30755b75f747e201f8ad4550a823c8606e550c0ce6b3ccbaf048dd895bf2c21127271298304be7f80de9b6451091c4949ebe267ee1cf3ab497cd85
+Size (samba-4.16.4.tar.gz) = 30605121 bytes
 SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = d927db17124d2bb5b382885e70a41f84c3929926
 SHA1 (patch-buildtools_wafsamba_samba__install.py) = d801340617da325e3bb70a90350e45cc8e383c2d
 SHA1 (patch-buildtools_wafsamba_samba__pidl.py) = e4c0ed3dacfcf5613a5b397b3c6cf88509497da7



Home | Main Index | Thread Index | Old Index