Loading package/samba/samba-add-check-for-__use_bsd.patch +4 −4 Original line number Diff line number Diff line --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -96,6 +96,7 @@ char * prefixpath = NULL; --- a/source/client/mount.cifs.c 2009-04-01 13:48:54.000000000 +0200 +++ b/source/client/mount.cifs.c 2009-04-20 12:59:57.000000000 +0200 @@ -100,6 +100,7 @@ /* glibc doesn't have strlcpy, strlcat. Ensure we do. JRA. We * don't link to libreplace so need them here. */ Loading @@ -8,7 +8,7 @@ /* like strncpy but does not 0 fill the buffer and always null * terminates. bufsize is the size of the destination buffer */ @@ -177,6 +178,7 @@ static void mount_cifs_usage(void) @@ -181,6 +182,7 @@ SAFE_FREE(mountpassword); exit(EX_USAGE); } Loading package/samba/samba-do-not-check-glibc-version.patch +18 −13 Original line number Diff line number Diff line --- a/source/configure +++ b/source/configure @@ -41016,85 +41016,8 @@ fi --- a/source/configure 2009-04-01 14:19:36.000000000 +0200 +++ b/source/configure 2009-04-20 13:05:12.000000000 +0200 @@ -44061,90 +44061,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Loading @@ -11,11 +11,13 @@ - *linux*) - # glibc <= 2.3.2 has a broken getgrouplist - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -$as_echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - { (exit 1); exit 1; }; }; } -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ Loading Loading @@ -47,29 +49,32 @@ - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - linux_getgrouplist_ok=yes -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -linux_getgrouplist_ok=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - Loading @@ -88,7 +93,7 @@ for ac_func in getgrouplist do @@ -41189,8 +41112,6 @@ _ACEOF @@ -44246,8 +44164,6 @@ fi done Loading package/samba/samba-fix-mount.cifs.patch +0 −22 Original line number Diff line number Diff line --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -16,6 +16,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef _SAMBA_BUILD_ +#include "include/config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif @@ -57,10 +61,6 @@ #endif /* _SAMBA_BUILD_ */ #endif /* MOUNT_CIFS_VENDOR_SUFFIX */ -#ifdef _SAMBA_BUILD_ -#include "include/config.h" -#endif - #ifndef MS_MOVE #define MS_MOVE 8192 #endif @@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha return ret; } Loading package/samba/samba-getgrouplist.patch +3 −3 Original line number Diff line number Diff line --- a/source/configure.in +++ b/source/configure.in @@ -1199,38 +1199,6 @@ AC_TRY_COMPILE([ --- a/source/configure.in 2009-04-01 13:48:54.000000000 +0200 +++ b/source/configure.in 2009-04-20 13:08:42.000000000 +0200 @@ -1219,38 +1219,6 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[]) # Loading package/samba/samba.mk +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ # samba # ############################################################# SAMBA_VERSION:=3.2.7 SAMBA_VERSION:=3.3.4 SAMBA_SOURCE:=samba-$(SAMBA_VERSION).tar.gz SAMBA_SITE:=http://samba.org/samba/ftp/stable/ SAMBA_DIR:=$(BUILD_DIR)/samba-$(SAMBA_VERSION)/source Loading Loading
package/samba/samba-add-check-for-__use_bsd.patch +4 −4 Original line number Diff line number Diff line --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -96,6 +96,7 @@ char * prefixpath = NULL; --- a/source/client/mount.cifs.c 2009-04-01 13:48:54.000000000 +0200 +++ b/source/client/mount.cifs.c 2009-04-20 12:59:57.000000000 +0200 @@ -100,6 +100,7 @@ /* glibc doesn't have strlcpy, strlcat. Ensure we do. JRA. We * don't link to libreplace so need them here. */ Loading @@ -8,7 +8,7 @@ /* like strncpy but does not 0 fill the buffer and always null * terminates. bufsize is the size of the destination buffer */ @@ -177,6 +178,7 @@ static void mount_cifs_usage(void) @@ -181,6 +182,7 @@ SAFE_FREE(mountpassword); exit(EX_USAGE); } Loading
package/samba/samba-do-not-check-glibc-version.patch +18 −13 Original line number Diff line number Diff line --- a/source/configure +++ b/source/configure @@ -41016,85 +41016,8 @@ fi --- a/source/configure 2009-04-01 14:19:36.000000000 +0200 +++ b/source/configure 2009-04-20 13:05:12.000000000 +0200 @@ -44061,90 +44061,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Loading @@ -11,11 +11,13 @@ - *linux*) - # glibc <= 2.3.2 has a broken getgrouplist - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -$as_echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - { (exit 1); exit 1; }; }; } -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ Loading Loading @@ -47,29 +49,32 @@ - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - linux_getgrouplist_ok=yes -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -linux_getgrouplist_ok=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - Loading @@ -88,7 +93,7 @@ for ac_func in getgrouplist do @@ -41189,8 +41112,6 @@ _ACEOF @@ -44246,8 +44164,6 @@ fi done Loading
package/samba/samba-fix-mount.cifs.patch +0 −22 Original line number Diff line number Diff line --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -16,6 +16,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef _SAMBA_BUILD_ +#include "include/config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif @@ -57,10 +61,6 @@ #endif /* _SAMBA_BUILD_ */ #endif /* MOUNT_CIFS_VENDOR_SUFFIX */ -#ifdef _SAMBA_BUILD_ -#include "include/config.h" -#endif - #ifndef MS_MOVE #define MS_MOVE 8192 #endif @@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha return ret; } Loading
package/samba/samba-getgrouplist.patch +3 −3 Original line number Diff line number Diff line --- a/source/configure.in +++ b/source/configure.in @@ -1199,38 +1199,6 @@ AC_TRY_COMPILE([ --- a/source/configure.in 2009-04-01 13:48:54.000000000 +0200 +++ b/source/configure.in 2009-04-20 13:08:42.000000000 +0200 @@ -1219,38 +1219,6 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[]) # Loading
package/samba/samba.mk +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ # samba # ############################################################# SAMBA_VERSION:=3.2.7 SAMBA_VERSION:=3.3.4 SAMBA_SOURCE:=samba-$(SAMBA_VERSION).tar.gz SAMBA_SITE:=http://samba.org/samba/ftp/stable/ SAMBA_DIR:=$(BUILD_DIR)/samba-$(SAMBA_VERSION)/source Loading