From 9eab0c6b6f397cbf1c569fb5ff1c20cd3ca04c55f5ecb9f4a199f3d86fc71434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Tue, 22 Mar 2016 14:14:33 +0000 Subject: [PATCH 1/6] Update to 4.4.0. See also WHATSNEW.txt from the samba-doc package. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=534 --- baselibs.conf | 49 +- patches.tar.bz2 | 4 +- samba-4.3.6.tar.asc | 7 - samba-4.3.6.tar.gz | 3 - samba-4.4.0.tar.asc | 7 + samba-4.4.0.tar.gz | 3 + samba.changes | 90 +++ samba.spec | 1340 +++++++++--------------------------------- vendor-files.tar.bz2 | 4 +- 9 files changed, 414 insertions(+), 1093 deletions(-) delete mode 100644 samba-4.3.6.tar.asc delete mode 100644 samba-4.3.6.tar.gz create mode 100644 samba-4.4.0.tar.asc create mode 100644 samba-4.4.0.tar.gz diff --git a/baselibs.conf b/baselibs.conf index 7808972..a025c35 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,30 +1,5 @@ -libdcerpc0 -libdcerpc-atsvc0 -libdcerpc-binding0 -libdcerpc-samr0 -libgensec0 -libndr0 -libndr-krb5pac0 -libndr-nbt0 -libndr-standard0 -libnetapi0 -libregistry0 -libsamba-credentials0 -libsamba-hostconfig0 -libsamba-passdb0 - obsoletes "libpdb0- < " -libsamba-policy0 -libsamba-util0 -libsamdb0 libsmbclient0 -libsmbclient-raw0 -libsmbconf0 -libsmbldap0 -libtevent-util0 libwbclient0 -samba - supplements "packageand(samba:pam-)" - -/usr/lib/samba samba-winbind supplements "packageand(samba-winbind:pam-)" supplements "packageand(samba-winbind:glibc-)" @@ -32,4 +7,28 @@ samba-winbind samba-client supplements "packageand(samba-client:glibc-)" -/usr/lib/samba +samba-client-libs + obsoletes "libdcerpc0- < " + obsoletes "libdcerpc-atsvc0- < " + obsoletes "libdcerpc-binding0- < " + obsoletes "libgensec0- < " + obsoletes "libndr0- < " + obsoletes "libndr-krb5pac0- < " + obsoletes "libndr-nbt0- < " + obsoletes "libndr-standard0- < " + obsoletes "libnetapi0- < " + obsoletes "libpdb0- < " + obsoletes "libregistry0- < " + obsoletes "libsamba-credentials0- < " + obsoletes "libsamba-hostconfig0- < " + obsoletes "libsamba-passdb0- < " + obsoletes "libsamba-util0- < " + obsoletes "libsamdb0- < " + obsoletes "libsmbclient-raw0- < " + obsoletes "libsmbconf0- < " + obsoletes "libsmbldap0- < " + obsoletes "libsmbsharemodes0- < " + obsoletes "libtevent-util0- < " samba-libs + obsoletes "libdcerpc-samr0- < " + obsoletes "libsamba-policy0- < " diff --git a/patches.tar.bz2 b/patches.tar.bz2 index 96de09c..9f6de3b 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1fa1431747f09601c4503dd9c3daaf4096a7131fa063c441546fc33aa4070efa -size 12446 +oid sha256:215a84a07f5fb116ce689f8242d3d6cca6051243c60329888d4e0e373e923ce9 +size 19398 diff --git a/samba-4.3.6.tar.asc b/samba-4.3.6.tar.asc deleted file mode 100644 index f0462a8..0000000 --- a/samba-4.3.6.tar.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iD8DBQBWzZXEbzORW2Vot+oRAjABAJ9RI2SD1oraGL+r+wcVDh6aRwcewgCcCDOx -OaklXNMcrjyDshzbYqVSe5U= -=HzGI ------END PGP SIGNATURE----- diff --git a/samba-4.3.6.tar.gz b/samba-4.3.6.tar.gz deleted file mode 100644 index 56eba95..0000000 --- a/samba-4.3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3251eca5b196854e79978f4a92d5fd2b55bd7b0a252a65131a9be02be6754924 -size 20445038 diff --git a/samba-4.4.0.tar.asc b/samba-4.4.0.tar.asc new file mode 100644 index 0000000..6fdd828 --- /dev/null +++ b/samba-4.4.0.tar.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iD8DBQBW8QoVbzORW2Vot+oRApQjAKCy0wfZsMxIgFHwSS9yqhCK/zkFuwCeOxEU +gCwNFN3eHKgq2SWqT2CDPNU= +=BdL6 +-----END PGP SIGNATURE----- diff --git a/samba-4.4.0.tar.gz b/samba-4.4.0.tar.gz new file mode 100644 index 0000000..bb46d31 --- /dev/null +++ b/samba-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5f6fefb7fd0a4e5f404a253b19b55f74f88faa1c3612cb3329e24aa03470075 +size 20590101 diff --git a/samba.changes b/samba.changes index d5c2173..46f497c 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,72 @@ +------------------------------------------------------------------- +Tue Mar 22 14:00:05 UTC 2016 - lmuelle@suse.com + +- Update to 4.4.0. + + Read of uninitialized memory DNS TXT handling; (bso#11128); (bso#11686); + CVE-2016-0771. + + Getting and setting Windows ACLs on symlinks can change permissions on link + target; (bso#11648); CVE-2015-7560. + + Sockets with htons(IPPROTO_RAW); (bso#11705); CVE-2015-8543. + + s3: smbd: posix_acls: Fix check for setting u:g:o entry on a filesystem + with no ACL support; (bso#10489). + + docs: Add example for domain logins to smbspool man page; (bso#11643). + + smbd: Show correct disk size for different quota and dfree block sizes; + (bso#11681). + + docs: Add smbspool_krb5_wrapper manpage; (bso#11690). + + winbindd: Return trust parameters when listing trusts; (bso#11691). + + ctdb: Do not provide a useless pkgconfig file for ctdb; (bso#11696). + + Crypto.Cipher.ARC4 is not available on some platforms, fallback to + M2Crypto.RC4.RC4 then; (bso#11699). + + s3:utils/smbget: Set default blocksize; (bso#11700). + + Streamline 'smbget' options with the rest of the Samba utils; (bso#11700). + + s3:clispnego: Fix confusing warning in spnego_gen_krb5_wrap(); (bso#11702). + + s3: smbd: Fix timestamp rounding inside SMB2 create; (bso#11703). + + loadparm: Fix memory leak issue; (bso#11708). + + lib/tsocket: Work around sockets not supporting FIONREAD; (bso#11714). + + s3:vfs:glusterfs: Fix build after quota changes; (bso#11715). + + ctdb-scripts: Drop use of "smbcontrol winbindd ip-dropped ..."; (bso#11719). + + lib:socket: Fix CID 1350010: Integer OVERFLOW_BEFORE_WIDEN; (bso#11723). + + smbd: Fix CID 1351215 Improper use of negative value; (bso#11724). + + smbd: Fix CID 1351216 Dereference null return value; (bso#11725). + + s3:smbd:open: Skip redundant call to file_set_dosmode when creating a new + file; (bso#11727). + + docs: Add manpage for cifsdd; (bso#11730). + + param: Fix str_list_v3 to accept ; again; (bso#11732). + + lib/socket: Fix improper use of default interface speed; (bso#11734). + + lib:socket: Fix CID 1350009: Fix illegal memory accesses + (BUFFER_SIZE_WARNING); (bso#11735). + + libcli: Fix debug message, print sid string for new_ace trustee; + (bso#11738). + + Fix installation path of Samba helper binaries; (bso#11739). + + Fix memory leak in loadparm; (bso#11740). + + tevent: version 0.9.28: Fix memory leak when old signal action restored; + (bso#11742). + + smbd: Ignore SVHDX create context; (bso#11753). + + Fix net join; (bso#11755). + + s3:libads: setup the msDS-SupportedEncryptionTypes attribute on ldap_add; + (bso#11755). + + passdb: Add linefeed to debug message; (bso#11763). + + s3:utils/smbget: Fix option parsing; (bso#11767). + + libnet: Make Kerberos domain join site-aware; (bso#11769). + + Reset TCP Connections during IP failover; (bso#11770). + + ldb: Version 1.1.26; (bso#11772). + + s3:smbd: Add negprot remote arch detection for OSX; (bso#11773). + + vfs_glusterfs: Fix use after free in AIO callback; (bso#11774). + + mkdir can return ACCESS_DENIED incorrectly on create race; (bso#11780). + + "trustdom_list_done: Got invalid trustdom response" message should be + avoided; (bso#11782). + + Mismatch between local and remote attribute ids lets replication fail with + custom schema; (bso#11783). + + Quota is not supported on Solaris 10; (bso#11788). + + Talloc: Version 2.1.6; (bso#11789). + + smbd: Enable multi-channel if 'server multi channel support = yes' in the + config; (bso#11796). + + build: Fix build when '--without-quota' specified; (bso#11798). + + lib/socket/interfaces: Fix some uninitialied bytes; (bso#11802). + + Access based share enum: handle permission set in configuration files; + (bso#8093). + + See also WHATSNEW.txt from the samba-doc package. + ------------------------------------------------------------------- Sun Mar 6 16:23:02 UTC 2016 - jmcdonough@suse.com @@ -7,6 +76,11 @@ Sun Mar 6 16:23:02 UTC 2016 - jmcdonough@suse.com + Fix Out-of-bounds read in internal DNS server; CVE-2016-0771; (bso#11128); (bso#11686); (bsc#968223). +------------------------------------------------------------------- +Thu Mar 3 11:37:35 UTC 2016 - nopower@suse.com + +- Upgrade on-disk FSRVP server state to new version; (bsc#924519). + ------------------------------------------------------------------- Tue Mar 1 18:03:17 UTC 2016 - lmuelle@suse.com @@ -17,6 +91,11 @@ Tue Mar 1 17:28:09 UTC 2016 - lmuelle@suse.com - Relocate existing lock files to /var/lib/samba/lock; (bsc#968963). +------------------------------------------------------------------- +Thu Feb 25 10:16:06 UTC 2016 - lmuelle@suse.com + +- Obsolete no longer existing samba-32bit package; (bsc#967625). + ------------------------------------------------------------------- Tue Feb 23 09:47:53 UTC 2016 - lmuelle@suse.com @@ -54,6 +133,11 @@ Mon Feb 22 16:16:32 UTC 2016 - lmuelle@suse.com - Shift samba-client sysconfig data into samba and samba-winbind; (bsc#947361). +------------------------------------------------------------------- +Wed Feb 17 17:44:10 UTC 2016 - lmuelle@suse.com + +- Simplify shared library packaging; (bsc#966956). + ------------------------------------------------------------------- Sun Feb 14 18:41:34 UTC 2016 - lmuelle@suse.com @@ -153,6 +237,12 @@ Tue Dec 1 16:48:13 UTC 2015 - lmuelle@suse.com open directory handle; (bso#11615). + Changing log level of two entries to DBG_NOTICE; (bso#9912). +------------------------------------------------------------------- +Mon Nov 16 16:27:49 UTC 2015 - nopower@suse.com + +- Ensure samlogon fallback requests are rerouted after kerberos failure; + (bnc#953382); (bnc#953972). + ------------------------------------------------------------------- Sat Nov 14 18:31:04 UTC 2015 - lmuelle@suse.com diff --git a/samba.spec b/samba.spec index cb95b33..ee1a93c 100644 --- a/samba.spec +++ b/samba.spec @@ -120,7 +120,7 @@ BuildRequires: systemd-devel %if 0%{?build_ctdb_pmda} BuildRequires: libpcp-devel %endif -%define samba_ver 4.3.6 +%define samba_ver 4.4.0 %define samba_ver_suffix %nil %if "%{samba_ver_suffix}" == "" %define samba_source_location https://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.gz @@ -135,21 +135,21 @@ BuildRequires: libpcp-devel %else %define libsmbclient_name libsmbclient0 %endif -%define libnetapi_name libnetapi0 %define libwbclient_name libwbclient0 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %define build_make_smp_mflags %{?_smp_mflags} %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3619 +%define SOURCE_TIMESTAMP 3625 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 -Version: 4.3.6 +Version: 4.4.0 Release: 0 Url: https://www.samba.org/ Obsoletes: samba-gplv3 < %{version} +Obsoletes: samba-32bit < %{version} %if 0%{?suse_version} > 1030 Recommends: cron Recommends: logrotate @@ -282,22 +282,79 @@ Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} -%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 -%package core-devel -Summary: Development files shared by Samba subpackages +%package client-libs +Summary: Samba Client Libraries License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Conflicts: samba-devel +Group: Productivity/Networking/Samba +Obsoletes: libdcerpc0 < %{version} +Obsoletes: libdcerpc-atsvc0 < %{version} +Obsoletes: libdcerpc-binding0 < %{version} +Obsoletes: libgensec0 < %{version} +Obsoletes: libndr0 < %{version} +Obsoletes: libndr-krb5pac0 < %{version} +Obsoletes: libndr-nbt0 < %{version} +Obsoletes: libndr-standard0 < %{version} +Obsoletes: libnetapi0 < %{version} +Obsoletes: libpdb0 < %{version} +Obsoletes: libregistry0 < %{version} +Obsoletes: libsamba-credentials0 < %{version} +Obsoletes: libsamba-hostconfig0 < %{version} +Obsoletes: libsamba-passdb0 < %{version} +Obsoletes: libsamba-util0 < %{version} +Obsoletes: libsamdb0 < %{version} +Obsoletes: libsmbclient-raw0 < %{version} +Obsoletes: libsmbconf0 < %{version} +Obsoletes: libsmbldap0 < %{version} +Obsoletes: libsmbsharemodes0 < %{version} +Obsoletes: libtevent-util0 < %{version} +Requires: %{libwbclient_name} = %{version} -%description core-devel -This package contains the libraries and header files needed to -develop programs which make use of the Samba core. +%description client-libs +The samba-client-libs package contains internal libraries needed by the +SMB/CIFS clients. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package devel +Summary: Development files shared by Samba subpackages +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Provides: core-devel = %{version} +Obsoletes: core-devel < %{version} +Obsoletes: libdcerpc-atsvc-devel < %{version} +Obsoletes: libdcerpc-devel < %{version} +Obsoletes: libdcerpc-samr-devel < %{version} +Obsoletes: libgensec-devel < %{version} +Obsoletes: libndr-devel < %{version} +Obsoletes: libndr-krb5pac-devel < %{version} +Obsoletes: libndr-nbt-devel < %{version} +Obsoletes: libndr-standard-devel < %{version} +Obsoletes: libnetapi-devel < %{version} +Obsoletes: libpdb-devel < %{version} +Obsoletes: libregistry-devel < %{version} +Obsoletes: libsamba-credentials-devel < %{version} +Obsoletes: libsamba-hostconfig-devel < %{version} +Obsoletes: libsamba-passdb-devel < %{version} +Obsoletes: libsamba-policy-devel < %{version} +Obsoletes: libsamba-util-devel < %{version} +Obsoletes: libsamdb-devel < %{version} +Obsoletes: libsmbclient-raw-devel < %{version} +Obsoletes: libsmbconf-devel < %{version} +Obsoletes: libsmbldap-devel < %{version} +Obsoletes: libsmbsharemodes-devel < %{version} +Obsoletes: libtevent-util-devel < %{version} + + +%description devel +This package contains the libraries and header files needed to +develop programs which make use of Samba. Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} -%endif %if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110 %package doc @@ -326,6 +383,8 @@ Branch: %{BRANCH} Summary: Samba libraries License: GPL-3.0+ Group: Development/Libraries/C and C++ +Obsoletes: libdcerpc-samr0 < %{version} +Obsoletes: libsamba-policy0 < %{version} Requires: krb5 PreReq: /sbin/ldconfig %if 0%{?suse_version} > 1210 && 0%{?suse_version} < 1315 @@ -392,19 +451,6 @@ Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} -%package test-devel -Summary: Testing devel files for Samba servers and clients -License: GPL-3.0+ -Group: Development/Libraries/C and C++ - -%description test-devel -samba-test-devel provides testing devel files for both the server and client -packages of Samba. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - %package winbind Summary: Winbind Daemon and Tool License: GPL-3.0+ @@ -465,16 +511,6 @@ Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} -%package -n ctdb-devel -Summary: Libraries and Header Files to Develop Programs with ctdb support -License: GPL-3.0+ -Group: Development/Libraries/C and C++ - -%description -n ctdb-devel -This package contains the static libraries and header files needed to -develop programs which make use of ctdb. - - %if 0%{?build_ctdb_pmda} %package -n ctdb-pcp-pmda Summary: Performance Co-Pilot (PCP) monitoring agent @@ -497,549 +533,6 @@ Group: Development/Tools Test suite for clustered database (CTDB). -%package -n libdcerpc-atsvc0 -Summary: DCE/RPC AT scheduler service library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libdcerpc-atsvc0 -ATSVC is a DCE/RPC based protocol used by CIFS hosts to -access/control the AT-Scheduler Service across a network. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libdcerpc-atsvc-devel -Summary: Development files for the DCE/RPC ATSVC library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libdcerpc-atsvc0 = %{version} - -%description -n libdcerpc-atsvc-devel -ATSVC is a DCE/RPC based protocol used by CIFS hosts to -access/control the AT-Scheduler Service across a network. - -This subpackage contains libraries and header files for developing -applications that want to make use of libdcerpc-atsvc. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libdcerpc-binding0 -Summary: Some samba library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libdcerpc-binding0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libdcerpc-samr0 -Summary: Security Account Manager (SAM) Remote Protocol library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libdcerpc-samr0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libdcerpc-samr-devel -Summary: Development files for the SAMR protocol library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libdcerpc-samr0 = %{version} - -%description -n libdcerpc-samr-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libdcerpc-samr. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libdcerpc0 -Summary: Distributed Computing Environment Remote Procedure Calls library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libdcerpc0 -DCE/RPC, short for "Distributed Computing Environment / Remote -Procedure Calls", is the remote procedure call system developed for -the Distributed Computing Environment (DCE). This system allows -programmers to write distributed software as if it were all working -on the same computer, without having to worry about the underlying -network code. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libdcerpc-devel -Summary: Development files for the DCE/RPC library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libdcerpc-binding0 = %{version} -Requires: libdcerpc0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libdcerpc-devel -DCE/RPC, short for "Distributed Computing Environment / Remote -Procedure Calls", is the remote procedure call system developed for -the Distributed Computing Environment (DCE). This system allows -programmers to write distributed software as if it were all working -on the same computer, without having to worry about the underlying -network code. - -This subpackage contains libraries and header files for developing -applications that want to make use of libdcerpc. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libgensec0 -Summary: Samba generic security library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libgensec0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libgensec-devel -Summary: Development files for Samba's generic security library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libgensec0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libgensec-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libgensec. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-krb5pac0 -Summary: NDR marshallers for the KRB5 PAC formats -License: GPL-3.0+ -Group: System/Libraries - -%description -n libndr-krb5pac0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-krb5pac-devel -Summary: Development files for the ndr-krb5pac library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libndr-krb5pac0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libndr-krb5pac-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libndr-krb5pac. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-nbt0 -Summary: NDR marshallers for NBT formats -License: GPL-3.0+ -Group: System/Libraries - -%description -n libndr-nbt0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-nbt-devel -Summary: Development files for the ndr-nbt library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libndr-nbt0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libndr-nbt-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libndr-nbt. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-standard0 -Summary: NDR marshallers for the standard set of DCE/RPC interfaces -License: GPL-3.0+ -Group: System/Libraries - -%description -n libndr-standard0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-standard-devel -Summary: Development files for the libndr-standard library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libndr-standard0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libndr-standard-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libndr-standard. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr0 -Summary: Network Data Representation library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libndr0 -Network Data Representation (NDR) is an implementation of the -presentation layer in the OSI model. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libndr-devel -Summary: Development files for the Network Data Representation library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libndr0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libndr-devel -Network Data Representation (NDR) is an implementation of the -presentation layer in the OSI model. - -This subpackage contains libraries and header files for developing -applications that want to make use of libndr. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libregistry0 -Summary: Windows-style registry library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libregistry0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libregistry-devel -Summary: Development files for the Samba Windows-style registry library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libregistry0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libregistry-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libregistry. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-credentials0 -Summary: Samba credential management library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsamba-credentials0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-credentials-devel -Summary: Development files for the Samba credential management library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsamba-credentials0 = %{version} - -%description -n libsamba-credentials-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsamba-credentials. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-hostconfig0 -Summary: Host-wide Samba configuration library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsamba-hostconfig0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-hostconfig-devel -Summary: Development files for the host-wide Samba configuration library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsamba-hostconfig0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libsamba-hostconfig-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsamba-hostconfig. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-passdb0 -Summary: Samba3 password database library -License: GPL-3.0+ -Group: System/Libraries -Obsoletes: libpdb0 < %{version} - -%description -n libsamba-passdb0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-passdb-devel -Summary: Development files for the Samba3 password database library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Provides: libpdb-devel -Obsoletes: libpdb-devel -Requires: libndr-standard-devel = %{version} -Requires: libsamba-passdb0 = %{version} -Requires: libtevent-devel - -%description -n libsamba-passdb-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsamba-passdb. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-policy0 -Summary: Active Directory Group Policy library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsamba-policy0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-policy-devel -Summary: Development files for the Samba AD Group Policy library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsamba-policy0 = %{version} - -%description -n libsamba-policy-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsamba-policy. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-util0 -Summary: Samba utility function library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsamba-util0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamba-util-devel -Summary: Development files for the Samba utility function library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsamba-util0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libsamba-util-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsamba-util. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamdb0 -Summary: Samba's SAM database library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsamdb0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsamdb-devel -Summary: Development files for Samba's SAM database library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsamdb0 = %{version} - -%description -n libsamdb-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsamdb. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsmbclient-raw0 -Summary: Samba4's raw SMB client library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsmbclient-raw0 - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsmbclient-raw-devel -Summary: Development files for Samba4's raw SMB client library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsmbclient-raw0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libsmbclient-raw-devel -This subpackage contains libraries and header files for developing -applications that want to make use of libsmbclient-raw. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsmbconf0 -Summary: Samba3 configuration library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsmbconf0 -libsmbconf is a library to read or, based on the backend, modify the -Samba configuration. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsmbconf-devel -Summary: Development files for the Samba3 configuration library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsmbconf0 = %{version} - -%description -n libsmbconf-devel -libsmbconf is a library to read or, based on the backend, modify the -Samba configuration. - -This subpackage contains libraries and header files for developing -applications that want to make use of libsmbconf. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsmbldap0 -Summary: Samba LDAP protocol helper function library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libsmbldap0 -libsmbldap contains LDAP protocol helper functions for Samba. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libsmbldap-devel -Summary: Development files for the smbldap library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsmbldap0 = %{version} -Requires: libtalloc-devel -Requires: libtevent-devel -Requires: openldap2-devel - -%description -n libsmbldap-devel -libsmbldap contains LDAP protocol helper functions for Samba. - -This subpackage contains libraries and header files for developing -applications that want to make use of libsmbldap. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libtevent-util0 -Summary: Samba tevent <-> system status code conversion utility library -License: GPL-3.0+ -Group: System/Libraries - -%description -n libtevent-util0 -The libtevent-util library contains functions to convert tevent error -codes to platform-specific (errno, NTSTATUS, WERROR) ones. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libtevent-util-devel -Summary: Development files for the Samba tevent utility library -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libtevent-devel -Requires: libtevent-util0 = %{version} -Requires: samba-core-devel = %{version} - -%description -n libtevent-util-devel -The libtevent-util library contains functions to convert tevent error -codes to platform-specific (errno, NTSTATUS, WERROR) ones. - -This subpackage contains libraries and header files for developing -applications that want to make use of libtevent-util. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - %package -n %{libsmbclient_name} %if 0%{?suse_version} > 1030 Provides: libsmbclient = %{version} @@ -1075,34 +568,6 @@ Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} -%package -n %{libnetapi_name} -Summary: Samba netapi Library -License: GPL-3.0+ -Group: System/Libraries -PreReq: /sbin/ldconfig - -%description -n %{libnetapi_name} -This package includes the netapi library. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package -n libnetapi-devel -Summary: Libraries and Header Files to Develop Programs with netapi Support -License: GPL-3.0+ -Group: Development/Libraries/C and C++ -BuildRequires: %{pkgconfig_req} -Requires: %{libnetapi_name} = %{version} - -%description -n libnetapi-devel -This package contains the static libraries and header files needed to -develop programs which make use of the netapi programming interface. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - %package -n %{libwbclient_name} Summary: Samba libwbclient Library License: LGPL-3.0+ @@ -1200,6 +665,7 @@ CONFIGURE_OPTIONS="\ --localstatedir=%{_localstatedir} \ --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} \ + --libexecdir=%{_libdir} \ --with-cachedir=%{LOCKDIR} \ --with-lockdir=%{LOCKDIR}/lock \ --with-logfilebase=%{LOGDIR} \ @@ -1304,6 +770,7 @@ mkdir %{buildroot}/%{_defaultdocdir}/ctdb for file in README COPYING NEWS doc/examples doc/*.html doc/readonlyrecords.txt doc/recovery-process.txt ; do cp -a ctdb/${file} %{buildroot}/%{_defaultdocdir}/ctdb done +touch %{buildroot}/%{_sysconfdir}/ctdb/nodes # sudo can be used by statd-callout, but is not needed rm ${RPM_BUILD_ROOT}/%{_sysconfdir}/sudoers.d/ctdb @@ -1450,12 +917,6 @@ done # cups SMB support mkdir -p %{buildroot}/%{cups_lib_dir}/backend/ touch %{buildroot}/%{cups_lib_dir}/backend/smb -# pam_smbpass is missing -cp -a source3/pam_smbpass/samples examples/pam_smbpass -install -m 0644 source3/pam_smbpass/CHANGELOG examples/pam_smbpass/CHANGELOG -install -m 0644 source3/pam_smbpass/INSTALL examples/pam_smbpass/INSTALL -install -m 0644 source3/pam_smbpass/README examples/pam_smbpass/README -install -m 0644 source3/pam_smbpass/TODO examples/pam_smbpass/TODO mv COPYING README Roadmap WHATSNEW.txt %{buildroot}/%{DOCDIR}/ cp -a docs/* %{buildroot}/%{DOCDIR} rmdir "%{buildroot}/%{DOCBOOKDIR}" @@ -1592,50 +1053,8 @@ fi /sbin/ldconfig %{?insserv_cleanup:%{insserv_cleanup}} -%post -n libdcerpc-atsvc0 -p /sbin/ldconfig -%postun -n libdcerpc-atsvc0 -p /sbin/ldconfig -%post -n libdcerpc-binding0 -p /sbin/ldconfig -%postun -n libdcerpc-binding0 -p /sbin/ldconfig -%post -n libdcerpc-samr0 -p /sbin/ldconfig -%postun -n libdcerpc-samr0 -p /sbin/ldconfig -%post -n libdcerpc0 -p /sbin/ldconfig -%postun -n libdcerpc0 -p /sbin/ldconfig -%post -n libgensec0 -p /sbin/ldconfig -%postun -n libgensec0 -p /sbin/ldconfig -%post -n libndr-krb5pac0 -p /sbin/ldconfig -%postun -n libndr-krb5pac0 -p /sbin/ldconfig -%post -n libndr-nbt0 -p /sbin/ldconfig -%postun -n libndr-nbt0 -p /sbin/ldconfig -%post -n libndr-standard0 -p /sbin/ldconfig -%postun -n libndr-standard0 -p /sbin/ldconfig -%post -n libndr0 -p /sbin/ldconfig -%postun -n libndr0 -p /sbin/ldconfig -%post -n %{libnetapi_name} -p /sbin/ldconfig -%postun -n %{libnetapi_name} -p /sbin/ldconfig -%post -n libregistry0 -p /sbin/ldconfig -%postun -n libregistry0 -p /sbin/ldconfig -%post -n libsamba-credentials0 -p /sbin/ldconfig -%postun -n libsamba-credentials0 -p /sbin/ldconfig -%post -n libsamba-hostconfig0 -p /sbin/ldconfig -%postun -n libsamba-hostconfig0 -p /sbin/ldconfig -%post -n libsamba-passdb0 -p /sbin/ldconfig -%postun -n libsamba-passdb0 -p /sbin/ldconfig -%post -n libsamba-policy0 -p /sbin/ldconfig -%postun -n libsamba-policy0 -p /sbin/ldconfig -%post -n libsamba-util0 -p /sbin/ldconfig -%postun -n libsamba-util0 -p /sbin/ldconfig -%post -n libsamdb0 -p /sbin/ldconfig -%postun -n libsamdb0 -p /sbin/ldconfig -%post -n libsmbclient-raw0 -p /sbin/ldconfig -%postun -n libsmbclient-raw0 -p /sbin/ldconfig -%post -n libsmbconf0 -p /sbin/ldconfig -%postun -n libsmbconf0 -p /sbin/ldconfig -%post -n libsmbldap0 -p /sbin/ldconfig -%postun -n libsmbldap0 -p /sbin/ldconfig -%post -n libtevent-util0 -p /sbin/ldconfig -%postun -n libtevent-util0 -p /sbin/ldconfig -%post -n %{libwbclient_name} -p /sbin/ldconfig -%postun -n %{libwbclient_name} -p /sbin/ldconfig +%post client-libs -p /sbin/ldconfig +%postun client-libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %post pidl -p /sbin/ldconfig @@ -1738,6 +1157,8 @@ exit 0 %post -n %{libsmbclient_name} -p /sbin/ldconfig %postun -n %{libsmbclient_name} -p /sbin/ldconfig +%post -n %{libwbclient_name} -p /sbin/ldconfig +%postun -n %{libwbclient_name} -p /sbin/ldconfig %clean [ x"%{buildroot}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "%{buildroot}" @@ -1766,7 +1187,6 @@ fi %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server %endif -/%{_lib}/security/pam_smbpass.so %dir %{_libdir}/samba %dir %{_libdir}/samba/vfs %{_libdir}/samba/auth @@ -1781,7 +1201,6 @@ fi %{_sbindir}/rcnmb %{_sbindir}/rcsmb %{_sbindir}/smbd -%{_bindir}/smbta-util %if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d @@ -1794,7 +1213,6 @@ fi %{_mandir}/man5/smbpasswd.5.* %{_mandir}/man8/nmbd.8.* %{_mandir}/man8/smbd.8.* -%{_mandir}/man8/smbta-util.8.* %{_mandir}/man8/vfs_acl_tdb.8.* %{_mandir}/man8/vfs_acl_xattr.8.* %{_mandir}/man8/vfs_aio_fork.8.* @@ -1820,16 +1238,15 @@ fi %{_mandir}/man8/vfs_linux_xfs_sgid.8.* %{_mandir}/man8/vfs_media_harmony.8.* %{_mandir}/man8/vfs_netatalk.8.* +%{_mandir}/man8/vfs_offline.8.* %{_mandir}/man8/vfs_prealloc.8.* %{_mandir}/man8/vfs_preopen.8.* %{_mandir}/man8/vfs_readahead.8.* %{_mandir}/man8/vfs_readonly.8.* %{_mandir}/man8/vfs_recycle.8.* -%{_mandir}/man8/vfs_scannedonly.8.* %{_mandir}/man8/vfs_shadow_copy.8.* %{_mandir}/man8/vfs_shadow_copy2.8.* %{_mandir}/man8/vfs_shell_snap.8.* -%{_mandir}/man8/vfs_smb_traffic_analyzer.8.* %{_mandir}/man8/vfs_snapper.8.* %{_mandir}/man8/vfs_streams_depot.8.* %{_mandir}/man8/vfs_streams_xattr.8.* @@ -1901,7 +1318,6 @@ fi %{_bindir}/smbpasswd %{_bindir}/smbprngenpdf %{_bindir}/smbspool -%{_bindir}/smbspool_krb5_wrapper %{_bindir}/smbtar %{_bindir}/smbtree %{_bindir}/testparm @@ -1911,6 +1327,7 @@ fi %{_libdir}/libnss_wins.so.* %dir %{_libdir}/samba %{_libdir}/samba/charset +%{_libdir}/samba/smbspool_krb5_wrapper %{_mandir}/man1/dbwrap_tool.1.* %exclude %doc %{_mandir}/man1/findsmb.1.* %{_mandir}/man1/log2pcap.1.* @@ -1936,6 +1353,7 @@ fi %{_mandir}/man5/smb.conf.5.* %{_mandir}/man5/smbgetrc.5.* %{_mandir}/man7/samba.7.* +%{_mandir}/man8/cifsdd.8.* %{_mandir}/man8/eventlogadm.8.* %{_mandir}/man8/net.8.* %{_mandir}/man8/pdbedit.8.* @@ -1961,110 +1379,51 @@ fi %dir %{_tmpfilesdir} %{_tmpfilesdir}/samba.conf %endif -%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 -%files core-devel -%defattr(-,root,root) -%{_includedir}/samba -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/charset.h -%dir %_includedir/samba-4.0/core/ -%_includedir/samba-4.0/core/doserr.h -%_includedir/samba-4.0/core/error.h -%_includedir/samba-4.0/core/ntstatus.h -%_includedir/samba-4.0/core/hresult.h -%_includedir/samba-4.0/core/werror.h -%_includedir/samba-4.0/domain_credentials.h -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/auth.h -%_includedir/samba-4.0/gen_ndr/dcerpc.h -%_includedir/samba-4.0/gen_ndr/drsblobs.h -%_includedir/samba-4.0/gen_ndr/drsuapi.h -%_includedir/samba-4.0/gen_ndr/ndr_dcerpc.h -%_includedir/samba-4.0/gen_ndr/ndr_drsblobs.h -%_includedir/samba-4.0/gen_ndr/ndr_drsuapi.h -%_includedir/samba-4.0/gen_ndr/ndr_svcctl_c.h -%_includedir/samba-4.0/gen_ndr/security.h -%_includedir/samba-4.0/gen_ndr/server_id.h -%_includedir/samba-4.0/ldap-util.h -%_includedir/samba-4.0/ldap_errors.h -%_includedir/samba-4.0/ldap_message.h -%_includedir/samba-4.0/ldap_ndr.h -%_includedir/samba-4.0/ldb_wrap.h -%dir %_includedir/samba-4.0/ndr/ -%_includedir/samba-4.0/ndr/ndr_dcerpc.h -%_includedir/samba-4.0/ndr/ndr_drsblobs.h -%_includedir/samba-4.0/ndr/ndr_drsuapi.h -%_includedir/samba-4.0/ndr/ndr_svcctl.h -%_includedir/samba-4.0/read_smb.h -%_includedir/samba-4.0/roles.h -%_includedir/samba-4.0/rpc_common.h -%dir %_includedir/samba-4.0/samba/ -%_includedir/samba-4.0/samba/session.h -%_includedir/samba-4.0/samba/version.h -%_includedir/samba-4.0/share.h -%_includedir/samba-4.0/smb2.h -%_includedir/samba-4.0/smb2_constants.h -%_includedir/samba-4.0/smb2_create_blob.h -%_includedir/samba-4.0/smb2_lease.h -%_includedir/samba-4.0/smb2_lease_struct.h -%_includedir/samba-4.0/smb2_signing.h -%_includedir/samba-4.0/smb_cli.h -%_includedir/samba-4.0/smb_common.h -%_includedir/samba-4.0/smb_composite.h -%_includedir/samba-4.0/smb_constants.h -%_includedir/samba-4.0/smb_seal.h -%_includedir/samba-4.0/smb_signing.h -%_includedir/samba-4.0/smb_unix_ext.h -%_includedir/samba-4.0/smb_util.h -%_includedir/samba-4.0/tdr.h -%_includedir/samba-4.0/tsocket.h -%_includedir/samba-4.0/tsocket_internal.h -%_includedir/samba-4.0/tstream_smbXcli_np.h -%dir %_includedir/samba-4.0/util/ -%_includedir/samba-4.0/util/genrand.h -%_includedir/samba-4.0/util/idtree.h -%_includedir/samba-4.0/util/idtree_random.h -%_includedir/samba-4.0/util_ldb.h -%{_libdir}/libnss_winbind.so -%{_libdir}/libnss_wins.so -%endif - -%files libs +%files client-libs %defattr(-,root,root) +%{_libdir}/libdcerpc-binding.so.* +%{_libdir}/libdcerpc.so.* +%{_libdir}/libndr-krb5pac.so.* +%{_libdir}/libndr-nbt.so.* +%{_libdir}/libndr.so.* +%{_libdir}/libndr-standard.so.* +%{_libdir}/libnetapi.so.* +%{_libdir}/libsamba-credentials.so.* +%{_libdir}/libsamba-errors.so.* +%{_libdir}/libsamba-hostconfig.so.* +%{_libdir}/libsamba-passdb.so.* +%{_libdir}/libsamba-util.so.* +%{_libdir}/libsamdb.so.* +%{_libdir}/libsmbconf.so.* +%{_libdir}/libsmbldap.so.* +%{_libdir}/libtevent-unix-util.so.* +%{_libdir}/libtevent-util.so.* %dir %{_libdir}/samba -%{_libdir}/samba/libCHARSET3-samba4.so -%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so -%{_libdir}/samba/libMESSAGING-samba4.so %{_libdir}/samba/libaddns-samba4.so %{_libdir}/samba/libads-samba4.so %{_libdir}/samba/libasn1util-samba4.so -%{_libdir}/samba/libauth-samba4.so -%{_libdir}/samba/libauth4-samba4.so -%{_libdir}/samba/libauth-sam-reply-samba4.so -%{_libdir}/samba/libauth-unix-token-samba4.so %{_libdir}/samba/libauthkrb5-samba4.so +%{_libdir}/samba/libauth-samba4.so +%{_libdir}/samba/libauth-sam-reply-samba4.so +%{_libdir}/samba/libCHARSET3-samba4.so +%{_libdir}/samba/libcliauth-samba4.so +%{_libdir}/samba/libcli-cldap-samba4.so %{_libdir}/samba/libcli-ldap-common-samba4.so %{_libdir}/samba/libcli-ldap-samba4.so %{_libdir}/samba/libcli-nbt-samba4.so -%{_libdir}/samba/libcli-cldap-samba4.so %{_libdir}/samba/libcli-smb-common-samba4.so %{_libdir}/samba/libcli-spoolss-samba4.so -%{_libdir}/samba/libcliauth-samba4.so -%{_libdir}/samba/libcluster-samba4.so %{_libdir}/samba/libcmdline-credentials-samba4.so %{_libdir}/samba/libdbwrap-samba4.so %{_libdir}/samba/libdcerpc-samba-samba4.so -%{_libdir}/samba/libdcerpc-samba4.so -%{_libdir}/samba/libdsdb-module-samba4.so -%{_libdir}/samba/liberrors-samba4.so %{_libdir}/samba/libevents-samba4.so %{_libdir}/samba/libflag-mapping-samba4.so %{_libdir}/samba/libgenrand-samba4.so +%{_libdir}/samba/libgensec-samba4.so %{_libdir}/samba/libgpo-samba4.so %{_libdir}/samba/libgse-samba4.so %{_libdir}/samba/libhttp-samba4.so -%{_libdir}/samba/libidmap-samba4.so %{_libdir}/samba/libinterfaces-samba4.so %{_libdir}/samba/libiov-buf-samba4.so %{_libdir}/samba/libkrb5samba-samba4.so @@ -2076,46 +1435,191 @@ fi %{_libdir}/samba/libmessages-util-samba4.so %{_libdir}/samba/libmsghdr-samba4.so %{_libdir}/samba/libmsrpc3-samba4.so -%{_libdir}/samba/libndr-samba-samba4.so %{_libdir}/samba/libndr-samba4.so -%{_libdir}/samba/libnet-keytab-samba4.so +%{_libdir}/samba/libndr-samba-samba4.so %{_libdir}/samba/libnetif-samba4.so -%{_libdir}/samba/libnon-posix-acls-samba4.so +%{_libdir}/samba/libnet-keytab-samba4.so %{_libdir}/samba/libnpa-tstream-samba4.so -%{_libdir}/samba/libnss-info-samba4.so -%{_libdir}/samba/libpopt-samba3-samba4.so %{_libdir}/samba/libprinting-migrate-samba4.so +%{_libdir}/samba/libregistry-samba4.so %{_libdir}/samba/libreplace-samba4.so +%{_libdir}/samba/libsamba3-util-samba4.so %{_libdir}/samba/libsamba-cluster-support-samba4.so %{_libdir}/samba/libsamba-debug-samba4.so %{_libdir}/samba/libsamba-modules-samba4.so -%{_libdir}/samba/libsamba-net-samba4.so %{_libdir}/samba/libsamba-security-samba4.so %{_libdir}/samba/libsamba-sockets-samba4.so -%{_libdir}/samba/libsamba3-util-samba4.so -%{_libdir}/samba/libsamba-python-samba4.so %{_libdir}/samba/libsamdb-common-samba4.so %{_libdir}/samba/libsecrets3-samba4.so %{_libdir}/samba/libserver-id-db-samba4.so %{_libdir}/samba/libserver-role-samba4.so -%{_libdir}/samba/libshares-samba4.so -%{_libdir}/samba/libsmb-transport-samba4.so +%{_libdir}/samba/libsmbclient-raw-samba4.so %{_libdir}/samba/libsmbd-base-samba4.so %{_libdir}/samba/libsmbd-conn-samba4.so %{_libdir}/samba/libsmbd-shim-samba4.so %{_libdir}/samba/libsmbldaphelper-samba4.so -%{_libdir}/samba/libsmbpasswdparser-samba4.so %{_libdir}/samba/libsmbregistry-samba4.so +%{_libdir}/samba/libsmb-transport-samba4.so %{_libdir}/samba/libsocket-blocking-samba4.so %{_libdir}/samba/libsys-rw-samba4.so %{_libdir}/samba/libtalloc-report-samba4.so %{_libdir}/samba/libtdb-wrap-samba4.so %{_libdir}/samba/libtime-basic-samba4.so +%{_libdir}/samba/libtorture-samba4.so %{_libdir}/samba/libtrusts-util-samba4.so %{_libdir}/samba/libutil-cmdline-samba4.so %{_libdir}/samba/libutil-reg-samba4.so %{_libdir}/samba/libutil-setid-samba4.so %{_libdir}/samba/libutil-tdb-samba4.so + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/samba +%dir %{_includedir}/samba/nsswitch +%{_includedir}/samba/nsswitch/winbind_client.h +%{_includedir}/samba/nsswitch/winbind_nss_config.h +%{_includedir}/samba/nsswitch/winbind_nss_linux.h +%dir %{_includedir}/samba/winbindd +%{_includedir}/samba/winbindd/winbindd.h +%{_includedir}/samba/winbindd/winbindd_proto.h +%{_includedir}/samba-4.0/charset.h +%dir %{_includedir}/samba-4.0/core +%{_includedir}/samba-4.0/core/doserr.h +%{_includedir}/samba-4.0/core/error.h +%{_includedir}/samba-4.0/core/hresult.h +%{_includedir}/samba-4.0/core/ntstatus.h +%{_includedir}/samba-4.0/core/werror.h +%{_includedir}/samba-4.0/credentials.h +%{_includedir}/samba-4.0/dcerpc.h +%{_includedir}/samba-4.0/domain_credentials.h +%dir %{_includedir}/samba-4.0/gen_ndr +%{_includedir}/samba-4.0/gen_ndr/atsvc.h +%{_includedir}/samba-4.0/gen_ndr/auth.h +%{_includedir}/samba-4.0/gen_ndr/dcerpc.h +%{_includedir}/samba-4.0/gen_ndr/drsblobs.h +%{_includedir}/samba-4.0/gen_ndr/drsuapi.h +%{_includedir}/samba-4.0/gen_ndr/krb5pac.h +%{_includedir}/samba-4.0/gen_ndr/lsa.h +%{_includedir}/samba-4.0/gen_ndr/misc.h +%{_includedir}/samba-4.0/gen_ndr/nbt.h +%{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h +%{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h +%{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h +%{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h +%{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h +%{_includedir}/samba-4.0/gen_ndr/ndr_misc.h +%{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h +%{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h +%{_includedir}/samba-4.0/gen_ndr/ndr_samr.h +%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h +%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h +%{_includedir}/samba-4.0/gen_ndr/netlogon.h +%{_includedir}/samba-4.0/gen_ndr/samr.h +%{_includedir}/samba-4.0/gen_ndr/security.h +%{_includedir}/samba-4.0/gen_ndr/server_id.h +%{_includedir}/samba-4.0/gen_ndr/svcctl.h +%{_includedir}/samba-4.0/ldb_wrap.h +%{_includedir}/samba-4.0/lookup_sid.h +%{_includedir}/samba-4.0/machine_sid.h +%{_includedir}/samba-4.0/ndr.h +%dir %{_includedir}/samba-4.0/ndr +%{_includedir}/samba-4.0/ndr/ndr_dcerpc.h +%{_includedir}/samba-4.0/ndr/ndr_drsblobs.h +%{_includedir}/samba-4.0/ndr/ndr_drsuapi.h +%{_includedir}/samba-4.0/ndr/ndr_nbt.h +%{_includedir}/samba-4.0/ndr/ndr_svcctl.h +%{_includedir}/samba-4.0/netapi.h +%{_includedir}/samba-4.0/param.h +%{_includedir}/samba-4.0/passdb.h +%{_includedir}/samba-4.0/policy.h +%{_includedir}/samba-4.0/rpc_common.h +%dir %{_includedir}/samba-4.0/samba +%{_includedir}/samba-4.0/samba/session.h +%{_includedir}/samba-4.0/samba/version.h +%{_includedir}/samba-4.0/share.h +%{_includedir}/samba-4.0/smb2_lease_struct.h +%{_includedir}/samba-4.0/smbconf.h +%{_includedir}/samba-4.0/smb_ldap.h +%{_includedir}/samba-4.0/smbldap.h +%{_includedir}/samba-4.0/tdr.h +%{_includedir}/samba-4.0/tsocket.h +%{_includedir}/samba-4.0/tsocket_internal.h +%dir %{_includedir}/samba-4.0/util +%{_includedir}/samba-4.0/util/attr.h +%{_includedir}/samba-4.0/util/blocking.h +%{_includedir}/samba-4.0/util/byteorder.h +%{_includedir}/samba-4.0/util/data_blob.h +%{_includedir}/samba-4.0/util/debug.h +%{_includedir}/samba-4.0/util/fault.h +%{_includedir}/samba-4.0/util/genrand.h +%{_includedir}/samba-4.0/util/idtree.h +%{_includedir}/samba-4.0/util/idtree_random.h +%{_includedir}/samba-4.0/util_ldb.h +%{_includedir}/samba-4.0/util/memory.h +%{_includedir}/samba-4.0/util/safe_string.h +%{_includedir}/samba-4.0/util/signal.h +%{_includedir}/samba-4.0/util/string_wrappers.h +%{_includedir}/samba-4.0/util/substitute.h +%{_includedir}/samba-4.0/util/talloc_stack.h +%{_includedir}/samba-4.0/util/tevent_ntstatus.h +%{_includedir}/samba-4.0/util/tevent_unix.h +%{_includedir}/samba-4.0/util/tevent_werror.h +%{_includedir}/samba-4.0/util/time.h +%{_includedir}/samba-4.0/util/xfile.h +%{_libdir}/libdcerpc-binding.so +%{_libdir}/libdcerpc-samr.so +%{_libdir}/libdcerpc.so +%{_libdir}/libndr-krb5pac.so +%{_libdir}/libndr-nbt.so +%{_libdir}/libndr.so +%{_libdir}/libndr-standard.so +%{_libdir}/libnetapi.so +%{_libdir}/libnss_winbind.so +%{_libdir}/libnss_wins.so +%{_libdir}/libsamba-credentials.so +%{_libdir}/libsamba-errors.so +%{_libdir}/libsamba-hostconfig.so +%{_libdir}/libsamba-passdb.so +%{_libdir}/libsamba-policy.so +%{_libdir}/libsamba-util.so +%{_libdir}/libsamdb.so +%{_libdir}/libsmbconf.so +%{_libdir}/libsmbldap.so +%{_libdir}/libtevent-unix-util.so +%{_libdir}/libtevent-util.so +%{_libdir}/pkgconfig/dcerpc.pc +%{_libdir}/pkgconfig/dcerpc_samr.pc +%{_libdir}/pkgconfig/ndr_krb5pac.pc +%{_libdir}/pkgconfig/ndr_nbt.pc +%{_libdir}/pkgconfig/ndr.pc +%{_libdir}/pkgconfig/ndr_standard.pc +%{_libdir}/pkgconfig/netapi.pc +%{_libdir}/pkgconfig/samba-credentials.pc +%{_libdir}/pkgconfig/samba-hostconfig.pc +%{_libdir}/pkgconfig/samba-policy.pc +%{_libdir}/pkgconfig/samba-util.pc +%{_libdir}/pkgconfig/samdb.pc + +%files libs +%defattr(-,root,root) +%{_libdir}/libdcerpc-samr.so.* +%{_libdir}/libsamba-policy.so.* +%dir %{_libdir}/samba +%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so +%{_libdir}/samba/libMESSAGING-samba4.so +%{_libdir}/samba/libauth4-samba4.so +%{_libdir}/samba/libauth-unix-token-samba4.so +%{_libdir}/samba/libcluster-samba4.so +%{_libdir}/samba/libdcerpc-samba4.so +%{_libdir}/samba/libdsdb-module-samba4.so +%{_libdir}/samba/libidmap-samba4.so +%{_libdir}/samba/libnon-posix-acls-samba4.so +%{_libdir}/samba/libnss-info-samba4.so +%{_libdir}/samba/libpopt-samba3-samba4.so +%{_libdir}/samba/libsamba-net-samba4.so +%{_libdir}/samba/libsamba-python-samba4.so +%{_libdir}/samba/libshares-samba4.so +%{_libdir}/samba/libsmbpasswdparser-samba4.so %{_libdir}/samba/libwinbind-client-samba4.so %{_libdir}/samba/libxattr-tdb-samba4.so %dir %{_libdir}/samba/pdb @@ -2148,7 +1652,6 @@ fi %{_bindir}/masktest %{_bindir}/ndrdump %{_bindir}/smbtorture -%{_libdir}/libtorture.so.* %{_mandir}/man1/gentest.1.* %{_mandir}/man1/locktest.1.* %{_mandir}/man1/masktest.1.* @@ -2156,13 +1659,6 @@ fi %{_mandir}/man1/smbtorture.1.* %{_mandir}/man1/vfstest.1.* -%files test-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%{_includedir}/samba-4.0/torture.h -%{_libdir}/libtorture.so -%{_libdir}/pkgconfig/torture.pc - %files winbind -f filelist-samba-winbind %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf @@ -2231,6 +1727,7 @@ fi %{_sysconfdir}/ctdb/functions %{_sysconfdir}/ctdb/gcore_trace.sh %{_sysconfdir}/ctdb/nfs-linux-kernel-callout +%ghost %{_sysconfdir}/ctdb/nodes %{_sysconfdir}/ctdb/statd-callout %if 0%{?suse_version} > 1220 %attr(644,root,root) %{_unitdir}/ctdb.service @@ -2243,6 +1740,7 @@ fi %dir %{_sysconfdir}/ctdb/events.d %config %{_sysconfdir}/ctdb/events.d/00.ctdb %config %{_sysconfdir}/ctdb/events.d/01.reclock +%config %{_sysconfdir}/ctdb/events.d/05.system %config %{_sysconfdir}/ctdb/events.d/10.external %config %{_sysconfdir}/ctdb/events.d/10.interface %config %{_sysconfdir}/ctdb/events.d/11.natgw @@ -2254,10 +1752,8 @@ fi %config %{_sysconfdir}/ctdb/events.d/41.httpd %config %{_sysconfdir}/ctdb/events.d/50.samba %config %{_sysconfdir}/ctdb/events.d/60.nfs -%config %{_sysconfdir}/ctdb/events.d/62.cnfs %config %{_sysconfdir}/ctdb/events.d/70.iscsi %config %{_sysconfdir}/ctdb/events.d/91.lvs -%config %{_sysconfdir}/ctdb/events.d/40.fs_use %config %{_sysconfdir}/ctdb/events.d/49.winbind %config %{_sysconfdir}/ctdb/events.d/99.timeout %{_sysconfdir}/ctdb/events.d/README @@ -2275,15 +1771,18 @@ fi %{_sbindir}/ctdbd_wrapper %{_sbindir}/rcctdb %{_bindir}/ctdb -%{_bindir}/smnotify %{_bindir}/ctdb_diagnostics -%{_bindir}/ctdb_event_helper %{_bindir}/ctdb_run_cluster_tests %{_bindir}/ctdb_run_tests %{_bindir}/ltdbtool %{_bindir}/onnode %{_bindir}/ping_pong -%{_bindir}/ctdb_lock_helper +%dir %{_libdir}/ctdb +%{_libdir}/ctdb/ctdb_event_helper +%{_libdir}/ctdb/ctdb_lock_helper +%{_libdir}/ctdb/ctdb_natgw +%{_libdir}/ctdb/ctdb_recovery_helper +%{_libdir}/ctdb/smnotify %dir %{_localstatedir}/lib/ctdb %dir %{_localstatedir}/lib/ctdb/persistent %dir %{_localstatedir}/log/ctdb @@ -2304,16 +1803,6 @@ fi %{_mandir}/man7/ctdb.7.* %doc %{_defaultdocdir}/ctdb -%files -n ctdb-devel -%defattr(-,root,root) -%{_includedir}/samba-4.0/ctdb.h -%{_includedir}/samba-4.0/ctdb_client.h -%{_includedir}/samba-4.0/ctdb_private.h -%{_includedir}/samba-4.0/ctdb_protocol.h -%{_includedir}/samba-4.0/ctdb_typesafe_cb.h -%{_includedir}/samba-4.0/ctdb_version.h -%{_libdir}/pkgconfig/ctdb.pc - %if 0%{?build_ctdb_pmda} %files -n ctdb-pcp-pmda %defattr(-,root,root) @@ -2332,14 +1821,18 @@ fi %files -n ctdb-tests %defattr(-,root,root) %dir %{_libdir}/ctdb-tests +%{_libdir}/ctdb-tests/comm_client_test +%{_libdir}/ctdb-tests/comm_server_test +%{_libdir}/ctdb-tests/comm_test +%{_libdir}/ctdb-tests/db_hash_test %{_libdir}/ctdb-tests/ctdb_bench %{_libdir}/ctdb-tests/ctdb_fetch -%{_libdir}/ctdb-tests/ctdb_fetch_one +%{_libdir}/ctdb-tests/ctdb_fetch_one %{_libdir}/ctdb-tests/ctdb_fetch_readonly_loop %{_libdir}/ctdb-tests/ctdb_fetch_readonly_once %{_libdir}/ctdb-tests/ctdb_functest %{_libdir}/ctdb-tests/ctdb_lock_tdb -%{_libdir}/ctdb-tests/ctdb_persistent +%{_libdir}/ctdb-tests/ctdb_persistent %{_libdir}/ctdb-tests/ctdb_porting_tests %{_libdir}/ctdb-tests/ctdb_randrec %{_libdir}/ctdb-tests/ctdb_store @@ -2350,7 +1843,13 @@ fi %{_libdir}/ctdb-tests/ctdb_traverse %{_libdir}/ctdb-tests/ctdb_update_record %{_libdir}/ctdb-tests/ctdb_update_record_persistent +%{_libdir}/ctdb-tests/pkt_read_test +%{_libdir}/ctdb-tests/pkt_write_test +%{_libdir}/ctdb-tests/protocol_client_test +%{_libdir}/ctdb-tests/protocol_types_test %{_libdir}/ctdb-tests/rb_test +%{_libdir}/ctdb-tests/reqid_test +%{_libdir}/ctdb-tests/srvid_test %dir %{_datadir}/ctdb-tests %dir %{_datadir}/ctdb-tests/eventscripts %dir %{_datadir}/ctdb-tests/eventscripts/etc-ctdb @@ -2359,233 +1858,16 @@ fi %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-checks.d %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-linux-kernel-callout %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/statd-callout +%dir %{_datadir}/ctdb-tests/onnode +%{_datadir}/ctdb-tests/onnode/functions %dir %{_datadir}/ctdb-tests/scripts %{_datadir}/ctdb-tests/scripts/common.sh %{_datadir}/ctdb-tests/scripts/integration.bash %{_datadir}/ctdb-tests/scripts/test_wrap %{_datadir}/ctdb-tests/scripts/unit.sh - -%files -n libdcerpc-atsvc0 -%defattr(-,root,root) -%_libdir/libdcerpc-atsvc.so.0* - -%files -n libdcerpc-atsvc-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/ndr_atsvc_c.h -%_libdir/libdcerpc-atsvc.so -%_libdir/pkgconfig/dcerpc_atsvc.pc - -%files -n libdcerpc-binding0 -%defattr(-,root,root) -%_libdir/libdcerpc-binding.so.0* - -%files -n libdcerpc-samr0 -%defattr(-,root,root) -%_libdir/libdcerpc-samr.so.0* - -%files -n libdcerpc-samr-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/ndr_samr_c.h -%_libdir/libdcerpc-samr.so -%_libdir/pkgconfig/dcerpc_samr.pc - -%files -n libdcerpc0 -%defattr(-,root,root) -%_libdir/libdcerpc.so.0* - -%files -n libdcerpc-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/dcerpc.h -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/epmapper.h -%_includedir/samba-4.0/gen_ndr/mgmt.h -%_includedir/samba-4.0/gen_ndr/ndr_mgmt.h -%_includedir/samba-4.0/gen_ndr/ndr_mgmt_c.h -%_includedir/samba-4.0/gen_ndr/ndr_epmapper.h -%_includedir/samba-4.0/gen_ndr/ndr_epmapper_c.h -%_libdir/libdcerpc.so -%_libdir/libdcerpc-binding.so -%_libdir/pkgconfig/dcerpc.pc - -%files -n libgensec0 -%defattr(-,root,root) -%_libdir/libgensec.so.0* - -%files -n libgensec-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/gensec.h -%_libdir/libgensec.so -%_libdir/pkgconfig/gensec.pc - -%files -n libndr-krb5pac0 -%defattr(-,root,root) -%_libdir/libndr-krb5pac.so.0* - -%files -n libndr-krb5pac-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/krb5pac.h -%_includedir/samba-4.0/gen_ndr/ndr_krb5pac.h -%_libdir/libndr-krb5pac.so -%_libdir/pkgconfig/ndr_krb5pac.pc - -%files -n libndr-nbt0 -%defattr(-,root,root) -%_libdir/libndr-nbt.so.0* - -%files -n libndr-nbt-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/nbt.h -%_includedir/samba-4.0/gen_ndr/ndr_nbt.h -%dir %_includedir/samba-4.0/ndr/ -%_includedir/samba-4.0/ndr/ndr_nbt.h -%_libdir/libndr-nbt.so -%_libdir/pkgconfig/ndr_nbt.pc - -%files -n libndr-standard0 -%defattr(-,root,root) -%_libdir/libndr-standard.so.0* - -%files -n libndr-standard-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/samr.h -%_includedir/samba-4.0/gen_ndr/ndr_samr.h -%_includedir/samba-4.0/gen_ndr/lsa.h -%_includedir/samba-4.0/gen_ndr/netlogon.h -%_includedir/samba-4.0/gen_ndr/atsvc.h -%_includedir/samba-4.0/gen_ndr/ndr_atsvc.h -%_includedir/samba-4.0/gen_ndr/ndr_svcctl.h -%_includedir/samba-4.0/gen_ndr/svcctl.h -%_libdir/libndr-standard.so -%_libdir/pkgconfig/ndr_standard.pc - -%files -n libndr0 -%defattr(-,root,root) -%_libdir/libndr.so.0* - -%files -n libndr-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/gen_ndr/ -%_includedir/samba-4.0/gen_ndr/misc.h -%_includedir/samba-4.0/gen_ndr/ndr_misc.h -%_includedir/samba-4.0/ndr.h -%_libdir/libndr.so -%_libdir/pkgconfig/ndr.pc - -%files -n %{libnetapi_name} -%defattr(-,root,root) -%{_libdir}/libnetapi.so.* - -%files -n libnetapi-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%{_includedir}/samba-4.0/netapi.h -%{_libdir}/libnetapi.so -%{_libdir}/pkgconfig/netapi.pc - -%files -n libregistry0 -%defattr(-,root,root) -%_libdir/libregistry.so.0* - -%files -n libregistry-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/registry.h -%_libdir/libregistry.so -%_libdir/pkgconfig/registry.pc - -%files -n libsamba-credentials0 -%defattr(-,root,root) -%_libdir/libsamba-credentials.so.0* - -%files -n libsamba-credentials-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/credentials.h -%_libdir/libsamba-credentials.so -%_libdir/pkgconfig/samba-credentials.pc - -%files -n libsamba-hostconfig0 -%defattr(-,root,root) -%_libdir/libsamba-hostconfig.so.0* - -%files -n libsamba-hostconfig-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/param.h -%_libdir/libsamba-hostconfig.so -%_libdir/pkgconfig/samba-hostconfig.pc - -%files -n libsamba-passdb0 -%defattr(-,root,root) -%_libdir/libsamba-passdb.so.0* - -%files -n libsamba-passdb-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/lookup_sid.h -%_includedir/samba-4.0/machine_sid.h -%_includedir/samba-4.0/passdb.h -%_libdir/libsamba-passdb.so - -%files -n libsamba-policy0 -%defattr(-,root,root) -%_libdir/libsamba-policy.so.0* - -%files -n libsamba-policy-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/policy.h -%_libdir/libsamba-policy.so -%_libdir/pkgconfig/samba-policy.pc - -%files -n libsamba-util0 -%defattr(-,root,root) -%_libdir/libsamba-util.so.0* - -%files -n libsamba-util-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/dlinklist.h -%_includedir/samba-4.0/samba_util.h -%dir %_includedir/samba-4.0/util/ -%_includedir/samba-4.0/util/attr.h -%_includedir/samba-4.0/util/blocking.h -%_includedir/samba-4.0/util/byteorder.h -%_includedir/samba-4.0/util/data_blob.h -%_includedir/samba-4.0/util/debug.h -%_includedir/samba-4.0/util/fault.h -%_includedir/samba-4.0/util/memory.h -%_includedir/samba-4.0/util/safe_string.h -%_includedir/samba-4.0/util/signal.h -%_includedir/samba-4.0/util/string_wrappers.h -%_includedir/samba-4.0/util/substitute.h -%_includedir/samba-4.0/util/talloc_stack.h -%_includedir/samba-4.0/util/time.h -%_includedir/samba-4.0/util/xfile.h -%_libdir/libsamba-util.so -%_libdir/pkgconfig/samba-util.pc - -%files -n libsamdb0 -%defattr(-,root,root) -%_libdir/libsamdb.so.0* - -%files -n libsamdb-devel -%defattr(-,root,root) -%_libdir/libsamdb.so -%_libdir/pkgconfig/samdb.pc +%dir %{_datadir}/ctdb-tests/simple +%{_datadir}/ctdb-tests/simple/functions +%{_datadir}/ctdb-tests/simple/nodes %files -n %{libsmbclient_name} %defattr(-,root,root) @@ -2599,56 +1881,6 @@ fi %{_libdir}/pkgconfig/smbclient.pc %{_mandir}/man7/libsmbclient.7.* -%files -n libsmbclient-raw0 -%defattr(-,root,root) -%_libdir/libsmbclient-raw.so.0* - -%files -n libsmbclient-raw-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/smb_cliraw.h -%_includedir/samba-4.0/smb_raw.h -%_includedir/samba-4.0/smb_raw_interfaces.h -%_includedir/samba-4.0/smb_raw_signing.h -%_includedir/samba-4.0/smb_raw_trans2.h -%_includedir/samba-4.0/smb_request.h -%_libdir/libsmbclient-raw.so -%_libdir/pkgconfig/smbclient-raw.pc - -%files -n libsmbconf0 -%defattr(-,root,root) -%_libdir/libsmbconf.so.0* - -%files -n libsmbconf-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/smbconf.h -%_libdir/libsmbconf.so - -%files -n libsmbldap0 -%defattr(-,root,root) -%_libdir/libsmbldap.so.0* - -%files -n libsmbldap-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%_includedir/samba-4.0/smbldap.h -%_includedir/samba-4.0/smb_ldap.h -%_libdir/libsmbldap.so - -%files -n libtevent-util0 -%defattr(-,root,root) -%_libdir/libtevent-util.so.0* - -%files -n libtevent-util-devel -%defattr(-,root,root) -%dir %_includedir/samba-4.0/ -%dir %_includedir/samba-4.0/util/ -%_includedir/samba-4.0/util/tevent_ntstatus.h -%_includedir/samba-4.0/util/tevent_unix.h -%_includedir/samba-4.0/util/tevent_werror.h -%_libdir/libtevent-util.so - %files -n %{libwbclient_name} %defattr(-,root,root) %{_libdir}/libwbclient.so.* diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 0f128d1..5edab43 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a21fb0add8db9460a63b75efaab247a7a77f3c91e12a98966039a5c1483dea2 -size 55180 +oid sha256:fbb5ffdf5309453107e06ce624394138b50bc9ea6ee0d9ef4dfbc3a1d84bb491 +size 56022 From 47844ba3996a30fe53ef2586f507ab8fd404644fd981855113c4f28700e332ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Tue, 22 Mar 2016 19:19:46 +0000 Subject: [PATCH 2/6] Obsolete libsmbclient from libsmbclient0 while not providing it; (bsc#972197). OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=535 --- patches.tar.bz2 | 4 ++-- samba.changes | 6 ++++++ samba.spec | 5 ++--- vendor-files.tar.bz2 | 4 ++-- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/patches.tar.bz2 b/patches.tar.bz2 index 9f6de3b..a23fb51 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:215a84a07f5fb116ce689f8242d3d6cca6051243c60329888d4e0e373e923ce9 -size 19398 +oid sha256:ab646ff70d280969364bd8ea3f70bc2acbe1ea618c500b6183ce7765c77bb920 +size 19419 diff --git a/samba.changes b/samba.changes index 46f497c..9673d4a 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 22 17:36:01 UTC 2016 - lmuelle@suse.com + +- Obsolete libsmbclient from libsmbclient0 while not providing it; + (bsc#972197). + ------------------------------------------------------------------- Tue Mar 22 14:00:05 UTC 2016 - lmuelle@suse.com diff --git a/samba.spec b/samba.spec index ee1a93c..232223c 100644 --- a/samba.spec +++ b/samba.spec @@ -141,7 +141,7 @@ BuildRequires: libpcp-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3625 +%define SOURCE_TIMESTAMP 3628 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 @@ -535,8 +535,7 @@ Test suite for clustered database (CTDB). %package -n %{libsmbclient_name} %if 0%{?suse_version} > 1030 -Provides: libsmbclient = %{version} -Obsoletes: libsmbclient +Obsoletes: libsmbclient < %{version} %endif Summary: Samba Client Library License: GPL-3.0+ diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 5edab43..7bac81b 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fbb5ffdf5309453107e06ce624394138b50bc9ea6ee0d9ef4dfbc3a1d84bb491 -size 56022 +oid sha256:2c842a473d8343a579b4bf733c6bb3898061d5ff5293254ce29633c856cfd316 +size 56046 From 8e67baa938647242112390d2e61e05b1f980ac11e23215375f00e0dbb1ea3d5e Mon Sep 17 00:00:00 2001 From: James McDonough Date: Wed, 13 Apr 2016 11:59:31 +0000 Subject: [PATCH 3/6] Accepting request 389361 from home:jmcdough:branches:network:samba:STABLE Update to 4.4.2 for badlock OBS-URL: https://build.opensuse.org/request/show/389361 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=536 --- patches.tar.bz2 | 4 +- samba-4.4.2.tar.asc | 7 +++ samba-4.4.2.tar.gz | 3 ++ samba.changes | 19 ++++++++ samba.keyring | 101 +++++++++++++------------------------------ samba.spec | 6 +-- vendor-files.tar.bz2 | 4 +- 7 files changed, 65 insertions(+), 79 deletions(-) create mode 100644 samba-4.4.2.tar.asc create mode 100644 samba-4.4.2.tar.gz diff --git a/patches.tar.bz2 b/patches.tar.bz2 index a23fb51..4aff534 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ab646ff70d280969364bd8ea3f70bc2acbe1ea618c500b6183ce7765c77bb920 -size 19419 +oid sha256:6ddfa00c9c8413dfdc4fc247d069239b5c2cc194e139bd1d6e1abd6cdca30753 +size 41306 diff --git a/samba-4.4.2.tar.asc b/samba-4.4.2.tar.asc new file mode 100644 index 0000000..89071e7 --- /dev/null +++ b/samba-4.4.2.tar.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iD8DBQBXC2ZibzORW2Vot+oRAj2SAJ9gPCujAn6JXdCj8TdphYo78IrCogCbBguQ +Sqly5PBxG/A3+bdMPE13NlY= +=MyvL +-----END PGP SIGNATURE----- diff --git a/samba-4.4.2.tar.gz b/samba-4.4.2.tar.gz new file mode 100644 index 0000000..43766a9 --- /dev/null +++ b/samba-4.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eaecd41a85ebb9507b8db9856ada2a949376e9d53cf75664b5493658f6e5926a +size 20711230 diff --git a/samba.changes b/samba.changes index 9673d4a..dcd6f06 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat Apr 9 21:36:02 UTC 2016 - jmcdonough@suse.com + +- Update to 4.4.2 + + A man-in-the-middle can downgrade NTLMSSP authentication; + CVE-2016-2110; (bso#11688); (bsc#973031). + + Domain controller netlogon member computer can be spoofed; + CVE-2016-2111; (bso#11749); (bsc#973032). + + LDAP conenctions vulnerable to downgrade and MITM attack; + CVE-2016-2112; (bso#11644); (bsc#973033). + + TLS certificate validation missing; CVE-2016-2113; (bso#11752); + (bsc#973034). + + Named pipe IPC vulnerable to MITM attacks; CVE-2016-2115; + (bso#11756); (bsc#973036). + + "Badlock" DCERPC impersonation of authenticated account possible; + CVE-2016-2118; (bso#11804); (bsc#971965). + + DCERPC server and client vulnerable to DOS and MITM attacks; + CVE-2015-5370; (bso#11344); (bsc#936862). + ------------------------------------------------------------------- Tue Mar 22 17:36:01 UTC 2016 - lmuelle@suse.com diff --git a/samba.keyring b/samba.keyring index fa0cabf..572aa5f 100644 --- a/samba.keyring +++ b/samba.keyring @@ -1,5 +1,8 @@ +pub 1024D/6568B7EA 2007-02-04 [expires: 2014-02-25] +uid Samba Distribution Verification Key +sub 2048g/DA6DFB44 2007-02-04 [expires: 2014-02-25] -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v2 +Version: GnuPG v1.4.11 (GNU/Linux) mQGiBEXGOUcRBACooMht/2pmNT3bKZn1WEFQa+sXe6nxi3G6lH5bIBUKp85SDM57 4qTcBIJXhwfGABeSvyUdZJbBxJDD5bNiO4k+Y5j3t8t9hb2FKgJ1bXL2aO5BbFnJ @@ -11,75 +14,29 @@ JMZABACis5ms470DH3OwU7b32lDDLFWlwGEQX+OKQealhYgz3hdIzO+cm6Gz0/z1 YGl8oV0dc1tG2EfsndDx7QRwrBoxahfsgClN4K8HLtbBy1Ox9kZn+hr1yNEaPdko +W5bC96Wo2RqnSP09qJ5/tp6rXXCLIgF/+PeCJtP31MaMP0Jo7Q6U2FtYmEgRGlz dHJpYnV0aW9uIFZlcmlmaWNhdGlvbiBLZXkgPHNhbWJhLWJ1Z3NAc2FtYmEub3Jn -PohGBBARAgAGBQJFxjl1AAoJEFzV2gcVe8leqE8AoJ0hBQrNqQMFuS1NtgH1Q8If -XuQJAJ9pNHUaBo9lC/ybOKr397AahMOK64hGBBARAgAGBQJFxjnGAAoJECEe6jHY -NRH2cgwAoMr0VwJldF1IR9b2zTBBvfrBV2gsAKDkE7JNfYty7stz8PtYA2lHgs3i -3YhmBBMRAgAmBQJFxjlHAhsDBQkB4TOABgsJCAcDAgQVAggDBBYCAwECHgECF4AA -CgkQbzORW2Vot+oV+QCfVPubkZlw6Cfv6+/ilYvWJGBV8fwAn1RnIWttHky6/MZj -dc00LRgzo2p5iEYEEBECAAYFAkXIC4MACgkQi9gubzC5S1zMJgCgqQOcgVsXQ7IT -BsUTEFPiGPwUis8An1sb+UQfnsoRVoiwxiczw55ACi1BiEYEEBECAAYFAkXIMMUA -CgkQ3L4Y/6A1U7wMMACgg4+AVtovhtY6y1qip9uZ8qwbnkkAni269FhHSPKfGGEn -fkrN/Q2/3EY7iEYEEBECAAYFAkYNcugACgkQp6cLM3ld2XFzGwCffyD/eMhEKCN6 -j5FCSbb3rhkyR/kAn0PlFtYrTNkrc1dOezhvaZZCPBHWiEYEEBECAAYFAkZQmboA -CgkQVVCoNUmKuAcl1wCdEzFgS3DIgIhYy6Id5a9EqUjArLkAnArdjXskM952gLuy -JjgictCiHdIeiEYEEBECAAYFAkZdvkMACgkQw1Ohknblb7ZN8gCgjD/SWG0qBCBD -7w19I5kVTijU9j4AmwbPf4wU7hY942tn1NxUyKwF+edxiGYEExECACYCGwMGCwkI -BwMCBBUCCAMEFgIDAQIeAQIXgAUCR81nqQUJA+hh4gAKCRBvM5FbZWi36vi9AJ4m -VG9nQnBvew0UM4d+/wi+9Lb31ACfSriqm7CdG27eSY4+631lFdRV9meIRgQQEQIA -BgUCSS7ebQAKCRBI6TdojuEWiAsSAJ4ow6jIZS1ynkWqGaykbZXCQoG5CQCdGWgG -x59LsB1R+IVv5HzvyKSQpuWIZgQTEQIAJgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4B -AheABQJJtjjzBQkHsmasAAoJEG8zkVtlaLfqxAQAoI0BuXAfJd6e36a/2rt4zVFO -3EmeAKCrWxRIFlIWArnqOfG2peNa9+tnQohGBBARAgAGBQJKHm3CAAoJEF6MeFp0 -Z3tp7+YAnRIsms4zGAX6q/WtKSUAzf4giMWnAKCTssyafibiLZu5ZimXEWJnD2ap -rIhGBBARAgAGBQJKHm3aAAoJEBSRKbUIDcvCaKEAoJnS/xnmtj5g61Nmb6KQN2mK -frlGAJ9aZZr9OzwLlY4njTIlHYQqVFNtSohmBBMRAgAmAhsDBgsJCAcDAgQVAggD -BBYCAwECHgECF4AFAk1jjnEFCQl+iKoACgkQbzORW2Vot+o+KQCgkMVKNdbKjF9s -F7k97c0qd/xMyy8AnR6EnNmLXPZNxQlcp9ZWYcPl+IUiiGYEExECACYCGwMGCwkI -BwMCBBUCCAMEFgIDAQIeAQIXgAUCT0qLegUJDUa5MwAKCRBvM5FbZWi36goxAKDF -Nnoa+jpwmxV1UvNSIk9wcP21bgCeOI5MXoXQbrSg8rQjEo6Ma9VD7iuIXgQQEQgA -BgUCUjUW1AAKCRAReIUFQSicO362AP9mGjkr3cZuUzEnP7RJBX/Go4Crd4LdFn1e -vGwGzJNoTgD/YHwts95bV2DYqfeY7BB4PxYmbthqS3WToBlNxK0HZMqIZgQTEQIA -JgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQJS2PAdBQkQ1R3SAAoJEG8zkVtl -aLfquyQAnjooEPX3BhAhWP/vBX/O2mvzRxsKAKCoCbKGjolO3ATr3p2AYqOhtXzA -n4kCIAQQAQoACgUCUx+R+AMFATwACgkQlbYYGy0z6ewu9Q//bI6goLONQNW0Vz9E -uHUlgezl42QbvTWF/dUEwU7sLdRuRDgugFxjTmsZP3WRuPihZwYsKLQDrmMrWHqh -i+BsU03eQ2wlu5VFP2kaJKtSuErsEe1l2OIpvRGJy7fxEd9tjAK6qrO3oXao4I07 -nd6TxQugYyxlR+m5NX2QhlFwy4B2VuH7habJk7fIy7j8F2CW9z/DiJBz1rtW4Btm -7ZrWR3Ha4m8LLuCDuN4oQVMezOKYJCb4sXZWCTSlPC3ZC7yhbumNlcBIx1g7Mo0x -SO5Q7d4tk/AfA6uxGFN3XSUl4uei8ojcOVzb76oP9Yg31jeDcmFRYCzFHVUpbGy3 -2syGRYnDlKYBxjhoGACp109j3TmuReZHmqLRkG3bzD1l/SZnaXTyMNcBhWIk6WbQ -J1wjUK2tkO3eDCepoTgGsmmT9xSwBMj6YBuIrv+uV8BHmHJnl8vJZnV8RbMj50ep -J7DEw7ieYYvRu842qfr+/B1/O4/CoZQGwrEA8La1Gku2LYRCz7C6GLqQgZNt3AJi -YgOx99qcvHua1ZcdNAA7jFScPPno4zntqZTdmUsFD5cYieyHfcINcYyD8qBrRkNZ -v3mjEUj0UeWcyceGGM5NE2ZkQVgttBIRYwNnIYP6Prqwupx8TbbAeaZ/5Jv9+EoP -Ohv06niebO/ghKq3xHHvPnxRWROIZgQTEQIAJgIbAwYLCQgHAwIEFQIIAwQWAgMB -Ah4BAheABQJWqJ6oBQkSw5jbAAoJEG8zkVtlaLfqADYAoLWH3Gvuc5d2nacZKyWT -BuHN8VoOAJ9uNmTAl3Kaad1rWdAytLHL0Psi24kCHAQQAQoABgUCVly3ZgAKCRDX -0EXSfsgJeVvmD/9LU8y/aSSfqVZ0x1O/WnzSnax++NshMHRep+hvthZM96d+O/bD -W3MuoZpiSoizg+WSuVoCY/207E8W/gYSyqC9/aiIctyFQW12RBnR+R+ra4Wq6I9m -HF6mp5Yb8RFZjquBx94qLpV85rL7HiNHdOys0hgJOVUzx2nhg8KRH3Gr1q7jPRn9 -37flIA94tFtaji7/TFt0uPJQ6q6qJdWXaqZyd3m3yeqNKhqI/gMHV9pavFcI9GQ3 -En36Byfigwdlo7IbUaJDSF9UH1OpXjZANxQneNpTjDr5LxQBwtmTcVwj1CwGh10s -Y5vIGCnpLxeAzgnTNrSKDQz08cEbKkhjxTZnJ0YT6xBwWRRPJ3HFJbzWG1Ps7I0e -7n3N6nVx/+zT8NdaybM+/RuTmo0QGeDPFF/hPe4APkr8Gb0GRi8GNw3QWgrQgUa3 -oNw66b2M6J1DGB7LbbrXgV3joS5wPcZaD4uIGorv/CeeGvi+5TlQvmfEHOrrFFCr -pacR331/qCPvvO+2nTsqcMkOUTuUKkgHXsmuseMCQMOPrNtwb3H2sgPR8NgCS/S2 -o3KPZJxfiXXGTeauhxhhlZzwKAT7Zk4HPyFZivXH65shoHX/eUdU5v9bfNW8pk1J -SBZlgSSpRLKOleZB4y1V433+roImNANcFIcue087vtraULUMoUISthi017kCDQRF -xjlhEAgAyDleE6VRurQ11O2A9VYyd/cXbqJolk4PeHSDg4NW2Ry78FGuSNV+87I2 -JoIWeUGulsTZJ20csFp2j9DzjF0jLKVVp6gUE2ZJ8XQKTGzEBJKNKTyUi8HUw9/t -MuYbeHnX9PGrFnUgU+cr7uTmpODv0mtz+ZTSHvEN0o36kWIkl9drloKnoftibEAu -dC6/a58/QDIyqmRMdr+1ypwpMaGhctV8DqT4ybSLjxWkiOTrpzbLoV2HhkL+zKqg -NkTbrpaJ6B4JfSemM0QY3ZgwdvC5viSl8iaZxw61JCunOdOBLsVV10CjryzT8KHd -1PPTgmd4BWVP83hEkHaVsVzIkL1KjwAECwgAp259HGGl4Zd1J50IMj2FVCVddv7A -I4ZYAEKtPEj4EyaeBhPycfQtijEu3ZVmB+LYw0m3jvkSy3dup6XYYsvAp/VL7Cbw -7O9f/uUtj06Vdenh+UM0GZLyfz15JEV0NSJaL5L7eayonhwseJ+kGW+bXfQLgHkW -ae+VFxETu6Vyhv+e6P0s7MKw/7UhCkaQSkBA+Hh7D6IS8N3TCg1huoS0X+BkfL/s -SixYr6l697bRC2/cUu2cmas+hUhbnEAKel2P8Y50dwhc3yqvaRzuD8L4VOd7kHiP -bLgB0j3nMX1CHEH6wmjeiupLRDGPisXkyVIKgexZ7JKspwqH9DDdjgONPohPBBgR -AgAPAhsMBQJS2PADBQkQ1R2SAAoJEG8zkVtlaLfqWU0AniUMsF8RV9nmW1GHMHS8 -wqZrPHDbAJ9A9GHh4cjTsKMmRsY6FDkDm8mExYhPBBgRAgAPAhsMBQJWqJ7LBQkS -w5jfAAoJEG8zkVtlaLfqUDsAoJ+8uAN6QwA2/rTczqOS9X0HBZcWAJoDDzpbIrmO -IXfqVtVIygrSB2irjg== -=49H5 +PohmBBMRAgAmAhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AFAk9Ki3oFCQ1GuTMA +CgkQbzORW2Vot+oKMQCgxTZ6Gvo6cJsVdVLzUiJPcHD9tW4AnjiOTF6F0G60oPK0 +IxKOjGvVQ+4riEYEEBECAAYFAkXGOXUACgkQXNXaBxV7yV6oTwCgnSEFCs2pAwW5 +LU22AfVDwh9e5AkAn2k0dRoGj2UL/Js4qvf3sBqEw4rriEYEEBECAAYFAkXGOcYA +CgkQIR7qMdg1EfZyDACgyvRXAmV0XUhH1vbNMEG9+sFXaCwAoOQTsk19i3Luy3Pw ++1gDaUeCzeLdiEYEEBECAAYFAkXIMMUACgkQ3L4Y/6A1U7wMMACgg4+AVtovhtY6 +y1qip9uZ8qwbnkkAni269FhHSPKfGGEnfkrN/Q2/3EY7iEYEEBECAAYFAkYNcugA +CgkQp6cLM3ld2XFzGwCffyD/eMhEKCN6j5FCSbb3rhkyR/kAn0PlFtYrTNkrc1dO +ezhvaZZCPBHWiEYEEBECAAYFAkZQmboACgkQVVCoNUmKuAcl1wCdEzFgS3DIgIhY +y6Id5a9EqUjArLkAnArdjXskM952gLuyJjgictCiHdIeiEYEEBECAAYFAkZdvkMA +CgkQw1Ohknblb7ZN8gCgjD/SWG0qBCBD7w19I5kVTijU9j4AmwbPf4wU7hY942tn +1NxUyKwF+edxuQINBEXGOWEQCADIOV4TpVG6tDXU7YD1VjJ39xduomiWTg94dIOD +g1bZHLvwUa5I1X7zsjYmghZ5Qa6WxNknbRywWnaP0POMXSMspVWnqBQTZknxdApM +bMQEko0pPJSLwdTD3+0y5ht4edf08asWdSBT5yvu5Oak4O/Sa3P5lNIe8Q3SjfqR +YiSX12uWgqeh+2JsQC50Lr9rnz9AMjKqZEx2v7XKnCkxoaFy1XwOpPjJtIuPFaSI +5OunNsuhXYeGQv7MqqA2RNuulonoHgl9J6YzRBjdmDB28Lm+JKXyJpnHDrUkK6c5 +04EuxVXXQKOvLNPwod3U89OCZ3gFZU/zeESQdpWxXMiQvUqPAAQLCACnbn0cYaXh +l3UnnQgyPYVUJV12/sAjhlgAQq08SPgTJp4GE/Jx9C2KMS7dlWYH4tjDSbeO+RLL +d26npdhiy8Cn9UvsJvDs71/+5S2PTpV16eH5QzQZkvJ/PXkkRXQ1Ilovkvt5rKie +HCx4n6QZb5td9AuAeRZp75UXERO7pXKG/57o/SzswrD/tSEKRpBKQED4eHsPohLw +3dMKDWG6hLRf4GR8v+xKLFivqXr3ttELb9xS7ZyZqz6FSFucQAp6XY/xjnR3CFzf +Kq9pHO4PwvhU53uQeI9suAHSPecxfUIcQfrCaN6K6ktEMY+KxeTJUgqB7Fnskqyn +Cof0MN2OA40+iE8EGBECAA8CGwwFAk9Ki+YFCQ1GuYUACgkQbzORW2Vot+poJACe +Mx7cSix0y3zIgTvAIty06thlOMUAn1hZdeMtAkWjaKfu8LWk/umBetPI +=49fm -----END PGP PUBLIC KEY BLOCK----- diff --git a/samba.spec b/samba.spec index 232223c..1a7c550 100644 --- a/samba.spec +++ b/samba.spec @@ -120,7 +120,7 @@ BuildRequires: systemd-devel %if 0%{?build_ctdb_pmda} BuildRequires: libpcp-devel %endif -%define samba_ver 4.4.0 +%define samba_ver 4.4.2 %define samba_ver_suffix %nil %if "%{samba_ver_suffix}" == "" %define samba_source_location https://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.gz @@ -141,11 +141,11 @@ BuildRequires: libpcp-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3628 +%define SOURCE_TIMESTAMP 3643 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 -Version: 4.4.0 +Version: 4.4.2 Release: 0 Url: https://www.samba.org/ Obsoletes: samba-gplv3 < %{version} diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 7bac81b..bc5e34a 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c842a473d8343a579b4bf733c6bb3898061d5ff5293254ce29633c856cfd316 -size 56046 +oid sha256:3450cfad2e09ff82d820a503274f42def0b9f512d54e823513b6b85241eda636 +size 55830 From cf6a5aeb203ebdb093c3ad05ea117cbad4f1d3cfe74898587a5f85abe075ce1b Mon Sep 17 00:00:00 2001 From: James McDonough Date: Wed, 13 Apr 2016 12:11:01 +0000 Subject: [PATCH 4/6] remove older release for 4.4.2 upgrade OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=537 --- samba-4.4.0.tar.asc | 7 ------- samba-4.4.0.tar.gz | 3 --- 2 files changed, 10 deletions(-) delete mode 100644 samba-4.4.0.tar.asc delete mode 100644 samba-4.4.0.tar.gz diff --git a/samba-4.4.0.tar.asc b/samba-4.4.0.tar.asc deleted file mode 100644 index 6fdd828..0000000 --- a/samba-4.4.0.tar.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iD8DBQBW8QoVbzORW2Vot+oRApQjAKCy0wfZsMxIgFHwSS9yqhCK/zkFuwCeOxEU -gCwNFN3eHKgq2SWqT2CDPNU= -=BdL6 ------END PGP SIGNATURE----- diff --git a/samba-4.4.0.tar.gz b/samba-4.4.0.tar.gz deleted file mode 100644 index bb46d31..0000000 --- a/samba-4.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5f6fefb7fd0a4e5f404a253b19b55f74f88faa1c3612cb3329e24aa03470075 -size 20590101 From 65c24e168938cce3fc9f23be451ca08607f942f49d1215dcaf4f1dbd80be1616 Mon Sep 17 00:00:00 2001 From: James McDonough Date: Wed, 13 Apr 2016 14:11:30 +0000 Subject: [PATCH 5/6] Accepting request 389457 from home:dimstar:Factory - Revert the SLPP massacre from Feb 17 2016: comply to the shared library packaging policy for as long as there are public headers and pkgconfig files being installed. An upstream claim of 'something' being private does not make it private as long as public headers are installed. You can evaluate the entire diff created between the openSUSE:Factory (current) package towards this branch with the revert, using: osc rdiff openSUSE:Factory samba home:dimstar:Factory samba Which should make this long diff less scary. OBS-URL: https://build.opensuse.org/request/show/389457 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=538 --- baselibs.conf | 43 +- samba.changes | 9 + samba.spec | 1075 ++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 857 insertions(+), 270 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index a025c35..ced536f 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,23 @@ +libdcerpc0 +libdcerpc-binding0 +libdcerpc-samr0 +libndr0 +libndr-krb5pac0 +libndr-nbt0 +libndr-standard0 +libnetapi0 +libsamba-credentials0 +libsamba-errors0 +libsamba-hostconfig0 +libsamba-passdb0 + obsoletes "libpdb0- < " +libsamba-policy0 +libsamba-util0 +libsamdb0 libsmbclient0 +libsmbconf0 +libsmbldap0 +libtevent-util0 libwbclient0 samba-winbind supplements "packageand(samba-winbind:pam-)" @@ -7,28 +26,4 @@ samba-winbind samba-client supplements "packageand(samba-client:glibc-)" -/usr/lib/samba -samba-client-libs - obsoletes "libdcerpc0- < " - obsoletes "libdcerpc-atsvc0- < " - obsoletes "libdcerpc-binding0- < " - obsoletes "libgensec0- < " - obsoletes "libndr0- < " - obsoletes "libndr-krb5pac0- < " - obsoletes "libndr-nbt0- < " - obsoletes "libndr-standard0- < " - obsoletes "libnetapi0- < " - obsoletes "libpdb0- < " - obsoletes "libregistry0- < " - obsoletes "libsamba-credentials0- < " - obsoletes "libsamba-hostconfig0- < " - obsoletes "libsamba-passdb0- < " - obsoletes "libsamba-util0- < " - obsoletes "libsamdb0- < " - obsoletes "libsmbclient-raw0- < " - obsoletes "libsmbconf0- < " - obsoletes "libsmbldap0- < " - obsoletes "libsmbsharemodes0- < " - obsoletes "libtevent-util0- < " samba-libs - obsoletes "libdcerpc-samr0- < " - obsoletes "libsamba-policy0- < " diff --git a/samba.changes b/samba.changes index dcd6f06..c46e28c 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 13 12:55:30 UTC 2016 - dimstar@opensuse.org + +- Revert the SLPP massacre from Feb 17 2016: comply to the shared + library packaging policy for as long as there are public headers + and pkgconfig files being installed. An upstream claim of + 'something' being private does not make it private as long as + public headers are installed. + ------------------------------------------------------------------- Sat Apr 9 21:36:02 UTC 2016 - jmcdonough@suse.com diff --git a/samba.spec b/samba.spec index 1a7c550..37a7cff 100644 --- a/samba.spec +++ b/samba.spec @@ -135,6 +135,7 @@ BuildRequires: libpcp-devel %else %define libsmbclient_name libsmbclient0 %endif +%define libnetapi_name libnetapi0 %define libwbclient_name libwbclient0 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %define build_make_smp_mflags %{?_smp_mflags} @@ -281,80 +282,21 @@ how to. Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} - -%package client-libs -Summary: Samba Client Libraries -License: GPL-3.0+ -Group: Productivity/Networking/Samba -Obsoletes: libdcerpc0 < %{version} -Obsoletes: libdcerpc-atsvc0 < %{version} -Obsoletes: libdcerpc-binding0 < %{version} -Obsoletes: libgensec0 < %{version} -Obsoletes: libndr0 < %{version} -Obsoletes: libndr-krb5pac0 < %{version} -Obsoletes: libndr-nbt0 < %{version} -Obsoletes: libndr-standard0 < %{version} -Obsoletes: libnetapi0 < %{version} -Obsoletes: libpdb0 < %{version} -Obsoletes: libregistry0 < %{version} -Obsoletes: libsamba-credentials0 < %{version} -Obsoletes: libsamba-hostconfig0 < %{version} -Obsoletes: libsamba-passdb0 < %{version} -Obsoletes: libsamba-util0 < %{version} -Obsoletes: libsamdb0 < %{version} -Obsoletes: libsmbclient-raw0 < %{version} -Obsoletes: libsmbconf0 < %{version} -Obsoletes: libsmbldap0 < %{version} -Obsoletes: libsmbsharemodes0 < %{version} -Obsoletes: libtevent-util0 < %{version} -Requires: %{libwbclient_name} = %{version} - -%description client-libs -The samba-client-libs package contains internal libraries needed by the -SMB/CIFS clients. - -Source Timestamp: %{SOURCE_TIMESTAMP} -Branch: %{BRANCH} - - -%package devel +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 +%package core-devel Summary: Development files shared by Samba subpackages License: GPL-3.0+ Group: Development/Libraries/C and C++ -Provides: core-devel = %{version} -Obsoletes: core-devel < %{version} -Obsoletes: libdcerpc-atsvc-devel < %{version} -Obsoletes: libdcerpc-devel < %{version} -Obsoletes: libdcerpc-samr-devel < %{version} -Obsoletes: libgensec-devel < %{version} -Obsoletes: libndr-devel < %{version} -Obsoletes: libndr-krb5pac-devel < %{version} -Obsoletes: libndr-nbt-devel < %{version} -Obsoletes: libndr-standard-devel < %{version} -Obsoletes: libnetapi-devel < %{version} -Obsoletes: libpdb-devel < %{version} -Obsoletes: libregistry-devel < %{version} -Obsoletes: libsamba-credentials-devel < %{version} -Obsoletes: libsamba-hostconfig-devel < %{version} -Obsoletes: libsamba-passdb-devel < %{version} -Obsoletes: libsamba-policy-devel < %{version} -Obsoletes: libsamba-util-devel < %{version} -Obsoletes: libsamdb-devel < %{version} -Obsoletes: libsmbclient-raw-devel < %{version} -Obsoletes: libsmbconf-devel < %{version} -Obsoletes: libsmbldap-devel < %{version} -Obsoletes: libsmbsharemodes-devel < %{version} -Obsoletes: libtevent-util-devel < %{version} +Conflicts: samba-devel - -%description devel +%description core-devel This package contains the libraries and header files needed to -develop programs which make use of Samba. +develop programs which make use of the Samba core. Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} - +%endif %if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110 %package doc @@ -383,8 +325,6 @@ Branch: %{BRANCH} Summary: Samba libraries License: GPL-3.0+ Group: Development/Libraries/C and C++ -Obsoletes: libdcerpc-samr0 < %{version} -Obsoletes: libsamba-policy0 < %{version} Requires: krb5 PreReq: /sbin/ldconfig %if 0%{?suse_version} > 1210 && 0%{?suse_version} < 1315 @@ -533,6 +473,466 @@ Group: Development/Tools Test suite for clustered database (CTDB). +%package -n libdcerpc-binding0 +Summary: Some samba library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libdcerpc-binding0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libdcerpc-samr0 +Summary: Security Account Manager (SAM) Remote Protocol library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libdcerpc-samr0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libdcerpc-samr-devel +Summary: Development files for the SAMR protocol library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libdcerpc-samr0 = %{version} + +%description -n libdcerpc-samr-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libdcerpc-samr. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libdcerpc0 +Summary: Distributed Computing Environment Remote Procedure Calls library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libdcerpc0 +DCE/RPC, short for "Distributed Computing Environment / Remote +Procedure Calls", is the remote procedure call system developed for +the Distributed Computing Environment (DCE). This system allows +programmers to write distributed software as if it were all working +on the same computer, without having to worry about the underlying +network code. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libdcerpc-devel +Summary: Development files for the DCE/RPC library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libdcerpc-binding0 = %{version} +Requires: libdcerpc0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libdcerpc-devel +DCE/RPC, short for "Distributed Computing Environment / Remote +Procedure Calls", is the remote procedure call system developed for +the Distributed Computing Environment (DCE). This system allows +programmers to write distributed software as if it were all working +on the same computer, without having to worry about the underlying +network code. + +This subpackage contains libraries and header files for developing +applications that want to make use of libdcerpc. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-krb5pac0 +Summary: NDR marshallers for the KRB5 PAC formats +License: GPL-3.0+ +Group: System/Libraries + +%description -n libndr-krb5pac0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-krb5pac-devel +Summary: Development files for the ndr-krb5pac library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libndr-krb5pac0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libndr-krb5pac-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libndr-krb5pac. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-nbt0 +Summary: NDR marshallers for NBT formats +License: GPL-3.0+ +Group: System/Libraries + +%description -n libndr-nbt0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-nbt-devel +Summary: Development files for the ndr-nbt library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libndr-nbt0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libndr-nbt-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libndr-nbt. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-standard0 +Summary: NDR marshallers for the standard set of DCE/RPC interfaces +License: GPL-3.0+ +Group: System/Libraries + +%description -n libndr-standard0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-standard-devel +Summary: Development files for the libndr-standard library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libndr-standard0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libndr-standard-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libndr-standard. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr0 +Summary: Network Data Representation library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libndr0 +Network Data Representation (NDR) is an implementation of the +presentation layer in the OSI model. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libndr-devel +Summary: Development files for the Network Data Representation library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libndr0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libndr-devel +Network Data Representation (NDR) is an implementation of the +presentation layer in the OSI model. + +This subpackage contains libraries and header files for developing +applications that want to make use of libndr. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-credentials0 +Summary: Samba credential management library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsamba-credentials0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-credentials-devel +Summary: Development files for the Samba credential management library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsamba-credentials0 = %{version} + +%description -n libsamba-credentials-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamba-credentials. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-errors0 +Summary: Samba errors handling library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsamba-errors0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-errors-devel +Summary: Development files for the Samba errors handling library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsamba-errors0 = %{version} + +%description -n libsamba-errors-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamba-errors. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-hostconfig0 +Summary: Host-wide Samba configuration library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsamba-hostconfig0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-hostconfig-devel +Summary: Development files for the host-wide Samba configuration library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsamba-hostconfig0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libsamba-hostconfig-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamba-hostconfig. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-passdb0 +Summary: Samba3 password database library +License: GPL-3.0+ +Group: System/Libraries +Obsoletes: libpdb0 < %{version} + +%description -n libsamba-passdb0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-passdb-devel +Summary: Development files for the Samba3 password database library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Provides: libpdb-devel +Obsoletes: libpdb-devel +Requires: libndr-standard-devel = %{version} +Requires: libsamba-passdb0 = %{version} +Requires: libtevent-devel + +%description -n libsamba-passdb-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamba-passdb. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-policy0 +Summary: Active Directory Group Policy library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsamba-policy0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-policy-devel +Summary: Development files for the Samba AD Group Policy library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsamba-policy0 = %{version} + +%description -n libsamba-policy-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamba-policy. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-util0 +Summary: Samba utility function library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsamba-util0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamba-util-devel +Summary: Development files for the Samba utility function library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsamba-util0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libsamba-util-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamba-util. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamdb0 +Summary: Samba's SAM database library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsamdb0 + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsamdb-devel +Summary: Development files for Samba's SAM database library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsamdb0 = %{version} + +%description -n libsamdb-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libsamdb. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsmbconf0 +Summary: Samba3 configuration library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsmbconf0 +libsmbconf is a library to read or, based on the backend, modify the +Samba configuration. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsmbconf-devel +Summary: Development files for the Samba3 configuration library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsmbconf0 = %{version} + +%description -n libsmbconf-devel +libsmbconf is a library to read or, based on the backend, modify the +Samba configuration. + +This subpackage contains libraries and header files for developing +applications that want to make use of libsmbconf. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsmbldap0 +Summary: Samba LDAP protocol helper function library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libsmbldap0 +libsmbldap contains LDAP protocol helper functions for Samba. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libsmbldap-devel +Summary: Development files for the smbldap library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libsmbldap0 = %{version} +Requires: libtalloc-devel +Requires: libtevent-devel +Requires: openldap2-devel + +%description -n libsmbldap-devel +libsmbldap contains LDAP protocol helper functions for Samba. + +This subpackage contains libraries and header files for developing +applications that want to make use of libsmbldap. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libtevent-util0 +Summary: Samba tevent <-> system status code conversion utility library +License: GPL-3.0+ +Group: System/Libraries + +%description -n libtevent-util0 +The libtevent-util library contains functions to convert tevent error +codes to platform-specific (errno, NTSTATUS, WERROR) ones. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libtevent-util-devel +Summary: Development files for the Samba tevent utility library +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: libtevent-devel +Requires: libtevent-util0 = %{version} +Requires: samba-core-devel = %{version} + +%description -n libtevent-util-devel +The libtevent-util library contains functions to convert tevent error +codes to platform-specific (errno, NTSTATUS, WERROR) ones. + +This subpackage contains libraries and header files for developing +applications that want to make use of libtevent-util. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + %package -n %{libsmbclient_name} %if 0%{?suse_version} > 1030 Obsoletes: libsmbclient < %{version} @@ -567,6 +967,34 @@ Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} +%package -n %{libnetapi_name} +Summary: Samba netapi Library +License: GPL-3.0+ +Group: System/Libraries +PreReq: /sbin/ldconfig + +%description -n %{libnetapi_name} +This package includes the netapi library. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + +%package -n libnetapi-devel +Summary: Libraries and Header Files to Develop Programs with netapi Support +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +BuildRequires: %{pkgconfig_req} +Requires: %{libnetapi_name} = %{version} + +%description -n libnetapi-devel +This package contains the static libraries and header files needed to +develop programs which make use of the netapi programming interface. + +Source Timestamp: %{SOURCE_TIMESTAMP} +Branch: %{BRANCH} + + %package -n %{libwbclient_name} Summary: Samba libwbclient Library License: LGPL-3.0+ @@ -1052,8 +1480,44 @@ fi /sbin/ldconfig %{?insserv_cleanup:%{insserv_cleanup}} -%post client-libs -p /sbin/ldconfig -%postun client-libs -p /sbin/ldconfig +%post -n libdcerpc-binding0 -p /sbin/ldconfig +%postun -n libdcerpc-binding0 -p /sbin/ldconfig +%post -n libdcerpc-samr0 -p /sbin/ldconfig +%postun -n libdcerpc-samr0 -p /sbin/ldconfig +%post -n libdcerpc0 -p /sbin/ldconfig +%postun -n libdcerpc0 -p /sbin/ldconfig +%post -n libndr-krb5pac0 -p /sbin/ldconfig +%postun -n libndr-krb5pac0 -p /sbin/ldconfig +%post -n libndr-nbt0 -p /sbin/ldconfig +%postun -n libndr-nbt0 -p /sbin/ldconfig +%post -n libndr-standard0 -p /sbin/ldconfig +%postun -n libndr-standard0 -p /sbin/ldconfig +%post -n libndr0 -p /sbin/ldconfig +%postun -n libndr0 -p /sbin/ldconfig +%post -n %{libnetapi_name} -p /sbin/ldconfig +%postun -n %{libnetapi_name} -p /sbin/ldconfig +%post -n libsamba-credentials0 -p /sbin/ldconfig +%postun -n libsamba-credentials0 -p /sbin/ldconfig +%post -n libsamba-errors0 -p /sbin/ldconfig +%postun -n libsamba-errors0 -p /sbin/ldconfig +%post -n libsamba-hostconfig0 -p /sbin/ldconfig +%postun -n libsamba-hostconfig0 -p /sbin/ldconfig +%post -n libsamba-passdb0 -p /sbin/ldconfig +%postun -n libsamba-passdb0 -p /sbin/ldconfig +%post -n libsamba-policy0 -p /sbin/ldconfig +%postun -n libsamba-policy0 -p /sbin/ldconfig +%post -n libsamba-util0 -p /sbin/ldconfig +%postun -n libsamba-util0 -p /sbin/ldconfig +%post -n libsamdb0 -p /sbin/ldconfig +%postun -n libsamdb0 -p /sbin/ldconfig +%post -n libsmbconf0 -p /sbin/ldconfig +%postun -n libsmbconf0 -p /sbin/ldconfig +%post -n libsmbldap0 -p /sbin/ldconfig +%postun -n libsmbldap0 -p /sbin/ldconfig +%post -n libtevent-util0 -p /sbin/ldconfig +%postun -n libtevent-util0 -p /sbin/ldconfig +%post -n %{libwbclient_name} -p /sbin/ldconfig +%postun -n %{libwbclient_name} -p /sbin/ldconfig %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %post pidl -p /sbin/ldconfig @@ -1156,8 +1620,6 @@ exit 0 %post -n %{libsmbclient_name} -p /sbin/ldconfig %postun -n %{libsmbclient_name} -p /sbin/ldconfig -%post -n %{libwbclient_name} -p /sbin/ldconfig -%postun -n %{libwbclient_name} -p /sbin/ldconfig %clean [ x"%{buildroot}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "%{buildroot}" @@ -1378,44 +1840,82 @@ fi %dir %{_tmpfilesdir} %{_tmpfilesdir}/samba.conf %endif +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 -%files client-libs +%files core-devel +%defattr(-,root,root) +%{_includedir}/samba +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/charset.h +%dir %_includedir/samba-4.0/core/ +%_includedir/samba-4.0/core/doserr.h +%_includedir/samba-4.0/core/error.h +%_includedir/samba-4.0/core/ntstatus.h +%_includedir/samba-4.0/core/hresult.h +%_includedir/samba-4.0/core/werror.h +%_includedir/samba-4.0/domain_credentials.h +%dir %_includedir/samba-4.0/gen_ndr/ +%_includedir/samba-4.0/gen_ndr/auth.h +%_includedir/samba-4.0/gen_ndr/dcerpc.h +%_includedir/samba-4.0/gen_ndr/drsblobs.h +%_includedir/samba-4.0/gen_ndr/drsuapi.h +%_includedir/samba-4.0/gen_ndr/ndr_dcerpc.h +%_includedir/samba-4.0/gen_ndr/ndr_drsblobs.h +%_includedir/samba-4.0/gen_ndr/ndr_drsuapi.h +%_includedir/samba-4.0/gen_ndr/ndr_svcctl_c.h +%_includedir/samba-4.0/gen_ndr/security.h +%_includedir/samba-4.0/gen_ndr/server_id.h +%_includedir/samba-4.0/ldb_wrap.h +%dir %_includedir/samba-4.0/ndr/ +%_includedir/samba-4.0/ndr/ndr_dcerpc.h +%_includedir/samba-4.0/ndr/ndr_drsblobs.h +%_includedir/samba-4.0/ndr/ndr_drsuapi.h +%_includedir/samba-4.0/ndr/ndr_svcctl.h +%_includedir/samba-4.0/rpc_common.h +%dir %_includedir/samba-4.0/samba/ +%_includedir/samba-4.0/samba/session.h +%_includedir/samba-4.0/samba/version.h +%_includedir/samba-4.0/share.h +%_includedir/samba-4.0/smb2_lease_struct.h +%_includedir/samba-4.0/tdr.h +%_includedir/samba-4.0/tsocket.h +%_includedir/samba-4.0/tsocket_internal.h +%dir %_includedir/samba-4.0/util/ +%_includedir/samba-4.0/util/genrand.h +%_includedir/samba-4.0/util/idtree.h +%_includedir/samba-4.0/util/idtree_random.h +%_includedir/samba-4.0/util_ldb.h +%{_libdir}/libnss_winbind.so +%{_libdir}/libnss_wins.so +%endif + +%files libs %defattr(-,root,root) -%{_libdir}/libdcerpc-binding.so.* -%{_libdir}/libdcerpc.so.* -%{_libdir}/libndr-krb5pac.so.* -%{_libdir}/libndr-nbt.so.* -%{_libdir}/libndr.so.* -%{_libdir}/libndr-standard.so.* -%{_libdir}/libnetapi.so.* -%{_libdir}/libsamba-credentials.so.* -%{_libdir}/libsamba-errors.so.* -%{_libdir}/libsamba-hostconfig.so.* -%{_libdir}/libsamba-passdb.so.* -%{_libdir}/libsamba-util.so.* -%{_libdir}/libsamdb.so.* -%{_libdir}/libsmbconf.so.* -%{_libdir}/libsmbldap.so.* -%{_libdir}/libtevent-unix-util.so.* -%{_libdir}/libtevent-util.so.* %dir %{_libdir}/samba +%{_libdir}/samba/libCHARSET3-samba4.so +%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so +%{_libdir}/samba/libMESSAGING-samba4.so %{_libdir}/samba/libaddns-samba4.so %{_libdir}/samba/libads-samba4.so %{_libdir}/samba/libasn1util-samba4.so -%{_libdir}/samba/libauthkrb5-samba4.so %{_libdir}/samba/libauth-samba4.so +%{_libdir}/samba/libauth4-samba4.so %{_libdir}/samba/libauth-sam-reply-samba4.so -%{_libdir}/samba/libCHARSET3-samba4.so -%{_libdir}/samba/libcliauth-samba4.so -%{_libdir}/samba/libcli-cldap-samba4.so +%{_libdir}/samba/libauth-unix-token-samba4.so +%{_libdir}/samba/libauthkrb5-samba4.so %{_libdir}/samba/libcli-ldap-common-samba4.so %{_libdir}/samba/libcli-ldap-samba4.so %{_libdir}/samba/libcli-nbt-samba4.so +%{_libdir}/samba/libcli-cldap-samba4.so %{_libdir}/samba/libcli-smb-common-samba4.so %{_libdir}/samba/libcli-spoolss-samba4.so +%{_libdir}/samba/libcliauth-samba4.so +%{_libdir}/samba/libcluster-samba4.so %{_libdir}/samba/libcmdline-credentials-samba4.so %{_libdir}/samba/libdbwrap-samba4.so %{_libdir}/samba/libdcerpc-samba-samba4.so +%{_libdir}/samba/libdcerpc-samba4.so +%{_libdir}/samba/libdsdb-module-samba4.so %{_libdir}/samba/libevents-samba4.so %{_libdir}/samba/libflag-mapping-samba4.so %{_libdir}/samba/libgenrand-samba4.so @@ -1423,6 +1923,7 @@ fi %{_libdir}/samba/libgpo-samba4.so %{_libdir}/samba/libgse-samba4.so %{_libdir}/samba/libhttp-samba4.so +%{_libdir}/samba/libidmap-samba4.so %{_libdir}/samba/libinterfaces-samba4.so %{_libdir}/samba/libiov-buf-samba4.so %{_libdir}/samba/libkrb5samba-samba4.so @@ -1434,31 +1935,38 @@ fi %{_libdir}/samba/libmessages-util-samba4.so %{_libdir}/samba/libmsghdr-samba4.so %{_libdir}/samba/libmsrpc3-samba4.so -%{_libdir}/samba/libndr-samba4.so %{_libdir}/samba/libndr-samba-samba4.so -%{_libdir}/samba/libnetif-samba4.so +%{_libdir}/samba/libndr-samba4.so %{_libdir}/samba/libnet-keytab-samba4.so +%{_libdir}/samba/libnetif-samba4.so +%{_libdir}/samba/libnon-posix-acls-samba4.so %{_libdir}/samba/libnpa-tstream-samba4.so +%{_libdir}/samba/libnss-info-samba4.so +%{_libdir}/samba/libpopt-samba3-samba4.so %{_libdir}/samba/libprinting-migrate-samba4.so %{_libdir}/samba/libregistry-samba4.so %{_libdir}/samba/libreplace-samba4.so -%{_libdir}/samba/libsamba3-util-samba4.so %{_libdir}/samba/libsamba-cluster-support-samba4.so %{_libdir}/samba/libsamba-debug-samba4.so %{_libdir}/samba/libsamba-modules-samba4.so +%{_libdir}/samba/libsamba-net-samba4.so %{_libdir}/samba/libsamba-security-samba4.so %{_libdir}/samba/libsamba-sockets-samba4.so +%{_libdir}/samba/libsamba3-util-samba4.so +%{_libdir}/samba/libsamba-python-samba4.so %{_libdir}/samba/libsamdb-common-samba4.so %{_libdir}/samba/libsecrets3-samba4.so %{_libdir}/samba/libserver-id-db-samba4.so %{_libdir}/samba/libserver-role-samba4.so +%{_libdir}/samba/libshares-samba4.so +%{_libdir}/samba/libsmb-transport-samba4.so %{_libdir}/samba/libsmbclient-raw-samba4.so %{_libdir}/samba/libsmbd-base-samba4.so %{_libdir}/samba/libsmbd-conn-samba4.so %{_libdir}/samba/libsmbd-shim-samba4.so %{_libdir}/samba/libsmbldaphelper-samba4.so +%{_libdir}/samba/libsmbpasswdparser-samba4.so %{_libdir}/samba/libsmbregistry-samba4.so -%{_libdir}/samba/libsmb-transport-samba4.so %{_libdir}/samba/libsocket-blocking-samba4.so %{_libdir}/samba/libsys-rw-samba4.so %{_libdir}/samba/libtalloc-report-samba4.so @@ -1470,155 +1978,6 @@ fi %{_libdir}/samba/libutil-reg-samba4.so %{_libdir}/samba/libutil-setid-samba4.so %{_libdir}/samba/libutil-tdb-samba4.so - -%files devel -%defattr(-,root,root) -%dir %{_includedir}/samba -%dir %{_includedir}/samba/nsswitch -%{_includedir}/samba/nsswitch/winbind_client.h -%{_includedir}/samba/nsswitch/winbind_nss_config.h -%{_includedir}/samba/nsswitch/winbind_nss_linux.h -%dir %{_includedir}/samba/winbindd -%{_includedir}/samba/winbindd/winbindd.h -%{_includedir}/samba/winbindd/winbindd_proto.h -%{_includedir}/samba-4.0/charset.h -%dir %{_includedir}/samba-4.0/core -%{_includedir}/samba-4.0/core/doserr.h -%{_includedir}/samba-4.0/core/error.h -%{_includedir}/samba-4.0/core/hresult.h -%{_includedir}/samba-4.0/core/ntstatus.h -%{_includedir}/samba-4.0/core/werror.h -%{_includedir}/samba-4.0/credentials.h -%{_includedir}/samba-4.0/dcerpc.h -%{_includedir}/samba-4.0/domain_credentials.h -%dir %{_includedir}/samba-4.0/gen_ndr -%{_includedir}/samba-4.0/gen_ndr/atsvc.h -%{_includedir}/samba-4.0/gen_ndr/auth.h -%{_includedir}/samba-4.0/gen_ndr/dcerpc.h -%{_includedir}/samba-4.0/gen_ndr/drsblobs.h -%{_includedir}/samba-4.0/gen_ndr/drsuapi.h -%{_includedir}/samba-4.0/gen_ndr/krb5pac.h -%{_includedir}/samba-4.0/gen_ndr/lsa.h -%{_includedir}/samba-4.0/gen_ndr/misc.h -%{_includedir}/samba-4.0/gen_ndr/nbt.h -%{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h -%{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h -%{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h -%{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h -%{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h -%{_includedir}/samba-4.0/gen_ndr/ndr_misc.h -%{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h -%{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h -%{_includedir}/samba-4.0/gen_ndr/ndr_samr.h -%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h -%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h -%{_includedir}/samba-4.0/gen_ndr/netlogon.h -%{_includedir}/samba-4.0/gen_ndr/samr.h -%{_includedir}/samba-4.0/gen_ndr/security.h -%{_includedir}/samba-4.0/gen_ndr/server_id.h -%{_includedir}/samba-4.0/gen_ndr/svcctl.h -%{_includedir}/samba-4.0/ldb_wrap.h -%{_includedir}/samba-4.0/lookup_sid.h -%{_includedir}/samba-4.0/machine_sid.h -%{_includedir}/samba-4.0/ndr.h -%dir %{_includedir}/samba-4.0/ndr -%{_includedir}/samba-4.0/ndr/ndr_dcerpc.h -%{_includedir}/samba-4.0/ndr/ndr_drsblobs.h -%{_includedir}/samba-4.0/ndr/ndr_drsuapi.h -%{_includedir}/samba-4.0/ndr/ndr_nbt.h -%{_includedir}/samba-4.0/ndr/ndr_svcctl.h -%{_includedir}/samba-4.0/netapi.h -%{_includedir}/samba-4.0/param.h -%{_includedir}/samba-4.0/passdb.h -%{_includedir}/samba-4.0/policy.h -%{_includedir}/samba-4.0/rpc_common.h -%dir %{_includedir}/samba-4.0/samba -%{_includedir}/samba-4.0/samba/session.h -%{_includedir}/samba-4.0/samba/version.h -%{_includedir}/samba-4.0/share.h -%{_includedir}/samba-4.0/smb2_lease_struct.h -%{_includedir}/samba-4.0/smbconf.h -%{_includedir}/samba-4.0/smb_ldap.h -%{_includedir}/samba-4.0/smbldap.h -%{_includedir}/samba-4.0/tdr.h -%{_includedir}/samba-4.0/tsocket.h -%{_includedir}/samba-4.0/tsocket_internal.h -%dir %{_includedir}/samba-4.0/util -%{_includedir}/samba-4.0/util/attr.h -%{_includedir}/samba-4.0/util/blocking.h -%{_includedir}/samba-4.0/util/byteorder.h -%{_includedir}/samba-4.0/util/data_blob.h -%{_includedir}/samba-4.0/util/debug.h -%{_includedir}/samba-4.0/util/fault.h -%{_includedir}/samba-4.0/util/genrand.h -%{_includedir}/samba-4.0/util/idtree.h -%{_includedir}/samba-4.0/util/idtree_random.h -%{_includedir}/samba-4.0/util_ldb.h -%{_includedir}/samba-4.0/util/memory.h -%{_includedir}/samba-4.0/util/safe_string.h -%{_includedir}/samba-4.0/util/signal.h -%{_includedir}/samba-4.0/util/string_wrappers.h -%{_includedir}/samba-4.0/util/substitute.h -%{_includedir}/samba-4.0/util/talloc_stack.h -%{_includedir}/samba-4.0/util/tevent_ntstatus.h -%{_includedir}/samba-4.0/util/tevent_unix.h -%{_includedir}/samba-4.0/util/tevent_werror.h -%{_includedir}/samba-4.0/util/time.h -%{_includedir}/samba-4.0/util/xfile.h -%{_libdir}/libdcerpc-binding.so -%{_libdir}/libdcerpc-samr.so -%{_libdir}/libdcerpc.so -%{_libdir}/libndr-krb5pac.so -%{_libdir}/libndr-nbt.so -%{_libdir}/libndr.so -%{_libdir}/libndr-standard.so -%{_libdir}/libnetapi.so -%{_libdir}/libnss_winbind.so -%{_libdir}/libnss_wins.so -%{_libdir}/libsamba-credentials.so -%{_libdir}/libsamba-errors.so -%{_libdir}/libsamba-hostconfig.so -%{_libdir}/libsamba-passdb.so -%{_libdir}/libsamba-policy.so -%{_libdir}/libsamba-util.so -%{_libdir}/libsamdb.so -%{_libdir}/libsmbconf.so -%{_libdir}/libsmbldap.so -%{_libdir}/libtevent-unix-util.so -%{_libdir}/libtevent-util.so -%{_libdir}/pkgconfig/dcerpc.pc -%{_libdir}/pkgconfig/dcerpc_samr.pc -%{_libdir}/pkgconfig/ndr_krb5pac.pc -%{_libdir}/pkgconfig/ndr_nbt.pc -%{_libdir}/pkgconfig/ndr.pc -%{_libdir}/pkgconfig/ndr_standard.pc -%{_libdir}/pkgconfig/netapi.pc -%{_libdir}/pkgconfig/samba-credentials.pc -%{_libdir}/pkgconfig/samba-hostconfig.pc -%{_libdir}/pkgconfig/samba-policy.pc -%{_libdir}/pkgconfig/samba-util.pc -%{_libdir}/pkgconfig/samdb.pc - -%files libs -%defattr(-,root,root) -%{_libdir}/libdcerpc-samr.so.* -%{_libdir}/libsamba-policy.so.* -%dir %{_libdir}/samba -%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so -%{_libdir}/samba/libMESSAGING-samba4.so -%{_libdir}/samba/libauth4-samba4.so -%{_libdir}/samba/libauth-unix-token-samba4.so -%{_libdir}/samba/libcluster-samba4.so -%{_libdir}/samba/libdcerpc-samba4.so -%{_libdir}/samba/libdsdb-module-samba4.so -%{_libdir}/samba/libidmap-samba4.so -%{_libdir}/samba/libnon-posix-acls-samba4.so -%{_libdir}/samba/libnss-info-samba4.so -%{_libdir}/samba/libpopt-samba3-samba4.so -%{_libdir}/samba/libsamba-net-samba4.so -%{_libdir}/samba/libsamba-python-samba4.so -%{_libdir}/samba/libshares-samba4.so -%{_libdir}/samba/libsmbpasswdparser-samba4.so %{_libdir}/samba/libwinbind-client-samba4.so %{_libdir}/samba/libxattr-tdb-samba4.so %dir %{_libdir}/samba/pdb @@ -1868,6 +2227,194 @@ fi %{_datadir}/ctdb-tests/simple/functions %{_datadir}/ctdb-tests/simple/nodes +%files -n libdcerpc-binding0 +%defattr(-,root,root) +%_libdir/libdcerpc-binding.so.0* + +%files -n libdcerpc-samr0 +%defattr(-,root,root) +%_libdir/libdcerpc-samr.so.0* + +%files -n libdcerpc-samr-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/gen_ndr/ +%_includedir/samba-4.0/gen_ndr/ndr_samr_c.h +%_libdir/libdcerpc-samr.so +%_libdir/pkgconfig/dcerpc_samr.pc + +%files -n libdcerpc0 +%defattr(-,root,root) +%_libdir/libdcerpc.so.0* + +%files -n libdcerpc-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/dcerpc.h +%dir %_includedir/samba-4.0/gen_ndr/ +%_libdir/libdcerpc.so +%_libdir/libdcerpc-binding.so +%_libdir/pkgconfig/dcerpc.pc + +%files -n libndr-krb5pac0 +%defattr(-,root,root) +%_libdir/libndr-krb5pac.so.0* + +%files -n libndr-krb5pac-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/gen_ndr/ +%_includedir/samba-4.0/gen_ndr/krb5pac.h +%_includedir/samba-4.0/gen_ndr/ndr_krb5pac.h +%_libdir/libndr-krb5pac.so +%_libdir/pkgconfig/ndr_krb5pac.pc + +%files -n libndr-nbt0 +%defattr(-,root,root) +%_libdir/libndr-nbt.so.0* + +%files -n libndr-nbt-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/gen_ndr/ +%_includedir/samba-4.0/gen_ndr/nbt.h +%_includedir/samba-4.0/gen_ndr/ndr_nbt.h +%dir %_includedir/samba-4.0/ndr/ +%_includedir/samba-4.0/ndr/ndr_nbt.h +%_libdir/libndr-nbt.so +%_libdir/pkgconfig/ndr_nbt.pc + +%files -n libndr-standard0 +%defattr(-,root,root) +%_libdir/libndr-standard.so.0* + +%files -n libndr-standard-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/gen_ndr/ +%_includedir/samba-4.0/gen_ndr/samr.h +%_includedir/samba-4.0/gen_ndr/ndr_samr.h +%_includedir/samba-4.0/gen_ndr/lsa.h +%_includedir/samba-4.0/gen_ndr/netlogon.h +%_includedir/samba-4.0/gen_ndr/atsvc.h +%_includedir/samba-4.0/gen_ndr/ndr_atsvc.h +%_includedir/samba-4.0/gen_ndr/ndr_svcctl.h +%_includedir/samba-4.0/gen_ndr/svcctl.h +%_libdir/libndr-standard.so +%_libdir/pkgconfig/ndr_standard.pc + +%files -n libndr0 +%defattr(-,root,root) +%_libdir/libndr.so.0* + +%files -n libndr-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/gen_ndr/ +%_includedir/samba-4.0/gen_ndr/misc.h +%_includedir/samba-4.0/gen_ndr/ndr_misc.h +%_includedir/samba-4.0/ndr.h +%_libdir/libndr.so +%_libdir/pkgconfig/ndr.pc + +%files -n %{libnetapi_name} +%defattr(-,root,root) +%{_libdir}/libnetapi.so.* + +%files -n libnetapi-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%{_includedir}/samba-4.0/netapi.h +%{_libdir}/libnetapi.so +%{_libdir}/pkgconfig/netapi.pc + +%files -n libsamba-credentials0 +%defattr(-,root,root) +%_libdir/libsamba-credentials.so.0* + +%files -n libsamba-credentials-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/credentials.h +%_libdir/libsamba-credentials.so +%_libdir/pkgconfig/samba-credentials.pc + +%files -n libsamba-errors0 +%defattr(-,root,root) +%_libdir/libsamba-errors.so.* + +%files -n libsamba-errors-devel +%defattr(-,root,root) +%_libdir/libsamba-errors.so + +%files -n libsamba-hostconfig0 +%defattr(-,root,root) +%_libdir/libsamba-hostconfig.so.0* + +%files -n libsamba-hostconfig-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/param.h +%_libdir/libsamba-hostconfig.so +%_libdir/pkgconfig/samba-hostconfig.pc + +%files -n libsamba-passdb0 +%defattr(-,root,root) +%_libdir/libsamba-passdb.so.0* + +%files -n libsamba-passdb-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/lookup_sid.h +%_includedir/samba-4.0/machine_sid.h +%_includedir/samba-4.0/passdb.h +%_libdir/libsamba-passdb.so + +%files -n libsamba-policy0 +%defattr(-,root,root) +%_libdir/libsamba-policy.so.0* + +%files -n libsamba-policy-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/policy.h +%_libdir/libsamba-policy.so +%_libdir/pkgconfig/samba-policy.pc + +%files -n libsamba-util0 +%defattr(-,root,root) +%_libdir/libsamba-util.so.0* + +%files -n libsamba-util-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/util/ +%_includedir/samba-4.0/util/attr.h +%_includedir/samba-4.0/util/blocking.h +%_includedir/samba-4.0/util/byteorder.h +%_includedir/samba-4.0/util/data_blob.h +%_includedir/samba-4.0/util/debug.h +%_includedir/samba-4.0/util/fault.h +%_includedir/samba-4.0/util/memory.h +%_includedir/samba-4.0/util/safe_string.h +%_includedir/samba-4.0/util/signal.h +%_includedir/samba-4.0/util/string_wrappers.h +%_includedir/samba-4.0/util/substitute.h +%_includedir/samba-4.0/util/talloc_stack.h +%_includedir/samba-4.0/util/time.h +%_includedir/samba-4.0/util/xfile.h +%_libdir/libsamba-util.so +%_libdir/pkgconfig/samba-util.pc + +%files -n libsamdb0 +%defattr(-,root,root) +%_libdir/libsamdb.so.0* + +%files -n libsamdb-devel +%defattr(-,root,root) +%_libdir/libsamdb.so +%_libdir/pkgconfig/samdb.pc + %files -n %{libsmbclient_name} %defattr(-,root,root) %{_libdir}/libsmbclient.so.* @@ -1880,6 +2427,42 @@ fi %{_libdir}/pkgconfig/smbclient.pc %{_mandir}/man7/libsmbclient.7.* +%files -n libsmbconf0 +%defattr(-,root,root) +%_libdir/libsmbconf.so.0* + +%files -n libsmbconf-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/smbconf.h +%_libdir/libsmbconf.so + +%files -n libsmbldap0 +%defattr(-,root,root) +%_libdir/libsmbldap.so.0* + +%files -n libsmbldap-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%_includedir/samba-4.0/smbldap.h +%_includedir/samba-4.0/smb_ldap.h +%_libdir/libsmbldap.so + +%files -n libtevent-util0 +%defattr(-,root,root) +%_libdir/libtevent-unix-util.so.0* +%_libdir/libtevent-util.so.0* + +%files -n libtevent-util-devel +%defattr(-,root,root) +%dir %_includedir/samba-4.0/ +%dir %_includedir/samba-4.0/util/ +%_includedir/samba-4.0/util/tevent_ntstatus.h +%_includedir/samba-4.0/util/tevent_unix.h +%_includedir/samba-4.0/util/tevent_werror.h +%_libdir/libtevent-unix-util.so +%_libdir/libtevent-util.so + %files -n %{libwbclient_name} %defattr(-,root,root) %{_libdir}/libwbclient.so.* From 1191fc82a3bb2c1994dcccf24fb2f06601ae55e64f0fa39dbdb4b42c98d989ce Mon Sep 17 00:00:00 2001 From: James McDonough Date: Wed, 13 Apr 2016 14:15:20 +0000 Subject: [PATCH 6/6] Fix changelog wording OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=539 --- samba.changes | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/samba.changes b/samba.changes index c46e28c..079d560 100644 --- a/samba.changes +++ b/samba.changes @@ -1,11 +1,7 @@ ------------------------------------------------------------------- Wed Apr 13 12:55:30 UTC 2016 - dimstar@opensuse.org -- Revert the SLPP massacre from Feb 17 2016: comply to the shared - library packaging policy for as long as there are public headers - and pkgconfig files being installed. An upstream claim of - 'something' being private does not make it private as long as - public headers are installed. +- Update to comply with openSUSE shared library packaging policy. ------------------------------------------------------------------- Sat Apr 9 21:36:02 UTC 2016 - jmcdonough@suse.com