Skip to content

Commit 3d12965

Browse files
committed
Fix sha256sum validation (#870)
* Fix sha256sum validation * Fix hashes
1 parent b19ecf3 commit 3d12965

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package/micro/package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
pkgnames=(micro)
66
pkgdesc="Modern and intuitive terminal-based text editor"
77
url=https://micro-editor.github.io/
8-
pkgver=2.0.13-1
8+
pkgver=2.0.13-2
99
timestamp=2023-10-21T22:38:29Z
1010
section="utils"
1111
maintainer="Eeems <[email protected]>"
1212
license=MIT
1313

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

1717
package() {
1818
install -Dm644 "$srcdir"/LICENSE "$pkgdir/opt/usr/share/licenses/$pkgname/LICENSE"

package/webinterface-upload-button/package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=("webinterface-upload-button")
66
pkgdesc="A simple upload button for the web interface"
77
url="https://github.com/rM-self-serve/webinterface-upload-button"
8-
pkgver=1.1.1-2
8+
pkgver=1.1.1-3
99
timestamp=2023-12-16T15:35:49Z
1010
section="utils"
1111
maintainer="rM-self-serve <[email protected]>"
@@ -15,7 +15,7 @@ source=(
1515
"$url"/archive/1d28b2d91c0179059017696ae5a33aa49e1e7c7d.zip
1616
)
1717
sha256sums=(
18-
99ac382e665b55c43876e8991c9dfa7f11a625d4f3ed4f35d3bc58762e04db39
18+
f967cad7607da6458cb0e307b662db66026747922f98ad19f7e2265b9cab1f47
1919
)
2020

2121
package() {

scripts/toltec/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _fetch_sources(
219219

220220
# Verify checksum
221221
file_sha = util.file_sha256(local_path)
222-
if source.checksum not in ("SKIP", source.checksum):
222+
if source.checksum not in ("SKIP", file_sha):
223223
raise BuildError(
224224
f"Invalid checksum for source file {source.url}:\n"
225225
f" expected {source.checksum}\n"

0 commit comments

Comments
 (0)