Checksum for thunderbird-133.0b5.tar.bz2
is currently failing.
Edit: Working again!
Git Clone URL: | https://aur.archlinux.org/thunderbird-beta-bin.git (read-only, click to copy) |
---|---|
Package Base: | thunderbird-beta-bin |
Description: | Standalone Mail/News reader - Bleeding edge binary version |
Upstream URL: | https://www.mozilla.org/thunderbird |
Keywords: | gecko |
Licenses: | GPL, MPL, LGPL |
Conflicts: | thunderbird-beta |
Provides: | thunderbird |
Submitter: | Det |
Maintainer: | rko (bittin) |
Last Packager: | bittin |
Votes: | 75 |
Popularity: | 0.24 |
First Submitted: | 2011-01-21 19:05 (UTC) |
Last Updated: | 2024-12-12 07:28 (UTC) |
Checksum for thunderbird-133.0b5.tar.bz2
is currently failing.
Edit: Working again!
Based on @kinta's comments, you could do something like this:
# FTP URL
_ftp="https://ftp.mozilla.org/pub/thunderbird"
_archive="linux-$CARCH/en-US/thunderbird-$_major.tar.bz2"
# RC build
if [[ $_build = ? ]]; then
_url="$_ftp/candidates/$_major-candidates/build$_build"
else
_url="$_ftp/releases/$pkgver"
fi
source=(
"thunderbird-$pkgver.tar.bz2::${_url}/${_archive}"
'org.mozilla.thunderbird-beta-bin.desktop'
'vendor.js'
)
sha512sums=(
"$(curl ${_url}/SHA512SUMS -s | grep "${_archive}" | cut -d' ' -f1)"
'b42b4b86aa072dca7f9e401c1f0c593396cda45fe56326af997db4042549cf895f1f0682c0d007647cda5200f11c06cef13e006a5973eae2bfa31b86d4d32f79'
'aeb444784732267f1b1e87e6084a776f82a1912c4c2637d2cf1de1c135dd9d41d2ef66d2bd3f9cbd3a79fad32d17ea6e2968ba644d5f887cb66ba6c09a2098f5'
)
Patch for v132.0b5:
diff --git a/PKGBUILD b/PKGBUILD
index d7c3f17..ff4b424 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=thunderbird-beta-bin
_pkgname=thunderbird-beta
-pkgver=132.0b4
+pkgver=132.0b5
_major=${pkgver/rc*}
_build=${pkgver/*rc}
pkgrel=1
@@ -18,17 +18,30 @@ optdepends=('hyphen: Hyphenation'
provides=("thunderbird=$pkgver")
conflicts=('thunderbird-beta')
install=$pkgname.install
-source=("https://archive.mozilla.org/pub/thunderbird/releases/132.0b4/linux-x86_64/en-US/thunderbird-132.0b4.tar.bz2"
- 'org.mozilla.thunderbird-beta-bin.desktop'
- 'vendor.js')
-sha512sums=('06b70a0ab413dae7adc165297faaf8cde89cd71895bf92f176b7bedf203a25c895a3b07776940f9c3ec8452d2c4ebf32258a6894f7c0827bf1ce20b3210937af'
- 'b42b4b86aa072dca7f9e401c1f0c593396cda45fe56326af997db4042549cf895f1f0682c0d007647cda5200f11c06cef13e006a5973eae2bfa31b86d4d32f79'
- 'aeb444784732267f1b1e87e6084a776f82a1912c4c2637d2cf1de1c135dd9d41d2ef66d2bd3f9cbd3a79fad32d17ea6e2968ba644d5f887cb66ba6c09a2098f5')
-# RC
+
+# FTP URL
+_ftp="https://ftp.mozilla.org/pub/thunderbird"
+_archive="linux-$CARCH/en-US/thunderbird-$_major.tar.bz2"
+
+# RC build
if [[ $_build = ? ]]; then
- source[0]="thunderbird-$pkgver.tar.bz2::https://ftp.mozilla.org/pub/thunderbird/candidates/$_major-candidates/build$_build/linux-x86_64/en-US/thunderbird-$_major.tar.bz2"
+ _url="$_ftp/candidates/$_major-candidates/build$_build"
+else
+ _url="$_ftp/releases/$pkgver"
fi
+source=(
+ "thunderbird-$pkgver.tar.bz2::${_url}/${_archive}"
+ 'org.mozilla.thunderbird-beta-bin.desktop'
+ 'vendor.js'
+)
+
+sha512sums=(
+ "$(curl ${_url}/SHA512SUMS -s | grep "${_archive}" | cut -d' ' -f1)"
+ 'b42b4b86aa072dca7f9e401c1f0c593396cda45fe56326af997db4042549cf895f1f0682c0d007647cda5200f11c06cef13e006a5973eae2bfa31b86d4d32f79'
+ 'aeb444784732267f1b1e87e6084a776f82a1912c4c2637d2cf1de1c135dd9d41d2ef66d2bd3f9cbd3a79fad32d17ea6e2968ba644d5f887cb66ba6c09a2098f5'
+)
+
package() {
# Create directories
msg2 "Creating directory structure..."
@bittin , now the other files have wrong sums and are failing _:)
Updated the checksums manually now
@bittin Not matching yet...
With this command, you could get the correct SUM from mozilla repo:
#VAR TB_VER: current version string,
TB_VER=132.0b4
curl -vs https://archive.mozilla.org/pub/thunderbird/releases/$TB_VER/SHA512SUMS 2>&1 | grep linux-x86_64/en-US/thunderbird-$TB_VER.tar.bz2
Maybe it could be scripted somewhere looking PKGBUILD spec. But anyway, this curl call will output the sha512sum offered by mozilla to check the downloaded file.
@bittin still not working for me. The file thunderbird-132.0b4.tar.bz2 fails sha512sums
@solarisfire @kinta: does it work now?
(if not i have to troubleshoot)
Currently broken:
==> Making package: thunderbird-beta-bin 132.0b4-1 (Mon 14 Oct 2024 22:53:52 BST) ==> Retrieving sources... -> Found thunderbird-132.0b4.tar.bz2 -> Found org.mozilla.thunderbird-beta-bin.desktop -> Found vendor.js ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... thunderbird-132.0b4.tar.bz2 ... FAILED org.mozilla.thunderbird-beta-bin.desktop ... Passed vendor.js ... Passed ==> ERROR: One or more files did not pass the validity check! -> error downloading sources: /home/solarisfire/.cache/yay/thunderbird-beta-bin context: exit status 1 :: (1/1) Parsing SRCINFO: thunderbird-beta-bin ==> Making package: thunderbird-beta-bin 132.0b4-1 (Mon 14 Oct 2024 22:53:53 BST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found thunderbird-132.0b4.tar.bz2 -> Found org.mozilla.thunderbird-beta-bin.desktop -> Found vendor.js ==> Validating source files with sha512sums... thunderbird-132.0b4.tar.bz2 ... FAILED org.mozilla.thunderbird-beta-bin.desktop ... Passed vendor.js ... Passed ==> ERROR: One or more files did not pass the validity check! -> error making: thunderbird-beta-bin-exit status 1 -> Failed to install the following packages. Manual intervention is required: thunderbird-beta-bin - exit status 1
The sha512sum does not match ( line 88 of https://archive.mozilla.org/pub/thunderbird/releases/130.0b1/SHA512SUMS )
124 Beta 4 PKGBUILD: https://pastebin.com/5suR3XVC
Pinned Comments
rko commented on 2020-10-18 21:26 (UTC)
In the interest of correct spelling, I decided to integrate CircleCode's suggested change to fix hunspell and make it required.
Chances are this is opinionated, but I think if you can afford to install Thunderbird, you can also install hunspell.
%u
change not implemented, not sure if this is a good idea.