From afb68809ea8ea3c013e317745f0f9f9be27a1c85 Mon Sep 17 00:00:00 2001 From: Guenther Deschner Date: Wed, 1 Apr 2009 13:10:01 +0000 Subject: [PATCH] Update to 3.3.3 Guenther --- .cvsignore | 2 +- samba-3.2.8-nmbd_lmb_delay.patch | 30 ------------------------------ samba.spec | 9 +++++---- sources | 2 +- 4 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 samba-3.2.8-nmbd_lmb_delay.patch diff --git a/.cvsignore b/.cvsignore index e8c98ab..62cab0f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -samba-3.3.2.tar.gz +samba-3.3.3.tar.gz diff --git a/samba-3.2.8-nmbd_lmb_delay.patch b/samba-3.2.8-nmbd_lmb_delay.patch deleted file mode 100644 index 48d4075..0000000 --- a/samba-3.2.8-nmbd_lmb_delay.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 857c2e4407a0f4fcee721372ffed5366bc3051f9 Mon Sep 17 00:00:00 2001 -From: Jeremy Allison -Date: Thu, 26 Mar 2009 12:13:28 -0700 -Subject: [PATCH] Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run elections - Fix logic bug that causes nmbd to wait 5 minutes before - looking for a master browser. This one is *old* :-). Thanks - for Simo for bugging me on this. - Jeremy. - ---- - source/nmbd/nmbd_elections.c | 3 --- - 1 files changed, 0 insertions(+), 3 deletions(-) - -diff --git a/source/nmbd/nmbd_elections.c b/source/nmbd/nmbd_elections.c -index b50d215..1ed64f4 100644 ---- a/source/nmbd/nmbd_elections.c -+++ b/source/nmbd/nmbd_elections.c -@@ -130,9 +130,6 @@ void check_master_browser_exists(time_t t) - struct subnet_record *subrec; - const char *workgroup_name = lp_workgroup(); - -- if (!lastrun) -- lastrun = t; -- - if (t < (lastrun + (CHECK_TIME_MST_BROWSE * 60))) - return; - --- -1.6.0.6 - diff --git a/samba.spec b/samba.spec index 1ea4636..74b4116 100644 --- a/samba.spec +++ b/samba.spec @@ -1,5 +1,5 @@ -%define main_release 33 -%define samba_version 3.3.2 +%define main_release 34 +%define samba_version 3.3.3 %define tdb_version 1.1.2 %define talloc_version 1.2.0 %define pre_release %nil @@ -46,7 +46,6 @@ Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch # 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.2.8-nmbd_lmb_delay.patch Requires(pre): samba-common = %{epoch}:%{samba_version}-%{release} Requires: pam >= 0:0.64 @@ -251,7 +250,6 @@ cp %{SOURCE11} packaging/Fedora/ #%patch104 -p1 -b .nmbd-netbiosname # FIXME: does not apply %patch107 -p1 -b .grouppwd %patch200 -p0 -b .inotify -%patch201 -p1 -b .nmbd_lmb_delay mv source/VERSION source/VERSION.orig sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{samba_release}\"/' < source/VERSION.orig > source/VERSION @@ -881,6 +879,9 @@ exit 0 %{_datadir}/pixmaps/samba/logo-small.png %changelog +* Wed Apr 1 2009 Guenther Deschner - 3.3.3-0.34 +- Update to 3.3.3 + * Thu Mar 26 2009 Simo Sorce - 3.3.2-0.33 - Fix nmbd init script nmbd reload was causing smbd not nmbd to reload the configuration diff --git a/sources b/sources index 583002c..48a1985 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5c5178ea2c5d9bd5f6569285f2e0e6d7 samba-3.3.2.tar.gz +4d5835817416d1ffa30783af45c5a9ed samba-3.3.3.tar.gz