slackware-current/patches/source/mozilla-firefox/fetch-and-repack.sh
Patrick J Volkerding eb19d64569 Thu Feb 10 01:46:55 UTC 2022
patches/packages/at-3.2.3-x86_64-1_slack15.0.txz:  Upgraded.
  Switched to at-3.2.3 since version 3.2.4 has a regression that causes
  queued jobs to not always run on time when atd is run as a standalone
  daemon. Thanks to Cesare.
patches/packages/mozilla-firefox-91.6.0esr-x86_64-1_slack15.0.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/91.6.0/releasenotes/
    https://www.mozilla.org/security/advisories/mfsa2022-05/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22753
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22754
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22756
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22759
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22760
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22761
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22763
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22764
  (* Security fix *)
patches/packages/mozilla-thunderbird-91.6.0-x86_64-1_slack15.0.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/91.6.0/releasenotes/
    https://www.mozilla.org/en-US/security/known-vulnerabilities/thunderbird/#thunderbird91.6
  (* Security fix *)
2022-02-10 05:00:00 +01:00

27 lines
840 B
Bash
Executable file

# This script uses the SOURCE file downloaded from:
# archive.mozilla.org:/pub/firefox/releases/{VERSION}
CWD=$(pwd)
if [ ! -r SOURCE ]; then
echo "Error: no SOURCE file present."
echo " download one from archive.mozilla.org:/pub/firefox/releases/{VERSION} and run this script again."
exit 1
fi
REPO_URL=$(grep tar.bz2 SOURCE | rev | cut -f 1 -d ' ' | rev)
REPO_TARBALL=$(basename ${REPO_URL})
rm -f ${REPO_TARBALL}
rm -f firefox-*.source.tar.lz
lftpget ${REPO_URL} || exit 1
TMPDIR=$(mktemp -d)
cd ${TMPDIR}
tar xf ${CWD}/${REPO_TARBALL}
FF_VER=$(cat mozilla-release-*/browser/config/version.txt)
mv mozilla-release-* firefox-${FF_VER}
tar cf firefox-${FF_VER}.source.tar firefox-${FF_VER}
plzip -9 -n 6 firefox-${FF_VER}.source.tar
cd ${CWD}
mv ${TMPDIR}/firefox-${FF_VER}.source.tar.lz .
rm -f ${REPO_TARBALL}
rm -rf ${TMPDIR}