diff options
author | Erich Ritz <erich.public@protonmail.com> | 2020-10-21 14:29:15 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-23 21:31:48 +0700 |
commit | 1fb674aa95feb8eca9bc479d6d98e07034988175 (patch) | |
tree | b53c2ab39e0658a0aa6b714da7be4860daa5891c | |
parent | 307ff518dbfa0d3779ec43ea78db92ce3ccb63d9 (diff) | |
download | slackbuilds-1fb674aa95feb8eca9bc479d6d98e07034988175.tar.gz |
system/system76-power: Updated for version 1.1.11
Upstream fixed the Makefile to no longer set the setuid bit on the
installed executable, so remove the code that removes the setuid bit
from the SlackBuild.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 12 | ||||
-rw-r--r-- | system/system76-power/system76-power.info | 12 |
2 files changed, 11 insertions, 13 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild index 616b23c72b..4eafea3ea1 100644 --- a/system/system76-power/system76-power.SlackBuild +++ b/system/system76-power/system76-power.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=system76-power -VERSION=${VERSION:-1.1.10} +VERSION=${VERSION:-1.1.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -142,13 +142,14 @@ mkdir vendor synstructure=0.12.4 \ sysfs-class=0.1.3 \ textwrap=0.11.0 \ - time=0.1.43 \ + time=0.1.44 \ tokio=0.2.22 \ unicode-width=0.1.8 \ unicode-xid=0.2.1 \ vec_map=0.8.2 \ vergen=3.1.0 \ version_check=0.9.2 \ + wasi=0.10.0+wasi-snapshot-preview1 \ winapi=0.2.8 \ winapi=0.3.9 \ winapi-build=0.1.1 \ @@ -165,7 +166,7 @@ mkdir vendor if [ -e $CWD/$ver.tar.gz ]; then CRATE_FILE=$CWD/$ver.tar.gz else - CRATE_FILE=$CWD/sysfs-class-$ver.tar.gz + CRATE_FILE=$CWD/$dep-$ver.tar.gz fi fi tar xvf $CRATE_FILE @@ -209,11 +210,6 @@ libdir=/usr/lib${LIBDIRSUFFIX} \ make make install DESTDIR=$PKG -# Remove suid bit on system76-power executable -# Despite being installed SUID by the Makefile, the Debian package installed -# on Pop!_OS has 0755 permissions for this file, so follow that convention. -chmod u-s $PKG/usr/bin/system76-power - 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 diff --git a/system/system76-power/system76-power.info b/system/system76-power/system76-power.info index 4b48ba97c1..4d8860281d 100644 --- a/system/system76-power/system76-power.info +++ b/system/system76-power/system76-power.info @@ -1,7 +1,7 @@ PRGNAM="system76-power" -VERSION="1.1.10" +VERSION="1.1.11" HOMEPAGE="https://github.com/pop-os/system76-power" -DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.10/system76-power-1.1.10.tar.gz \ +DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.11/system76-power-1.1.11.tar.gz \ https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi_term/ansi_term-0.11.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.1.crate \ @@ -48,20 +48,21 @@ DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.10/system76-power https://crates-io.s3-us-west-1.amazonaws.com/crates/synstructure/synstructure-0.12.4.crate \ https://github.com/pop-os/sysfs-class/archive/0.1.3/sysfs-class-0.1.3.tar.gz \ https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.43.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.44.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.22.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.8.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/vec_map/vec_map-0.8.2.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/vergen/vergen-3.1.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.10.0+wasi-snapshot-preview1.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.2.8.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-build/winapi-build-0.1.1.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/ws2_32-sys/ws2_32-sys-0.2.1.crate" -MD5SUM="c23b756f1a70721aa75a3b46f1594338 \ +MD5SUM="6124c0467008e4e3c9cd1466fca70479 \ 294a49d3c53865fa7ac5d0ce2f5d5735 \ 142cb4b9a653e56e56311f0c883b8582 \ c6443ec8d007c729ba5482008d0c864d \ @@ -108,13 +109,14 @@ MD5SUM="c23b756f1a70721aa75a3b46f1594338 \ 09f09b3f56045183393726a31d8a0192 \ 80ca0de72168dc03e90bc3c519153305 \ a8de006fe0c7e373c560dd51599287a8 \ - 9d66208e00715217a8c1f2e40efe4a0c \ + c6c50e4feea5f4cc4e1fb3c7e88606a5 \ 4d130fad86abe7c08cddf9275e031bd6 \ 4272c279b06b88f8b0ffce7109348e27 \ a51c43692084979295641a7ffba4b297 \ 333b4ba3f64c35b6f89b521e8d64548b \ 63630c8b8aeb092854a6e47f5d6468e1 \ 8b01b016a9b6deebc1b43f296057efb5 \ + a312b55a428f827a91097d1d8497b02b \ b44489eb4799c4fabac3fceb48de54f7 \ 0498c4a11448bfc35dc7bb2caa64c753 \ c900e7dbce808ff8ced375077b17a163 \ |