samba: upgrade to 3.6.24
PATCH 1/1 samba: upgrade to 3.6.24
Upgrade samba to latest 3.6.x version.
* remove PR
* remove backport CVE patches
* update 4 patches: documentation.patch, documentation2.patch, undefined-symbols.patch and bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch
Signed-off-by Kai Kang <[email protected]>
---
.../bug_221618_precise-64bit-prototype.patch | 0
...4104_mention-kerberos-in-smbspool-manpage.patch | 4 +-
...m_7499-nss_wins-dont-clobber-daemons-logs.patch | 0
.../bug_601406_fix-perl-path-in-example.patch | 0
...04768_upstream_7826_drop-using-samba-link.patch | 0
...ug_604768_upstream_7826_fix-WHATSNEW-link.patch | 0
...onfigure-disable-core_pattern-cross-check.patch | 0
.../configure-disable-getaddrinfo-cross.patch | 0
.../configure-libunwind.patch | 0
.../documentation.patch | 16 +-
.../documentation2.patch | 8 +-
.../dont-build-VFS-examples.patch | 0
.../fhs-filespaths.patch | 0
.../installswat.sh.patch | 0
.../libutil_drop_AI_ADDRCONFIG.patch | 0
.../only_export_public_symbols.patch | 0
.../pam-examples.patch | 0
.../shadow_copy2_backport.patch | 0
.../smbclient-pager.patch | 0
.../smbtar-bashism.patch | 0
.../smbtorture-manpage.patch | 0
.../undefined-symbols.patch | 6 +-
.../{samba-3.6.8 => samba-3.6.24}/usershare.patch | 0
.../waf-as-source.patch | 0
.../samba-3.6.11-CVE-2013-0213-CVE-2013-0214.patch | 160 ----
.../samba/samba/samba-3.6.16-CVE-2013-4124.patch | 43 -
.../samba/samba/samba-3.6.19-CVE-2013-4475.patch | 102 ---
.../samba/samba/samba-3.6.22-CVE-2013-4496.patch | 966 ---------------------
.../samba/{samba_3.6.8.bb => samba_3.6.24.bb} | 11 +-
29 files changed, 19 insertions(+), 1297 deletions(-)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/bug_221618_precise-64bit-prototype.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch (79%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/bug_601406_fix-perl-path-in-example.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/bug_604768_upstream_7826_drop-using-samba-link.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/bug_604768_upstream_7826_fix-WHATSNEW-link.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/configure-disable-core_pattern-cross-check.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/configure-disable-getaddrinfo-cross.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/configure-libunwind.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/documentation.patch (92%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/documentation2.patch (99%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/dont-build-VFS-examples.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/fhs-filespaths.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/installswat.sh.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/libutil_drop_AI_ADDRCONFIG.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/only_export_public_symbols.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/pam-examples.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/shadow_copy2_backport.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/smbclient-pager.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/smbtar-bashism.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/smbtorture-manpage.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/undefined-symbols.patch (86%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/usershare.patch (100%)
rename meta-oe/recipes-connectivity/samba/{samba-3.6.8 => samba-3.6.24}/waf-as-source.patch (100%)
delete mode 100644 meta-oe/recipes-connectivity/samba/samba/samba-3.6.11-CVE-2013-0213-CVE-2013-0214.patch
delete mode 100644 meta-oe/recipes-connectivity/samba/samba/samba-3.6.16-CVE-2013-4124.patch
delete mode 100644 meta-oe/recipes-connectivity/samba/samba/samba-3.6.19-CVE-2013-4475.patch
delete mode 100644 meta-oe/recipes-connectivity/samba/samba/samba-3.6.22-CVE-2013-4496.patch
rename meta-oe/recipes-connectivity/samba/{samba_3.6.8.bb => samba_3.6.24.bb} (82%)meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/bug_221618_precise-64bit-prototype.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch +2 -2
@@ -27,8 +27,8 @@ Index: samba/docs/manpages/smbspool.8 .sp -1 .IP \(bu 2.3 .\} --The user argument (argv[2]) contains the print user\'s name and is presently not used by smbspool\&. -+The user argument (argv[2]) contains the print user\'s name and is presently not used by smbspool except in Kerberos environments to access the user\'s ticket cache\&. +-The user argument (argv[2]) contains the print user\*(Aqs name and is presently not used by smbspool\&. ++The user argument (argv[2]) contains the print user\*(Aqs name and is presently not used by smbspool except in Kerberos environments to access the user\'s ticket cache\&. .RE .sp .RS 4
meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_601406_fix-perl-path-in-example.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/bug_601406_fix-perl-path-in-example.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_604768_upstream_7826_drop-using-samba-link.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/bug_604768_upstream_7826_drop-using-samba-link.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_604768_upstream_7826_fix-WHATSNEW-link.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/bug_604768_upstream_7826_fix-WHATSNEW-link.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/configure-disable-core_pattern-cross-check.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/configure-disable-core_pattern-cross-check.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/configure-disable-getaddrinfo-cross.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/configure-disable-getaddrinfo-cross.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/configure-libunwind.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/configure-libunwind.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/documentation.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/documentation.patch +8 -8
@@ -6,7 +6,7 @@ Index: experimental/docs/manpages/swat.8 =================================================================== --- experimental.orig/docs/manpages/swat.8 +++ experimental/docs/manpages/swat.8 -@@ -111,86 +111,6 @@ +@@ -120,86 +120,6 @@ .RS 4 Print a summary of command line options\&. .RE
@@ -73,7 +73,7 @@ Index: experimental/docs/manpages/swat.8 -/etc/services -file\&. -.PP --the choice of port number isn\'t really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your +-the choice of port number isn\*(Aqt really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your -inetd -daemon)\&. -.PP
@@ -93,7 +93,7 @@ Index: experimental/docs/manpages/swat.8 .SH "LAUNCHING" .PP To launch SWAT just run your favorite web browser and point it at "http://localhost:901/"\&. -@@ -208,14 +128,11 @@ +@@ -217,14 +137,11 @@ This file must contain a mapping of service name (e\&.g\&., swat) to service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&. .RE .PP
@@ -260,20 +260,20 @@ Index: experimental/docs/manpages/winbindd.8 =================================================================== --- experimental.orig/docs/manpages/winbindd.8 +++ experimental/docs/manpages/winbindd.8 -@@ -550,16 +550,16 @@ +@@ -539,16 +539,16 @@ file are owned by root\&. .RE .PP -$LOCKDIR/winbindd_privileged/pipe +/var/run/samba/winbindd_privileged/pipe .RS 4 - The UNIX pipe over which \'privileged\' clients communicate with the + The UNIX pipe over which \*(Aqprivileged\*(Aq clients communicate with the winbindd program\&. For security reasons, access to some winbindd functions \- like those needed by the ntlm_auth --utility \- is restricted\&. By default, only users in the \'root\' group will get this access, however the administrator may change the group permissions on $LOCKDIR/winbindd_privileged to allow programs like \'squid\' to use ntlm_auth\&. Note that the winbind client will only attempt to connect to the winbindd daemon if both the +-utility \- is restricted\&. By default, only users in the \*(Aqroot\*(Aq group will get this access, however the administrator may change the group permissions on $LOCKDIR/winbindd_privileged to allow programs like \*(Aqsquid\*(Aq to use ntlm_auth\&. Note that the winbind client will only attempt to connect to the winbindd daemon if both the -$LOCKDIR/winbindd_privileged -+utility \- is restricted\&. By default, only users in the \'root\' group will get this access, however the administrator may change the group permissions on /var/run/samba/winbindd_privileged to allow programs like \'squid\' to use ntlm_auth\&. Note that the winbind client will only attempt to connect to the winbindd daemon if both the ++utility \- is restricted\&. By default, only users in the \'root\' group will get this access, however the administrator may change the group permissions on /var/run/samba/winbindd_privileged to allow programs like \'squid\' to use ntlm_auth\&. Note that the winbind client will only attempt to connect to the winbindd daemon if both the +/var/run/samba/winbindd_privileged directory and -$LOCKDIR/winbindd_privileged/pipe
@@ -281,7 +281,7 @@ Index: experimental/docs/manpages/winbindd.8 file are owned by root\&. .RE .PP -@@ -568,15 +568,12 @@ +@@ -557,15 +557,12 @@ Implementation of name service switch library\&. .RE .PP
meta-oe/recipes-connectivity/samba/samba-3.6.24/documentation2.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/documentation2.patch +4 -4
@@ -212,8 +212,8 @@ Index: samba/docs/manpages/nmbd.8 \fBsmb.conf\fR(5), \fBsmbclient\fR(1), -\fBtestparm\fR(1), --\fBtestprns\fR(1), and the Internet RFC\'s -+\fBtestparm\fR(1), and the Internet RFC\'s +-\fBtestprns\fR(1), and the Internet RFC\*(Aqs ++\fBtestparm\fR(1), and the Internet RFC\*(Aqs rfc1001\&.txt, rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page http://samba\&.org/cifs/\&.
@@ -269,8 +269,8 @@ Index: samba/docs/manpages/smbd.8 \fBsmb.conf\fR(5), \fBsmbclient\fR(1), -\fBtestparm\fR(1), --\fBtestprns\fR(1), and the Internet RFC\'s -+\fBtestparm\fR(1), and the Internet RFC\'s +-\fBtestprns\fR(1), and the Internet RFC\*(Aqs ++\fBtestparm\fR(1), and the Internet RFC\*(Aqs rfc1001\&.txt, rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page http://samba\&.org/cifs/\&.
meta-oe/recipes-connectivity/samba/samba-3.6.24/dont-build-VFS-examples.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/dont-build-VFS-examples.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/fhs-filespaths.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/fhs-filespaths.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/installswat.sh.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/libutil_drop_AI_ADDRCONFIG.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/libutil_drop_AI_ADDRCONFIG.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/only_export_public_symbols.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/pam-examples.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/pam-examples.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/shadow_copy2_backport.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/shadow_copy2_backport.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/smbclient-pager.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtar-bashism.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/smbtar-bashism.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtorture-manpage.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/smbtorture-manpage.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/undefined-symbols.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/undefined-symbols.patch +3 -3
@@ -13,12 +13,12 @@ Index: experimental/source3/Makefile.in =================================================================== --- experimental.orig/source3/Makefile.in +++ experimental/source3/Makefile.in -@@ -2281,7 +2281,7 @@ +@@ -2594,7 +2594,7 @@ - $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) + $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) @echo Linking shared library $@ - @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \ + @$(SHLD_DSO) -Wl,-z,defs $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \ - $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \ + $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \ $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \ @SONAMEFLAG@`basename $@`
meta-oe/recipes-connectivity/samba/samba-3.6.24/usershare.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/usershare.patch +0 -0
meta-oe/recipes-connectivity/samba/samba-3.6.24/waf-as-source.patch renamed from meta-oe/recipes-connectivity/samba/samba-3.6.8/waf-as-source.patch +0 -0
meta-oe/recipes-connectivity/samba/samba/samba-3.6.11-CVE-2013-0213-CVE-2013-0214.patch deleted +0 -160
160 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba/samba-3.6.16-CVE-2013-4124.patch deleted +0 -43
43 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba/samba-3.6.19-CVE-2013-4475.patch deleted +0 -102
102 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba/samba-3.6.22-CVE-2013-4496.patch deleted +0 -966
966 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba_3.6.24.bb renamed from meta-oe/recipes-connectivity/samba/samba_3.6.8.bb +2 -9
@@ -3,8 +3,6 @@ require samba-basic.inc LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r8" - SRC_URI += "\ file://config-h.patch \ file://documentation.patch;patchdir=.. \
@@ -30,14 +28,9 @@ SRC_URI += "\ file://configure-disable-getaddrinfo-cross.patch;patchdir=.. \ file://configure-disable-core_pattern-cross-check.patch;patchdir=.. \ file://configure-libunwind.patch;patchdir=.. \ - file://samba-3.6.22-CVE-2013-4496.patch;patchdir=.. \ - file://0001-PIDL-fix-parsing-linemarkers-in-preprocessor-output.patch;patchdir=.. \ - file://samba-3.6.11-CVE-2013-0213-CVE-2013-0214.patch;patchdir=.. \ - file://samba-3.6.16-CVE-2013-4124.patch;patchdir=.. \ - file://samba-3.6.19-CVE-2013-4475.patch;patchdir=.. \ " -SRC_URI[md5sum] = "fbb245863eeef2fffe172df779a217be" -SRC_URI[sha256sum] = "4f5a171a8d902c6b4f822ed875c51eb8339196d9ccf0ecd7f6521c966b3514de" +SRC_URI[md5sum] = "d98425c0c2b73e08f048d31ffc727fb0" +SRC_URI[sha256sum] = "11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7" S = "${WORKDIR}/samba-${PV}/source3"
Signature · 1 line
1.9.1