Compare commits

...

41 Commits

Author SHA1 Message Date
Kalev Lember 7ffc94f1ba Move libstable-sort-samba4.so to samba-client-libs subpackage
libndr-samba-samba4.so that's already in -client-libs subpackage links
with libstable-sort-samba4.so, which means that we need to put both in
-client-libs to avoid -client-libs suddenly starting to depend on -libs.
2023-03-17 21:08:32 +01:00
Andreas Schneider 32b29ac6e9 Add missing Requires for python3-gpg to samba-tools 2023-03-10 13:01:28 +01:00
Günther Deschner daa7809342 Update to version 4.18.0
resolves: #2176469

Guenther
2023-03-08 14:22:45 +01:00
Günther Deschner c7734163fa Update to version 4.18.0rc4
resolves: #2174415

Guenther
2023-03-01 15:38:16 +01:00
Andreas Schneider b42ebb0a84 Bump baserelease 2023-02-28 07:59:18 +01:00
Andreas Schneider 435e4d9b7b Add missing Requires for glibc-gconv-extra
resolves: #2173619
2023-02-28 07:55:19 +01:00
Pavel Filipenský 1348920d6f SPDX migration 2023-02-23 15:30:48 +01:00
Andreas Schneider 73705701f1 Update License to SPDX expressions
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-02-23 15:15:37 +01:00
Andreas Schneider 101d3c387f Remove obsolete patch 2023-02-21 14:26:16 +01:00
Günther Deschner 90edcb757a Update to version 4.18.0rc3
resolves: #2166416

Guenther
2023-02-16 15:06:55 +01:00
Andreas Schneider 479c5d099f Add missing Requires for samba-tool on samba-dc 2023-02-16 09:14:12 +01:00
Andreas Schneider b4642ddce5 Fix samba-tool dependencies 2023-02-16 09:14:09 +01:00
Pavel Filipenský 4b6c2a6e52 Add changelog entry 2023-02-13 16:57:39 +01:00
Pavel Filipenský 0a8a75e9d8 Create samba-tools package for samba-tool.
Avoids installation of many python3 pkgs on a simple file server.
2023-02-13 15:25:44 +01:00
Pavel Filipenský 5704b04d69 Fix samba-tool dependencies on non-dc builds
It has two steps:
- Build python3-samba-dc also for non-dc builds
- Require python3-samba-dc from common-tools also for non-dc builds
2023-02-11 13:24:21 +01:00
Günther Deschner 36c4a399ca Update to version 4.18.0rc2
resolves: #2166416

