dev-embedded/fwup: add 1.13.0

Signed-off-by: Mathijs Saey <mathijs@mathsaey.be>
This commit is contained in:
Mathijs Saey
2025-06-15 01:37:56 +02:00
parent bee0a6b2f2
commit f66bc7b66f
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST fwup-1.12.0.tar.gz 4152060 BLAKE2B b1f556abfdf996a4d5128f49e9506804962d0968509b306bf067dfd540654c91a2750fd66aaa02647a52d6de30dca41dfb748aa0bafaf7684dfbe5d19430538a SHA512 7c1058b737185a909caa338fbcbd0629f69c228120c702d54577b4bd9616c3319648c53dd2d20392a1dd2cd8d64fbd376261cf2f5720cf1ee05c34161c74cd80
DIST fwup-1.13.0.tar.gz 4154059 BLAKE2B 2da945061bbfe8cf8e0f2cec3b9a7582578f88da9800ac3e2982e653671b23d7e90f33949c758a569356acda0a879ef4b4a87e3b18829f4035f1b08aa7096a6d SHA512 b3d21d0e0e3a976024c3b749bcd618ad3de8dc27e5b7b0d0930de56815947522a41d5c23988118413d50f5edcd19808e556090653b0db338ea26383b48dd7587

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Configurable embedded Linux firmware update creator and runner"
HOMEPAGE="https://github.com/fwup-home/fwup"
SRC_URI="https://github.com/fwup-home/fwup/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=app-arch/libarchive-3.7.9
app-arch/zip
>=dev-libs/confuse-2.8
dev-util/xdelta:3
sys-fs/dosfstools
sys-fs/mtools
sys-fs/squashfs-tools
"
src_prepare() {
default
./autogen.sh
}
src_test() {
# The fwup tests do not like the portage sandbox. Make them play nice.
# Modify tests/common.sh to ensure $WRITE_SHIM and $MOUNT_SHIM point to
# files that don't exist. This is needed to ensure tests don't try to use
# LD_PRELOAD.
sed -i 's/^\(WRITE\|MOUNT\)_SHIM=".*"/\1_SHIM=""/' 'tests/common.sh' \
|| die 'Could not sed tests/common.sh'
# set VERIFY_SYSCALLS_DISABLE, to disable tracing
VERIFY_SYSCALLS_DISABLE="" emake check
}