mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-embedded/fwup: add 1.17.1
Signed-off-by: Mathijs Saey <mathijs@mathsaey.be>
This commit is contained in:
2 files changed
+51
No files matched your search
@@ -1 +1,2 @@
|
||||
DIST fwup-1.16.0.tar.gz 25593107 BLAKE2B 6d7e350e636457f830c3ca94e110c08a3f00d287008257e5a00cb102fd90bda01a167177436bbdd06fd5eaf99f22e5921f58b068436a0c8bbb9e52e64b435e8e SHA512 e9bb6503ed4169407dbe7325afd53c61715b18f3fbea55d15d364b6c64ae104e80f7b4831ac58531a81670cc7597dcf8cacde95dd953fcfb8e4ea495438739f3
|
||||
DIST fwup-1.17.1.tar.gz 25606225 BLAKE2B 66d9eb8bd00df2798eb9107daaa26fc84c2fecff658456fcf9332bdabdb69b20d2fff9a5047440564da73254d6c3b231d805335f617a64deb81fa6f62e10d901 SHA512 b01a25d77f8d9c18e638ab16b9093fd7d40c49a4857ef81b701807f65fe711bc9bfdf26fb8383638fe7c21c59356c0557e3a1fbad7f5b23ec1142ee5d654c23e
|
||||
@@ -0,0 +1,50 @@
|
||||
# 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"
|
||||
IUSE="test"
|
||||
|
||||
# Running tests requires dev-util/xdelta to be compiled with lzma support.
|
||||
# Only run tests when the appropriate USE flag has been set.
|
||||
RESTRICT="!test? ( test )"
|
||||
BDPEND="test? ( dev-util/xdelta:3[lzma] )"
|
||||
|
||||
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.
|
||||
|
||||
# Certain tests make use of LD_PRELOAD, which does not work in the portage
|
||||
# sandbox. Most of these use the $WRITE_SHIM or $MOUNT_SHIM defined in
|
||||
# commmon.sh. Some tests define their own. Disable all of these so the
|
||||
# tests in question get skipped.
|
||||
sed -i 's/^\(WRITE\|MOUNT\|PREAD\|UBI\)_SHIM=".*"/\1_SHIM=""/' \
|
||||
'tests/common.sh' \
|
||||
'tests/222_block_cache_pread_count.test' \
|
||||
'tests/226_ubi_volume_write_success.test' \
|
||||
|| die 'Could not disable test shims'
|
||||
|
||||
# set VERIFY_SYSCALLS_DISABLE, to disable tracing
|
||||
VERIFY_SYSCALLS_DISABLE="" emake check
|
||||
}
|
||||
Reference in new issue
Block a user