From d099b20a5be3389111dee87ea71e604e304eefd0e1064808b21ec921b1149996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Wed, 23 Jan 2013 12:33:19 +0000 Subject: [PATCH] Going back to 3.6.11 to feed openSUSE:Factory/ 12.3. - Update to 3.6.11. + defer_open is triggered multiple times on the same request; (bso#9196). + Fix SEGV when using second vfs module; (bso#9471). OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=287 --- build-source-timestamp | 2 +- patches.tar.bz2 | 4 +- samba-3.6.11.tar.bz2 | 3 + samba-4.0.1.tar.bz2 | 3 - samba-doc.spec | 50 ++++++++------ samba.changes | 106 ++--------------------------- samba.spec | 151 ++++++++++++++++++++++++++++++++++------- vendor-files.tar.bz2 | 4 +- 8 files changed, 170 insertions(+), 153 deletions(-) create mode 100644 samba-3.6.11.tar.bz2 delete mode 100644 samba-4.0.1.tar.bz2 diff --git a/build-source-timestamp b/build-source-timestamp index 4399e2a..083a130 100644 --- a/build-source-timestamp +++ b/build-source-timestamp @@ -1 +1 @@ -SOURCE_TIMESTAMP="2912" +SOURCE_TIMESTAMP="2913" diff --git a/patches.tar.bz2 b/patches.tar.bz2 index 9ab7ad5..045041b 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2150dbb832e63cb0f009fff2d5d0bf4a84fbd874f56b64990008957389c14e3f -size 31199 +oid sha256:1bd9f54e0c7dcb63d23693c34661affb0dff4e17b7ad995d5b73f5a2785293e9 +size 32550 diff --git a/samba-3.6.11.tar.bz2 b/samba-3.6.11.tar.bz2 new file mode 100644 index 0000000..7ac0466 --- /dev/null +++ b/samba-3.6.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f1ac4aa61ef4c94dc7fde83ddb5191d841ecbd80bc60db2be2624e1557eed09 +size 29474702 diff --git a/samba-4.0.1.tar.bz2 b/samba-4.0.1.tar.bz2 deleted file mode 100644 index bb9fb5d..0000000 --- a/samba-4.0.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a17bc8f0e0c791af94552d2934208f16febd41d10341015152569b1d3df0df0 -size 17752256 diff --git a/samba-doc.spec b/samba-doc.spec index 01f3ff6..b51bd9b 100644 --- a/samba-doc.spec +++ b/samba-doc.spec @@ -89,7 +89,7 @@ BuildRequires: libtalloc-devel BuildRequires: libtdb-devel BuildRequires: libtevent-devel %endif -%define samba_ver 4.0.1 +%define samba_ver 3.6.11 %define samba_ver_suffix %nil %define samba_ver_full %{samba_ver}%{samba_ver_suffix} %if 0%{?suse_version} && 0%{?suse_version} < 1111 @@ -109,10 +109,10 @@ BuildRequires: libtevent-devel %define libtdb_name libtdb1 %define libtevent_name libtevent0 %if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1211 -%define libldb_ver 1.1.13 -%define libtalloc_ver 2.0.7 -%define libtdb_ver 1.2.10 -%define libtevent_ver 0.9.17 +%define libldb_ver 1.0.2 +%define libtalloc_ver 2.0.5 +%define libtdb_ver 1.2.9 +%define libtevent_ver 0.9.11 %else %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1131 %define libldb_ver %{version} @@ -126,9 +126,9 @@ BuildRequires: libtevent-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 2912 +%define SOURCE_TIMESTAMP 2913 %define BRANCH %{version} -Version: 4.0.1 +Version: 3.6.11 Release: 0 %define ldapsmb_ver 1.34b Url: http://www.samba.org/ @@ -148,9 +148,9 @@ Source2: patches.tar.bz2 Source3: build-source-timestamp Source4: baselibs.conf Source11: http://www.samba.org/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 -Source100: samba-client-rpmlintrc # Choose some features / extra packages here ############################################ +%define make_devel 0 %define use_ccache 0 %if 0%{?use_ccache} > 0 BuildRequires: ccache @@ -246,7 +246,8 @@ else vendor_tag_release="" fi vendor_tag=$( echo -n "${vendor_tag_release}"; \ - echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}" ) + echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}"; \ + test %{make_devel} -eq 1 && echo -n "devel-" || :) # Create product suffix test 0%{?centos_version} -gt 0 && product_version=%{?centos_version} test 0%{?fedora_version} -gt 0 && product_version=%{?fedora_version} @@ -273,10 +274,9 @@ fi # Add the build architecture test "%{_build_arch}" != "" && \ product_suffix="${product_suffix}-%{_build_arch}" -popd # Set SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file -###mv VERSION VERSION.orig -###sed -e "s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/" VERSION.orig >VERSION +mv VERSION VERSION.orig +sed -e "s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/" VERSION.orig >VERSION %endif %build samba-%{samba_ver_full} @@ -306,17 +306,18 @@ rm -f librpc/gen_ndr/*.[cho] ../librpc/gen_ndr/*.[cho] %endif CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ - --localstatedir=%{_localstatedir} \ + --localstatedir=%{LOCKDIR} \ --sysconfdir=%{CONFIGDIR} \ --with-configdir=%{CONFIGDIR} \ --libdir=%{_libdir} \ --with-lockdir=%{LOCKDIR} \ --with-logfilebase=%{LOGDIR} \ - --mandir=%{_mandir} \ + --with-mandir=%{_mandir} \ --with-modulesdir=%{_libdir}/samba \ + --with-rootsbindir=/sbin \ + --with-nmbdsocketdir=%{LOCKDIR} \ --enable-cups \ --enable-debug \ - --enable-fhs \ %if %{link_static_libs} --enable-static \ %else @@ -330,14 +331,26 @@ CONFIGURE_OPTIONS="\ --with-pam_smbpass \ --with-piddir=%{PIDDIR} \ --with-privatedir=%{CONFIGDIR} \ +%if %{make_devel} + --with-profiling-data \ +%endif --with-quotas \ + --with-swatdir=%{SWATDIR} \ --with-syslog \ --with-utmp \ --with-winbind \ --with-shared-modules=%{vfs_modules},%{idmap_modules} \ - --disable-swat \ +%if %{make_devel} + --enable-developer \ + --enable-krb5developer \ +%endif + --disable-swat \ " -./configure ${CONFIGURE_OPTIONS} +unset CONFIGURE_OPTIONS_DEVEL +%if %{make_devel} +CONFIGURE_OPTIONS_DEVEL="--enable-debug --enable-developer" +%endif +./configure ${CONFIGURE_OPTIONS} ${CONFIGURE_OPTIONS_DEVEL} ./script/mkversion.sh %endif @@ -363,7 +376,6 @@ grep -v "\(^#\|^;\|^$\)" config/smb.conf.vendor >>config/smb.conf install -p -m 0644 config/smb.conf.vendor ../examples/smb.conf.%{VENDOR} # SuSEhelp files install -m 0644 docu/Samba.desktop %{buildroot}/%{_datadir}/susehelp/meta/Administration/System/Samba.desktop -install -d -m 0755 -p ../docs/htmldocs install -m 0644 docu/manpages.html ../docs/htmldocs/manpages.html popd for file in Samba3-ByExample Samba3-Developers-Guide Samba3-HOWTO; do @@ -376,7 +388,7 @@ 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}/ +mv COPYING Manifest README Roadmap WHATSNEW.txt %{buildroot}/%{DOCDIR}/ # this is empty rm -rf docs/yodldocs rm -rf docs/manpages diff --git a/samba.changes b/samba.changes index 6eaaf7a..bbd178d 100644 --- a/samba.changes +++ b/samba.changes @@ -1,7 +1,9 @@ ------------------------------------------------------------------- -Mon Jan 21 22:29:32 UTC 2013 - lmuelle@suse.com +Wed Jan 23 12:10:57 UTC 2013 - lmuelle@suse.com -- Add filter against shlib-policy-name-error for /lib*/libnss_wins.so.2. +- Update to 3.6.11. + + defer_open is triggered multiple times on the same request; (bso#9196). + + Fix SEGV when using second vfs module; (bso#9471). ------------------------------------------------------------------- Mon Jan 21 11:02:35 UTC 2013 - lmuelle@suse.com @@ -13,18 +15,6 @@ Fri Jan 18 17:34:55 UTC 2013 - lmuelle@suse.com - Remove dangling references to Heimdal from the spec file. -------------------------------------------------------------------- -Thu Jan 17 18:07:11 UTC 2013 - lmuelle@suse.com - -- Remove /lib/samba prefix from the localstatedir configure option. - -------------------------------------------------------------------- -Tue Jan 15 12:12:17 UTC 2013 - lmuelle@suse.com - -- Update to 4.0.1. - + Samba 4.0.0 as an AD DC may provide authenticated users with write access - to LDAP directory objects; CVE-2013-0172; (bnc#798364). - ------------------------------------------------------------------- Wed Jan 9 21:53:11 UTC 2013 - lmuelle@suse.com @@ -36,42 +26,6 @@ Sun Dec 23 14:56:51 UTC 2012 - lmuelle@suse.com - Use the version macro while definition of the branch macro. -------------------------------------------------------------------- -Wed Dec 19 22:52:28 UTC 2012 - lmuelle@suse.com - -- Remove references to no longer used devel macros. - -------------------------------------------------------------------- -Tue Dec 11 18:42:04 UTC 2012 - lmuelle@suse.com - -- Update to 4.0.0. - + Honor password complexity settings; (bso#9414). - + Install SWAT *.msg files with waf; (bso#9415). - + Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon AES; - (bso#9438). - + developer-build: Fix panic when acl_xattr fails with access denied; - (bso#9456). - + Fix "map username script" with "security=ads" and Winbind; (bso#9457). - + Install manpages only if we install the target; (bso#9459). - + Respond correctly to FILE_STREAM_INFO requests; (bso#9460). - + Users can not be given write permissions any more by default; (bso#9462). - + Fix MMC crashes; (bso#9470). - + Fix SEGV when using second vfs module; (bso#9471). - + Support FIPS mode when building Samba; (bso#9479). - + Fix ACL on "cn=partitions,cn=configuration"; (bso#9481). - -------------------------------------------------------------------- -Tue Dec 11 11:41:59 UTC 2012 - lmuelle@suse.com - -- netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon AES broken; - (bso#9438). -- s3:auth: fix create_token_from_sid() to not fail in the winbindd case; - (bso#9457). -- s4:dsdb/acl_read: return the nTSecurityDescriptor attr if the sd_flags - control is given; (bso#9470). -- Support FIPS mode when building Samba; (bso#9479). -- s4:provision: set the correct nTSecurityDescriptor; (bso#9481). - ------------------------------------------------------------------- Mon Dec 10 22:25:04 UTC 2012 - lmuelle@suse.com @@ -85,14 +39,6 @@ Mon Dec 10 11:24:52 UTC 2012 - lmuelle@suse.com + Fix segfault when "default devmode" is disabled; (bso#9433). + Fix segfaults in "log level = 10" on Solaris; (bso#9390). -------------------------------------------------------------------- -Sun Dec 9 00:05:32 UTC 2012 - lmuelle@suse.com - -- s3:smbd:vfs_acl: fix a PANIC when setting an ACL fails with ACCESS_DENIED; - (bso#9456). -- Install manpages only if we install the target; (bso#9459). -- Users can not be given write permissions any more by default; (bso#9462). - ------------------------------------------------------------------- Sat Dec 8 18:57:16 UTC 2012 - lmuelle@suse.com @@ -108,12 +54,6 @@ Sat Dec 8 18:57:16 UTC 2012 - lmuelle@suse.com - Allow to force DNS updates using net; (bso#9451). - Respond correctly to FILE_STREAM_INFO requests; (bso#9460). -------------------------------------------------------------------- -Fri Dec 7 15:48:52 UTC 2012 - lmuelle@suse.com - -- Update to 4.0.0rc6. - See WHATSNEW.txt from the samba-doc package. - ------------------------------------------------------------------- Tue Dec 4 14:29:48 UTC 2012 - lmuelle@suse.com @@ -156,12 +96,6 @@ Tue Nov 27 17:22:58 UTC 2012 - ddiss@suse.com - Fix spoolss segfault when default devmode is disabled; (bso#9433); (bnc#791183). -------------------------------------------------------------------- -Mon Nov 19 17:49:36 UTC 2012 - lmuelle@suse.com - -- Update to 4.0.0rc5. - See WHATSNEW.txt from the samba-doc package. - ------------------------------------------------------------------- Fri Nov 16 18:23:42 UTC 2012 - lmuelle@suse.com @@ -341,27 +275,6 @@ Mon Aug 6 19:40:23 UTC 2012 - lmuelle@suse.com - Fix bugs in SMB2 credit handling code; (bso#9057). - rpcclient: Fix bad call to data_blob_const; (bso#9062). -------------------------------------------------------------------- -Fri Jul 20 23:02:10 UTC 2012 - lmuelle@suse.com - -- Create missing doc directories while install. -- Remove no longer existing Manifest file from install. -- Don't creat a link to non existend html man pages for swat. -- Don't call the no longer existing libsmbclient testsuit while build. - -------------------------------------------------------------------- -Fri Jul 20 22:08:35 UTC 2012 - lmuelle@suse.com - -- Configure with option --mandir instead --with-mandir. -- Remove obsoleted --with-rootsbindir, --with-nmbdsocketdir, and - --with-swatdir configure options. - -------------------------------------------------------------------- -Thu Jul 19 11:12:48 UTC 2012 - lmuelle@suse.com - -- Update to 4.0.0beta4. - See WHATSNEW.txt from the samba-doc package. - ------------------------------------------------------------------- Mon Jul 16 14:35:39 UTC 2012 - lmuelle@suse.com @@ -377,17 +290,6 @@ Wed Jul 11 14:20:48 UTC 2012 - lmuelle@suse.com - Fix shell syntax in dhcpcd hook script; (bnc#769957). -------------------------------------------------------------------- -Wed Jun 27 21:22:11 UTC 2012 - lmuelle@suse.com - -- Add missing int declaration to the net kdc lookup patch. - -------------------------------------------------------------------- -Mon Jun 25 21:42:20 UTC 2012 - lmuelle@suse.com - -- Update to 4.0.0beta2. - See WHATSNEW.txt from the samba-doc package. - ------------------------------------------------------------------- Mon Jun 25 19:46:31 UTC 2012 - lmuelle@suse.com diff --git a/samba.spec b/samba.spec index 8b9bacd..285efd5 100644 --- a/samba.spec +++ b/samba.spec @@ -89,7 +89,7 @@ BuildRequires: libtalloc-devel BuildRequires: libtdb-devel BuildRequires: libtevent-devel %endif -%define samba_ver 4.0.1 +%define samba_ver 3.6.11 %define samba_ver_suffix %nil %define samba_ver_full %{samba_ver}%{samba_ver_suffix} %if 0%{?suse_version} && 0%{?suse_version} < 1111 @@ -109,10 +109,10 @@ BuildRequires: libtevent-devel %define libtdb_name libtdb1 %define libtevent_name libtevent0 %if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1211 -%define libldb_ver 1.1.13 -%define libtalloc_ver 2.0.7 -%define libtdb_ver 1.2.10 -%define libtevent_ver 0.9.17 +%define libldb_ver 1.0.2 +%define libtalloc_ver 2.0.5 +%define libtdb_ver 1.2.9 +%define libtevent_ver 0.9.11 %else %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1131 %define libldb_ver %{version} @@ -126,9 +126,9 @@ BuildRequires: libtevent-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 2912 +%define SOURCE_TIMESTAMP 2913 %define BRANCH %{version} -Version: 4.0.1 +Version: 3.6.11 Release: 0 %define ldapsmb_ver 1.34b License: GPL-3.0+ @@ -151,13 +151,13 @@ Source2: patches.tar.bz2 Source3: build-source-timestamp Source4: baselibs.conf Source11: http://www.samba.org/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 -Source100: samba-client-rpmlintrc PreReq: /usr/bin/getent PreReq: /usr/sbin/groupadd PreReq: coreutils PreReq: grep # Choose some features / extra packages here ############################################ +%define make_devel 0 %define use_ccache 0 %if 0%{?use_ccache} > 0 BuildRequires: ccache @@ -674,7 +674,7 @@ Branch: %{BRANCH} %setup -n samba-%{samba_ver_full} -q # check if our library versions from the spec are still current %if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1211 -grep "^VERSION = '%{libldb_ver}'$" lib/ldb/wscript || \ +grep "^VERSION = '%{libldb_ver}'$" source4/lib/ldb/wscript || \ exit 1 grep "^VERSION = '%{libtalloc_ver}'$" lib/talloc/wscript || \ exit 1 @@ -716,7 +716,8 @@ else vendor_tag_release="" fi vendor_tag=$( echo -n "${vendor_tag_release}"; \ - echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}" ) + echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}"; \ + test %{make_devel} -eq 1 && echo -n "devel-" || :) # Create product suffix test 0%{?centos_version} -gt 0 && product_version=%{?centos_version} test 0%{?fedora_version} -gt 0 && product_version=%{?fedora_version} @@ -743,10 +744,9 @@ fi # Add the build architecture test "%{_build_arch}" != "" && \ product_suffix="${product_suffix}-%{_build_arch}" -popd # Set SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file -###mv VERSION VERSION.orig -###sed -e "s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/" VERSION.orig >VERSION +mv VERSION VERSION.orig +sed -e "s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/" VERSION.orig >VERSION %build %if 0%{?suse_version} && 0%{?suse_version} < 911 @@ -773,17 +773,18 @@ rm -f librpc/gen_ndr/*.[cho] ../librpc/gen_ndr/*.[cho] %endif CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ - --localstatedir=%{_localstatedir} \ + --localstatedir=%{LOCKDIR} \ --sysconfdir=%{CONFIGDIR} \ --with-configdir=%{CONFIGDIR} \ --libdir=%{_libdir} \ --with-lockdir=%{LOCKDIR} \ --with-logfilebase=%{LOGDIR} \ - --mandir=%{_mandir} \ + --with-mandir=%{_mandir} \ --with-modulesdir=%{_libdir}/samba \ + --with-rootsbindir=/sbin \ + --with-nmbdsocketdir=%{LOCKDIR} \ --enable-cups \ --enable-debug \ - --enable-fhs \ %if %{link_static_libs} --enable-static \ %else @@ -797,14 +798,26 @@ CONFIGURE_OPTIONS="\ --with-pam_smbpass \ --with-piddir=%{PIDDIR} \ --with-privatedir=%{CONFIGDIR} \ +%if %{make_devel} + --with-profiling-data \ +%endif --with-quotas \ + --with-swatdir=%{SWATDIR} \ --with-syslog \ --with-utmp \ --with-winbind \ --with-shared-modules=%{vfs_modules},%{idmap_modules} \ - --disable-swat \ +%if %{make_devel} + --enable-developer \ + --enable-krb5developer \ +%endif + --disable-swat \ " -./configure ${CONFIGURE_OPTIONS} +unset CONFIGURE_OPTIONS_DEVEL +%if %{make_devel} +CONFIGURE_OPTIONS_DEVEL="--enable-debug --enable-developer" +%endif +./configure ${CONFIGURE_OPTIONS} ${CONFIGURE_OPTIONS_DEVEL} ./script/mkversion.sh make samba3-idl make %{build_make_smp_mflags} \ @@ -842,7 +855,7 @@ TALLOC_LIBS=../../source3/bin/libtalloc.so.2 TALLOC_CFLAGS=-I../talloc/ ./config make popd -pushd lib/ldb +pushd source4/lib/ldb TALLOC_LIBS=../../../source3/bin/libtalloc.so.2 TALLOC_CFLAGS=-I../../../lib/talloc/ \ TEVENT_LIBS=../../../lib/tevent/bin/default/lib/tevent/libtevent.so TEVENT_CFLAGS=-I../../../lib/tevent/ \ TDB_LIBS=../../../source3/bin/libtdb.so.1 TDB_CFLAGS=-I../../../lib/tdb/include \ @@ -873,8 +886,14 @@ make test_shlibs make test_nss_modules make test_pam_modules popd +pushd testsuite/libsmbclient/src +make +popd %install +%if %{make_devel} + export NO_BRP_STRIP_DEBUG="true" +%endif install -d -m 0755 -p \ %{buildroot}/%{_sysconfdir}/{pam.d,xinetd.d,logrotate.d} \ %{buildroot}/%{_sysconfdir}/openldap/schema \ @@ -914,7 +933,7 @@ make install \ popd done # libldb -make -C lib/ldb/ install \ +make -C source4/lib/ldb/ install \ DESTDIR=%{buildroot} \ CONFIGDIR=%{CONFIGDIR} # we prefer the s3 binaries of the tdbtools @@ -1001,6 +1020,7 @@ for script in ${startScripts}; do >"%{buildroot}/%{_datadir}/omc/svcinfo.d/${script}.xml" done install -m 0755 tools/nmbstatus %{buildroot}/%{_bindir}/nmbstatus +pod2man tools/nmbstatus >%{buildroot}/%{_mandir}/man1/nmbstatus.1 install -m 0755 tools/update-apparmor-samba-profile \ %{buildroot}/%{_datadir}/samba/ # PDF generator @@ -1045,7 +1065,6 @@ done install -m 0644 docu/README.vendor %{buildroot}/%{DOCDIR}/README.%{VENDOR} # SuSEhelp files install -m 0644 docu/Samba.desktop %{buildroot}/%{_datadir}/susehelp/meta/Administration/System/Samba.desktop -install -d -m 0755 -p ../docs/htmldocs install -m 0644 docu/manpages.html ../docs/htmldocs/manpages.html popd # libnss_wins.so @@ -1081,6 +1100,7 @@ install -m 0755 source3/bin/vfstest %{buildroot}/%{_bindir}/vfstest %endif %if %{make_ldapsmb} install -m 0700 ldapsmb-%{ldapsmb_ver}/ldapsmb %{buildroot}/%{_sbindir}/ +cp -a ldapsmb-%{ldapsmb_ver}/ldapsmb.5 %{buildroot}/%{_mandir}/man5 %endif # cups SMB support mkdir -p %{buildroot}/%{cups_lib_dir}/backend/ @@ -1091,7 +1111,7 @@ 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}/ +mv COPYING Manifest README Roadmap WHATSNEW.txt %{buildroot}/%{DOCDIR}/ # this is empty rm -rf docs/yodldocs rm -rf docs/manpages @@ -1328,6 +1348,7 @@ fi %{_libdir}/samba/auth %{_libdir}/samba/config %{_libdir}/samba/rpc +%{_libdir}/samba/*.msg %attr(0775,root,ntadmin) %{LOCKDIR}/drivers %{LOCKDIR}/netlogon %attr(0770,root,users) %dir %{LOCKDIR}/profiles @@ -1345,6 +1366,44 @@ fi %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/smb.xml %dir %{_datadir}/samba %{_datadir}/samba/update-apparmor-samba-profile +%doc %{_mandir}/man1/smbstatus.1.* +%doc %{_mandir}/man5/smbpasswd.5.* +%doc %{_mandir}/man8/nmbd.8.* +%doc %{_mandir}/man8/smbd.8.* +%doc %{_mandir}/man8/swat.8.* +%doc %{_mandir}/man8/vfs_aio_fork.8.* +%doc %{_mandir}/man8/vfs_aio_pthread.8.* +%doc %{_mandir}/man8/vfs_acl_tdb.8.* +%doc %{_mandir}/man8/vfs_acl_xattr.8.* +%doc %{_mandir}/man8/vfs_audit.8.* +%doc %{_mandir}/man8/vfs_cacheprime.8.* +%doc %{_mandir}/man8/vfs_cap.8.* +%doc %{_mandir}/man8/vfs_catia.8.* +%doc %{_mandir}/man8/vfs_commit.8.* +%doc %{_mandir}/man8/vfs_crossrename.8.* +%doc %{_mandir}/man8/vfs_default_quota.8.* +%doc %{_mandir}/man8/vfs_dirsort.8.* +%doc %{_mandir}/man8/vfs_scannedonly.8.* +%doc %{_mandir}/man8/vfs_streams_depot.8.* +%doc %{_mandir}/man8/vfs_extd_audit.8.* +%doc %{_mandir}/man8/vfs_fake_perms.8.* +%doc %{_mandir}/man8/vfs_fileid.8.* +%doc %{_mandir}/man8/vfs_full_audit.8.* +%doc %{_mandir}/man8/vfs_gpfs.8.* +%doc %{_mandir}/man8/vfs_netatalk.8.* +%doc %{_mandir}/man8/vfs_notify_fam.8.* +%doc %{_mandir}/man8/vfs_prealloc.8.* +%doc %{_mandir}/man8/vfs_preopen.8.* +%doc %{_mandir}/man8/vfs_readahead.8.* +%doc %{_mandir}/man8/vfs_readonly.8.* +%doc %{_mandir}/man8/vfs_recycle.8.* +%doc %{_mandir}/man8/vfs_shadow_copy.8.* +%doc %{_mandir}/man8/vfs_shadow_copy2.8.* +%doc %{_mandir}/man8/vfs_smb_traffic_analyzer.8.* +%doc %{_mandir}/man8/vfs_streams_xattr.8.* +%doc %{_mandir}/man8/vfs_time_audit.8.* +%doc %{_mandir}/man8/vfs_xattr_tdb.8.* +%doc %{_mandir}/man8/smbta-util.8.* %if 0%{?suse_version} && 0%{?suse_version} < 1021 %{_includedir}/samba %endif @@ -1375,7 +1434,6 @@ fi %if 0%{?suse_version} && 0%{?suse_version} > 1100 %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client %endif -%{_bindir}/dbwrap_tool %{_bindir}/eventlogadm %{_bindir}/findsmb %{_bindir}/net @@ -1416,7 +1474,35 @@ fi %ghost %{cups_lib_dir}/backend/smb %dir %{_libdir}/samba %{_libdir}/samba/charset -%{_datadir}/samba/codepages +%{_libdir}/samba/lowcase.dat +%{_libdir}/samba/upcase.dat +%{_libdir}/samba/valid.dat +%doc %{_mandir}/man1/findsmb.1.* +%doc %{_mandir}/man1/nmblookup.1.* +%doc %{_mandir}/man1/nmbstatus.1.* +%doc %{_mandir}/man1/profiles.1.* +%doc %{_mandir}/man1/rpcclient.1.* +%doc %{_mandir}/man1/sharesec.1.* +%doc %{_mandir}/man1/smbcacls.1.* +%doc %{_mandir}/man1/smbcontrol.1.* +%doc %{_mandir}/man1/smbclient.1.* +%doc %{_mandir}/man1/smbcquotas.1.* +%doc %{_mandir}/man1/smbget.1.* +%doc %{_mandir}/man1/smbtar.1.* +%doc %{_mandir}/man1/smbtree.1.* +%doc %{_mandir}/man1/testparm.1.* +%doc %{_mandir}/man5/lmhosts.5.* +%doc %{_mandir}/man5/smb.conf.5.* +%doc %{_mandir}/man5/smbgetrc.5.* +%doc %{_mandir}/man7/samba.7.* +%doc %{_mandir}/man8/eventlogadm.8.* +%doc %{_mandir}/man8/net.8.* +%doc %{_mandir}/man8/pdbedit.8.* +%doc %{_mandir}/man8/smbpasswd.8.* +%doc %{_mandir}/man8/smbspool.8.* +%doc %{_mandir}/man8/tdbbackup.8.* +%doc %{_mandir}/man8/tdbdump.8.* +%doc %{_mandir}/man8/tdbtool.8.* %if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d @@ -1442,6 +1528,10 @@ fi %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd +%doc %{_mandir}/man1/ntlm_auth.1.* +%doc %{_mandir}/man1/wbinfo.1.* +%doc %{_mandir}/man5/pam_winbind.conf.5.* +%doc %{_mandir}/man8/winbindd.8.* %{_bindir}/ntlm_auth %{_bindir}/wbinfo %{_sbindir}/rcwinbind @@ -1450,6 +1540,17 @@ fi /%{_lib}/security/pam_winbind.so %{_libdir}/samba/idmap %{_libdir}/samba/nss_info +%doc %{_mandir}/man7/winbind_krb5_locator.7.* +%doc %{_mandir}/man8/idmap_ad.8.* +%doc %{_mandir}/man8/idmap_adex.8.* +%doc %{_mandir}/man8/idmap_autorid.8.* +%doc %{_mandir}/man8/idmap_hash.8.* +%doc %{_mandir}/man8/idmap_ldap.8.* +%doc %{_mandir}/man8/idmap_nss.8.* +%doc %{_mandir}/man8/idmap_rid.8.* +%doc %{_mandir}/man8/idmap_tdb.8.* +%doc %{_mandir}/man8/idmap_tdb2.8.* +%doc %{_mandir}/man8/pam_winbind.8.* %if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d @@ -1509,6 +1610,7 @@ fi %files -n %{libsmbclient_name} %defattr(-,root,root) %{_libdir}/libsmbclient.so.* +%doc %{_mandir}/man7/libsmbclient.7.* %files -n libsmbclient-devel %defattr(-,root,root) @@ -1613,6 +1715,7 @@ fi %files -n ldapsmb %defattr(-,root,root) %{_sbindir}/ldapsmb +%{_mandir}/man5/ldapsmb.5.* %endif %changelog diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 87c7dd8..cd74cf9 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:fade26474b0bc96f5545a796d939f1b7755ca5438c4d07fa3a58797859380d22 -size 53961 +oid sha256:b7f0e103896886d94555ad83579e869612e0271af34bd32292d45a56a8a76e89 +size 53368