SHA256
1
0
forked from pool/samba

Accepting request 641729 from home:dmulder:branches:network:samba:STABLE

- Backport latest gpo code from master
  + Read policy from local gpt cache
  + Offline policy application
  + Make group policy extensible via register/unregister gpext
  + gpext's run via a process_group_policy method
- Enable profiling data collection
- Change samba-kdc package name to samba-ad-dc
- Move samba-ad-dc.service to the samba-ad-dc package

OBS-URL: https://build.opensuse.org/request/show/641729
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=604
This commit is contained in:
2018-10-12 17:15:14 +00:00
committed by Git OBS Bridge
parent c76825592d
commit 5440789625
4 changed files with 35 additions and 14 deletions

View File

@@ -168,7 +168,7 @@ BuildRequires: krb5-devel
%else
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
Version: 4.9.1+git.46.ff87d06bace
Version: 4.9.1+git.92.d4295681555
Release: 0
Url: https://www.samba.org/
Obsoletes: samba-32bit < %{version}
@@ -929,8 +929,8 @@ The Ceph VFS module for Samba allows shares to be backed by the Ceph
distributed file system. A Ceph CTDB lock helper binary is included so
that RADOS locks can be used for CTDB split-brain avoidance.
%package kdc
Summary: Samba MIT KDC
%package ad-dc
Summary: Samba MIT ADDC
License: GPL-3.0-or-later
Group: Productivity/Networking/Samba
Requires: samba = %{version}
@@ -939,9 +939,11 @@ Recommends: krb5-server >= 1.15.1
Requires: samba-python = %{version}
Recommends: samba-winbind = %{version}
Recommends: tdb-tools >= %{tdb_version}
Provides: samba-kdc = %{version}
Obsoletes: samba-kdc < %{version}
%description kdc
This package contains the KDC
%description ad-dc
This package contains the Active Directory Domain Controller
%package dsdb-modules
Summary: Samba LDB modules
@@ -1020,6 +1022,7 @@ CONFIGURE_OPTIONS="\
--disable-rpath \
--disable-rpath-install \
--enable-debug \
--with-profiling-data \
%if 0%{?build_ctdb_pmda}
--enable-pmda \
%endif
@@ -1527,8 +1530,8 @@ fi
%postun test -p /sbin/ldconfig
%if %{with_dc}
%post kdc -p /sbin/ldconfig
%postun kdc -p /sbin/ldconfig
%post ad-dc -p /sbin/ldconfig
%postun ad-dc -p /sbin/ldconfig
%post dsdb-modules
ln -sf %{_libdir}/samba/ldb %{_libdir}/ldb/samba
@@ -1654,9 +1657,6 @@ exit 0
%else
%{_unitdir}/nmb.service
%{_unitdir}/smb.service
%if %{with_dc}
%{_unitdir}/samba-ad-dc.service
%endif
%endif
%if 0%{?suse_version} < 1111
%attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/smbpasswd
@@ -2491,7 +2491,8 @@ exit 0
%endif
%if %{with_dc}
%files kdc
%files ad-dc
%{_unitdir}/samba-ad-dc.service
%{_bindir}/samba-tool
%{_sbindir}/samba
%{_sbindir}/samba_dnsupdate