From 9bcb70be0d3287d4f05d5f030c2370491ac6ac7ae6947ba31e4b741f1b5de8a1 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 12 Apr 2017 14:47:32 +0000 Subject: [PATCH 1/2] Sync changelog entries from SLE Samba 4.4. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=558 --- patches.tar.bz2 | 4 ++-- samba.changes | 41 ++++++++++++++++++++++++++++++++++++++--- samba.spec | 2 +- vendor-files.tar.bz2 | 4 ++-- 4 files changed, 43 insertions(+), 8 deletions(-) diff --git a/patches.tar.bz2 b/patches.tar.bz2 index fde1e05..724f3a8 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:09e993823d82c27fb3c01c944e8c8a5f34b5d7c1dc40d1608186f17d040a595e -size 41213 +oid sha256:3a87b1860f8071112f560270a937d33a68c069aaf5ccaf8328809ebc7c2fb444 +size 41226 diff --git a/samba.changes b/samba.changes index 9d73de6..5f4f48b 100644 --- a/samba.changes +++ b/samba.changes @@ -56,6 +56,12 @@ Fri Feb 10 23:00:14 CET 2017 - kukuk@suse.de - Fix check if we need to require insserv +------------------------------------------------------------------- +Thu Feb 9 15:23:21 UTC 2017 - nopower@suse.com + +- async_req: make async_connect_send() "reentrant"; + (bso#12105); (bsc#1024416). + ------------------------------------------------------------------- Mon Feb 6 18:35:29 UTC 2017 - aaptel@suse.com @@ -72,6 +78,11 @@ Wed Jan 25 17:20:31 UTC 2017 - ddiss@suse.com - Fix vfs_ceph builds against recent Ceph versions; (bsc#1021933). +------------------------------------------------------------------- +Mon Jan 23 21:44:03 UTC 2017 - dmulder@suse.com + +- Document "winbind: ignore domains" parameter; (bsc#1019416). + ------------------------------------------------------------------- Thu Jan 19 19:19:07 UTC 2017 - ddiss@suse.com @@ -94,6 +105,17 @@ Mon Dec 19 19:11:20 UTC 2016 - jmcdonough@suse.com + various stability fixes in smbd + match file compression ReFS behavior +------------------------------------------------------------------- +Fri Dec 2 13:15:50 UTC 2016 - nopower@suse.com + +- Add missing ldb module directory; (bnc#1012092). + +------------------------------------------------------------------- +Thu Nov 17 08:33:07 UTC 2016 - nopower@suse.com + +- s3/client: obey 'disable netbios' smb.conf param, don't + connect via NBT port; (bsc#1009085); (bso#12418). + ------------------------------------------------------------------- Mon Sep 26 17:55:13 UTC 2016 - nopower@suse.com @@ -126,6 +148,12 @@ Tue Aug 30 09:47:01 UTC 2016 - nopower@suse.com - Fix illegal memory access after memory has been deleted; (bso#11836); (bsc#975299). +------------------------------------------------------------------- +Mon Aug 29 10:25:40 UTC 2016 - nopower@suse.com + +- Prevent core, make sure response->extra_data.data is always + cleared out; (bsc#993692). + ------------------------------------------------------------------- Mon Aug 15 14:54:14 UTC 2016 - ddiss@suse.com @@ -163,7 +191,7 @@ Tue Jun 14 17:49:59 UTC 2016 - jmcdonough@suse.com ------------------------------------------------------------------- Thu Jun 9 17:12:14 UTC 2016 - jmcdonough@suse.com -- Don't use htons() with IP_PROTO_RAW; (bso#11705); (bsc#969522). +- Don't use htons() with IP_PROTO_RAW; (bso#11705); (bsc#969522). ------------------------------------------------------------------- Thu Jun 9 12:46:18 UTC 2016 - jmcdonough@suse.com @@ -199,7 +227,7 @@ Thu May 19 10:06:40 UTC 2016 - jmcdonough@suse.com Tue May 3 13:03:47 UTC 2016 - jmcdonough@suse.com - Fix NTLMSSP regressions caused by previous CVE fixes; (bso#11849); - (bsc#975962). + (bsc#975962); (bsc#979268), (bsc#977669). ------------------------------------------------------------------- Thu Apr 28 22:48:17 UTC 2016 - jmcdonough@suse.com @@ -225,6 +253,12 @@ Sat Apr 9 21:36:02 UTC 2016 - jmcdonough@suse.com + DCERPC server and client vulnerable to DOS and MITM attacks; CVE-2015-5370; (bso#11344); (bsc#936862). +------------------------------------------------------------------- +Fri Apr 8 10:23:22 UTC 2016 - nopower@suse.com + +- Fix samba.tests.messaging test and prevent potential tdb corruption + by removing obsolete now invalid tdb_close call; (bsc#974629). + ------------------------------------------------------------------- Tue Mar 22 17:36:01 UTC 2016 - lmuelle@suse.com @@ -454,7 +488,8 @@ Tue Dec 1 16:48:13 UTC 2015 - lmuelle@suse.com + async_req: Fix non-blocking connect(); (bso#11564). + auth: gensec: Fix a memory leak; (bso#11565). + lib: util: Make non-critical message a warning; (bso#11566). - + Fix winbindd crashes with samlogon for trusted domain user; (bso#11569). + + Fix winbindd crashes with samlogon for trusted domain user; (bso#11569); + (bnc#949022). + smbd: Send SMB2 oplock breaks unencrypted; (bso#11570). + ctdb: Open the RO tracking db with perms 0600 instead of 0000; (bso#11577). + s3:smb2_server: Make the logic of SMB2_CANCEL DLIST_REMOVE() clearer; diff --git a/samba.spec b/samba.spec index b365fa0..6a6ae3c 100644 --- a/samba.spec +++ b/samba.spec @@ -152,7 +152,7 @@ BuildRequires: librados-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3760 +%define SOURCE_TIMESTAMP 3761 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 99dff89..ba0caab 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:16a440502ea2c66151c7d08a811ad998d3024afebfdb38fada6f8a6b86f726ad -size 55342 +oid sha256:c8d0b20f971c0cb6ff101a998fb2763c1fc77d81cb2c80cb3f057f3757b738e7 +size 55321 From 3c207d7687614676d3944653aa1e5dfbbf2e100810040d50db702c109284ec60 Mon Sep 17 00:00:00 2001 From: Aurelien Aptel Date: Thu, 20 Apr 2017 12:26:04 +0000 Subject: [PATCH 2/2] Accepting request 489392 from home:dmdiss:samba_stable_git_migration_v2 - Generate source tarball directly from Git using OBS tar_scm + use version string derived from parent Git tag and commit hash - remove obsolete vendor-files/tools/package-data version ID + explicitly generate ctdb manpages, needed without "make dist" OBS-URL: https://build.opensuse.org/request/show/489392 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=559 --- _service | 22 +++++++ patches.tar.bz2 | 3 - samba-4.6.2+git.19.c267455e57b.tar.bz2 | 3 + samba-4.6.2.tar.asc | 7 --- samba-4.6.2.tar.gz | 3 - samba.changes | 8 +++ samba.keyring | 85 -------------------------- samba.spec | 58 ++++++------------ vendor-files.tar.bz2 | 4 +- 9 files changed, 55 insertions(+), 138 deletions(-) create mode 100644 _service delete mode 100644 patches.tar.bz2 create mode 100644 samba-4.6.2+git.19.c267455e57b.tar.bz2 delete mode 100644 samba-4.6.2.tar.asc delete mode 100644 samba-4.6.2.tar.gz delete mode 100644 samba.keyring diff --git a/_service b/_service new file mode 100644 index 0000000..911fe1c --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://gitlab.suse.de/samba/suse-samba.git/ + git + factory + @PARENT_TAG@+git.@TAG_OFFSET@.%h + samba(.*) + \1 + samba + .git + + + + samba + samba.spec + + + + *.tar + bz2 + + diff --git a/patches.tar.bz2 b/patches.tar.bz2 deleted file mode 100644 index 724f3a8..0000000 --- a/patches.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a87b1860f8071112f560270a937d33a68c069aaf5ccaf8328809ebc7c2fb444 -size 41226 diff --git a/samba-4.6.2+git.19.c267455e57b.tar.bz2 b/samba-4.6.2+git.19.c267455e57b.tar.bz2 new file mode 100644 index 0000000..cd92ef7 --- /dev/null +++ b/samba-4.6.2+git.19.c267455e57b.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5692398d4e0efc3d7aef861ff3d945ab64020f7b7f53080472db56fff90e66b +size 25948940 diff --git a/samba-4.6.2.tar.asc b/samba-4.6.2.tar.asc deleted file mode 100644 index 8bb4fc9..0000000 --- a/samba-4.6.2.tar.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iD8DBQBY3flHbzORW2Vot+oRAmTlAJ9sFlLebbYX3c7rOh1P9btozLmTPQCghScz -DQw3KuAbWCKIgkHcy1zZr2o= -=bIg5 ------END PGP SIGNATURE----- diff --git a/samba-4.6.2.tar.gz b/samba-4.6.2.tar.gz deleted file mode 100644 index 4c71678..0000000 --- a/samba-4.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:927afcc16e444718985e3952de92d34e7b776b9ca0238179d866da18a6441c35 -size 21097045 diff --git a/samba.changes b/samba.changes index 5f4f48b..f1a266b 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 18 13:38:11 UTC 2017 - ddiss@suse.com + +- Generate source tarball directly from Git using OBS tar_scm + + use version string derived from parent Git tag and commit hash + - remove obsolete vendor-files/tools/package-data version ID + + explicitly generate ctdb manpages, needed without "make dist" + ------------------------------------------------------------------- Mon Apr 10 13:52:40 UTC 2017 - ddiss@suse.com diff --git a/samba.keyring b/samba.keyring deleted file mode 100644 index 31ac4fe..0000000 --- a/samba.keyring +++ /dev/null @@ -1,85 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1 - -mQGiBEXGOUcRBACooMht/2pmNT3bKZn1WEFQa+sXe6nxi3G6lH5bIBUKp85SDM57 -4qTcBIJXhwfGABeSvyUdZJbBxJDD5bNiO4k+Y5j3t8t9hb2FKgJ1bXL2aO5BbFnJ -UlkWw8UnHE3A3mmq2hYjfu+0J7mdMxyH5kajbtGfgt0rbPn/K00AgoBCqwCgyNR7 -1kaKzs1os6BiBhu0sTxTkN8EAJC1u1+z9mput/IWo9bQ85KRPfTXXRxv07jK++Yf -tPGMerJFxdpdVI+O+LQB9J7L6WUHF8TzmMEGHHStjnKiZB3PCDcAYpR8pVB3085f -fEpF32ic7mQzK+K+P0KARadywX1JLYSYP2YQ1BeYteC7hUtp/U0i0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dmDB28Lm+JKXyJpnHDrUkK6c504EuxVXX -QKOvLNPwod3U89OCZ3gFZU/zeESQdpWxXMiQvUqPAAQLCACnbn0cYaXhl3UnnQgy -PYVUJV12/sAjhlgAQq08SPgTJp4GE/Jx9C2KMS7dlWYH4tjDSbeO+RLLd26npdhi -y8Cn9UvsJvDs71/+5S2PTpV16eH5QzQZkvJ/PXkkRXQ1Ilovkvt5rKieHCx4n6QZ -b5td9AuAeRZp75UXERO7pXKG/57o/SzswrD/tSEKRpBKQED4eHsPohLw3dMKDWG6 -hLRf4GR8v+xKLFivqXr3ttELb9xS7ZyZqz6FSFucQAp6XY/xjnR3CFzfKq9pHO4P -wvhU53uQeI9suAHSPecxfUIcQfrCaN6K6ktEMY+KxeTJUgqB7FnskqynCof0MN2O -A40+iE8EGBECAA8CGwwFAlaonssFCRLDmN8ACgkQbzORW2Vot+pQOwCgn7y4A3pD -ADb+tNzOo5L1fQcFlxYAmgMPOlsiuY4hd+pW1UjKCtIHaKuO -=IqTy ------END PGP PUBLIC KEY BLOCK----- diff --git a/samba.spec b/samba.spec index 6a6ae3c..6859548 100644 --- a/samba.spec +++ b/samba.spec @@ -130,16 +130,6 @@ BuildRequires: libpcp-devel BuildRequires: libcephfs-devel BuildRequires: librados-devel %endif -%define samba_ver 4.6.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 -%define samba_source_signature_location https://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.asc -%else -%define samba_source_location https://ftp.samba.org/pub/samba/rc/samba-%{version}%{samba_ver_suffix}.tar.gz -%define samba_source_signature_location https://ftp.samba.org/pub/samba/rc/samba-%{version}%{samba_ver_suffix}.tar.asc -%endif -%define samba_ver_full %{samba_ver}%{samba_ver_suffix} %if 0%{?suse_version} && 0%{?suse_version} < 1031 %define libsmbclient_name libsmbclient %else @@ -156,7 +146,7 @@ BuildRequires: librados-devel %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 -Version: 4.6.2 +Version: 4.6.2+git.19.c267455e57b Release: 0 Url: https://www.samba.org/ Obsoletes: samba-gplv3 < %{version} @@ -168,11 +158,8 @@ Recommends: logrotate Summary: A SMB/CIFS File, Print, and Authentication Server License: GPL-3.0+ Group: Productivity/Networking/Samba -Source: %{samba_source_location} -Source5: %{samba_source_signature_location} -Source6: samba.keyring +Source: samba-%{version}.tar.bz2 Source1: vendor-files.tar.bz2 -Source2: patches.tar.bz2 Source4: baselibs.conf Source100: samba-client-rpmlintrc Requires: /usr/bin/getent @@ -1052,21 +1039,11 @@ that RADOS locks can be used for CTDB split-brain avoidance. %prep -%setup -n samba-%{samba_ver_full} -q -# patches -%setup -T -D -a 2 -n samba-%{samba_ver_full} -q -for patch in $( patches/tools/guards %{guards_symbols} >${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file} + rm -f "${RPM_BUILD_DIR}/samba-%{version}/filelist-${file}" + touch "${RPM_BUILD_DIR}/samba-%{version}/filelist-${file}" + echo "%config(noreplace) %{_sysconfdir}/logrotate.d/${file}" >>${RPM_BUILD_DIR}/samba-%{version}/filelist-${file} done install -m 0644 docu/README.SUSE %{buildroot}/%{DOCDIR}/ # SUSEhelp files @@ -1392,14 +1374,14 @@ for file in $( find %{buildroot}%{DOCDIR} -maxdepth 1); do case "${file#%{buildroot}}" in %{DOCDIR}|%{DOCDIR}/README.%{VENDOR}|%{DOCDIR}/docbook) continue ;; esac - echo "%doc ${file#%{buildroot}}" >>"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc" + echo "%doc ${file#%{buildroot}}" >>"${RPM_BUILD_DIR}/samba-%{version}/filelist-samba-doc" done for file in $( find %{buildroot}%{_libdir}/samba/vfs/ -mindepth 1 ); do # if built we don't want vfs_ceph in the base package case "${file#%{buildroot}}" in %{_libdir}/samba/vfs/ceph.so) continue ;; esac - echo "${file#%{buildroot}}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba + echo "${file#%{buildroot}}" >>${RPM_BUILD_DIR}/samba-%{version}/filelist-samba done # only package Man pages for VFS modules that we ship for file in %{buildroot}%{_mandir}/man8/vfs_*; do @@ -1424,7 +1406,7 @@ for file in %{buildroot}%{_mandir}/man8/vfs_*; do ;; esac # wildcard suffix to account for subsequent gzip - echo "${file#%{buildroot}}*" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba + echo "${file#%{buildroot}}*" >>${RPM_BUILD_DIR}/samba-%{version}/filelist-samba done # copy the schema install -m 0644 examples/LDAP/samba.schema %{buildroot}/%{_sysconfdir}/openldap/schema/samba3.schema @@ -1433,7 +1415,7 @@ install -m 0644 examples/LDAP/samba-nds.schema %{buildroot}/%{_datadir}/samba/LD %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 && 0%{?suse_version} < 1120 while read file; do rm -r "%{buildroot}/${file#%* }" -done <"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc" +done <"${RPM_BUILD_DIR}/samba-%{version}/filelist-samba-doc" for file in %{_datadir}/susehelp; do rm -r "%{buildroot}/${file}" done diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index ba0caab..cf276f4 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:c8d0b20f971c0cb6ff101a998fb2763c1fc77d81cb2c80cb3f057f3757b738e7 -size 55321 +oid sha256:ed1ba4bfee3f6a11175fa206152a1bc41a60e8d87d3f0d9ffff9314fbda20bb6 +size 55183