forked from pool/MozillaThunderbird
bde1e0ee1f
* MFSA 2016-39/CVE-2016-2806/CVE-2016-2807 (boo#977375, boo#977376) Miscellaneous memory safety hazards in this particular case (i.e. do not pass - update to Thunderbird 45.0 (boo#969894) * MFSA 2016-16/CVE-2016-1952/CVE-2016-1953 Miscellaneous memory safety hazards * MFSA 2016-17/CVE-2016-1954 (bmo#1243178) Local file overwriting and potential privilege escalation through CSP reports * MFSA 2016-18/CVE-2016-1955 (bmo#1208946) CSP reports fail to strip location information for embedded iframe pages * MFSA 2016-19/CVE-2016-1956 (bmo#1199923) Linux video memory DOS with Intel drivers * MFSA 2016-20/CVE-2016-1957 (bmo#1227052) Memory leak in libstagefright when deleting an array during MP4 processing * MFSA 2016-23/CVE-2016-1960/ZDI-CAN-3545 (bmo#1246014) Use-after-free in HTML5 string parser * MFSA 2016-24/CVE-2016-1961/ZDI-CAN-3574 (bmo#1249377) Use-after-free in SetBody * MFSA 2016-27/CVE-2016-1964 (bmo#1243335) Use-after-free during XML transformations * MFSA 2016-34/CVE-2016-1974 (bmo#1228103) Out-of-bounds read in HTML parser following a failed allocation * MFSA 2016-35/CVE-2016-1950 (bmo#1245528) Buffer overflow during ASN.1 decoding in NSS (fixed by requiring 3.21.1) * MFSA 2016-36/CVE-2016-1979 (bmo#1185033) Use-after-free during processing of DER encoded keys in NSS OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=315
51 lines
1.5 KiB
Bash
51 lines
1.5 KiB
Bash
#!/bin/bash
|
|
|
|
CHANNEL="esr45"
|
|
BRANCH="releases/comm-$CHANNEL"
|
|
RELEASE_TAG="THUNDERBIRD_45_1_0_RELEASE"
|
|
VERSION="45.1.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.xz --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/shipped-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-release/$locale l10n/$locale
|
|
hg -R l10n/$locale up -C -r $RELEASE_TAG
|
|
;;
|
|
esac
|
|
done
|
|
echo "creating l10n archive..."
|
|
tar cJf l10n-$VERSION.tar.xz \
|
|
--exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=browser \
|
|
--exclude=suite \
|
|
l10n
|
|
|
|
# compare-locales
|
|
hg clone http://hg.mozilla.org/build/compare-locales
|
|
tar cJf compare-locales.tar.xz --exclude=.hgtags --exclude=.hgignore --exclude=.hg compare-locales
|
|
|