Validity check failure :(
Repo Make (2) dos2unix-7.4.3-1 jq-1.6-4
Aur (1) easy2boot-2.13-1
:: Proceed to review? [Y/n]: y
:: Downloading PKGBUILDs...
(1/1) easy2boot-2.13-1 [-------------------------------------------------------------------------------------------------------------------------]
/home/pieter/.cache/paru/clone/easy2boot/PKGBUILD
# Maintainer: Asger Hautop Drewsen <asgerdrewsen@gmail.com>
# You need to manually download the Easy2Boot_v1.B8 zip file from:
# https://www.fosshub.com/Easy2Boot.html?dwl=Easy2Boot_v1.B8.zip
_grub4dos_version=0.4.5
pkgname='easy2boot'
pkgver='2.13'
pkgrel='1'
pkgdesc='Highly-configurable USB drive multiboot software with support for Secure UEFI booting'
url='http://www.easy2boot.com/'
arch=('any')
license=('custom:easy2boot license')
depends=()
makedepends=('dos2unix' 'jq')
install=$pkgname.install
_projectName='Easy2Boot'
_fileName="${_projectName}_v${pkgver}_password_is_e2b.zip"
source=(
"fosshub.html::https://www.fosshub.com/Easy2Boot.html/${_fileName}"
# "grub4dos.rar::http://dl.grub4dos.chenall.net/grub4dos-${_grub4dos_version}-2009-12-23.rar"
)
noextract=('fosshub.html')
md5sums=('5354ccec82caa19e59b183fa8e3eef65')
prepare() {
json=$(cat fosshub.html | sed -n 's/.*var.*settings.*=//p' | jq)
projectId=$(echo ${json} | jq '{projectId: .projectId}')
tempJson=$(echo ${json} | jq --arg _fileName ${_fileName} '.pool.f[] | select(.n==$_fileName) | {fileName: .n, releaseId: .r}')
# echo ${tempJson}
postData=$(echo ${projectId} ${tempJson} '{"projectUri": "${_projectName}.html","source":"CF"}' | jq -s 'add')
# echo $postData | jq
_url=$(wget -O- --post-data="${postData}" --header='Content-Type:application/json' https://api.fosshub.com/download/ | jq '.data.url' | sed -e 's/^"//' -e 's/"$//')
# _url=${_url:}
# echo $_url
wget -O ${_fileName} $_url
bsdtar -x --passphrase e2b -f ${_fileName}
cd "$srcdir/_ISO"
bsdtar -c -v -f "CONTIG.ISO.xz" -J "CONTIG.ISO"
rm "CONTIG.ISO"
# Use newer, working bootlace
# unrar e grub4dos.rar grub4dos-${_grub4dos_version}/bootlace.com
# mv bootlace.com _ISO/docs/linux_utils/bootlace.com
# rm grub4dos.rar
}
package() {
rm "${_fileName}"
rm "fosshub.html"
execs=(
'add-32-bit-support.sh'
'bootlace.com'
:: Proceed with installation? [Y/n]:
[sudo] password for pieter:
resolving dependencies...
looking for conflicting packages...
Packages (2) dos2unix-7.4.3-1 jq-1.6-4
Total Download Size: 0.58 MiB
Total Installed Size: 2.35 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
dos2unix-7.4.3-1-x86_64 368.4 KiB 1330 KiB/s 00:00 [###############################################################] 100%
jq-1.6-4-x86_64 226.4 KiB 2.15 MiB/s 00:00 [###############################################################] 100%
Total (2/2) 594.8 KiB 1301 KiB/s 00:00 [###############################################################] 100%
(2/2) checking keys in keyring [###############################################################] 100%
(2/2) checking package integrity [###############################################################] 100%
(2/2) loading package files [###############################################################] 100%
(2/2) checking for file conflicts [###############################################################] 100%
(2/2) checking available disk space [###############################################################] 100%
:: Processing package changes...
(1/2) installing dos2unix [###############################################################] 100%
(2/2) installing jq [###############################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
fetching devel info...
==> Making package: easy2boot 2.13-1 (Sun 20 Nov 2022 12:10:18 AEST)
==> Retrieving sources...
-> Downloading fosshub.html...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 90877 0 90877 0 0 89459 0 --:--:-- 0:00:01 --:--:-- 2924k
==> Validating source files with md5sums...
fosshub.html ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'easy2boot-2.13-1':
error: packages failed to build: easy2boot-2.13-1
Pinned Comments
rvasilev commented on 2021-09-02 22:08 (UTC) (edited on 2021-09-03 17:15 (UTC) by rvasilev)
Testing is needed because of major version bump from v1 beta to v2
Maybe 'jq' builddep should be added.
The main current downside - the package hash is not being verified as it should.
Please report bugs to https://github.com/arch-noob/easy2boot