diff --git a/srcpkgs/fwupdate/INSTALL.msg b/srcpkgs/fwupdate/INSTALL.msg deleted file mode 100644 index 0116decaa53..00000000000 --- a/srcpkgs/fwupdate/INSTALL.msg +++ /dev/null @@ -1,4 +0,0 @@ - -TO use the EFI firmware update executable, copy the /usr/lib/fwupdate/EFI -folder to your EFI partition - diff --git a/srcpkgs/fwupdate/patches/musl-strndupa.patch b/srcpkgs/fwupdate/patches/musl-strndupa.patch deleted file mode 100644 index 3e487113f71..00000000000 --- a/srcpkgs/fwupdate/patches/musl-strndupa.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- linux/libfwup.c -+++ linux/libfwup.c -@@ -30,6 +30,15 @@ - #include "ucs2.h" - #include "fwup-efi.h" - -+#ifndef strndupa -+#define strndupa(s, n) \ -+ (__extension__ ({const char *__in = (s); \ -+ size_t __len = strnlen (__in, (n)) + 1; \ -+ char *__out = (char *) alloca (__len); \ -+ __out[__len-1] = '\0'; \ -+ (char *) memcpy (__out, __in, __len-1);})) -+#endif -+ - static int verbose; - #include "error.h" - diff --git a/srcpkgs/fwupdate/template b/srcpkgs/fwupdate/template deleted file mode 100644 index e00c79225b9..00000000000 --- a/srcpkgs/fwupdate/template +++ /dev/null @@ -1,53 +0,0 @@ -# Template file for 'fwupdate' -pkgname=fwupdate -version=12 -revision=1 -archs="x86_64* i686* aarch64* arm*" -build_style=gnu-makefile -make_install_args="EFIDIR=void LIBDIR=/usr/lib" -make_build_args="EFIDIR=void GNUEFIDIR=/usr/lib" -hostmakedepends="pkg-config" -makedepends="elfutils-devel gnu-efi-libs libefivar-devel popt-devel" -checkdepends="libabigail-tools" -short_desc="Tool for using the ESRT and UpdateCapsule() to apply firmware updates" -maintainer="Orphaned " -license="GPL-2.0-or-later" -homepage="https://github.com/rhboot/fwupdate" -distfiles="https://github.com/rhboot/fwupdate/releases/download/${version}/fwupdate-${version}.tar.bz2" -checksum=4167d569f14e00ecf620c369ab34709e4bb1574ed588ef2e2398667e9e968703 -nocross="fails to find efi.h" - -case "$XBPS_TARGET_MACHINE" in - x86_64|i686) makedepends+=" libsmbios-devel" ;; -esac - -do_check() { - EFIDIR=void make abicheck -} - -post_install() { - vmkdir usr/lib/fwupdate - mv "${DESTDIR}"/boot/efi/EFI "${DESTDIR}"/usr/lib/fwupdate/EFI - rm -rf "${DESTDIR}"/boot - rm -rf "${DESTDIR}"/usr/src - rm -rf "${DESTDIR}"/usr/lib/debug - rm -rf "${DESTDIR}"/usr/lib/systemd -} - -libfwup_package() { - short_desc+=" - fwupdate library" - pkg_install() { - vmove "usr/lib/libfwup.so.*" - } -} - -fwupdate-devel_package() { - depends="libfwup-${version}_${revision} libefivar-devel" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove usr/lib/pkgconfig - vmove usr/lib/libfwup.so - vmove usr/share/man/man3 - } -}