diff options
-rw-r--r-- | system/system76-power/fix_groups.patch | 22 | ||||
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 7 | ||||
-rw-r--r-- | system/system76-power/system76-power.info | 154 |
3 files changed, 94 insertions, 89 deletions
diff --git a/system/system76-power/fix_groups.patch b/system/system76-power/fix_groups.patch new file mode 100644 index 0000000000..4a94584efe --- /dev/null +++ b/system/system76-power/fix_groups.patch @@ -0,0 +1,22 @@ +diff --git a/data/system76-power.conf b/data/system76-power.conf +index 335981c..1705b0c 100644 +--- a/data/system76-power.conf ++++ b/data/system76-power.conf +@@ -6,17 +6,9 @@ + <allow send_destination="com.system76.PowerDaemon"/> + <allow receive_sender="com.system76.PowerDaemon"/> + </policy> +- <policy group="sudo"> +- <allow send_destination="com.system76.PowerDaemon"/> +- <allow receive_sender="com.system76.PowerDaemon"/> +- </policy> + <policy user="root"> + <allow own="com.system76.PowerDaemon"/> + <allow send_destination="com.system76.PowerDaemon"/> + <allow receive_sender="com.system76.PowerDaemon"/> + </policy> +- <policy user="gnome-initial-setup"> +- <allow send_destination="com.system76.PowerDaemon"/> +- <allow receive_sender="com.system76.PowerDaemon"/> +- </policy> + </busconfig> diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild index 47aa58a03d..ad7cc45a17 100644 --- a/system/system76-power/system76-power.SlackBuild +++ b/system/system76-power/system76-power.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for system76-power -# Copyright 2019-2021 Erich Ritz, Jenks, Oklahoma, USA +# Copyright 2019-2022 Erich Ritz, Jenks, Oklahoma, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=system76-power -VERSION=${VERSION:-1.1.18} +VERSION=${VERSION:-1.1.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -154,6 +154,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Prevent syslog messasge 'Unknown group "sudo" in message bus configuration file'. +patch -p1 < $CWD/fix_groups.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make diff --git a/system/system76-power/system76-power.info b/system/system76-power/system76-power.info index 4b83faee58..9751e25105 100644 --- a/system/system76-power/system76-power.info +++ b/system/system76-power/system76-power.info @@ -1,154 +1,134 @@ PRGNAM="system76-power" -VERSION="1.1.18" +VERSION="1.1.20" HOMEPAGE="https://github.com/pop-os/system76-power" -DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.18/system76-power-1.1.18.tar.gz \ - https://github.com/pop-os/sysfs-class/tarball/c3b86e07c36feb9b705b8c24af1498cbd396de4e/sysfs-class-0.1.3.crate \ +DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.20/system76-power-1.1.20.tar.gz \ + https://github.com/pop-os/sysfs-class/tarball/ab63e7f638aadfaf896a02e53cf330343d331337/sysfs-class-0.1.3.crate \ 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 \ https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.3.2.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/bytes/bytes-0.5.6.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.70.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.71.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-1.0.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.3.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus-crossroads/dbus-crossroads-0.3.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus-tokio/dbus-tokio-0.6.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus/dbus-0.9.3.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/err-derive/err-derive-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus-crossroads/dbus-crossroads-0.5.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus-tokio/dbus-tokio-0.7.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus/dbus-0.9.5.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/fern/fern-0.6.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon-sys/fuchsia-zircon-sys-0.3.3.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon/fuchsia-zircon-0.3.3.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-channel/futures-channel-0.3.17.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-core/futures-core-0.3.17.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-executor/futures-executor-0.3.17.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-io/futures-io-0.3.17.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-macro/futures-macro-0.3.17.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-sink/futures-sink-0.3.17.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-task/futures-task-0.3.17.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-util/futures-util-0.3.17.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures/futures-0.3.17.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.19.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/hidapi/hidapi-1.2.6.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/inotify-sys/inotify-sys-0.1.5.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/inotify/inotify-0.8.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/inotify/inotify-0.9.6.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/intel-pstate/intel-pstate-0.2.2.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/iovec/iovec-0.1.4.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-0.4.8.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/kernel32-sys/kernel32-sys-0.2.2.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.101.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/libdbus-sys/libdbus-sys-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.106.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/libdbus-sys/libdbus-sys-0.2.2.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.14.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/mio-uds/mio-uds-0.6.8.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.6.23.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/miow/miow-0.2.2.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.37.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.13.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.4.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.7.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/miow/miow-0.3.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ntapi/ntapi-0.3.6.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/numtoa/numtoa-0.2.4.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.1.12.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/once_cell/once_cell-1.8.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.2.7.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.19.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-error-attr/proc-macro-error-attr-1.0.4.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-error/proc-macro-error-1.0.4.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.29.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.9.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/rustversion/rustversion-1.0.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.22.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-hack/proc-macro-hack-0.5.19.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-nested/proc-macro-nested-0.1.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.32.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.10.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.5.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.130.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.130.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.67.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.69.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/signal-hook-registry/signal-hook-registry-1.4.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.5.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/smart-default/smart-default-0.6.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.8.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.76.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/synstructure/synstructure-0.12.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.81.crate \ 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/thiserror-impl/thiserror-impl-1.0.29.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror/thiserror-1.0.29.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-macros/tokio-macros-0.2.6.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.25.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/thiserror-impl/thiserror-impl-1.0.30.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror/thiserror-1.0.30.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-macros/tokio-macros-1.5.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-1.13.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.9.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.2.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/version_check/version_check-0.9.3.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/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/ws2_32-sys/ws2_32-sys-0.2.1.crate" -MD5SUM="e5b87b8973958e8a41ba308528f9d092 \ - a8dc76f199d4880cdc0cdb6e01d53f30 \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate" +MD5SUM="07ed8bc133cbaa7f4337398e05441331 \ + 864d84ec428600e74b322b01d0d9040c \ 294a49d3c53865fa7ac5d0ce2f5d5735 \ 142cb4b9a653e56e56311f0c883b8582 \ c6443ec8d007c729ba5482008d0c864d \ a295edb6953237ebbdfa8e731229f9a3 \ - d123f33f646e37ca5b825ea6eb2dd150 \ - d0a2a519109b9399a22cdd4dc20ec1da \ - 882dbbc613a93f64c3709b0a2bd0d6dc \ + 92941d0a7ba2114d1a4f38d5a85a1163 \ 74634128440dbc3766bda76fdf0aaa05 \ bc79e0eb364df515a33755ac9a581cfd \ - d228b7c6e0d220d40c064e3feaaceb7f \ - 409eecafa64d119eca370486e49dd522 \ - a0a467ae6512c35a0169937cdf8eb484 \ - 9d53a61cdf8af705fd38cc26481b610d \ + 363d49825181dd36c061c5df606a8ef4 \ + b520c4887053e2bc5e915c0a88d13047 \ + 3ddbeaaa356f7725a3e4c12ff457d6b0 \ 9bb99bc31c32da009e64621f4c635748 \ - 54cfab480b7a5f7302eadf44129d3f4b \ - dd7c80c2d04d2e9ceba82826cf69764d \ bb4c6a75e0330d60413c42fd2df8e1d4 \ 39a615e6e64be47b6526dbdb10f03aa5 \ + d73699336519523e79350eb635ce1364 \ + 5227c2060895de6ed04329db776c9ff7 \ + 555dda6ea822696b6aa40f7ede0ebfcd \ + 18cae1d8dc312fa017b24b21d906a9fc \ ae3146575859e9e6a95576f75bfddc5e \ c8fde0f0c8aa0cc139753968337b28e1 \ + 33b9ba92f40b683106fcfeb0bc1006c3 \ 0b7994d1256215201bdfb810a357ffa2 \ 6dd79c5abb4bea1d7c257e5ade97a1ac \ 639af0cca65c012e6a028acfb657e417 \ - e7696ea7bac5b2d62b5306498960430b \ + 1c69490f9cefc24e2119217039c61dda \ 9f49e4c2883dcd3c628bdc9da5e42c28 \ - f1c40b9836035b69e464df711a1d2950 \ 06e7dbde9932c6a9bac63d9288670678 \ - 9d033cc2daa6924420a4a89e6705773f \ - fba3b040a55c01be7376d3dd5c4d4920 \ - e8cde90955df7cb1c47c99d126ff313a \ - 78e11acb853ee9a9c1b905e209b33d4a \ + 181c1ef1393781fc4a79273bc8f7b58f \ + b572f0c3d1144e7c35dcdfd4f08913f8 \ 40e508baeee8cdccbc471489b0f449ff \ - 10e28d0be14899dcbad91142a228fb35 \ - 257e573f323c639630b31f147671b627 \ - 1fbbe598255c0addb31bdfbe3e76420d \ - ff6c054468eab826f0dab7cc9a3fe557 \ - c36d452e37c73b1e99f40bae18cddfdb \ + d75b1c734f85b007c55ca84217df4201 \ + 84c0c029460fffc209296b914a16e4c8 \ + 4604959975c2154a14f6b5e97444e2c8 \ + 420f93a43fa603c1253213bdf28983df \ 6361a447cdbc285fce46c8a090428167 \ - 906a9bf2f259cb64c75fabc264443186 \ + 09890b5c787af9aedc40f1d75cbe57bb \ 499155f20603f837aa2d4710a6ac38de \ 07c75fec267864bcbb800ca7709ceae2 \ - 448bc61aee07661464d98da7660e9a1d \ - 7d76a523677de261dda1b65d29a93c4e \ - 6a32bab57772c3a1146d599b65ffb0cb \ - 886ee6f94503dda907dbb4eae5ada5d9 \ - 3233400d1bc56e7c78d4d7564d8e5b74 \ - 45e90bebdf7d2ec036c595796757b354 \ + 1236023abc760e0e79de0dc634fd9fd8 \ + c7c38eb603bed6f42edbc4294806a44a \ + e6fd8764e2acb835d7d2f04d052e30ce \ + 000d675657f9e2041501b0cca03131f9 \ + 13a51212a18799d3a7022a12244a8ce3 \ a69721c73263cd2040e1a5f120b03a6f \ 72696c3c7b35807d51fdc9692794aea4 \ 6022cfe830087be40e5ef983c5eadbfa \ - 8c8a793981842b1885fe5a4995ebb773 \ + 77e39649bcd85e1591f04e88625500f4 \ 21b43d5721b3a9c16059acb691f4314d \ - f9413de4f5ecd8f9bb3d0d7889a09aa4 \ + 2fcf5fe983975bbcea43129c9fb31923 \ 26b4ac1432c227434bc943817f42872e \ 781d4ccf5d04c98fa02af207a9639249 \ - 6ddfbfdd429634f9e1785f51afbf2a3f \ - aef0ab9f3e6c4225ba45339e47a9f295 \ + 3d219fde6db317dbc30f75002606f21f \ a8de006fe0c7e373c560dd51599287a8 \ - b124ec6b03777dee85782fe37f629e52 \ - 384f1d49433c57287623be96bb0bb731 \ - 2c8f1fe04919c09e705eccb13a2aa583 \ - 1c63947b82fb656602a15cff8cc7c360 \ - 4272c279b06b88f8b0ffce7109348e27 \ + 3e61457993a6e3fdaaf2fbe82bd7dff3 \ + cc180843b3b626ede01ebd9a0d9fbdaa \ + 14c3246ec7af33c7eabcb484c319a838 \ + 98b4d2f14aac026e05f73af1fb5a94e4 \ + a42cc2834b2150027d7b427558a87803 \ 087bfc476e9d73628cebd265590f11f7 \ 333b4ba3f64c35b6f89b521e8d64548b \ - 1c446b05ba6899a5b5801b7d4aee465c \ - c900e7dbce808ff8ced375077b17a163 \ db96b50050277bf05a3c68534bbb9586 \ 09de9d01e7331ff3da11f58be8bef0df \ - b44489eb4799c4fabac3fceb48de54f7 \ - 0498c4a11448bfc35dc7bb2caa64c753 \ - 38346bab0933c9eb1e36d22fe4220ba7" + 0498c4a11448bfc35dc7bb2caa64c753" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="system76-io-dkms" |