Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sha256sum validation #870

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package/micro/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
pkgnames=(micro)
pkgdesc="Modern and intuitive terminal-based text editor"
url=https://micro-editor.github.io/
pkgver=2.0.13-1
pkgver=2.0.13-2
timestamp=2023-10-21T22:38:29Z
section="utils"
maintainer="Eeems <[email protected]>"
license=MIT

source=("https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux-arm.tar.gz")
sha256sums=(cbbed4e69567871462464049646dc11fdad8b8c75fde5d75856068c2cfbd2d38)
sha256sums=(adb9cf644354a5c85819db40e1a427f0f4951b172597bbcd3ef94ecc4a8c4b75)

package() {
install -Dm644 "$srcdir"/LICENSE "$pkgdir/opt/usr/share/licenses/$pkgname/LICENSE"
Expand Down
4 changes: 2 additions & 2 deletions package/webinterface-upload-button/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pkgnames=("webinterface-upload-button")
pkgdesc="A simple upload button for the web interface"
url="https://github.com/rM-self-serve/webinterface-upload-button"
pkgver=1.1.1-2
pkgver=1.1.1-3
timestamp=2023-12-16T15:35:49Z
section="utils"
maintainer="rM-self-serve <[email protected]>"
Expand All @@ -15,7 +15,7 @@ source=(
"$url"/archive/1d28b2d91c0179059017696ae5a33aa49e1e7c7d.zip
)
sha256sums=(
99ac382e665b55c43876e8991c9dfa7f11a625d4f3ed4f35d3bc58762e04db39
f967cad7607da6458cb0e307b662db66026747922f98ad19f7e2265b9cab1f47
)

package() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/toltec/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _fetch_sources(

# Verify checksum
file_sha = util.file_sha256(local_path)
if source.checksum not in ("SKIP", source.checksum):
if source.checksum not in ("SKIP", file_sha):
raise BuildError(
f"Invalid checksum for source file {source.url}:\n"
f" expected {source.checksum}\n"
Expand Down
Loading