From b4c950a78d97451adfe9d533f9602bca9c7042e3 Mon Sep 17 00:00:00 2001 From: maxice8 <30738253+maxice8@users.noreply.github.com> Date: Sat, 18 Nov 2017 14:24:49 -0200 Subject: [PATCH] fwup: update to 0.18.0. (#9300) --- srcpkgs/fwup/template | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/srcpkgs/fwup/template b/srcpkgs/fwup/template index 3883afeb39..6f613133ec 100644 --- a/srcpkgs/fwup/template +++ b/srcpkgs/fwup/template @@ -1,17 +1,18 @@ # Template file for 'fwup' pkgname=fwup -version=0.17.0 +version=0.18.0 revision=1 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="libarchive-devel libsodium-devel confuse-devel" +checkdepends="mtools unzip zip dosfstools" short_desc="Configurable embedded Linux firmware update creator and runner" maintainer="Duncaen " license="Apache-2.0" #changelog="https://raw.githubusercontent.com/fhunleth/fwup/master/CHANGELOG.md" homepage="https://github.com/fhunleth/fwup" distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz" -checksum=c3fe73da33ed5a1527361aa61f97a6cad4a937a884dd933b04407b4198fefa33 +checksum=d23dd750ae0cd4be58cdf9e8d7e04ef4aa9c134cc1f9629f04a52d5158622ab9 if [ -z "$CROSS_BUILD" ]; then hostmakedepends+=" help2man" @@ -20,3 +21,11 @@ fi pre_configure() { NOCONFIGURE=1 autoreconf -fi } + +do_check() { + # mtools.conf requires manual configuration for usage, but not for out tests + # so we just remove the unrecognized keyword + sed -i '/SAMPLE FILE/d' /etc/mtools.conf + + make check +}