Permalink
Browse files

bump to samba 3.4.7 and use the ubuntu win live 7 patch

  • Loading branch information...
davilla committed Feb 3, 2011
1 parent 12100d6 commit a781d7a460fb64b933b3e27297626358fc5294e0
Showing with 13 additions and 11 deletions.
  1. +13 −11 tools/osx/ios-depends/samba/Makefile
@@ -8,10 +8,11 @@ include ../config.mk
# lib name, version
LIBNAME=samba
-VERSION=3.2.13
+VERSION=3.4.7
SOURCE=$(LIBNAME)-$(VERSION)
# download location and format
-BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs
+#BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs
+BASE_URL=http://www.samba.org/samba/ftp/stable
ARCHIVE=$(SOURCE).tar.gz
RETRIEVE_TOOL=/usr/bin/curl
@@ -92,18 +93,19 @@ $(SOURCE): $(ARCHIVE)
-rm -rf $(SOURCE)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(ARCHIVE)
echo $(SOURCE) >> .gitignore
- cd $(SOURCE); patch -p1 < ../01-microsoft.live.signin.assistant.patch
- cd $(SOURCE)/source; ./autogen.sh
- cd $(SOURCE)/source; $(CONFIGURE)
+ cd $(SOURCE); patch -p1 < ../01-spnego-auth-win7.patch
+ cd $(SOURCE)/source3; ./autogen.sh
+ cd $(SOURCE)/source3; $(CONFIGURE)
+ cp -f /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(platform_sdk_version).sdk/usr/include/crt_externs.h $(PREFIX)/include/
$(LIBDYLIB): $(SOURCE)
- cd $(SOURCE)/source; make bin/libsmbclient.dylib
+ cd $(SOURCE)/source3; make bin/libsmbclient.dylib
.installed:
- cp -f $(SOURCE)/source/include/libsmbclient.h $(PREFIX)/include/
- cp -f $(SOURCE)/source/bin/libtdb.dylib.1 $(PREFIX)/lib/
- cp -f $(SOURCE)/source/bin/libtalloc.dylib.1 $(PREFIX)/lib/
- cp -f $(SOURCE)/source/bin/libsmbclient.dylib.0 $(PREFIX)/lib/
+ cp -f $(SOURCE)/source3/include/libsmbclient.h $(PREFIX)/include/
+ cp -f $(SOURCE)/source3/bin/libtdb.dylib.1 $(PREFIX)/lib/
+ cp -f $(SOURCE)/source3/bin/libtalloc.dylib.1 $(PREFIX)/lib/
+ cp -f $(SOURCE)/source3/bin/libsmbclient.dylib.0 $(PREFIX)/lib/
cd $(PREFIX)/lib; ln -sf libsmbclient.dylib.0 libsmbclient.dylib
install_name_tool -id $(PREFIX)/lib/libtdb.dylib.1 $(PREFIX)/lib/libtdb.dylib.1
install_name_tool -id $(PREFIX)/lib/libtalloc.dylib.1 $(PREFIX)/lib/libtalloc.dylib.1
@@ -115,7 +117,7 @@ $(LIBDYLIB): $(SOURCE)
touch $@
clean:
- make -C $(SOURCE)/source clean
+ make -C $(SOURCE)/source3 clean
rm -f .installed
distclean::

0 comments on commit a781d7a

Please sign in to comment.