[PATCH] Update update-external.sh to use mirrors of third party projects on git.samba.org.

Jeremy Allison jra at samba.org
Wed Mar 18 12:14:26 MDT 2015


On Wed, Mar 18, 2015 at 03:20:02AM +0100, Jelmer Vernooij wrote:

LGTM - will push as soon as my last autobuild either completes/fails.

Cheers,

        Jeremy.

> Change-Id: Id86c3f5233224d0337efc8e5fefe9a966b0c30fd
> Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
> ---
>  lib/update-external.sh | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/lib/update-external.sh b/lib/update-external.sh
> index 8e69059..b6b5d11 100755
> --- a/lib/update-external.sh
> +++ b/lib/update-external.sh
> @@ -6,21 +6,20 @@
>  THIRD_PARTY_DIR="`dirname $0`/../third_party"
>  # Library directory where projects live that haven't been migrated to
>  # $THIRD_PARTY_DIR yet.
> -LIBDIR="`dirname $0`"
>  WORKDIR="`mktemp -d`"
>  
>  echo "Updating dnspython..."
> -git clone git://www.dnspython.org/dnspython.git "$WORKDIR/dnspython"
> +git clone git://git.samba.org/third_party/dnspython "$WORKDIR/dnspython"
>  rm -rf "$WORKDIR/dnspython/.git"
> -rsync -avz --delete "$WORKDIR/dnspython/" "$LIBDIR/dnspython/"
> +rsync -avz --delete "$WORKDIR/dnspython/" "$THIRD_PARTY_DIR/dnspython/"
>  
>  echo "Updating pep8..."
> -git clone git://github.com/jcrocholl/pep8 "$WORKDIR/pep8"
> +git clone git://git.samba.org/third_party/pep8 "$WORKDIR/pep8"
>  rm -rf "$WORKDIR/pep8/.git"
> -rsync -avz --delete "$WORKDIR/pep8/" "$LIBDIR/pep8/"
> +rsync -avz --delete "$WORKDIR/pep8/" "$THIRD_PARTY_DIR/pep8/"
>  
>  echo "Updating zlib..."
> -git clone git://github.com/madler/zlib "$WORKDIR/zlib"
> +git clone git://git.samba.org/third_party/zlib "$WORKDIR/zlib"
>  rm -rf "$WORKDIR/zlib/.git"
>  rsync --exclude=wscript -avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
>  
> -- 
> 2.1.4


More information about the samba-technical mailing list