--- /dev/null
+From 6e482682528445659d05574c2bd37b8730e35ce5 Mon Sep 17 00:00:00 2001
+From: Michael Adam <obnox@samba.org>
+Date: Mon, 4 Apr 2011 11:46:31 +0200
+Subject: [PATCH] s3:idmap_tdb2: fix build of tdb2
+
+The include of system/filesys.h was removed from includes.h. ...
+(cherry picked from commit b7e330a2b325463e49abceb8f3e8d792248179ed)
+---
+ source3/winbindd/idmap_tdb2.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
+index 82121f8..1a5a51a 100644
+--- a/source3/winbindd/idmap_tdb2.c
++++ b/source3/winbindd/idmap_tdb2.c
+@@ -32,6 +32,7 @@
+ */
+
+ #include "includes.h"
++#include "system/filesys.h"
+ #include "winbindd.h"
+ #include "idmap.h"
+ #include "idmap_rw.h"
+--
+1.7.4.2
+
-%define main_release 65
+%define main_release 66
%define samba_version 3.6.0
%define tdb_version 1.2.1
%define talloc_version 2.0.1
#%define pre_release %nil
-%define pre_release pre1
+%define pre_release pre2
%define samba_release %{main_release}%{pre_release}%{?dist}
# The passwd part has been applied, but not the group part
Patch107: samba-3.2.0pre1-grouppwd.patch
Patch200: samba-3.2.5-inotify.patch
+Patch201: samba-3.6.0pre2.patch
Requires(pre): samba-common = %{epoch}:%{samba_version}-%{release}
Requires: pam >= 0:0.64
#%patch104 -p1 -b .nmbd-netbiosname # FIXME: does not apply
%patch107 -p1 -b .grouppwd
%patch200 -p0 -b .inotify
+%patch201 -p1 -b .buildfix
mv %samba_source/VERSION %samba_source/VERSION.orig
sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{samba_release}\"/' < %samba_source/VERSION.orig > %samba_source/VERSION
rm -f $RPM_BUILD_ROOT%{_bindir}/tdbbackup
rm -f $RPM_BUILD_ROOT%{_bindir}/tdbdump
rm -f $RPM_BUILD_ROOT%{_bindir}/tdbtool
+rm -f $RPM_BUILD_ROOT%{_bindir}/tdbrestore
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
%files doc
%defattr(-,root,root)
%doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
-%doc docs/Samba3-HOWTO.pdf
+#%doc docs/Samba3-HOWTO.pdf
%doc docs/htmldocs
%files -n libsmbclient
%{_datadir}/pixmaps/samba/logo-small.png
%changelog
+* Wed Apr 13 2011 Guenther Deschner <gdeschner@redhat.com> - 3.6.0pre2-66
+- Update to 3.6.0pre2
+
* Fri Mar 11 2011 Guenther Deschner <gdeschner@redhat.com> - 3.6.0pre1-65
- Enable quota support