Compare commits

...

11 Commits

Author SHA1 Message Date
Günther Deschner 4ed526a349 Update to version 4.16.9
Guenther
2023-02-16 23:00:07 +01:00
Pavel Filipenský 0ee138228a Create package dc-libs also for 'non-dc' build 2022-12-22 18:23:09 +01:00
Pavel Filipenský f94f6a54d4 Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional 2022-12-22 18:21:36 +01:00
Florian Weimer 4cccd21d61 Avoid recursive python3_sitearch expansion even if undefined
Fixes an error during SRPM construction if not enough dependencies
are installed (e.g., during the first build stage in mock):

error: /builddir/build/SPECS/samba.spec: line 2478: Too many levels
  of recursion in macro expansion. It is likely caused by recursive
  macro declaration.
2022-12-22 18:17:32 +01:00
Florian Weimer 71db3a4330 Memoize python3_sitearch for faster RPM spec file processing
This greatly speeds up the creation of source RPMs, among other
things.
2022-12-22 18:17:28 +01:00
Pavel Filipenský 15b4b0f68d Bump baserelease and update %changelog 2022-12-20 17:52:41 +01:00
Pavel Filipenský 3d20282019 Create a new 'samba-dcerpc' sub-package for DCERPC services 2022-12-20 16:49:44 +01:00
Pavel Filipenský 143a40a9cb Move libpac and libauth4 to dc-libs
This allows us to not install the samba and samba-dc packages. They
are not needed for domain member which just want to have samba-winbind
related packages installed.
2022-12-20 16:39:53 +01:00
Günther Deschner 0582429c21 Update to 4.16.8
resolves: #2154303, #2154304 - Security fixes for CVE-2022-37966
resolves: #2154320, #2154322 - Security fixes for CVE-2022-37967
resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023

Guenther
2022-12-16 19:40:20 +01:00
Günther Deschner 345db31405 Update to version 4.16.7
resolves: #2140960, #2143116 - Security fixes for CVE-2022-42898

Guenther
2022-11-16 11:08:00 +01:00
Günther Deschner 53c12663f0 Update to version 4.16.6
resolves: #2137776, #2137778 - Security fixes for CVE-2022-3592
resolves: #2137774, #2137777 - Security fixes for CVE-2022-3437

Guenther
2022-10-26 14:06:51 +02:00
3 changed files with 86 additions and 24 deletions

8
.gitignore vendored
View File

@ -299,3 +299,11 @@ samba-3.6.0pre1.tar.gz
/samba-4.16.4.tar.asc
/samba-4.16.5.tar.xz
/samba-4.16.5.tar.asc
/samba-4.16.6.tar.xz
/samba-4.16.6.tar.asc
/samba-4.16.7.tar.xz
/samba-4.16.7.tar.asc
/samba-4.16.8.tar.xz
/samba-4.16.8.tar.asc
/samba-4.16.9.tar.xz
/samba-4.16.9.tar.asc

View File

