From 45dd08ebaee91276fa46dd2904711e93cc5e1f1f Mon Sep 17 00:00:00 2001 From: Guenther Deschner Date: Sep 18 2008 15:11:15 +0000 Subject: - Update to 3.2.4 - resolves: #456889 - move cifs.upcall to /usr/sbin Guenther --- diff --git a/.cvsignore b/.cvsignore index 41cb63b..da14dd8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -samba-3.2.3.tar.gz +samba-3.2.4.tar.gz diff --git a/samba-3.2.4-build.patch b/samba-3.2.4-build.patch new file mode 100644 index 0000000..8234e6a --- /dev/null +++ b/samba-3.2.4-build.patch @@ -0,0 +1,21 @@ +commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b +Author: Günther Deschner +Date: Fri Sep 5 14:01:45 2008 +0200 + + build: don't install the cifs.upcall binary twice. + + Guenther + +diff --git a/source/Makefile.in b/source/Makefile.in +index 8b46ab6..b67cfe8 100644 +--- a/source/Makefile.in ++++ b/source/Makefile.in +@@ -178,7 +178,7 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" \ + + # Note that all executable programs now provide for an optional executable suffix. + +-SBIN_PROGS = bin/smbd@EXEEXT@ bin/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@ @CIFSUPCALL_PROGS@ ++SBIN_PROGS = bin/smbd@EXEEXT@ bin/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@ + + ROOT_SBIN_PROGS = @CIFSMOUNT_PROGS@ + diff --git a/samba.spec b/samba.spec index 3e6ffb6..1973d8a 100644 --- a/samba.spec +++ b/samba.spec @@ -1,5 +1,5 @@ -%define main_release 20 -%define samba_version 3.2.3 +%define main_release 21 +%define samba_version 3.2.4 %define tdb_version 1.1.1 %define talloc_version 1.2.0 @@ -8,7 +8,7 @@ Summary: The Samba Suite of programs Name: samba Epoch: 0 -Version: 3.2.3 +Version: 3.2.4 Release: %{samba_release} License: GPLv3+ and LGPLv3+ Group: System Environment/Daemons @@ -29,7 +29,7 @@ Source9: smb.conf.default Source10: nmb.init Source11: pam_winbind.conf -# Don't depend on Net::LDAP + # Don't depend on Net::LDAP Source999: filter-requires-samba.sh # upstream patches. Applied first so that they'll break our patches rather @@ -46,6 +46,7 @@ Patch107: samba-3.2.0pre1-grouppwd.patch Patch110: samba-3.0.21pre1-smbspool.patch Patch111: samba-3.0.13-smbclient.patch Patch200: samba-3.0.25rc1-inotifiy.patch +Patch201: samba-3.2.4-build.patch Requires(pre): samba-common = %{epoch}:%{version}-%{release} Requires: pam >= 0:0.64 @@ -252,6 +253,7 @@ cp %{SOURCE11} packaging/Fedora/ #%patch110 -p1 -b .smbspool # FIXME: does not apply #%patch111 -p1 -b .smbclient # FIXME: does not apply #%patch200 -p0 -b .inotify # FIXME: does not compile +%patch201 -p1 -b .build mv source/VERSION source/VERSION.orig sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{samba_release}\"/' < source/VERSION.orig > source/VERSION @@ -430,7 +432,6 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba install -m755 source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs install -m755 source/client/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs -install -m755 source/bin/cifs.upcall $RPM_BUILD_ROOT/sbin/cifs.upcall install -m 755 source/lib/netapi/examples/bin/netdomjoin-gui $RPM_BUILD_ROOT/%{_sbindir}/netdomjoin-gui mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name} @@ -451,7 +452,6 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8* # why are these getting installed in the wrong place? rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs -rm -f $RPM_BUILD_ROOT%{_sbindir}/cifs.upcall %clean @@ -676,7 +676,7 @@ exit 0 %defattr(-,root,root) /sbin/mount.cifs /sbin/umount.cifs -/sbin/cifs.upcall +%{_sbindir}/cifs.upcall %{_bindir}/rpcclient %{_bindir}/smbcacls %{_bindir}/findsmb @@ -830,6 +830,11 @@ exit 0 %{_datadir}/pixmaps/samba/logo-small.png %changelog +* Thu Sep 18 2008 Guenther Deschner - 3.2.4-0.21 +- Update to 3.2.4 +- resolves: #456889 +- move cifs.upcall to /usr/sbin + * Wed Aug 27 2008 Guenther Deschner - 3.2.3-0.20 - Security fix for CVE-2008-3789 diff --git a/sources b/sources index 2560fb9..02f42e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c1630a57ac0ec24bc364c6d11c93ec35 samba-3.2.3.tar.gz +7870a6bb3a025c6081cd56688acd494a samba-3.2.4.tar.gz