diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /netwerk/srtp/update_srtp.sh | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'netwerk/srtp/update_srtp.sh')
-rw-r--r-- | netwerk/srtp/update_srtp.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/netwerk/srtp/update_srtp.sh b/netwerk/srtp/update_srtp.sh new file mode 100644 index 000000000..74d6b5955 --- /dev/null +++ b/netwerk/srtp/update_srtp.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +# assume $1 is the directory with a SVN checkout of the libsrtp source +# +# srtp source is available (via cvs) at: +# cvs -d:pserver:anonymous@srtp.cvs.sourceforge.net:/cvsroot/srtp login +# cvs -z3 -d:pserver:anonymous@srtp.cvs.sourceforge.net:/cvsroot/srtp co -P srtp +# +# also assumes we've made *NO* changes to the SRTP sources! If we do, we have to merge by +# hand after this process, or use a more complex one. +# +# For example, one could update an srtp library import head, and merge back to default. Or keep a +# separate repo with this in it, and pull from there to m-c and merge. +if [ "$1" ] ; then + export date=`date` +# export revision=`(cd $1; svnversion -n)` + export CVSREAD=0 + cp -rf $1/srtp $1/crypto $1/include $1/VERSION $1/LICENSE $1/README $1/configure.in netwerk/srtp/src + + hg addremove netwerk/srtp/src --include "netwerk/srtp/src/VERSION" --include "netwerk/srtp/src/LICENSE" --include "netwerk/srtp/src/configure.in" --include "netwerk/srtp/src/README" --include "**.c" --include "**.h" --similarity 90 + + echo "srtp updated from CVS on $date" >> netwerk/srtp/srtp_update.log + echo "srtp updated from CVS on $date" + echo "WARNING: reapply any local patches!" +else + echo "usage: $0 path_to_srtp_directory" + echo "run from the root of your m-c clone" +fi |