@ -136,7 +136,7 @@
%global baserelease 0
%global samba_version 4.16.5
%global samba_version 4.16.9
%global talloc_version 2.3.3
%global tdb_version 1.4.6
%global tevent_version 0.12.0
@ -169,21 +169,21 @@
%global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba"
# Make a copy of this variable to prevent repeated evaluation of the
# embedded shell command. Avoid recursive macro definition if undefined.
%{?python3_sitearch: %global python3_sitearch %{python3_sitearch}}
Name: samba
Version: %{samba_version}
Release: %{samba_release}%{?dist}
%if 0%{?rhel}
Epoch: 0
%else
%if 0%{?fedora}
Epoch: 2
%else
Epoch: 0
%endif
%if 0%{?epoch} > 0
%global samba_depver %{epoch}:%{version}-%{release}
%else
%global samba_depver %{version}-%{release}
%endif
Summary: Server and Client software to interoperate with Windows machines
License: GPLv3+ and LGPLv3+
@ -219,6 +219,7 @@ Requires: %{name}-common-libs = %{samba_depver}
Requires: %{name}-common-tools = %{samba_depver}
Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver}
Requires: %{name}-dcerpc = %{samba_depver}
%if %{with libwbclient}
Requires(post): libwbclient = %{samba_depver}
Requires: libwbclient = %{samba_depver}
@ -505,6 +506,19 @@ Provides: bundled(libreplace)
The samba-common-tools package contains tools for Samba servers and
SMB/CIFS clients.
### RPC
%package dcerpc
Summary: DCE RPC binaries
Requires: samba-common-libs = %{samba_depver}
Requires: samba-client-libs = %{samba_depver}
Requires: samba-libs = %{samba_depver}
%if %{with libwbclient}
Requires: libwbclient = %{samba_depver}
%endif
%description dcerpc
The samba-dcerpc package contains binaries that serve DCERPC over named pipes.
### DC
%if %{with dc} || %{with testsuite}
%package dc
@ -549,6 +563,9 @@ BuildArch: noarch
%description dc-provision
The samba-dc-provision package provides files to setup a domain controller
#endif with dc || with testsuite
%endif
### DC-LIBS
%package dc-libs
Summary: Samba AD Domain Controller Libraries
@ -565,6 +582,7 @@ Provides: bundled(libreplace)
The %{name}-dc-libs package contains the libraries needed by the DC to
link against the SMB, RPC and other protocols.
%if %{with dc} || %{with testsuite}
### DC-BIND
%package dc-bind-dlz
Summary: Bind DLZ module for Samba AD
@ -742,9 +760,7 @@ Requires: %{name} = %{samba_depver}
Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-common-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver}
%if %{with dc}
Requires: %{name}-dc-libs = %{samba_depver}
%endif
Requires: python3-talloc
Requires: python3-tevent
Requires: python3-tdb
@ -877,6 +893,7 @@ Requires: %{name}-winbind-modules = %{samba_depver}
Requires(post): libwbclient = %{samba_depver}
Requires: libwbclient = %{samba_depver}
%endif
Requires: %{name}-dcerpc = %{samba_depver}
Provides: samba4-winbind = %{samba_depver}
Obsoletes: samba4-winbind < %{samba_depver}
@ -1641,15 +1658,6 @@ fi
%dir %{_libexecdir}/samba
%{_libexecdir}/samba/samba-bgqd
%{_libexecdir}/samba/samba-dcerpcd
%{_libexecdir}/samba/rpcd_classic
%{_libexecdir}/samba/rpcd_epmapper
%{_libexecdir}/samba/rpcd_fsrvp
%{_libexecdir}/samba/rpcd_lsad
%{_libexecdir}/samba/rpcd_mdssvc
%{_libexecdir}/samba/rpcd_rpcecho
%{_libexecdir}/samba/rpcd_spoolss
%{_libexecdir}/samba/rpcd_winreg
%dir %{_datadir}/samba
%dir %{_datadir}/samba/mdssvc
@ -1663,7 +1671,6 @@ fi
%{_mandir}/man1/smbstatus.1*
%{_mandir}/man8/eventlogadm.8*
%{_mandir}/man8/samba-bgqd.8*
%{_mandir}/man8/samba-dcerpcd.8*
%{_mandir}/man8/smbd.8*
%{_mandir}/man8/nmbd.8*
%{_mandir}/man8/vfs_acl_tdb.8*
@ -1970,6 +1977,20 @@ fi
%{_mandir}/man8/samba-tool.8*
%{_mandir}/man8/smbpasswd.8*
### RPC
%files dcerpc
%dir %{_libexecdir}/samba
%{_libexecdir}/samba/samba-dcerpcd
%{_libexecdir}/samba/rpcd_classic
%{_libexecdir}/samba/rpcd_epmapper
%{_libexecdir}/samba/rpcd_fsrvp
%{_libexecdir}/samba/rpcd_lsad
%{_libexecdir}/samba/rpcd_mdssvc
%{_libexecdir}/samba/rpcd_rpcecho
%{_libexecdir}/samba/rpcd_spoolss
%{_libexecdir}/samba/rpcd_winreg
%{_mandir}/man8/samba-dcerpcd.8*
### DC
%if %{with dc} || %{with testsuite}
%files dc
@ -1985,7 +2006,6 @@ fi
%{_libdir}/krb5/plugins/kdb/samba.so
%{_libdir}/samba/auth/samba4.so
%{_libdir}/samba/libpac-samba4.so
%dir %{_libdir}/samba/gensec
%{_libdir}/samba/gensec/krb5.so
%{_libdir}/samba/ldb/acl.so
@ -2050,9 +2070,15 @@ fi
%license source4/setup/ad-schema/licence.txt
%{_datadir}/samba/setup
#endif with dc || with testsuite
%endif
### DC-LIBS
%files dc-libs
%{_libdir}/samba/libauth4-samba4.so
%if %{with dc} || %{with testsuite}
%{_libdir}/samba/libdb-glue-samba4.so
%{_libdir}/samba/libpac-samba4.so
%{_libdir}/samba/libprocess-model-samba4.so
%{_libdir}/samba/libservice-samba4.so
@ -2262,7 +2288,6 @@ fi
%{_libdir}/libdcerpc-samr.so.*
%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
%{_libdir}/samba/libauth4-samba4.so
%{_libdir}/samba/libauth-unix-token-samba4.so
%{_libdir}/samba/libdcerpc-samba4.so
%{_libdir}/samba/libdnsserver-common-samba4.so
@ -2966,12 +2991,14 @@ fi
%{python3_sitearch}/samba/tests/krb5/__pycache__/as_canonicalization_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/as_req_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/compatability_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/etype_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/fast_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kcrypto.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kdc_base_test.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kdc_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kdc_tgs_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kpasswd_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/lockout_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/ms_kile_client_principal_lookup_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/pac_align_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/raw_testcase.*.pyc
@ -2993,12 +3020,14 @@ fi
%{python3_sitearch}/samba/tests/krb5/as_canonicalization_tests.py
%{python3_sitearch}/samba/tests/krb5/as_req_tests.py
%{python3_sitearch}/samba/tests/krb5/compatability_tests.py
%{python3_sitearch}/samba/tests/krb5/etype_tests.py
%{python3_sitearch}/samba/tests/krb5/fast_tests.py
%{python3_sitearch}/samba/tests/krb5/kcrypto.py
%{python3_sitearch}/samba/tests/krb5/kdc_base_test.py
%{python3_sitearch}/samba/tests/krb5/kdc_tests.py
%{python3_sitearch}/samba/tests/krb5/kdc_tgs_tests.py
%{python3_sitearch}/samba/tests/krb5/kpasswd_tests.py
%{python3_sitearch}/samba/tests/krb5/lockout_tests.py
%{python3_sitearch}/samba/tests/krb5/ms_kile_client_principal_lookup_tests.py
%{python3_sitearch}/samba/tests/krb5/pac_align_tests.py
%{python3_sitearch}/samba/tests/krb5/raw_testcase.py
@ -4157,6 +4186,31 @@ fi
%endif
%changelog
* Thu Feb 16 2023 Guenther Deschner <gdeschner@redhat.com> - 4.16.9-0
- Update to version 4.16.9
* Thu Dec 22 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.16.8-2
- Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional
- Create package dc-libs also for 'non-dc build'
* Tue Dec 20 2022 Pavel Filipenský <pfilipenn@redhat.com> - 4.16.8-1
- Move libpac and libauth4 to dc-libs
- Create a new 'samba-dcerpc' sub-package for DCERPC services
* Fri Dec 16 2022 Guenther Deschner <gdeschner@redhat.com> - 4.16.8-0
- resolves: #2154303, #2154304 - Security fixes for CVE-2022-37966
- resolves: #2154320, #2154322 - Security fixes for CVE-2022-37967
- resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023
* Tue Nov 15 2022 Guenther Deschner <gdeschner@redhat.com> - 4.16.7-0
- Update to version 4.16.7
- resolves: #2140960, #2143116 - Security fixes for CVE-2022-42898
* Wed Oct 26 2022 Guenther Deschner <gdeschner@redhat.com> - 4.16.6-0
- Update to version 4.16.6
- resolves: #2137776, #2137778 - Security fixes for CVE-2022-3592
- resolves: #2137774, #2137777 - Security fixes for CVE-2022-3437
* Thu Sep 08 2022 Guenther Deschner <gdeschner@redhat.com> - 4.16.5-0
- Update to version 4.16.5

View File

@ -1,2 +1,2 @@
SHA512 (samba-4.16.5.tar.xz) = 3ecd123e12a16ffa815e6901ca137def692c84035656b1f0ff7dd4ef097af65db4e1fde8c26fc50d71fd4cf46e2121de797fc536f0e741fe26b39267e6c02728
SHA512 (samba-4.16.5.tar.asc) = c5e5ec841bc5679d92a836b33729a048210b289b234fd8dd01b56046d599468b62bb2b6a22cf7398ee95336ec00591f8ef140ffb7a958653bc15a83422fbbb3e
SHA512 (samba-4.16.9.tar.xz) = 5ec51b7576b6171bc15653906ed3412ccb7ab383e93791723d5845b7181395473a88be51d19c28bf6b212ca903dea3c24cdd1449222e6f3643bc7cda10049d84
SHA512 (samba-4.16.9.tar.asc) = 75409da7d935185f567c9342175ba967dd068067a727e2adb9cbfb333c1789a9d9f8d365abbade8f29de4eceadf0f3e9c349e5fab9384adc1750a9459a995174