9c02a444ab
* MFSA 2012-34/CVE-2012-1938/CVE-2012-1937/CVE-2011-3101 Miscellaneous memory safety hazards * MFSA 2012-36/CVE-2012-1944 (bmo#751422) Content Security Policy inline-script bypass * MFSA 2012-37/CVE-2012-1945 (bmo#670514) Information disclosure though Windows file shares and shortcut files * MFSA 2012-38/CVE-2012-1946 (bmo#750109) Use-after-free while replacing/inserting a node in a document * MFSA 2012-40/CVE-2012-1947/CVE-2012-1940/CVE-2012-1941 Buffer overflow and use-after-free issues found using Address Sanitizer - require NSS 3.13.4 * MFSA 2012-39/CVE-2012-0441 (bmo#715073) - fix build with system NSPR (mozilla-system-nspr.patch) - add dependentlibs.list for improved XRE startup - update enigmail to 1.4.2 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=178
51 lines
1.6 KiB
Bash
51 lines
1.6 KiB
Bash
#!/bin/bash
|
|
|
|
CHANNEL="release"
|
|
BRANCH="releases/comm-$CHANNEL"
|
|
RELEASE_TAG="THUNDERBIRD_13_0_RELEASE"
|
|
VERSION="13.0"
|
|
|
|
echo "cloning $BRANCH..."
|
|
hg clone http://hg.mozilla.org/$BRANCH thunderbird
|
|
pushd thunderbird
|
|
hg update -r $RELEASE_TAG
|
|
echo "running client.py..."
|
|
[ "$RELEASE_TAG" == "default" ] || _extra="--comm-rev=$RELEASE_TAG --mozilla-rev=$RELEASE_TAG"
|
|
# temporary!
|
|
_extra="--mozilla-repo=http://hg.mozilla.org/releases/mozilla-$CHANNEL $_extra"
|
|
python client.py checkout --skip-chatzilla --skip-venkman $_extra
|
|
popd
|
|
echo "creating archive..."
|
|
tar cjf thunderbird-$VERSION-source.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS thunderbird
|
|
|
|
# l10n
|
|
# http://l10n.mozilla.org/dashboard/?tree=tb30x -> shipped-locales
|
|
echo "fetching locales..."
|
|
if [ -e shipped-locales ]; then
|
|
SHIPPED_LOCALES=shipped-locales
|
|
else
|
|
SHIPPED_LOCALES=thunderbird/mail/locales/all-locales
|
|
fi
|
|
test ! -d l10n && mkdir l10n
|
|
for locale in $(awk '{ print $1; }' $SHIPPED_LOCALES); do
|
|
case $locale in
|
|
ja-JP-mac|en-US)
|
|
;;
|
|
*)
|
|
echo "fetching $locale ..."
|
|
hg clone http://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$locale l10n/$locale
|
|
hg -R l10n/$locale up -C -r $RELEASE_TAG
|
|
;;
|
|
esac
|
|
done
|
|
echo "creating l10n archive..."
|
|
tar cjf l10n-$VERSION.tar.bz2 \
|
|
--exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=browser --exclude=calendar \
|
|
--exclude=suite \
|
|
l10n
|
|
|
|
# compare-locales
|
|
hg clone http://hg.mozilla.org/build/compare-locales
|
|
tar cjf compare-locales.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg compare-locales
|
|
|