diff options
author | Andrey Utkin <andrey_utkin@gentoo.org> | 2019-04-08 19:10:38 +0100 |
---|---|---|
committer | Andrey Utkin <andrey_utkin@gentoo.org> | 2019-04-08 19:21:46 +0100 |
commit | a43958bf2f7cbeeafed85e4f6c5b9d89af3f841d (patch) | |
tree | 65a4762169ec0bb2becbeb496a9d23a8b7349e38 /sys-power/acpid | |
parent | media-video/ccextractor: amd64 stable wrt bug #681482 (diff) | |
download | gentoo-a43958bf2f7cbeeafed85e4f6c5b9d89af3f841d.tar.gz gentoo-a43958bf2f7cbeeafed85e4f6c5b9d89af3f841d.tar.bz2 gentoo-a43958bf2f7cbeeafed85e4f6c5b9d89af3f841d.zip |
sys-power/acpid: drop old versions
Also files/ dropped as current versions live in "extras" distfile.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'sys-power/acpid')
-rw-r--r-- | sys-power/acpid/Manifest | 2 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.29-r1.ebuild | 72 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.29.ebuild | 68 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.30.ebuild | 70 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-1.0.4-default | 19 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-1.0.6-default.sh | 59 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-2.0.16-conf.d | 6 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch | 13 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-2.0.25-kde4.patch | 13 | ||||
-rw-r--r-- | sys-power/acpid/files/acpid-2.0.26-init.d | 19 | ||||
-rw-r--r-- | sys-power/acpid/files/systemd/acpid.service | 10 | ||||
-rw-r--r-- | sys-power/acpid/files/systemd/acpid.socket | 8 |
12 files changed, 0 insertions, 359 deletions
diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest index 451121dc1cce..2722fbf73103 100644 --- a/sys-power/acpid/Manifest +++ b/sys-power/acpid/Manifest @@ -1,4 +1,2 @@ -DIST acpid-2.0.29.tar.xz 155568 BLAKE2B 9a2c9f2f8ba035bf7452b633c20a73796ca05d4849d567f076a08a8216f2e07ca7a0b25e995054697e70bacacad07872e153c6c47f8204294964b276bca49f62 SHA512 5f480cb4456b6b843adb239519a8d05f83c3c668525457e55d7fae2ba7725356ec7a1faa16bbd54086f0eab2e8ca20952180c00b2b65a27eda534c3f28e8ed17 -DIST acpid-2.0.30.tar.xz 155528 BLAKE2B cbf387dc6342e0f4256360e99c02f8ebf4c322cd1c1dbd4ff0fcf703a323b90cfb0eb256233917dbdb81cd9a5f9bd075c581de9daee3d3a311208553084a093e SHA512 6901e93cc626817b782e43976caf4b7f89e8c4275eb7e9d31aeeb967b5d5bbb6a2b4dcf71e72ba666e10343cdbdbe8528feee955af5ba14de8ec88ef61b29f96 DIST acpid-2.0.31.tar.xz 155620 BLAKE2B 11338d72156dfd90f680367e23e373f8c4ee5e553ad4a8a9c9688163e9a97ee99a9b866940320ee5af5a9e9fe956dd3e675d0b879ea984c2cca56162c0d163fd SHA512 05eb96cdae698731b14caa89aa01239a0f16ce732f897d295447753aab7c8d49227c9b9ce901c6fd3bfdb117688e6ed80ec61aea0f64d75c9c0afe2aea2aa91a DIST sys-power_acpid_2.0.29-r1_extras.tar.xz 2548 BLAKE2B 4568f0e44d33382fd294248d48c8852f689f0a6082d9b74b33b77918d3ce21d7f1bf8a3aafeaa252e8fe170b3829155344a256f01fe80414369f02d50a17ff55 SHA512 f2c366c50c75790df32a1f6573b7de640fd09a97c4598155ebd0aad2eba118961ddc82fe0fbb4dc935aa5b6d7fcfe3ade73fff555b4588b0e4579a1028bef12f diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild b/sys-power/acpid/acpid-2.0.29-r1.ebuild deleted file mode 100644 index 23eb1895e8df..000000000000 --- a/sys-power/acpid/acpid-2.0.29-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2018 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" -EXTRAS_VER="2.0.29-r1" -EXTRAS_NAME="${CATEGORY}_${PN}_${EXTRAS_VER}_extras" -SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz - https://dev.gentoo.org/~andrey_utkin/distfiles/${EXTRAS_NAME}.tar.xz - " - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 ia64 x86" -IUSE="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=( - "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.25-kde4.patch" #515088 - "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.29-r1-extend-pms-list.patch" #538590, 628698 -) - -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 - newexe "${WORKDIR}/${EXTRAS_NAME}/${PN}-1.0.6-default.sh" default.sh - exeinto /etc/acpi/actions - newexe samples/powerbtn/powerbtn.sh powerbtn.sh - insinto /etc/acpi/events - newins "${WORKDIR}/${EXTRAS_NAME}/${PN}-1.0.4-default" default - - newinitd "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.26-init.d" ${PN} - newconfd "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.16-conf.d" ${PN} - - systemd_dounit "${WORKDIR}"/${EXTRAS_NAME}/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 -} diff --git a/sys-power/acpid/acpid-2.0.29.ebuild b/sys-power/acpid/acpid-2.0.29.ebuild deleted file mode 100644 index f9699804c533..000000000000 --- a/sys-power/acpid/acpid-2.0.29.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2018 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 ~arm64 ~ia64 ~x86" -IUSE="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 - newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh - 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 -} diff --git a/sys-power/acpid/acpid-2.0.30.ebuild b/sys-power/acpid/acpid-2.0.30.ebuild deleted file mode 100644 index 52a2ac1739cc..000000000000 --- a/sys-power/acpid/acpid-2.0.30.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# 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" -EXTRAS_VER="2.0.29-r1" -EXTRAS_NAME="${CATEGORY}_${PN}_${EXTRAS_VER}_extras" -SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz - https://dev.gentoo.org/~andrey_utkin/distfiles/${EXTRAS_NAME}.tar.xz - " - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ia64 x86" -IUSE="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=( -) - -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 - newexe "${WORKDIR}/${EXTRAS_NAME}/${PN}-1.0.6-default.sh" default.sh - exeinto /etc/acpi/actions - newexe samples/powerbtn/powerbtn.sh powerbtn.sh - insinto /etc/acpi/events - newins "${WORKDIR}/${EXTRAS_NAME}/${PN}-1.0.4-default" default - - newinitd "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.26-init.d" ${PN} - newconfd "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.16-conf.d" ${PN} - - systemd_dounit "${WORKDIR}"/${EXTRAS_NAME}/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 -} diff --git a/sys-power/acpid/files/acpid-1.0.4-default b/sys-power/acpid/files/acpid-1.0.4-default deleted file mode 100644 index a07c1827f4e9..000000000000 --- a/sys-power/acpid/files/acpid-1.0.4-default +++ /dev/null @@ -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 diff --git a/sys-power/acpid/files/acpid-1.0.6-default.sh b/sys-power/acpid/files/acpid-1.0.6-default.sh deleted file mode 100644 index 8be6f3e1a9f4..000000000000 --- a/sys-power/acpid/files/acpid-1.0.6-default.sh +++ /dev/null @@ -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) - /etc/acpi/actions/powerbtn.sh - ;; - - # 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 diff --git a/sys-power/acpid/files/acpid-2.0.16-conf.d b/sys-power/acpid/files/acpid-2.0.16-conf.d deleted file mode 100644 index 9aadb4cd814a..000000000000 --- a/sys-power/acpid/files/acpid-2.0.16-conf.d +++ /dev/null @@ -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="" diff --git a/sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch b/sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch deleted file mode 100644 index 7061744ed57e..000000000000 --- a/sys-power/acpid/files/acpid-2.0.25-add_mate-power-manager.patch +++ /dev/null @@ -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, diff --git a/sys-power/acpid/files/acpid-2.0.25-kde4.patch b/sys-power/acpid/files/acpid-2.0.25-kde4.patch deleted file mode 100644 index 1a91bb945246..000000000000 --- a/sys-power/acpid/files/acpid-2.0.25-kde4.patch +++ /dev/null @@ -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 diff --git a/sys-power/acpid/files/acpid-2.0.26-init.d b/sys-power/acpid/files/acpid-2.0.26-init.d deleted file mode 100644 index f8076d43b0ab..000000000000 --- a/sys-power/acpid/files/acpid-2.0.26-init.d +++ /dev/null @@ -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 $? -} diff --git a/sys-power/acpid/files/systemd/acpid.service b/sys-power/acpid/files/systemd/acpid.service deleted file mode 100644 index e4ddacdbead7..000000000000 --- a/sys-power/acpid/files/systemd/acpid.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=ACPI event daemon -Requires=acpid.socket - -[Service] -ExecStart=/usr/sbin/acpid -f - -[Install] -WantedBy=multi-user.target -Also=acpid.socket diff --git a/sys-power/acpid/files/systemd/acpid.socket b/sys-power/acpid/files/systemd/acpid.socket deleted file mode 100644 index 1b23f8735d48..000000000000 --- a/sys-power/acpid/files/systemd/acpid.socket +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=ACPID Listen Socket - -[Socket] -ListenStream=/var/run/acpid.socket - -[Install] -WantedBy=sockets.target |