source: vendor/current/third_party/update.sh

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 1.3 KB
Line 
1#!/bin/sh
2# Pull in a new snapshot of external projects that are included in
3# our source tree for users that don't have them installed on their system
4
5# Third party directory
6THIRD_PARTY_DIR="`dirname $0`"
7# Library directory where projects live that haven't been migrated to
8# $THIRD_PARTY_DIR yet.
9WORKDIR="`mktemp -d`"
10
11echo "Updating dnspython..."
12git clone git://git.samba.org/third_party/dnspython "$WORKDIR/dnspython"
13rm -rf "$WORKDIR/dnspython/.git"
14rsync -avz --delete "$WORKDIR/dnspython/" "$THIRD_PARTY_DIR/dnspython/"
15
16echo "Updating pep8..."
17git clone git://git.samba.org/third_party/pep8 "$WORKDIR/pep8"
18rm -rf "$WORKDIR/pep8/.git"
19rsync -avz --delete "$WORKDIR/pep8/" "$THIRD_PARTY_DIR/pep8/"
20
21echo "Updating zlib..."
22git clone git://git.samba.org/third_party/zlib "$WORKDIR/zlib"
23rm -rf "$WORKDIR/zlib/.git"
24rsync --exclude=wscript -avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
25
26echo "Updating pyiso8601..."
27hg clone https://bitbucket.org/micktwomey/pyiso8601 "$WORKDIR/pyiso8601"
28rm -rf "$WORKDIR/pyiso8601/.hg"
29rsync -avz --delete "$WORKDIR/pyiso8601/" "$THIRD_PARTY_DIR/pyiso8601/"
30
31echo "Updating waf..."
32git clone git://git.samba.org/third_party/waf.waf15/ "$WORKDIR/waf"
33rm -rf "$WORKDIR/waf/.git"
34rsync -C -avz --delete "$WORKDIR/waf/" "$THIRD_PARTY_DIR/waf/"
35
36rm -rf "$WORKDIR"
Note: See TracBrowser for help on using the repository browser.