mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 22:30:59 +02:00
sys-power/acpid: deleted v2.0.28-r1 and files not used by v2.0.29-r1
This commit is contained in:
parent
904d151349
commit
49d1ec162f
8 changed files with 0 additions and 209 deletions
|
|
@ -1,15 +1,7 @@
|
|||
AUX acpid-1.0.4-default 663 BLAKE2B 221343ecbabeaea79af570cde3bdd58e0408e67b954519ba41addfa242de3ab91e47f40b02e9e83be7eb97f3a953d2f0ec1953b0a1753cbe57b371e3cf064b05 SHA512 817c971371046bdac72c644eed508b17fe524007f0cf360198d2649bc80254a0b127def0f6442288432ea2fb822b42299324507711feb13dd14a29e9315e9238
|
||||
AUX acpid-1.0.6-default.sh 1214 BLAKE2B bd533af8c2e2dd4119ae4d88479f90e4c4863be78da671e9069ce3c06ce2ced68c8f386b2eddbb00da47dd3d1d4264a121e8f0efd06023e0e1bd23c918bca90b SHA512 c21015cfc17699db6115a7ff956cfb944387d4fb69f722e0ef2f4a7a69a02b473685ea34e73ea9c3bc90dee8ea757a26d96afdefab8147277b1f9a82de5d3c64
|
||||
AUX acpid-2.0.16-conf.d 153 BLAKE2B e2c8a0d058311402b35c6c9777b9807d341f578bd60a82f1c866f182fef16d25332f37fa1cfe7a855824e004a877407d509bd6916388f6dfdf9114d9b93c57a3 SHA512 518cb397b2aa63b893ead1be08f32fe436d19b72663dee66834cfbc112b003333f0df8b9e4f1ffe64b813783f657d3fe8b9a0c5e992d5665583357e68b266705
|
||||
AUX acpid-2.0.25-add_mate-power-manager.patch 461 BLAKE2B 3cab3f239cdf1c575d6449b704e2f05a99fa075374f64523ca2ef6e3f9d3074fbd4eec4ceae1fd53c9fd4f648974e70939f45465becb10da68cc0d98af70bbb5 SHA512 faee772d2ba8e26d249d2fc9a7c9e1825383f82a1b90294581d315ffab413b67de2aee1887ee21fa6f9b782da988fb7261cd99505ae682024aaf5972669204ab
|
||||
AUX acpid-2.0.25-kde4.patch 1015 BLAKE2B 2e925c69ffc607126dafad82aa834e6f202769d9ef643fa0abe339e57d48e4c02e866e8cee2cf96b9eba2d3eee23961f1e5960638c3162dbc72845b8eaa4a093 SHA512 a619743a0e05948f368b1a884c06317be8434dd5d9ffa47571ce541e180cf938a6c4846f93ca6255243bddcce91be40d3c0efecf399a087f747a49136b1d3ab1
|
||||
AUX acpid-2.0.26-init.d 436 BLAKE2B de812b8d63f8427fc32b5d177f39d80cfdc8b92918cfe05de5483b6dd7c6091ce17ec65188376468c722c735cc2b01985366a9cedc693fd7d21eb6ada2055960 SHA512 7381d30b5c6478cdbf5dff93ae95baa0b3b1fe0a04b02cf491831f1657d6f71b8eef121b7e78f3201d11a5856bfb30df0a57437c76e6fbe05ad88cd45e86ae64
|
||||
AUX acpid-pentoo-1.0.6-default.sh 1811 BLAKE2B 7527662b2332a70ac3092203a92e377e79680b2efdf51963d2b3d6597e29be636be273d637a60b09e420ff0658ef58b5f1006478f204203591223113e232c281 SHA512 dcbadf0bc07130578c255365fa1b84567f59c286ff226d2634234b8c359c4041651163be17163316748c6260f995783e9cb2cbd017f5dddbae93cc93c1a8bbba
|
||||
AUX systemd/acpid.service 146 BLAKE2B bec1b843b3eb706215d5d2dfe447bba6fdbe69716370d01a6dafb2ccd24b9b128aca11d1f37d4430dbd6c0eab90b69273c55b91acc9875cacd974c27d97cb2ae SHA512 ed26b8322e6dd902783c33833c4d438483c5c2517ebe30d210775e7ad99a23fe755554ada18348691923fb82eaffa36708ede8ffadf53798649e4a4d0570ee58
|
||||
AUX systemd/acpid.socket 115 BLAKE2B 9d869f1fd573b2dc885a3328e5e70fcc28922343a7a408e71a1a59ee8b60e3f86e01a73f7bba76a87b5148eeee67728efd117b8a533b1f4997b2e6dcdaed7a0d SHA512 33de08516aefdb881c55843384407ebcae60a6c4c14af1e12678ae2cf6b7cde4122e916d10df8d24e78c80c50e41e0f1f94f67f4e09cef7631507cf3be83f5e0
|
||||
DIST acpid-2.0.28.tar.xz 156036 BLAKE2B a6a78f82f7f4ecbd0d883d175c921195970e157a919fefc9cf48a94db534b496a8570c031fda5b08df3fb1775e26a50b5942bac7717aa582d590605930e3af78 SHA512 effe9c3b30b4a6ea20eca4b36a06d4b3da9b262d100685958faec4b38f89377a87dcaecee7a69b87aaddfa47688bcc46fc47a38391ac4bd2019cb3b48ab18fcb
|
||||
DIST acpid-2.0.29.tar.xz 155568 BLAKE2B 9a2c9f2f8ba035bf7452b633c20a73796ca05d4849d567f076a08a8216f2e07ca7a0b25e995054697e70bacacad07872e153c6c47f8204294964b276bca49f62 SHA512 5f480cb4456b6b843adb239519a8d05f83c3c668525457e55d7fae2ba7725356ec7a1faa16bbd54086f0eab2e8ca20952180c00b2b65a27eda534c3f28e8ed17
|
||||
DIST sys-power_acpid_2.0.29-r1_extras.tar.xz 2548 BLAKE2B 4568f0e44d33382fd294248d48c8852f689f0a6082d9b74b33b77918d3ce21d7f1bf8a3aafeaa252e8fe170b3829155344a256f01fe80414369f02d50a17ff55 SHA512 f2c366c50c75790df32a1f6573b7de640fd09a97c4598155ebd0aad2eba118961ddc82fe0fbb4dc935aa5b6d7fcfe3ade73fff555b4588b0e4579a1028bef12f
|
||||
EBUILD acpid-2.0.28-r1.ebuild 1951 BLAKE2B 5ce7ea9b3b1f9604725cdae6b2ab097f93ae7ff0aee8cde79dfac4b0e5fea5c1f40873e18026c931c568b43c9435bc66c6766156db535bc1ee658a89058c59c5 SHA512 17497e5e97f7e484fec7e92842fe940a96b906c92cae72e0141c8c394b19ad68af9e35a77a08590c1a9af0616a5c2267024461b6ef4dc25c2fb5de708d0d0918
|
||||
EBUILD acpid-2.0.29-r1.ebuild 2307 BLAKE2B 5106ce324be97db6486c8b2e876859f994f0468a3258dd3ec19788168efdddf2117b14a2f49519485f846d35d76a3aa381be5b8a81468a1ba636c19641d52953 SHA512 3f5d23445cdd40ddca223c3c82a0591c35bed8076eea4d0dbbe4037f3d012189d0db2e18e96cf4b926e026a4984e38905922bab8d06f29bddbe7983b2570435d
|
||||
MISC metadata.xml 161 BLAKE2B aafa94848da6970d7cc0204e97170ee79ae409f3f6a492067bf523a468c6385488aa29eacfceadbbc4ef4dca9c9c040ec5e7e261cc75f3e2d89baadc1075d84c SHA512 b0b15689fd95ca9273dfc3b541b0b6edac9c6a0b2dcb8e5f0c0af47714faf45d89bac14c9cbfd0f0ce77614b216bcfd5ae5d998677cf47ff7b13216e81d572e7
|
||||
|
|
|
|||
|
|
@ -1,72 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
|
||||
HOMEPAGE="https://sourceforge.net/projects/acpid2"
|
||||
SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 x86"
|
||||
IUSE="pentoo selinux"
|
||||
|
||||
RDEPEND="selinux? ( sec-policy/selinux-apm )"
|
||||
DEPEND=">=sys-kernel/linux-headers-3"
|
||||
|
||||
pkg_pretend() {
|
||||
local CONFIG_CHECK="~INPUT_EVDEV"
|
||||
local WARNING_INPUT_EVDEV="CONFIG_INPUT_EVDEV is required for ACPI button event support."
|
||||
[[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
|
||||
}
|
||||
|
||||
pkg_setup() { :; }
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.25-kde4.patch #515088
|
||||
"${FILESDIR}"/${PN}-2.0.25-add_mate-power-manager.patch #538590
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newdoc kacpimon/README README.kacpimon
|
||||
dodoc -r samples
|
||||
rm -f "${D}"/usr/share/doc/${PF}/COPYING || die
|
||||
|
||||
exeinto /etc/acpi
|
||||
if use pentoo; then
|
||||
newexe "${FILESDIR}"/${PN}-pentoo-1.0.6-default.sh default.sh
|
||||
else
|
||||
newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
|
||||
fi
|
||||
exeinto /etc/acpi/actions
|
||||
newexe samples/powerbtn/powerbtn.sh powerbtn.sh
|
||||
insinto /etc/acpi/events
|
||||
newins "${FILESDIR}"/${PN}-1.0.4-default default
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-2.0.26-init.d ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "You may wish to read the Gentoo Linux Power Management Guide,"
|
||||
elog "which can be found online at:"
|
||||
elog "https://wiki.gentoo.org/wiki/Power_management/Guide"
|
||||
elog
|
||||
fi
|
||||
|
||||
# files/systemd/acpid.socket -> ListenStream=/run/acpid.socket
|
||||
mkdir -p "${ROOT%/}"/run
|
||||
|
||||
if ! grep -qs "^tmpfs.*/run " "${ROOT%/}"/proc/mounts ; then
|
||||
echo
|
||||
ewarn "You should reboot the system now to get /run mounted with tmpfs!"
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# /etc/acpi/events/default
|
||||
# This is the ACPID default configuration, it takes all
|
||||
# events and passes them to /etc/acpi/default.sh for further
|
||||
# processing.
|
||||
|
||||
# event keeps a regular expression matching the event. To get
|
||||
# power events only, just use something like "event=button[ /]power.*"
|
||||
# to catch it.
|
||||
# action keeps the command to be executed after an event occurs
|
||||
# In case of the power event above, your entry may look this way:
|
||||
#event=button[ /]power.*
|
||||
#action=/sbin/init 0
|
||||
|
||||
# Optionally you can specify the placeholder %e. It will pass
|
||||
# through the whole kernel event message to the program you've
|
||||
# specified.
|
||||
|
||||
event=.*
|
||||
action=/etc/acpi/default.sh %e
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
#!/bin/sh
|
||||
# /etc/acpi/default.sh
|
||||
# Default acpi script that takes an entry for all actions
|
||||
|
||||
set $*
|
||||
|
||||
group=${1%%/*}
|
||||
action=${1#*/}
|
||||
device=$2
|
||||
id=$3
|
||||
value=$4
|
||||
|
||||
log_unhandled() {
|
||||
logger "ACPI event unhandled: $*"
|
||||
}
|
||||
|
||||
case "$group" in
|
||||
button)
|
||||
case "$action" in
|
||||
power)
|
||||
/sbin/init 0
|
||||
;;
|
||||
|
||||
# if your laptop doesnt turn on/off the display via hardware
|
||||
# switch and instead just generates an acpi event, you can force
|
||||
# X to turn off the display via dpms. note you will have to run
|
||||
# 'xhost +local:0' so root can access the X DISPLAY.
|
||||
#lid)
|
||||
# xset dpms force off
|
||||
# ;;
|
||||
|
||||
*) log_unhandled $* ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
ac_adapter)
|
||||
case "$value" in
|
||||
# Add code here to handle when the system is unplugged
|
||||
# (maybe change cpu scaling to powersave mode). For
|
||||
# multicore systems, make sure you set powersave mode
|
||||
# for each core!
|
||||
#*0)
|
||||
# cpufreq-set -g powersave
|
||||
# ;;
|
||||
|
||||
# Add code here to handle when the system is plugged in
|
||||
# (maybe change cpu scaling to performance mode). For
|
||||
# multicore systems, make sure you set performance mode
|
||||
# for each core!
|
||||
#*1)
|
||||
# cpufreq-set -g performance
|
||||
# ;;
|
||||
|
||||
*) log_unhandled $* ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
*) log_unhandled $* ;;
|
||||
esac
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
# /etc/conf.d/acpid: config file for /etc/init.d/acpid
|
||||
|
||||
# Options to pass to the acpid daemon.
|
||||
# See the acpid(8) man page for more info.
|
||||
|
||||
ACPID_ARGS=""
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
https://bugs.gentoo.org/538590
|
||||
|
||||
--- acpid-2.0.25/samples/powerbtn/powerbtn.sh
|
||||
+++ acpid-2.0.25/samples/powerbtn/powerbtn.sh
|
||||
@@ -51,7 +51,7 @@
|
||||
getXconsole
|
||||
|
||||
# A list of power management system process names.
|
||||
-PMS="gnome-power-manager kpowersave xfce4-power-manager"
|
||||
+PMS="gnome-power-manager kpowersave xfce4-power-manager mate-power-manager"
|
||||
PMS="$PMS guidance-power-manager.py dalston-power-applet"
|
||||
|
||||
# If one of those is running or any of several others,
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
https://bugs.gentoo.org/515088
|
||||
|
||||
--- acpid-2.0.25/samples/powerbtn/powerbtn.sh
|
||||
+++ acpid-2.0.25/samples/powerbtn/powerbtn.sh
|
||||
@@ -57,7 +57,7 @@
|
||||
# If one of those is running or any of several others,
|
||||
if pidof x $PMS > /dev/null ||
|
||||
( test "$XUSER" != "" && pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop --user $XUSER kded kded loadedModules | grep -q klaptopdaemon) ||
|
||||
- ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r /proc/$(pidof kded4)/environ && su - $XUSER -c "eval $(echo -n 'export '; cat /proc/$(pidof kded4)/environ |tr '\0' '\n'|grep DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ; then
|
||||
+ ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r /proc/$(pgrep -n kded4)/environ && su - $XUSER -c "eval $(echo -n 'export '; cat /proc/$(pgrep -n kded4)/environ |tr '\0' '\n'|grep DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ; then
|
||||
# Get out as the power manager that is running will take care of things.
|
||||
exit
|
||||
fi
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
extra_started_commands="reload"
|
||||
command="/usr/sbin/acpid"
|
||||
command_args="${ACPID_ARGS}"
|
||||
description="Daemon for Advanced Configuration and Power Interface"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use logger
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading acpid configuration"
|
||||
start-stop-daemon --exec $command --signal HUP
|
||||
eend $?
|
||||
}
|
||||
Loading…
Reference in a new issue