支持 https 的 svn client 安装方法

    技术2025-04-12  56

    使用 shared 方式安装,相关的tar包去 http://download.csdn.net/source/3017919 下载


     

    WORKSPACE=$PWD TARGET=$HOME/local SUBVERSION_INSTALL_NAME=subversion ZLIB=zlib OPENSSL=openssl NEON=neon APR=apr APR_UTIL=apr-util rm -rf $TARGET/$ZLIB rm -rf zlib-1.2.5 tar -xzvf zlib-1.2.5.tar.gz cd zlib-1.2.5 ./configure --prefix=$TARGET/$ZLIB make; make install cd .. rm -rf $TARGET/$OPENSSL tar -zxvf openssl-0.9.8r.tar.gz cd openssl-0.9.8r ./config --prefix=$TARGET/$OPENSSL zlib shared make; make install cd .. rm -rf $TARGET/$NEON rm -rf neon-0.27.2 tar -zxvf neon-0.27.2.tar.gz cd neon-0.27.2 ./configure --enable-shared --prefix=$TARGET/$NEON \    --with-ssl=openssl --with-libs=$TARGET/$OPENSSL make; make install cd .. rm -rf $TARGET/$APR rm -rf apr-1.4.2 tar -zxvf apr-1.4.2.tar.gz cd apr-1.4.2 ./configure --prefix=$TARGET/$APR make; make install cd .. rm -rf $TARGET/$APR_UTIL rm -rf apr-util-1.3.9 tar -zxvf apr-util-1.3.9.tar.gz cd apr-util-1.3.9 ./configure --prefix=$TARGET/$APR_UTIL --with-apr=$TARGET/$APR make; make install cd .. rm -rf sqlite-3.6.13 tar -zxvf sqlite-amalgamation-3.6.13.tar.gz   rm -rf $TARGET/$SUBVERSION_INSTALL_NAME rm -rf subversion-1.6.6 tar -zxvf subversion-1.6.6.tar.gz # sqllite3.c in sqlite-amalgamation-3.6.13.tar.gz mkdir -p subversion-1.6.6/sqlite-amalgamation cp sqlite-3.6.13/sqlite3.c $TARGET/$SUBVERSION_INSTALL_NAME/sqlite-amalgamation cp sqlite-3.6.13/sqlite3.c subversion-1.6.6/sqlite-amalgamation/sqlite3.c cd subversion-1.6.6 ./configure --prefix=$TARGET/$SUBVERSION_INSTALL_NAME \    --with-apr=$TARGET/$APR \    --with-apr-util=$TARGET/$APR_UTIL \    --with-zlib=$TARGET/$ZLIB \    --with-neon=$TARGET/$NEON make; make install cd  $TARGET/$SUBVERSION_INSTALL_NAME/lib ln  -s  $TARGET/$OPENSSL/lib/libcrypto.so.0.9.8 libcrypto.so.0.9.8 ln  -s  $TARGET/$OPENSSL/lib/libssl.so.0.9.8    libssl.so.0.9.8 cd $TARGET/$SUBVERSION_INSTALL_NAME/bin LD_DEBUG=libs ./svn co https://...............    1>out 2>&1                                                       cd $WORKSPACE  

    svn --version svn, version 1.6.6 (r40053)    compiled Feb 11 2011, 18:23:43 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.   - handles 'http' scheme   - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol.   - with Cyrus SASL authentication   - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk.   - handles 'file' scheme

     

     

    最新回复(0)