From f0ed0c000cedb94a2ac1654206ca639b9b6f0daa Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 4 Nov 2023 12:12:47 +0900 Subject: system/fwupd: Updated for version 1.9.7. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/fwupd/fwupd.SlackBuild | 21 ++++++++++++++------- system/fwupd/fwupd.info | 6 +++--- 2 files changed, 17 insertions(+), 10 deletions(-) (limited to 'system/fwupd') diff --git a/system/fwupd/fwupd.SlackBuild b/system/fwupd/fwupd.SlackBuild index 225c5b9d12a78..06dd8ed9f68bf 100644 --- a/system/fwupd/fwupd.SlackBuild +++ b/system/fwupd/fwupd.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fwupd -VERSION=${VERSION:-1.9.6} +VERSION=${VERSION:-1.9.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -111,6 +111,10 @@ meson --prefix=/usr \ "${NINJA:=ninja}" -C build DESTDIR=$PKG $NINJA -C build install +# fix permissions on rules.d +chown polkitd:root $PKG/usr/share/polkit-1/rules.d +chmod 0700 $PKG/usr/share/polkit-1/rules.d + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -118,7 +122,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mv $PKG/usr/bin/{,fwupd-}dbxtool -mv $PKG/usr/bin/{,fwupd-}gcab +mv $PKG/usr/man/man1/{,fwupd-}dbxtool.1.gz mv $PKG/etc/fwupd/fwupd.conf $PKG/etc/fwupd/fwupd.conf.new mv $PKG/etc/fwupd/remotes.d/fwupd-tests.conf $PKG/etc/fwupd/remotes.d/fwupd-tests.conf.new @@ -133,16 +137,19 @@ rm -rf $PKG/usr/share/installed-tests mkdir -p $PKG/usr/share/dbus-1/system-services sed 's|@libexecdir@|/usr/libexec|' data/org.freedesktop.fwupd.service.in > $PKG/usr/share/dbus-1/system-services/org.freedesktop.fwupd.service -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc + +# move meson installed docs +mv $PKG/usr/share/doc/fwupd $PKG/usr/doc/$PRGNAM-$VERSION +(cd $PKG/usr/doc/$PRGNAM-$VERSION && unlink libfwupd && unlink libfwupdplugin) +mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/ +rm -rf $PKG/usr/share/doc + cp -a \ CODE_OF_CONDUCT.md COMMITMENT CONTRIBUTING.md COPYING MAINTAINERS README.md RELEASE SECURITY.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# move meson installed docs -mv $PKG/usr/share/doc/fwupd/* $PKG/usr/doc/$PRGNAM-$VERSION/ -rm -rf $PKG/usr/share/doc - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/system/fwupd/fwupd.info b/system/fwupd/fwupd.info index 597266477133b..0aa8a90f7c73a 100644 --- a/system/fwupd/fwupd.info +++ b/system/fwupd/fwupd.info @@ -1,8 +1,8 @@ PRGNAM="fwupd" -VERSION="1.9.6" +VERSION="1.9.7" HOMEPAGE="https://www.fwupd.org" -DOWNLOAD="https://github.com/fwupd/fwupd/archive/1.9.6/fwupd-1.9.6.tar.gz" -MD5SUM="24a906a744462927881572e3ed46b410" +DOWNLOAD="https://github.com/fwupd/fwupd/archive/1.9.7/fwupd-1.9.7.tar.gz" +MD5SUM="7a576b9d30147f96e89b1d0ab92b5301" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gcab libjcat libxmlb libgusb libsmbios pefile protobuf-c python-toml python3-meson-opt python3-typogrify" -- cgit v1.2.3