Guenther
2023-02-02 14:47:10 +01:00
Pavel Filipenský 574391dda6 rpminspect: Avoid "Missing: .debug_info"
libdcerpc-samr is a grouping library without .debug_info.
See source4/librpc/wscript_build.
There is an empty source list for bld.SAMBA_LIBRARY('dcerpc-samr'
2023-01-31 22:07:27 +01:00
Andreas Schneider 3937d0fbab Fix typo 2023-01-24 08:59:29 +01:00
Andreas Schneider 6320734465 Add missing python requirements for python3-samba 2023-01-24 08:33:01 +01:00
Andreas Schneider d5a1366d2a Remove duplicate code 2023-01-24 08:32:19 +01:00
Andreas Schneider 3134f7f1d6 Use python3-dateutil instead of python3-iso8601
We don't have iso8601 in third_party/ anymore.
2023-01-24 08:31:23 +01:00
Andreas Schneider 08e07cb855 Use mold linker on Fedora >= 37
This makes compilation of Samba a lot faster.
2023-01-23 07:25:22 +01:00
Fedora Release Engineering fe7442c100 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 02:35:44 +00:00
Günther Deschner d5d42cde4f Update to version 4.18.0rc1
resolves: #2162097

Guenther
2023-01-19 22:50:04 +01:00
Jitka Plesnikova 127f68766f Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 21:13:35 +01:00
Pete Walter c22466881a Rebuild for ICU 72 2022-12-31 03:19:18 +00:00
Pavel Filipenský c3203becc0 Create package dc-libs also for 'non-dc' build 2022-12-22 17:26:36 +01:00
Pavel Filipenský 5471a3e692 Fix '--without dc' build: delete libauth4-samba4.so 2022-12-20 11:10:25 +01:00
Pavel Filipenský 0f08e77cfc Create a new 'samba-dcerpc' sub-package for DCERPC services 2022-12-19 15:09:46 +01:00
Pavel Filipenský 874e260cc9 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-19 15:06:27 +01:00
Günther Deschner 92dd9596a2 Update to version 4.17.4
resolves: #2153906
resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023
resolves: #2154303, #2154304 - Security fixes for CVE-2022-37966
resolves: #2154320, #2154322 - Security fixes for CVE-2022-37967

Guenther
2022-12-16 18:50:17 +01:00
Alexander Bokovoy 8b52c1b033 Rebuild against krb5 1.20.1
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2022-12-01 18:39:07 +02:00
Florian Weimer 22ec3a0a0d Remove C89-specific language constructs from configure checks
Fix feature detection for major/minor macros.

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-11-23 15:20:50 +01:00
Florian Weimer c7d395b20c 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-11-21 15:45:49 +01:00
Florian Weimer 14cc94aae1 Memoize python3_sitearch for faster RPM spec file processing
This greatly speeds up the creation of source RPMs, among other
things.
2022-11-21 15:29:40 +01:00
Günther Deschner 441bd49ffc Security fixes for CVE-2022-42898
resolves: #2140960, #2143117

Guenther
2022-11-16 11:09:19 +01:00
Günther Deschner 3fcbe364b2 Update to version 4.17.3
resolves: #2142959

Guenther
2022-11-15 18:39:46 +01:00
Pavel Filipenský cc1c088518 Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional 2022-11-02 15:56:16 +01:00
Andreas Schneider eaa90f4719 Add missing require for libcmdline from samba-common-libs 2022-10-26 11:31:30 +02:00
Andreas Schneider 9f35dd7b52 Update to version 4.17.2 2022-10-25 14:22:08 +02:00
Andreas Schneider 5175b77178 Add missing dependency for wbinfo used by ctdb scripts 2022-10-24 16:58:29 +02:00
4 changed files with 250 additions and 129 deletions

16
.gitignore vendored
View File

@ -311,3 +311,19 @@ samba-3.6.0pre1.tar.gz
/samba-4.17.0.tar.asc /samba-4.17.0.tar.asc
/samba-4.17.1.tar.xz /samba-4.17.1.tar.xz
/samba-4.17.1.tar.asc /samba-4.17.1.tar.asc
/samba-4.17.2.tar.xz
/samba-4.17.2.tar.asc
/samba-4.17.3.tar.xz
/samba-4.17.3.tar.asc
/samba-4.17.4.tar.xz
/samba-4.17.4.tar.asc
/samba-4.18.0rc1.tar.xz
/samba-4.18.0rc1.tar.asc
/samba-4.18.0rc2.tar.xz
/samba-4.18.0rc2.tar.asc
/samba-4.18.0rc3.tar.xz
/samba-4.18.0rc3.tar.asc
/samba-4.18.0rc4.tar.xz
/samba-4.18.0rc4.tar.asc
/samba-4.18.0.tar.xz
/samba-4.18.0.tar.asc

View File

@ -18,3 +18,7 @@ runpath:
abidiff: abidiff:
suppression_file: samba.abignore suppression_file: samba.abignore
debuginfo:
ignore:
- /usr/lib*/libdcerpc-samr.so.*

View File

@ -134,8 +134,8 @@
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") %define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%global samba_version 4.17.1 %global samba_version 4.18.0
%global baserelease 1 %global baserelease 10
# This should be rc1 or %%nil # This should be rc1 or %%nil
%global pre_release %nil %global pre_release %nil
@ -168,12 +168,12 @@
%global libsmbclient_so_version 0 %global libsmbclient_so_version 0
%global libwbclient_so_version 0 %global libwbclient_so_version 0
%global talloc_version 2.3.4 %global talloc_version 2.4.0
%global tdb_version 1.4.7 %global tdb_version 1.4.8
%global tevent_version 0.13.0 %global tevent_version 0.14.1
%global ldb_version 2.6.1 %global ldb_version 2.7.1
%global required_mit_krb5 1.19 %global required_mit_krb5 1.20.1
# This is a network daemon, do a hardened build # This is a network daemon, do a hardened build
# Enables PIE and full RELRO protection # Enables PIE and full RELRO protection
@ -185,7 +185,7 @@
# https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md # https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md
%undefine _strict_symbol_defs_build %undefine _strict_symbol_defs_build
%global libwbc_alternatives_version 0.15 %global libwbc_alternatives_version 0.16
%global libwbc_alternatives_suffix %nil %global libwbc_alternatives_suffix %nil
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
%global libwbc_alternatives_suffix -64 %global libwbc_alternatives_suffix -64
@ -193,24 +193,24 @@
%global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba" %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 Name: samba
Version: %{samba_version} Version: %{samba_version}
Release: %{samba_release}%{?dist} Release: %{samba_release}%{?dist}
%if 0%{?rhel} %if 0%{?fedora}
Epoch: 0
%else
Epoch: 2 Epoch: 2
%else
Epoch: 0
%endif %endif
%if 0%{?epoch} > 0
%global samba_depver %{epoch}:%{version}-%{release} %global samba_depver %{epoch}:%{version}-%{release}
%else
%global samba_depver %{version}-%{release}
%endif
Summary: Server and Client software to interoperate with Windows machines Summary: Server and Client software to interoperate with Windows machines
License: GPLv3+ and LGPLv3+ License: GPL-3.0-or-later AND LGPL-3.0-or-later
URL: https://www.samba.org URL: https://www.samba.org
# This is a xz recompressed file of https://ftp.samba.org/pub/samba/samba-%%{version}%%{pre_release}.tar.gz # This is a xz recompressed file of https://ftp.samba.org/pub/samba/samba-%%{version}%%{pre_release}.tar.gz
@ -239,6 +239,7 @@ Requires: %{name}-common-libs = %{samba_depver}
Requires: %{name}-common-tools = %{samba_depver} Requires: %{name}-common-tools = %{samba_depver}
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
Requires: %{name}-dcerpc = %{samba_depver}
Requires: libnetapi = %{samba_depver} Requires: libnetapi = %{samba_depver}
%if %{with libwbclient} %if %{with libwbclient}
Requires(post): libwbclient = %{samba_depver} Requires(post): libwbclient = %{samba_depver}
@ -269,6 +270,7 @@ Provides: bundled(libreplace)
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glibc-gconv-extra
BuildRequires: avahi-devel BuildRequires: avahi-devel
BuildRequires: bison BuildRequires: bison
BuildRequires: cups-devel BuildRequires: cups-devel
@ -305,8 +307,10 @@ BuildRequires: perl-generators
BuildRequires: perl(Archive::Tar) BuildRequires: perl(Archive::Tar)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: popt-devel BuildRequires: popt-devel
BuildRequires: python3-cryptography
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-dns BuildRequires: python3-dns
BuildRequires: python3-requests
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: quota-devel BuildRequires: quota-devel
BuildRequires: readline-devel BuildRequires: readline-devel
@ -323,6 +327,10 @@ BuildRequires: zlib-devel >= 1.2.3
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
%if 0%{?fedora} >= 37
BuildRequires: mold
%endif
%if %{with vfs_glusterfs} %if %{with vfs_glusterfs}
BuildRequires: glusterfs-api-devel >= 3.4.0.16 BuildRequires: glusterfs-api-devel >= 3.4.0.16
BuildRequires: glusterfs-devel >= 3.4.0.16 BuildRequires: glusterfs-devel >= 3.4.0.16
@ -346,17 +354,6 @@ BuildRequires: librados-devel
BuildRequires: python3-etcd BuildRequires: python3-etcd
%endif %endif
%if %{with dc} || %{with testsuite}
# Add python3-iso8601 to avoid that the
# version in Samba is being packaged
BuildRequires: python3-iso8601
BuildRequires: python3-pyasn1 >= 0.4.8
BuildRequires: bind
BuildRequires: krb5-server >= %{required_mit_krb5}
#endif with dc
%endif
# pidl requirements # pidl requirements
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(FindBin) BuildRequires: perl(FindBin)
@ -387,10 +384,15 @@ BuildRequires: lmdb-devel
%if %{with dc} || %{with testsuite} %if %{with dc} || %{with testsuite}
BuildRequires: bind BuildRequires: bind
BuildRequires: krb5-server >= %{required_mit_krb5} BuildRequires: krb5-server >= %{required_mit_krb5}
%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: python3-dateutil
%else
BuildRequires: python3-iso8601
%endif
BuildRequires: python3-gpg BuildRequires: python3-gpg
BuildRequires: python3-markdown BuildRequires: python3-markdown
BuildRequires: python3-pyasn1 >= 0.4.8
BuildRequires: python3-setproctitle BuildRequires: python3-setproctitle
BuildRequires: python3-cryptography
%if %{without includelibs} %if %{without includelibs}
BuildRequires: tdb-tools BuildRequires: tdb-tools
@ -447,6 +449,8 @@ Requires: %{name}-common-libs = %{samba_depver}
Requires: libwbclient = %{samba_depver} Requires: libwbclient = %{samba_depver}
%endif %endif
Requires: krb5-libs >= %{required_mit_krb5} Requires: krb5-libs >= %{required_mit_krb5}
# This is needed for charset conversion
Requires: glibc-gconv-extra
%description client-libs %description client-libs
The samba-client-libs package contains internal libraries needed by the The samba-client-libs package contains internal libraries needed by the
@ -510,7 +514,7 @@ SMB/CIFS clients.
### COMMON-TOOLS ### COMMON-TOOLS
%package common-tools %package common-tools
Summary: Tools for Samba servers and clients Summary: Tools for Samba clients
Requires: samba-common-libs = %{samba_depver} Requires: samba-common-libs = %{samba_depver}
Requires: samba-client-libs = %{samba_depver} Requires: samba-client-libs = %{samba_depver}
Requires: samba-libs = %{samba_depver} Requires: samba-libs = %{samba_depver}
@ -520,22 +524,42 @@ Requires: libnetapi = %{samba_depver}
Requires: libwbclient = %{samba_depver} Requires: libwbclient = %{samba_depver}
%endif %endif
# samba-tool needs python3-samba
Requires: python3-%{name} = %{samba_depver}
# samba-tool needs tdbbackup
Requires: tdb-tools
%if %{with dc}
# samba-tool needs python3-samba-dc on a full build
Requires: python3-%{name}-dc = %{samba_depver}
# samba-tool needs mdb_copy for domain backup or upgrade provision
Requires: lmdb
%endif
Provides: bundled(libreplace) Provides: bundled(libreplace)
%description common-tools %description common-tools
The samba-common-tools package contains tools for Samba servers and The samba-common-tools package contains tools for SMB/CIFS clients.
SMB/CIFS clients.
### SAMBA-TOOLS
%package tools
Summary: Tools for Samba servers
# samba-tool needs python3-samba
Requires: python3-%{name} = %{samba_depver}
# samba-tool needs python3-samba-dc also on non-dc build
Requires: python3-%{name}-dc = %{samba_depver}
%if %{with dc}
# samba-tool needs mdb_copy and tdbackup for domain backup or upgrade provision
Requires: lmdb
Requires: tdb-tools
Requires: python3-gpg
%endif
%description tools
The samba-tools package contains tools for Samba servers
and for GPO management on domain members.
### RPC
%package dcerpc
Summary: DCE RPC binaries
Requires: samba-common-libs = %{samba_depver}
Requires: samba-client-libs = %{samba_depver}
Requires: samba-libs = %{samba_depver}
Requires: libnetapi = %{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 ### DC
%if %{with dc} || %{with testsuite} %if %{with dc} || %{with testsuite}
@ -545,6 +569,7 @@ Requires: %{name} = %{samba_depver}
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-common-libs = %{samba_depver} Requires: %{name}-common-libs = %{samba_depver}
Requires: %{name}-common-tools = %{samba_depver} Requires: %{name}-common-tools = %{samba_depver}
Requires: %{name}-tools = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
Requires: %{name}-dc-provision = %{samba_depver} Requires: %{name}-dc-provision = %{samba_depver}
Requires: %{name}-dc-libs = %{samba_depver} Requires: %{name}-dc-libs = %{samba_depver}
@ -582,6 +607,9 @@ BuildArch: noarch
%description dc-provision %description dc-provision
The samba-dc-provision package provides files to setup a domain controller The samba-dc-provision package provides files to setup a domain controller
#endif with dc || with testsuite
%endif
### DC-LIBS ### DC-LIBS
%package dc-libs %package dc-libs
Summary: Samba AD Domain Controller Libraries Summary: Samba AD Domain Controller Libraries
@ -598,6 +626,7 @@ Provides: bundled(libreplace)
The %{name}-dc-libs package contains the libraries needed by the DC to The %{name}-dc-libs package contains the libraries needed by the DC to
link against the SMB, RPC and other protocols. link against the SMB, RPC and other protocols.
%if %{with dc} || %{with testsuite}
### DC-BIND ### DC-BIND
%package dc-bind-dlz %package dc-bind-dlz
Summary: Bind DLZ module for Samba AD Summary: Bind DLZ module for Samba AD
@ -722,6 +751,7 @@ the Kerberos credentials cache of the user issuing the print job.
%package ldb-ldap-modules %package ldb-ldap-modules
Summary: Samba ldap modules for ldb Summary: Samba ldap modules for ldb
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-common-libs = %{samba_depver}
%description ldb-ldap-modules %description ldb-ldap-modules
This package contains the ldb ldap modules required by samba-tool and This package contains the ldb ldap modules required by samba-tool and
@ -819,14 +849,14 @@ Summary: Samba Python3 libraries
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-common-libs = %{samba_depver} Requires: %{name}-common-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
%if %{with dc}
Requires: %{name}-dc-libs = %{samba_depver} Requires: %{name}-dc-libs = %{samba_depver}
%endif Requires: python3-cryptography
Requires: python3-talloc
Requires: python3-tevent
Requires: python3-tdb
Requires: python3-ldb
Requires: python3-dns Requires: python3-dns
Requires: python3-ldb
Requires: python3-requests
Requires: python3-talloc
Requires: python3-tdb
Requires: python3-tevent
%if %{with libsmbclient} %if %{with libsmbclient}
Requires: libsmbclient = %{samba_depver} Requires: libsmbclient = %{samba_depver}
%endif %endif
@ -857,7 +887,6 @@ Requires: %{name}-libs = %{samba_depver}
The python3-%{name}-test package contains the Python libraries used by the test suite of Samba. The python3-%{name}-test package contains the Python libraries used by the test suite of Samba.
If you want to run full set of Samba tests, you need to install this package. If you want to run full set of Samba tests, you need to install this package.
%if %{with dc} || %{with testsuite}
%package -n python3-samba-dc %package -n python3-samba-dc
Summary: Samba Python libraries for Samba AD Summary: Samba Python libraries for Samba AD
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
@ -867,7 +896,6 @@ Requires: python3-%{name} = %{samba_depver}
%description -n python3-samba-dc %description -n python3-samba-dc
The python3-%{name}-dc package contains the Python libraries needed by programs The python3-%{name}-dc package contains the Python libraries needed by programs
to manage Samba AD. to manage Samba AD.
%endif
### PIDL ### PIDL
%package pidl %package pidl
@ -875,7 +903,6 @@ Summary: Perl IDL compiler
Requires: perl-interpreter Requires: perl-interpreter
Requires: perl(FindBin) Requires: perl(FindBin)
Requires: perl(Parse::Yapp) Requires: perl(Parse::Yapp)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch BuildArch: noarch
Provides: samba4-pidl = %{samba_depver} Provides: samba4-pidl = %{samba_depver}
@ -961,11 +988,13 @@ Requires(post): %{name}-client-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
Requires(post): %{name}-libs = %{samba_depver} Requires(post): %{name}-libs = %{samba_depver}
Requires: %{name}-winbind-modules = %{samba_depver} Requires: %{name}-winbind-modules = %{samba_depver}
Recommends: %{name}-tools = %{samba_depver}
%if %{with libwbclient} %if %{with libwbclient}
Requires(post): libwbclient = %{samba_depver} Requires(post): libwbclient = %{samba_depver}
Requires: libwbclient = %{samba_depver} Requires: libwbclient = %{samba_depver}
%endif %endif
Requires: %{name}-dcerpc = %{samba_depver}
Provides: samba4-winbind = %{samba_depver} Provides: samba4-winbind = %{samba_depver}
Obsoletes: samba4-winbind < %{samba_depver} Obsoletes: samba4-winbind < %{samba_depver}
@ -1050,7 +1079,7 @@ necessary to communicate to the Winbind Daemon
%if %{with winexe} %if %{with winexe}
%package winexe %package winexe
Summary: Samba Winexe Windows Binary Summary: Samba Winexe Windows Binary
License: GPLv3 License: GPL-3.0-only
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-common-libs = %{samba_depver} Requires: %{name}-common-libs = %{samba_depver}
@ -1067,6 +1096,7 @@ Summary: A Clustered Database based on Samba's Trivial Database (TDB)
Requires: %{name}-common-libs = %{samba_depver} Requires: %{name}-common-libs = %{samba_depver}
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires: %{name}-winbind-clients = %{samba_depver}
Requires: coreutils Requires: coreutils
# for ps and killall # for ps and killall
@ -1166,7 +1196,11 @@ Support for using an existing CEPH cluster as a mutex helper for CTDB
%prep %prep
%if 0%{?fedora} || 0%{?rhel} >= 9
xzcat %{SOURCE0} | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
%else
xzcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - xzcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%endif
%autosetup -n samba-%{version}%{pre_release} -p1 %autosetup -n samba-%{version}%{pre_release} -p1
# Ensure we rely on GnuTLS and do not build any other crypto code shipping with # Ensure we rely on GnuTLS and do not build any other crypto code shipping with
@ -1219,9 +1253,13 @@ rm -f lib/crypto/{aes,rijndael}*.c
# TODO: resolve underlinked python modules # TODO: resolve underlinked python modules
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')" export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
# Use the gold linker # Use the mold linker
# See https://bugzilla.redhat.com/show_bug.cgi?id=2043178 ; For f36 do not use ld.gold till it is fixed %if 0%{?fedora} >= 37
#export LDFLAGS="%%{__global_ldflags} -fuse-ld=gold" export LDFLAGS="%{__global_ldflags} -fuse-ld=mold"
export python_LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-z,defs//g')"
%else
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
%endif
%configure \ %configure \
--enable-fhs \ --enable-fhs \
@ -1378,60 +1416,10 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
%if %{without dc} && %{without testsuite} %if %{without dc} && %{without testsuite}
for i in \ for i in \
%{_libdir}/samba/libdfs-server-ad-samba4.so \
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
%{_libdir}/samba/libscavenge-dns-records-samba4.so \
%{_mandir}/man8/samba.8 \ %{_mandir}/man8/samba.8 \
%{_mandir}/man8/samba_downgrade_db.8 \ %{_mandir}/man8/samba_downgrade_db.8 \
%{_mandir}/man8/samba-gpupdate.8 \ %{_mandir}/man8/samba-gpupdate.8 \
%{_unitdir}/samba.service \ %{_unitdir}/samba.service \
%{python3_sitearch}/samba/dcerpc/dnsserver.*.so \
%{python3_sitearch}/samba/dnsserver.py \
%{python3_sitearch}/samba/domain_update.py \
%{python3_sitearch}/samba/forest_update.py \
%{python3_sitearch}/samba/kcc/__init__.py \
%{python3_sitearch}/samba/kcc/debug.py \
%{python3_sitearch}/samba/kcc/graph.py \
%{python3_sitearch}/samba/kcc/graph_utils.py \
%{python3_sitearch}/samba/kcc/kcc_utils.py \
%{python3_sitearch}/samba/kcc/ldif_import_export.py \
%{python3_sitearch}/samba/kcc/__pycache__/__init__.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/debug.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/graph.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/graph_utils.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/kcc_utils.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/ldif_import_export.*.pyc \
%{python3_sitearch}/samba/ms_forest_updates_markdown.py \
%{python3_sitearch}/samba/ms_schema_markdown.py \
%{python3_sitearch}/samba/provision/__init__.py \
%{python3_sitearch}/samba/provision/backend.py \
%{python3_sitearch}/samba/provision/common.py \
%{python3_sitearch}/samba/provision/kerberos_implementation.py \
%{python3_sitearch}/samba/provision/kerberos.py \
%{python3_sitearch}/samba/provision/sambadns.py \
%{python3_sitearch}/samba/provision/__pycache__/__init__.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/backend.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/common.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/kerberos_implementation.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/kerberos.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/sambadns.*.pyc \
%{python3_sitearch}/samba/__pycache__/domain_update.*.pyc \
%{python3_sitearch}/samba/__pycache__/forest_update.*.pyc \
%{python3_sitearch}/samba/__pycache__/ms_forest_updates_markdown.*.pyc \
%{python3_sitearch}/samba/__pycache__/ms_schema_markdown.*.pyc \
%{python3_sitearch}/samba/__pycache__/remove_dc.*.pyc \
%{python3_sitearch}/samba/__pycache__/schema.*.pyc \
%{python3_sitearch}/samba/__pycache__/uptodateness.*.pyc \
%{python3_sitearch}/samba/remove_dc.py \
%{python3_sitearch}/samba/samdb.py \
%{python3_sitearch}/samba/schema.py \
%{python3_sitearch}/samba/third_party/iso8601/__init__.py \
%{python3_sitearch}/samba/third_party/iso8601/__pycache__/__init__.*.pyc \
%{python3_sitearch}/samba/third_party/iso8601/__pycache__/iso8601.*.pyc \
%{python3_sitearch}/samba/third_party/iso8601/__pycache__/test_iso8601.*.pyc \
%{python3_sitearch}/samba/third_party/iso8601/iso8601.py \
%{python3_sitearch}/samba/third_party/iso8601/test_iso8601.py \
%{python3_sitearch}/samba/uptodateness.py \
%{_sbindir}/samba-gpupdate \ %{_sbindir}/samba-gpupdate \
; do ; do
rm -f %{buildroot}$i rm -f %{buildroot}$i
@ -1744,15 +1732,6 @@ fi
%dir %{_libexecdir}/samba %dir %{_libexecdir}/samba
%{_libexecdir}/samba/samba-bgqd %{_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
%dir %{_datadir}/samba/mdssvc %dir %{_datadir}/samba/mdssvc
@ -1766,7 +1745,6 @@ fi
%{_mandir}/man1/smbstatus.1* %{_mandir}/man1/smbstatus.1*
%{_mandir}/man8/eventlogadm.8* %{_mandir}/man8/eventlogadm.8*
%{_mandir}/man8/samba-bgqd.8* %{_mandir}/man8/samba-bgqd.8*
%{_mandir}/man8/samba-dcerpcd.8*
%{_mandir}/man8/smbd.8* %{_mandir}/man8/smbd.8*
%{_mandir}/man8/nmbd.8* %{_mandir}/man8/nmbd.8*
%{_mandir}/man8/vfs_acl_tdb.8* %{_mandir}/man8/vfs_acl_tdb.8*
@ -1977,6 +1955,7 @@ fi
%{_libdir}/samba/libsmbd-base-samba4.so %{_libdir}/samba/libsmbd-base-samba4.so
%{_libdir}/samba/libsmbd-shim-samba4.so %{_libdir}/samba/libsmbd-shim-samba4.so
%{_libdir}/samba/libsmbldaphelper-samba4.so %{_libdir}/samba/libsmbldaphelper-samba4.so
%{_libdir}/samba/libstable-sort-samba4.so
%{_libdir}/samba/libsys-rw-samba4.so %{_libdir}/samba/libsys-rw-samba4.so
%{_libdir}/samba/libsocket-blocking-samba4.so %{_libdir}/samba/libsocket-blocking-samba4.so
%{_libdir}/samba/libtalloc-report-printf-samba4.so %{_libdir}/samba/libtalloc-report-printf-samba4.so
@ -2002,10 +1981,9 @@ fi
%if %{with includelibs} %if %{with includelibs}
%{_libdir}/samba/libldb-*.so %{_libdir}/samba/libldb-*.so
%{_libdir}/samba/libldb.so.* %{_libdir}/samba/libtalloc-samba4.so
%{_libdir}/samba/libtalloc.so.* %{_libdir}/samba/libtdb-samba4.so
%{_libdir}/samba/libtdb.so.* %{_libdir}/samba/libtevent-samba4.so
%{_libdir}/samba/libtevent.so.*
%{_libdir}/samba/ldb/asq.so %{_libdir}/samba/ldb/asq.so
%{_libdir}/samba/ldb/ldb.so %{_libdir}/samba/ldb/ldb.so
@ -2057,11 +2035,11 @@ fi
%{_libdir}/samba/pdb/smbpasswd.so %{_libdir}/samba/pdb/smbpasswd.so
%{_libdir}/samba/pdb/tdbsam.so %{_libdir}/samba/pdb/tdbsam.so
### COMMON-TOOLS
%files common-tools %files common-tools
%{_bindir}/net %{_bindir}/net
%{_bindir}/pdbedit %{_bindir}/pdbedit
%{_bindir}/profiles %{_bindir}/profiles
%{_bindir}/samba-tool
%{_bindir}/smbcontrol %{_bindir}/smbcontrol
%{_bindir}/smbpasswd %{_bindir}/smbpasswd
%{_bindir}/testparm %{_bindir}/testparm
@ -2070,9 +2048,27 @@ fi
%{_mandir}/man1/testparm.1* %{_mandir}/man1/testparm.1*
%{_mandir}/man8/net.8* %{_mandir}/man8/net.8*
%{_mandir}/man8/pdbedit.8* %{_mandir}/man8/pdbedit.8*
%{_mandir}/man8/samba-tool.8*
%{_mandir}/man8/smbpasswd.8* %{_mandir}/man8/smbpasswd.8*
### TOOLS
%files tools
%{_bindir}/samba-tool
%{_mandir}/man8/samba-tool.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 ### DC
%if %{with dc} || %{with testsuite} %if %{with dc} || %{with testsuite}
%files dc %files dc
@ -2087,7 +2083,6 @@ fi
%{_libdir}/krb5/plugins/kdb/samba.so %{_libdir}/krb5/plugins/kdb/samba.so
%{_libdir}/samba/auth/samba4.so %{_libdir}/samba/auth/samba4.so
%{_libdir}/samba/libpac-samba4.so
%dir %{_libdir}/samba/gensec %dir %{_libdir}/samba/gensec
%{_libdir}/samba/gensec/krb5.so %{_libdir}/samba/gensec/krb5.so
%{_libdir}/samba/ldb/acl.so %{_libdir}/samba/ldb/acl.so
@ -2141,17 +2136,27 @@ fi
%{_mandir}/man8/samba.8* %{_mandir}/man8/samba.8*
%{_mandir}/man8/samba_downgrade_db.8* %{_mandir}/man8/samba_downgrade_db.8*
%dir %{_datadir}/samba/admx %dir %{_datadir}/samba/admx
%{_datadir}/samba/admx/GNOME_Settings.admx
%{_datadir}/samba/admx/samba.admx %{_datadir}/samba/admx/samba.admx
%dir %{_datadir}/samba/admx/en-US %dir %{_datadir}/samba/admx/en-US
%{_datadir}/samba/admx/en-US/GNOME_Settings.adml
%{_datadir}/samba/admx/en-US/samba.adml %{_datadir}/samba/admx/en-US/samba.adml
%dir %{_datadir}/samba/admx/ru-RU
%{_datadir}/samba/admx/ru-RU/GNOME_Settings.adml
%files dc-provision %files dc-provision
%license source4/setup/ad-schema/licence.txt %license source4/setup/ad-schema/licence.txt
%{_datadir}/samba/setup %{_datadir}/samba/setup
#endif with dc || with testsuite
%endif
### DC-LIBS ### DC-LIBS
%files dc-libs %files dc-libs
%{_libdir}/samba/libauth4-samba4.so
%if %{with dc} || %{with testsuite}
%{_libdir}/samba/libdb-glue-samba4.so %{_libdir}/samba/libdb-glue-samba4.so
%{_libdir}/samba/libpac-samba4.so
%{_libdir}/samba/libprocess-model-samba4.so %{_libdir}/samba/libprocess-model-samba4.so
%{_libdir}/samba/libservice-samba4.so %{_libdir}/samba/libservice-samba4.so
@ -2215,6 +2220,7 @@ fi
%{_includedir}/samba-4.0/domain_credentials.h %{_includedir}/samba-4.0/domain_credentials.h
%{_includedir}/samba-4.0/gen_ndr/atsvc.h %{_includedir}/samba-4.0/gen_ndr/atsvc.h
%{_includedir}/samba-4.0/gen_ndr/auth.h %{_includedir}/samba-4.0/gen_ndr/auth.h
%{_includedir}/samba-4.0/gen_ndr/claims.h
%{_includedir}/samba-4.0/gen_ndr/dcerpc.h %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
%{_includedir}/samba-4.0/gen_ndr/krb5pac.h %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
%{_includedir}/samba-4.0/gen_ndr/lsa.h %{_includedir}/samba-4.0/gen_ndr/lsa.h
@ -2370,7 +2376,6 @@ fi
%{_libdir}/libdcerpc-samr.so.* %{_libdir}/libdcerpc-samr.so.*
%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
%{_libdir}/samba/libauth4-samba4.so
%{_libdir}/samba/libauth-unix-token-samba4.so %{_libdir}/samba/libauth-unix-token-samba4.so
%{_libdir}/samba/libdcerpc-samba4.so %{_libdir}/samba/libdcerpc-samba4.so
%{_libdir}/samba/libdnsserver-common-samba4.so %{_libdir}/samba/libdnsserver-common-samba4.so
@ -2488,6 +2493,7 @@ fi
%{python3_sitearch}/samba/__pycache__/ms_schema.*.pyc %{python3_sitearch}/samba/__pycache__/ms_schema.*.pyc
%{python3_sitearch}/samba/__pycache__/ndr.*.pyc %{python3_sitearch}/samba/__pycache__/ndr.*.pyc
%{python3_sitearch}/samba/__pycache__/ntacls.*.pyc %{python3_sitearch}/samba/__pycache__/ntacls.*.pyc
%{python3_sitearch}/samba/__pycache__/safe_tarfile.*.pyc
%{python3_sitearch}/samba/__pycache__/sd_utils.*.pyc %{python3_sitearch}/samba/__pycache__/sd_utils.*.pyc
%{python3_sitearch}/samba/__pycache__/sites.*.pyc %{python3_sitearch}/samba/__pycache__/sites.*.pyc
%{python3_sitearch}/samba/__pycache__/subnets.*.pyc %{python3_sitearch}/samba/__pycache__/subnets.*.pyc
@ -2503,6 +2509,7 @@ fi
%{python3_sitearch}/samba/dbchecker.py %{python3_sitearch}/samba/dbchecker.py
%{python3_sitearch}/samba/colour.py %{python3_sitearch}/samba/colour.py
%{python3_sitearch}/samba/common.py %{python3_sitearch}/samba/common.py
%{python3_sitearch}/samba/compression.*.so
%{python3_sitearch}/samba/credentials.*.so %{python3_sitearch}/samba/credentials.*.so
%{python3_sitearch}/samba/crypto.*.so %{python3_sitearch}/samba/crypto.*.so
%dir %{python3_sitearch}/samba/dcerpc %dir %{python3_sitearch}/samba/dcerpc
@ -2512,6 +2519,7 @@ fi
%{python3_sitearch}/samba/dcerpc/atsvc.*.so %{python3_sitearch}/samba/dcerpc/atsvc.*.so
%{python3_sitearch}/samba/dcerpc/auth.*.so %{python3_sitearch}/samba/dcerpc/auth.*.so
%{python3_sitearch}/samba/dcerpc/base.*.so %{python3_sitearch}/samba/dcerpc/base.*.so
%{python3_sitearch}/samba/dcerpc/claims.*.so
%{python3_sitearch}/samba/dcerpc/dcerpc.*.so %{python3_sitearch}/samba/dcerpc/dcerpc.*.so
%{python3_sitearch}/samba/dcerpc/dfs.*.so %{python3_sitearch}/samba/dcerpc/dfs.*.so
%{python3_sitearch}/samba/dcerpc/dns.*.so %{python3_sitearch}/samba/dcerpc/dns.*.so
@ -2708,7 +2716,9 @@ fi
%{python3_sitearch}/samba/param.*.so %{python3_sitearch}/samba/param.*.so
%{python3_sitearch}/samba/policy.*.so %{python3_sitearch}/samba/policy.*.so
%{python3_sitearch}/samba/registry.*.so %{python3_sitearch}/samba/registry.*.so
%{python3_sitearch}/samba/reparse_symlink.*.so
%{python3_sitearch}/samba/security.*.so %{python3_sitearch}/samba/security.*.so
%{python3_sitearch}/samba/safe_tarfile.py
%dir %{python3_sitearch}/samba/samba3 %dir %{python3_sitearch}/samba/samba3
%{python3_sitearch}/samba/samba3/__init__.py %{python3_sitearch}/samba/samba3/__init__.py
%dir %{python3_sitearch}/samba/samba3/__pycache__ %dir %{python3_sitearch}/samba/samba3/__pycache__
@ -2744,8 +2754,8 @@ fi
%{_libdir}/samba/libsamba-python.cpython*.so %{_libdir}/samba/libsamba-python.cpython*.so
%if %{with includelibs} %if %{with includelibs}
%{_libdir}/samba/libpyldb-util.cpython*.so.* %{_libdir}/samba/libpyldb-util.cpython*.so
%{_libdir}/samba/libpytalloc-util.cpython*.so.* %{_libdir}/samba/libpytalloc-util.cpython*.so
%{python3_sitearch}/__pycache__/_ldb_text*.pyc %{python3_sitearch}/__pycache__/_ldb_text*.pyc
%{python3_sitearch}/__pycache__/_tdb_text*.pyc %{python3_sitearch}/__pycache__/_tdb_text*.pyc
@ -2764,7 +2774,6 @@ fi
%{_libdir}/libsamba-policy.*.so %{_libdir}/libsamba-policy.*.so
%{_libdir}/pkgconfig/samba-policy.*.pc %{_libdir}/pkgconfig/samba-policy.*.pc
%if %{with dc} || %{with testsuite}
%files -n python3-%{name}-dc %files -n python3-%{name}-dc
%{python3_sitearch}/samba/samdb.py %{python3_sitearch}/samba/samdb.py
%{python3_sitearch}/samba/schema.py %{python3_sitearch}/samba/schema.py
@ -2780,7 +2789,9 @@ fi
%{python3_sitearch}/samba/__pycache__/uptodateness.*.pyc %{python3_sitearch}/samba/__pycache__/uptodateness.*.pyc
%{python3_sitearch}/samba/dcerpc/dnsserver.*.so %{python3_sitearch}/samba/dcerpc/dnsserver.*.so
%if %{with dc} || %{with testsuite}
%{python3_sitearch}/samba/dckeytab.*.so %{python3_sitearch}/samba/dckeytab.*.so
%endif
%{python3_sitearch}/samba/domain_update.py %{python3_sitearch}/samba/domain_update.py
%{python3_sitearch}/samba/forest_update.py %{python3_sitearch}/samba/forest_update.py
%{python3_sitearch}/samba/ms_forest_updates_markdown.py %{python3_sitearch}/samba/ms_forest_updates_markdown.py
@ -2821,7 +2832,6 @@ fi
%{python3_sitearch}/samba/remove_dc.py %{python3_sitearch}/samba/remove_dc.py
%{python3_sitearch}/samba/uptodateness.py %{python3_sitearch}/samba/uptodateness.py
%endif
%files -n python3-%{name}-test %files -n python3-%{name}-test
%dir %{python3_sitearch}/samba/tests %dir %{python3_sitearch}/samba/tests
@ -2842,6 +2852,7 @@ fi
%{python3_sitearch}/samba/tests/__pycache__/auth_log_winbind.*.pyc %{python3_sitearch}/samba/tests/__pycache__/auth_log_winbind.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/common.*.pyc %{python3_sitearch}/samba/tests/__pycache__/common.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/complex_expressions.*.pyc %{python3_sitearch}/samba/tests/__pycache__/complex_expressions.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/compression.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/core.*.pyc %{python3_sitearch}/samba/tests/__pycache__/core.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/credentials.*.pyc %{python3_sitearch}/samba/tests/__pycache__/credentials.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/cred_opt.*.pyc %{python3_sitearch}/samba/tests/__pycache__/cred_opt.*.pyc
@ -2882,6 +2893,7 @@ fi
%{python3_sitearch}/samba/tests/__pycache__/loadparm.*.pyc %{python3_sitearch}/samba/tests/__pycache__/loadparm.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/logfiles.*.pyc %{python3_sitearch}/samba/tests/__pycache__/logfiles.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/libsmb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/libsmb.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/libsmb-basic.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/lsa_string.*.pyc %{python3_sitearch}/samba/tests/__pycache__/lsa_string.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/messaging.*.pyc %{python3_sitearch}/samba/tests/__pycache__/messaging.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/ndr.*.pyc %{python3_sitearch}/samba/tests/__pycache__/ndr.*.pyc
@ -2916,12 +2928,14 @@ fi
%{python3_sitearch}/samba/tests/__pycache__/pso.*.pyc %{python3_sitearch}/samba/tests/__pycache__/pso.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/py_credentials.*.pyc %{python3_sitearch}/samba/tests/__pycache__/py_credentials.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/registry.*.pyc %{python3_sitearch}/samba/tests/__pycache__/registry.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/reparsepoints.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/s3idmapdb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/s3idmapdb.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/s3param.*.pyc %{python3_sitearch}/samba/tests/__pycache__/s3param.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/s3passdb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/s3passdb.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/s3registry.*.pyc %{python3_sitearch}/samba/tests/__pycache__/s3registry.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/s3windb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/s3windb.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/s3_net_join.*.pyc %{python3_sitearch}/samba/tests/__pycache__/s3_net_join.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/safe_tarfile.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/samba_upgradedns_lmdb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/samba_upgradedns_lmdb.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/samba3sam.*.pyc %{python3_sitearch}/samba/tests/__pycache__/samba3sam.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/samdb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/samdb.*.pyc
@ -2931,6 +2945,9 @@ fi
%{python3_sitearch}/samba/tests/__pycache__/segfault.*.pyc %{python3_sitearch}/samba/tests/__pycache__/segfault.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/sid_strings.*.pyc %{python3_sitearch}/samba/tests/__pycache__/sid_strings.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smb.*.pyc %{python3_sitearch}/samba/tests/__pycache__/smb.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smb1posix.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smb2symlink.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smb3unix.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smbconf.*.pyc %{python3_sitearch}/samba/tests/__pycache__/smbconf.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smb-notify.*.pyc %{python3_sitearch}/samba/tests/__pycache__/smb-notify.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/smbd_base.*.pyc %{python3_sitearch}/samba/tests/__pycache__/smbd_base.*.pyc
@ -2996,6 +3013,7 @@ fi
%{python3_sitearch}/samba/tests/blackbox/traffic_replay.py %{python3_sitearch}/samba/tests/blackbox/traffic_replay.py
%{python3_sitearch}/samba/tests/blackbox/traffic_summary.py %{python3_sitearch}/samba/tests/blackbox/traffic_summary.py
%{python3_sitearch}/samba/tests/common.py %{python3_sitearch}/samba/tests/common.py
%{python3_sitearch}/samba/tests/compression.py
%{python3_sitearch}/samba/tests/complex_expressions.py %{python3_sitearch}/samba/tests/complex_expressions.py
%{python3_sitearch}/samba/tests/core.py %{python3_sitearch}/samba/tests/core.py
%{python3_sitearch}/samba/tests/credentials.py %{python3_sitearch}/samba/tests/credentials.py
@ -3101,8 +3119,11 @@ fi
%{python3_sitearch}/samba/tests/krb5/__pycache__/alias_tests.*.pyc %{python3_sitearch}/samba/tests/krb5/__pycache__/alias_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/as_canonicalization_tests.*.pyc %{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__/as_req_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/claims_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/compatability_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__/fast_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/group_tests.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kcrypto.*.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_base_test.*.pyc
%{python3_sitearch}/samba/tests/krb5/__pycache__/kdc_tests.*.pyc %{python3_sitearch}/samba/tests/krb5/__pycache__/kdc_tests.*.pyc
@ -3131,8 +3152,11 @@ fi
%{python3_sitearch}/samba/tests/krb5/alias_tests.py %{python3_sitearch}/samba/tests/krb5/alias_tests.py
%{python3_sitearch}/samba/tests/krb5/as_canonicalization_tests.py %{python3_sitearch}/samba/tests/krb5/as_canonicalization_tests.py
%{python3_sitearch}/samba/tests/krb5/as_req_tests.py %{python3_sitearch}/samba/tests/krb5/as_req_tests.py
%{python3_sitearch}/samba/tests/krb5/claims_tests.py
%{python3_sitearch}/samba/tests/krb5/compatability_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/fast_tests.py
%{python3_sitearch}/samba/tests/krb5/group_tests.py
%{python3_sitearch}/samba/tests/krb5/kcrypto.py %{python3_sitearch}/samba/tests/krb5/kcrypto.py
%{python3_sitearch}/samba/tests/krb5/kdc_base_test.py %{python3_sitearch}/samba/tests/krb5/kdc_base_test.py
%{python3_sitearch}/samba/tests/krb5/kdc_tests.py %{python3_sitearch}/samba/tests/krb5/kdc_tests.py
@ -3164,6 +3188,7 @@ fi
%{python3_sitearch}/samba/tests/ldap_referrals.py %{python3_sitearch}/samba/tests/ldap_referrals.py
%{python3_sitearch}/samba/tests/ldap_upn_sam_account.py %{python3_sitearch}/samba/tests/ldap_upn_sam_account.py
%{python3_sitearch}/samba/tests/libsmb.py %{python3_sitearch}/samba/tests/libsmb.py
%{python3_sitearch}/samba/tests/libsmb-basic.py
%{python3_sitearch}/samba/tests/loadparm.py %{python3_sitearch}/samba/tests/loadparm.py
%{python3_sitearch}/samba/tests/logfiles.py %{python3_sitearch}/samba/tests/logfiles.py
%{python3_sitearch}/samba/tests/lsa_string.py %{python3_sitearch}/samba/tests/lsa_string.py
@ -3200,12 +3225,14 @@ fi
%{python3_sitearch}/samba/tests/pso.py %{python3_sitearch}/samba/tests/pso.py
%{python3_sitearch}/samba/tests/py_credentials.py %{python3_sitearch}/samba/tests/py_credentials.py
%{python3_sitearch}/samba/tests/registry.py %{python3_sitearch}/samba/tests/registry.py
%{python3_sitearch}/samba/tests/reparsepoints.py
%{python3_sitearch}/samba/tests/s3idmapdb.py %{python3_sitearch}/samba/tests/s3idmapdb.py
%{python3_sitearch}/samba/tests/s3param.py %{python3_sitearch}/samba/tests/s3param.py
%{python3_sitearch}/samba/tests/s3passdb.py %{python3_sitearch}/samba/tests/s3passdb.py
%{python3_sitearch}/samba/tests/s3registry.py %{python3_sitearch}/samba/tests/s3registry.py
%{python3_sitearch}/samba/tests/s3windb.py %{python3_sitearch}/samba/tests/s3windb.py
%{python3_sitearch}/samba/tests/s3_net_join.py %{python3_sitearch}/samba/tests/s3_net_join.py
%{python3_sitearch}/samba/tests/safe_tarfile.py
%{python3_sitearch}/samba/tests/samba3sam.py %{python3_sitearch}/samba/tests/samba3sam.py
%{python3_sitearch}/samba/tests/samba_upgradedns_lmdb.py %{python3_sitearch}/samba/tests/samba_upgradedns_lmdb.py
%dir %{python3_sitearch}/samba/tests/samba_tool %dir %{python3_sitearch}/samba/tests/samba_tool
@ -3293,6 +3320,9 @@ fi
%{python3_sitearch}/samba/tests/segfault.py %{python3_sitearch}/samba/tests/segfault.py
%{python3_sitearch}/samba/tests/sid_strings.py %{python3_sitearch}/samba/tests/sid_strings.py
%{python3_sitearch}/samba/tests/smb.py %{python3_sitearch}/samba/tests/smb.py
%{python3_sitearch}/samba/tests/smb1posix.py
%{python3_sitearch}/samba/tests/smb2symlink.py
%{python3_sitearch}/samba/tests/smb3unix.py
%{python3_sitearch}/samba/tests/smbconf.py %{python3_sitearch}/samba/tests/smbconf.py
%{python3_sitearch}/samba/tests/smb-notify.py %{python3_sitearch}/samba/tests/smb-notify.py
%{python3_sitearch}/samba/tests/smbd_base.py %{python3_sitearch}/samba/tests/smbd_base.py
@ -4307,6 +4337,77 @@ fi
%endif %endif
%changelog %changelog
* Fri Mar 17 2023 Kalev Lember <klember@redhat.com> - 4.18.0-10
- Move libstable-sort-samba4.so to samba-client-libs subpackage
* Wed Mar 08 2023 Guenther Deschner <gdeschner@redhat.com> - 4.18.0-9
- resolves: #2176469 - Update to version 4.18.0
* Wed Mar 01 2023 Guenther Deschner <gdeschner@redhat.com> - 4.18.0rc4-8
- resolves: #2174415 - Update to version 4.18.0rc4
* Tue Feb 28 2023 Andreas Schneider <asn@redhat.com> - 4.18.0-0.7.rc3
- resolves: #2173619 - Add missing Requires for glibc-gconv-extra
* Thu Feb 23 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.18.0-0.6.rc3
- SPDX migration
* Wed Feb 15 2023 Guenther Deschner <gdeschner@redhat.com> - 4.18.0rc3-6
- resolves: #2166416 - Update to version 4.18.0rc3
* Mon Feb 13 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.18.0rc2-5
- Create package samba-tools, move there samba-tool binary
* Thu Feb 02 2023 Guenther Deschner <gdeschner@redhat.com> - 4.18.0rc2-3
- resolves: #2166416 - Update to version 4.18.0rc2
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.18.0-0.2.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 19 2023 Guenther Deschner <gdeschner@redhat.com> - 4.18.0rc1-0
- resolves: #2162097 - Update to version 4.18.0rc1
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 2:4.17.4-4
- Rebuild for ICU 72
* Thu Dec 22 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-3
- Create package dc-libs also for 'non-dc build'
* Tue Dec 20 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-2
- Fix '--without dc' build: delete libauth4-samba4.so
* Mon Dec 19 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-1
- Create a samba-dcerpc sub-package
- Fix package installation without samba and samba-dc package
* Fri Dec 16 2022 Guenther Deschner <gdeschner@redhat.com> - 4.17.4-0
- resolves: #2153906 - Update to version 4.17.4
- resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023
- resolves: #2154303, #2154304 - Security fixes for CVE-2022-37966
- resolves: #2154320, #2154322 - Security fixes for CVE-2022-37967
* Thu Dec 1 2022 Alexander Bokovoy <abokovoy@redhat.com> - 2:4.17.3-2
- Rebuild against krb5 1.20.1, new KDB interface
* Mon Nov 21 2022 Florian Weimer <fweimer@redhat.com> - 2:4.17.3-1
- Remove C89-specific language constructs from configure checks
- Fix feature detection for major/minor macros
* Tue Nov 15 2022 Guenther Deschner <gdeschner@redhat.com> - 4.17.3-0
- resolves: #2142959 - Update to version 4.17.3
- resolves: #2140960, #2143117 - Security fixes for CVE-2022-42898
* Wed Nov 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.2-1
- Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional
* Tue Oct 25 2022 Andreas Schneider <asn@redhat.com> - 4.17.2-1
- Update to version 4.17.2
- Fix CVE-2022-3592: A malicious client can use a symlink to escape the
exported
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 4.17.1-2
- Add missing dependency for wbinfo used by ctdb scripts
* Wed Oct 19 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.1-1 * Wed Oct 19 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.1-1
- Update to version 4.17.1 - Update to version 4.17.1
- resolves: rhbz#2127301 - Permission denied calling SMBC_getatr when file not exists - resolves: rhbz#2127301 - Permission denied calling SMBC_getatr when file not exists

View File

@ -1,2 +1,2 @@
SHA512 (samba-4.17.1.tar.xz) = fd1dd3059c484b550cfc694b14b32bb509c4e0b0e209e15b4ddc98ceba4bee8b4d94c5a488a98f75cafaf1d36dde912d738b6f79cba8bf14037c314ad9bfe4b9 SHA512 (samba-4.18.0.tar.xz) = bb4947335bd1fc501c29a62b413a9c3a1bbaf162d6965a4b2eeb65bf74363c300234b5c73d09e826e596989cd8afdee41b2470647bfdf8f7c42b998e7d367a64
SHA512 (samba-4.17.1.tar.asc) = 921eec6894195d68922ef86c0c9d741cee17f98e7381f4e8ee99a8fe8168f569cb094b73a4e4094070f9b3ea677cf2db670dba55191fe8b417aa85b804f1fe03 SHA512 (samba-4.18.0.tar.asc) = 1a478fd0e863e6b6874b703e04f449872b4d581e4c32c853ee4111bc94d1addcf3047331a288e8115a20d9ea22d8e04aade918e8623bd3d08d5122baf4ef0f3d