[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2023-11-21 Thread Marek Szuba
commit: 816de8d38c4798590e088a0a5cf0647ce3a4c897
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Nov 21 09:45:14 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov 21 10:04:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=816de8d3

sys-power/acpid: drop 2.0.34

Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/acpid-2.0.34.ebuild | 56 -
 1 file changed, 56 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.34.ebuild 
b/sys-power/acpid/acpid-2.0.34.ebuild
deleted file mode 100644
index 46b15088a97b..
--- a/sys-power/acpid/acpid-2.0.34.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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 ~arm arm64 ~ia64 ~loong ~riscv 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() { :; }
-
-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}"/${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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2023-10-26 Thread Sam James
commit: 81704387ed8fe1a2073f1faece6800f1be1daae3
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 13:03:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 13:03:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81704387

sys-power/acpid: Stabilize 2.0.34-r1 arm64, #916285

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.34-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.34-r1.ebuild 
b/sys-power/acpid/acpid-2.0.34-r1.ebuild
index 3ab4de5b8769..bac4d7193f33 100644
--- a/sys-power/acpid/acpid-2.0.34-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.34-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2023-10-26 Thread Sam James
commit: 90960ec19df9009eca3830e3e96d1d055b236def
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 12:47:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 12:48:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90960ec1

sys-power/acpid: Stabilize 2.0.34-r1 x86, #916285

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.34-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.34-r1.ebuild 
b/sys-power/acpid/acpid-2.0.34-r1.ebuild
index 577627057080..3ab4de5b8769 100644
--- a/sys-power/acpid/acpid-2.0.34-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.34-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2023-10-26 Thread Sam James
commit: 61949163f219f688d62b490090e986efbd23c8f8
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 12:47:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 12:48:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61949163

sys-power/acpid: Stabilize 2.0.34-r1 amd64, #916285

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.34-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.34-r1.ebuild 
b/sys-power/acpid/acpid-2.0.34-r1.ebuild
index 258a20d571b5..577627057080 100644
--- a/sys-power/acpid/acpid-2.0.34-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.34-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/, sys-power/acpid/files/

2023-08-21 Thread Marek Szuba
commit: ee41125693765c77482e542de0d3b2f57df858a7
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 21 16:24:32 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 21 16:36:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee411256

sys-power/acpid: phase out legacy LFS interfaces

acpid comes with its own implementation of isfdtype() for standard
libraries which do not define it, like musl. This implementation used
LFS interfaces, which are now deprecated and which since musl-1.2.4
no longer are a part of the _GNU_SOURCE feature set. musl documentation
says "just switch to standard interfaces" so let's do just that.

Closes: https://bugs.gentoo.org/906189
Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/acpid-2.0.34-r1.ebuild   | 60 
 sys-power/acpid/files/acpid-2.0.34-lfs.patch | 19 +
 2 files changed, 79 insertions(+)

diff --git a/sys-power/acpid/acpid-2.0.34-r1.ebuild 
b/sys-power/acpid/acpid-2.0.34-r1.ebuild
new file mode 100644
index ..258a20d571b5
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.34-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
+IUSE="selinux"
+
+RDEPEND="selinux? ( sec-policy/selinux-apm )"
+DEPEND=">=sys-kernel/linux-headers-3"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.0.34-lfs.patch
+)
+
+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() { :; }
+
+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}"/${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
+}

diff --git a/sys-power/acpid/files/acpid-2.0.34-lfs.patch 
b/sys-power/acpid/files/acpid-2.0.34-lfs.patch
new file mode 100644
index ..0abca60af422
--- /dev/null
+++ b/sys-power/acpid/files/acpid-2.0.34-lfs.patch
@@ -0,0 +1,19 @@
+Since version 1.2.4 musl no longer enables legacy LFS interfaces as part
+of _GNU_SOURCE, and will remove them altogether in a future release [1].
+Just switch to the standard interfaces.
+
+[1] https://musl.libc.org/releases.html
+
+--- a/sock.c
 b/sock.c
+@@ -54,8 +54,8 @@
+ static int
+ isfdtype(int fd, int fdtype)
+ {
+-  struct stat64 st;
+-  if (fstat64(fd, ) != 0)
++  struct stat st;
++  if (fstat(fd, ) != 0)
+   return -1;
+   return ((st.st_mode & S_IFMT) == (mode_t)fdtype);
+ }



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-11-11 Thread Marek Szuba
commit: 11f662c782e09b8e239e62eba66304527933fed8
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 11 23:36:23 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Nov 12 00:56:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f662c7

sys-power/acpid: drop 2.0.33

Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/Manifest|  1 -
 sys-power/acpid/acpid-2.0.33.ebuild | 56 -
 2 files changed, 57 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index ab0988b01420..7fde26cc1593 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,2 +1 @@
-DIST acpid-2.0.33.tar.xz 156580 BLAKE2B 
72a0835f3d88f4ccae44016809fdb930977f6b02dae6f74068186a8c850237764a1e8cd69a478e5af42115d5f630a9f91cd77b35b8cf01854e24b7e06bbdd536
 SHA512 
491a58c62fcad44dc57cbd9294437fbc215c2ec99a030286601cd1956ea504e723e61b11b315983073d66aace1997bc40e6421475f6073298f60b8dcda2add75
 DIST acpid-2.0.34.tar.xz 159924 BLAKE2B 
1379978f8c5816febcde2d3bb641f8a51736ae0caed97a45caa990576d314608a455307df11f6abafa2ef8bbaa47554f581605aa9c1af150ee64b9eb684fee15
 SHA512 
2bf92295b55bb44fe83074b3e0c1ae639f63edaeea84b2184ae95b38852be40f380d5413110b8c0fcb2efc2ec01bf4764e1dcb97022fc724bebbfc35c0b63c81

diff --git a/sys-power/acpid/acpid-2.0.33.ebuild 
b/sys-power/acpid/acpid-2.0.33.ebuild
deleted file mode 100644
index 46b15088a97b..
--- a/sys-power/acpid/acpid-2.0.33.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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 ~arm arm64 ~ia64 ~loong ~riscv 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() { :; }
-
-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}"/${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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-11-10 Thread Sam James
commit: e7632eb7185f28841bc5c9d7705924761907691b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 03:49:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 03:49:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7632eb7

sys-power/acpid: Stabilize 2.0.34 x86, #880733

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.34.ebuild 
b/sys-power/acpid/acpid-2.0.34.ebuild
index a317df8691b7..46b15088a97b 100644
--- a/sys-power/acpid/acpid-2.0.34.ebuild
+++ b/sys-power/acpid/acpid-2.0.34.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-11-10 Thread Sam James
commit: ea170a044d1a68f620e0a2ed7237c7dacfd3f3a2
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 03:49:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 03:49:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea170a04

sys-power/acpid: Stabilize 2.0.34 amd64, #880733

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.34.ebuild 
b/sys-power/acpid/acpid-2.0.34.ebuild
index ce3ff788217e..a317df8691b7 100644
--- a/sys-power/acpid/acpid-2.0.34.ebuild
+++ b/sys-power/acpid/acpid-2.0.34.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-11-10 Thread Arthur Zamarin
commit: 06d74beb2f80ea6ea9966f19e42b436e3fe18d9f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 10 19:03:21 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 10 19:03:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d74beb

sys-power/acpid: Stabilize 2.0.34 arm64, #880733

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-power/acpid/acpid-2.0.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.34.ebuild 
b/sys-power/acpid/acpid-2.0.34.ebuild
index ec53324174f6..ce3ff788217e 100644
--- a/sys-power/acpid/acpid-2.0.34.ebuild
+++ b/sys-power/acpid/acpid-2.0.34.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-09-20 Thread Marek Szuba
commit: b97c1f18fd447fbe81b139a107974c5db047e3ca
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Sep 20 07:40:52 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Sep 20 08:51:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97c1f18

sys-power/acpid: add 2.0.34

Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.34.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index b23d877f63ba..ab0988b01420 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1 +1,2 @@
 DIST acpid-2.0.33.tar.xz 156580 BLAKE2B 
72a0835f3d88f4ccae44016809fdb930977f6b02dae6f74068186a8c850237764a1e8cd69a478e5af42115d5f630a9f91cd77b35b8cf01854e24b7e06bbdd536
 SHA512 
491a58c62fcad44dc57cbd9294437fbc215c2ec99a030286601cd1956ea504e723e61b11b315983073d66aace1997bc40e6421475f6073298f60b8dcda2add75
+DIST acpid-2.0.34.tar.xz 159924 BLAKE2B 
1379978f8c5816febcde2d3bb641f8a51736ae0caed97a45caa990576d314608a455307df11f6abafa2ef8bbaa47554f581605aa9c1af150ee64b9eb684fee15
 SHA512 
2bf92295b55bb44fe83074b3e0c1ae639f63edaeea84b2184ae95b38852be40f380d5413110b8c0fcb2efc2ec01bf4764e1dcb97022fc724bebbfc35c0b63c81

diff --git a/sys-power/acpid/acpid-2.0.34.ebuild 
b/sys-power/acpid/acpid-2.0.34.ebuild
new file mode 100644
index ..ec53324174f6
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.34.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm ~arm64 ~ia64 ~loong ~riscv ~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() { :; }
+
+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}"/${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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-06-30 Thread Marek Szuba
commit: e565ad9d7a72718a25ec784c519dead308eab1a0
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Jun 30 08:17:40 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Jun 30 09:01:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e565ad9d

sys-power/acpid: drop 2.0.32-r2

Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/Manifest   |  2 -
 sys-power/acpid/acpid-2.0.32-r2.ebuild | 71 --
 2 files changed, 73 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 8c4bc36725df..b23d877f63ba 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,3 +1 @@
-DIST acpid-2.0.32.tar.xz 155768 BLAKE2B 
829b2f78f497d9c0bbd90d952cadad96beece3070240bee69f2a5cf28903e9e5f969a3bf9000552c63a52c17f8b94285a181f4301449a9b64c573032d9a4d255
 SHA512 
c7afffdf9818504e1ac03b0ad693a05f772bfd07af9808262b3b6bb82ca4dabe6253c94e6dc59e5be6f0da9e815e8bcf2d3e16f02b23d0248b6bad4509e78be7
 DIST acpid-2.0.33.tar.xz 156580 BLAKE2B 
72a0835f3d88f4ccae44016809fdb930977f6b02dae6f74068186a8c850237764a1e8cd69a478e5af42115d5f630a9f91cd77b35b8cf01854e24b7e06bbdd536
 SHA512 
491a58c62fcad44dc57cbd9294437fbc215c2ec99a030286601cd1956ea504e723e61b11b315983073d66aace1997bc40e6421475f6073298f60b8dcda2add75
-DIST sys-power_acpid_2.0.32-r2_extras.tar.xz 2196 BLAKE2B 
0975289f7cff6ce24523246f1daac22149d69c410e07a19a5952457e269fc1f736bd3636c93038f660c411f3085d375250c31dc3de3ac1bc6335a97e1fa3dea3
 SHA512 
f49cf3f75f5db4ca454d29330ae40461deb1109f076e140188a7560fedd78970572a6c023146c4d33c0778ff65056abcbc66725c000ece8e6861419d02d0c6ca

diff --git a/sys-power/acpid/acpid-2.0.32-r2.ebuild 
b/sys-power/acpid/acpid-2.0.32-r2.ebuild
deleted file mode 100644
index 6b1e7d04fc5f..
--- a/sys-power/acpid/acpid-2.0.32-r2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 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.32-r2"
-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 ~riscv 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.32-powerbtn-gsd-power.patch" 
#702700
-)
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-06-30 Thread Agostino Sarubbo
commit: 77c9a8033c146c78707bb3578e3998dcc968ff60
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:01:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:01:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c9a803

sys-power/acpid: amd64 stable wrt bug #855029

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.33.ebuild 
b/sys-power/acpid/acpid-2.0.33.ebuild
index 8e2b653f4095..46b15088a97b 100644
--- a/sys-power/acpid/acpid-2.0.33.ebuild
+++ b/sys-power/acpid/acpid-2.0.33.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-06-29 Thread Sam James
commit: 39cf3b402bdaef200c9634209f7a574c458bc8d4
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 29 11:57:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 29 11:57:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cf3b40

sys-power/acpid: Stabilize 2.0.33 x86, #855029

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.33.ebuild 
b/sys-power/acpid/acpid-2.0.33.ebuild
index ce3ff788217e..8e2b653f4095 100644
--- a/sys-power/acpid/acpid-2.0.33.ebuild
+++ b/sys-power/acpid/acpid-2.0.33.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-06-29 Thread Jakov Smolić
commit: 356528024228ff39abe788b5b818ef8e0e040076
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jun 29 07:58:39 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jun 29 07:58:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35652802

sys-power/acpid: Stabilize 2.0.33 arm64, #855029

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-power/acpid/acpid-2.0.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.33.ebuild 
b/sys-power/acpid/acpid-2.0.33.ebuild
index ec53324174f6..ce3ff788217e 100644
--- a/sys-power/acpid/acpid-2.0.33.ebuild
+++ b/sys-power/acpid/acpid-2.0.33.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-05-19 Thread WANG Xuerui
commit: c7afc1dedfd14bdb9feb274f6bf02bdc2a9a00a4
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 07:27:32 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 07:28:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7afc1de

sys-power/acpid: keyword 2.0.33 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-power/acpid/acpid-2.0.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.33.ebuild 
b/sys-power/acpid/acpid-2.0.33.ebuild
index ea38f6148a38..ec53324174f6 100644
--- a/sys-power/acpid/acpid-2.0.33.ebuild
+++ b/sys-power/acpid/acpid-2.0.33.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/files/, sys-power/acpid/

2022-04-06 Thread Marek Szuba
commit: 925b860332cacf91c6028e2082285ef1a9cb09c0
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Apr  6 22:05:28 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Apr  6 23:29:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925b8603

sys-power/acpid: add 2.0.33

Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/Manifest |  1 +
 sys-power/acpid/acpid-2.0.33.ebuild  | 56 ++
 sys-power/acpid/files/acpid-1.0.4-default| 19 +
 sys-power/acpid/files/acpid-1.0.6-default.sh | 59 
 sys-power/acpid/files/acpid-2.0.16-conf.d|  6 +++
 sys-power/acpid/files/acpid-2.0.26-init.d| 19 +
 sys-power/acpid/files/acpid.service  | 10 +
 sys-power/acpid/files/acpid.socket   |  8 
 8 files changed, 178 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 9b2b1ae4..8c4bc36725df 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,2 +1,3 @@
 DIST acpid-2.0.32.tar.xz 155768 BLAKE2B 
829b2f78f497d9c0bbd90d952cadad96beece3070240bee69f2a5cf28903e9e5f969a3bf9000552c63a52c17f8b94285a181f4301449a9b64c573032d9a4d255
 SHA512 
c7afffdf9818504e1ac03b0ad693a05f772bfd07af9808262b3b6bb82ca4dabe6253c94e6dc59e5be6f0da9e815e8bcf2d3e16f02b23d0248b6bad4509e78be7
+DIST acpid-2.0.33.tar.xz 156580 BLAKE2B 
72a0835f3d88f4ccae44016809fdb930977f6b02dae6f74068186a8c850237764a1e8cd69a478e5af42115d5f630a9f91cd77b35b8cf01854e24b7e06bbdd536
 SHA512 
491a58c62fcad44dc57cbd9294437fbc215c2ec99a030286601cd1956ea504e723e61b11b315983073d66aace1997bc40e6421475f6073298f60b8dcda2add75
 DIST sys-power_acpid_2.0.32-r2_extras.tar.xz 2196 BLAKE2B 
0975289f7cff6ce24523246f1daac22149d69c410e07a19a5952457e269fc1f736bd3636c93038f660c411f3085d375250c31dc3de3ac1bc6335a97e1fa3dea3
 SHA512 
f49cf3f75f5db4ca454d29330ae40461deb1109f076e140188a7560fedd78970572a6c023146c4d33c0778ff65056abcbc66725c000ece8e6861419d02d0c6ca

diff --git a/sys-power/acpid/acpid-2.0.33.ebuild 
b/sys-power/acpid/acpid-2.0.33.ebuild
new file mode 100644
index ..ea38f6148a38
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.33.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm ~arm64 ~ia64 ~riscv ~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() { :; }
+
+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}"/${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
+}

diff --git a/sys-power/acpid/files/acpid-1.0.4-default 
b/sys-power/acpid/files/acpid-1.0.4-default
new file mode 100644
index ..a07c1827f4e9
--- /dev/null
+++ b/sys-power/acpid/files/acpid-1.0.4-default
@@ -0,0 +1,19 @@
+# /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
new 

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2022-04-01 Thread Marek Szuba
commit: ec363205cd9d475b89d0f1dc8fadd41e42ee6417
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Apr  1 13:55:13 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Apr  1 13:55:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec363205

sys-power/acpid: take over maintenance

As discussed directly with andrey_utkin.

Signed-off-by: Marek Szuba  gentoo.org>

 sys-power/acpid/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/metadata.xml b/sys-power/acpid/metadata.xml
index db0697835d34..65940929c8e8 100644
--- a/sys-power/acpid/metadata.xml
+++ b/sys-power/acpid/metadata.xml
@@ -2,8 +2,8 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

-   andrey_ut...@gentoo.org
-   Andrey Utkin
+   mare...@gentoo.org
+   Marek Szuba


acpid2



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2021-07-28 Thread David Seifert
commit: e3fa41de4d1d43408af1ab1a2b2fb85aec8f204a
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jul 28 09:50:15 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jul 28 09:50:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3fa41de

sys-power/acpid: drop 2.0.31, 2.0.32, 2.0.32-r1

Signed-off-by: David Seifert  gentoo.org>

 sys-power/acpid/Manifest   |  3 --
 sys-power/acpid/acpid-2.0.31.ebuild| 70 -
 sys-power/acpid/acpid-2.0.32-r1.ebuild | 71 --
 sys-power/acpid/acpid-2.0.32.ebuild| 70 -
 4 files changed, 214 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 763f601f337..9b2b1ae 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,5 +1,2 @@
-DIST acpid-2.0.31.tar.xz 155620 BLAKE2B 
11338d72156dfd90f680367e23e373f8c4ee5e553ad4a8a9c9688163e9a97ee99a9b866940320ee5af5a9e9fe956dd3e675d0b879ea984c2cca56162c0d163fd
 SHA512 
05eb96cdae698731b14caa89aa01239a0f16ce732f897d295447753aab7c8d49227c9b9ce901c6fd3bfdb117688e6ed80ec61aea0f64d75c9c0afe2aea2aa91a
 DIST acpid-2.0.32.tar.xz 155768 BLAKE2B 
829b2f78f497d9c0bbd90d952cadad96beece3070240bee69f2a5cf28903e9e5f969a3bf9000552c63a52c17f8b94285a181f4301449a9b64c573032d9a4d255
 SHA512 
c7afffdf9818504e1ac03b0ad693a05f772bfd07af9808262b3b6bb82ca4dabe6253c94e6dc59e5be6f0da9e815e8bcf2d3e16f02b23d0248b6bad4509e78be7
-DIST sys-power_acpid_2.0.29-r1_extras.tar.xz 2548 BLAKE2B 
4568f0e44d33382fd294248d48c8852f689f0a6082d9b74b33b77918d3ce21d7f1bf8a3aafeaa252e8fe170b3829155344a256f01fe80414369f02d50a17ff55
 SHA512 
f2c366c50c75790df32a1f6573b7de640fd09a97c4598155ebd0aad2eba118961ddc82fe0fbb4dc935aa5b6d7fcfe3ade73fff555b4588b0e4579a1028bef12f
-DIST sys-power_acpid_2.0.32-r1_extras.tar.xz 2204 BLAKE2B 
7f3b6c7c93c0989071c4e1046a0e07311c617673621aef13ca71e407be7d67b97ace3251daa5b91be23f84d882a8f17bc02f180d3d1946bd880c0f071e7cdbf1
 SHA512 
5012687d1afec41f5cb617f767c6a97dcfaa118b3261dfe7588ce8be1732edd183abbe405f33ae2441cdb3a11606d52defcf0554f455d04941cdde8d0f4bf822
 DIST sys-power_acpid_2.0.32-r2_extras.tar.xz 2196 BLAKE2B 
0975289f7cff6ce24523246f1daac22149d69c410e07a19a5952457e269fc1f736bd3636c93038f660c411f3085d375250c31dc3de3ac1bc6335a97e1fa3dea3
 SHA512 
f49cf3f75f5db4ca454d29330ae40461deb1109f076e140188a7560fedd78970572a6c023146c4d33c0778ff65056abcbc66725c000ece8e6861419d02d0c6ca

diff --git a/sys-power/acpid/acpid-2.0.31.ebuild 
b/sys-power/acpid/acpid-2.0.31.ebuild
deleted file mode 100644
index e03295fad8d..000
--- a/sys-power/acpid/acpid-2.0.31.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2019 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 

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2021-05-27 Thread Yixun Lan
commit: 96dcc161fc9310a735b06250fd14e5548431e744
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu May 27 13:49:04 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu May 27 14:33:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96dcc161

sys-power/acpid: add riscv keyword

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r2.ebuild 
b/sys-power/acpid/acpid-2.0.32-r2.ebuild
index 1414427f03d..6b1e7d04fc5 100644
--- a/sys-power/acpid/acpid-2.0.32-r2.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-10-09 Thread Agostino Sarubbo
commit: 0fb315023949a1ab076bcc1838998cb88d283409
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Oct  9 08:27:58 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Oct  9 08:30:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb31502

sys-power/acpid: amd64 stable wrt bug #745516

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r2.ebuild 
b/sys-power/acpid/acpid-2.0.32-r2.ebuild
index 2afced21655..1414427f03d 100644
--- a/sys-power/acpid/acpid-2.0.32-r2.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-09-30 Thread Sam James
commit: b636921704431415a84e923b9db63db59fae4055
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct  1 01:20:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct  1 01:20:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6369217

sys-power/acpid: Stabilize 2.0.32-r2 arm64, #745516

Signed-off-by: Sam James  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r2.ebuild 
b/sys-power/acpid/acpid-2.0.32-r2.ebuild
index 1f2a1dd7014..b020b49caae 100644
--- a/sys-power/acpid/acpid-2.0.32-r2.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-03-21 Thread Mart Raudsepp
commit: 3ea0de6b58d2affcfb5a0aa1a702a159ecee08ff
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Mar 21 09:16:00 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Mar 21 09:24:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ea0de6b

sys-power/acpid: arm64 stable (bug #710004)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r1.ebuild 
b/sys-power/acpid/acpid-2.0.32-r1.ebuild
index bee6b123641..2724ecc223a 100644
--- a/sys-power/acpid/acpid-2.0.32-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-02-24 Thread Agostino Sarubbo
commit: 3e53b65dcf4f533358fe2f5c07bf4ed97dbc6fa7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 24 13:11:31 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 24 13:11:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e53b65d

sys-power/acpid: x86 stable wrt bug #710004

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r1.ebuild 
b/sys-power/acpid/acpid-2.0.32-r1.ebuild
index cdbd4c67f0a..bee6b123641 100644
--- a/sys-power/acpid/acpid-2.0.32-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-02-24 Thread Agostino Sarubbo
commit: 393178b7862fbd80e65ca2443b28b1d61fbfecad
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 24 11:27:24 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 24 11:27:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393178b7

sys-power/acpid: ia64 stable wrt bug #710004

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r1.ebuild 
b/sys-power/acpid/acpid-2.0.32-r1.ebuild
index cb6a7a82ee2..cdbd4c67f0a 100644
--- a/sys-power/acpid/acpid-2.0.32-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-02-18 Thread Agostino Sarubbo
commit: 4686ee1d8dbfdc38a4b730b0df487def75c51f50
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 18 16:24:31 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 18 16:24:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4686ee1d

sys-power/acpid: amd64 stable wrt bug #710004

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.32-r1.ebuild 
b/sys-power/acpid/acpid-2.0.32-r1.ebuild
index 8e7cc7e4da8..cb6a7a82ee2 100644
--- a/sys-power/acpid/acpid-2.0.32-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-02-17 Thread Andrey Utkin
commit: 9ac9605e76b3e00f830dcb1bb943c2414dc5b801
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Feb 17 22:51:42 2020 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Mon Feb 17 22:51:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac9605e

sys-power/acpid: pull updated extras with a fix

Bug: https://bugs.gentoo.org/692598
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin  gentoo.org>

 sys-power/acpid/Manifest   | 1 +
 sys-power/acpid/acpid-2.0.32-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 9630e13726f..763f601f337 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -2,3 +2,4 @@ DIST acpid-2.0.31.tar.xz 155620 BLAKE2B 
11338d72156dfd90f680367e23e373f8c4ee5e55
 DIST acpid-2.0.32.tar.xz 155768 BLAKE2B 
829b2f78f497d9c0bbd90d952cadad96beece3070240bee69f2a5cf28903e9e5f969a3bf9000552c63a52c17f8b94285a181f4301449a9b64c573032d9a4d255
 SHA512 
c7afffdf9818504e1ac03b0ad693a05f772bfd07af9808262b3b6bb82ca4dabe6253c94e6dc59e5be6f0da9e815e8bcf2d3e16f02b23d0248b6bad4509e78be7
 DIST sys-power_acpid_2.0.29-r1_extras.tar.xz 2548 BLAKE2B 
4568f0e44d33382fd294248d48c8852f689f0a6082d9b74b33b77918d3ce21d7f1bf8a3aafeaa252e8fe170b3829155344a256f01fe80414369f02d50a17ff55
 SHA512 
f2c366c50c75790df32a1f6573b7de640fd09a97c4598155ebd0aad2eba118961ddc82fe0fbb4dc935aa5b6d7fcfe3ade73fff555b4588b0e4579a1028bef12f
 DIST sys-power_acpid_2.0.32-r1_extras.tar.xz 2204 BLAKE2B 
7f3b6c7c93c0989071c4e1046a0e07311c617673621aef13ca71e407be7d67b97ace3251daa5b91be23f84d882a8f17bc02f180d3d1946bd880c0f071e7cdbf1
 SHA512 
5012687d1afec41f5cb617f767c6a97dcfaa118b3261dfe7588ce8be1732edd183abbe405f33ae2441cdb3a11606d52defcf0554f455d04941cdde8d0f4bf822
+DIST sys-power_acpid_2.0.32-r2_extras.tar.xz 2196 BLAKE2B 
0975289f7cff6ce24523246f1daac22149d69c410e07a19a5952457e269fc1f736bd3636c93038f660c411f3085d375250c31dc3de3ac1bc6335a97e1fa3dea3
 SHA512 
f49cf3f75f5db4ca454d29330ae40461deb1109f076e140188a7560fedd78970572a6c023146c4d33c0778ff65056abcbc66725c000ece8e6861419d02d0c6ca

diff --git a/sys-power/acpid/acpid-2.0.32-r2.ebuild 
b/sys-power/acpid/acpid-2.0.32-r2.ebuild
index 1b2a4e9e820..1f2a1dd7014 100644
--- a/sys-power/acpid/acpid-2.0.32-r2.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r2.ebuild
@@ -6,7 +6,7 @@ inherit linux-info systemd
 
 DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
 HOMEPAGE="https://sourceforge.net/projects/acpid2;
-EXTRAS_VER="2.0.32-r1"
+EXTRAS_VER="2.0.32-r2"
 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



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2020-02-17 Thread Andrey Utkin
commit: a4a8253524409bbba018e55bbf66254349415f87
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Feb 17 22:50:28 2020 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Mon Feb 17 22:50:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a82535

sys-power/acpid: add new ebuild 2.0.32-r2

Cloned from 2.0.32-r1 for further changes.

Bug: https://bugs.gentoo.org/692598
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r2.ebuild | 71 ++
 1 file changed, 71 insertions(+)

diff --git a/sys-power/acpid/acpid-2.0.32-r2.ebuild 
b/sys-power/acpid/acpid-2.0.32-r2.ebuild
new file mode 100644
index 000..1b2a4e9e820
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.32-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 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.32-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=(
+   "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.32-powerbtn-gsd-power.patch" 
#702700
+)
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2019-12-19 Thread Andrey Utkin
commit: 418d719af98ac717bcf3cf9e30d5af5758d0a23d
Author: Andrey Utkin  gentoo  org>
AuthorDate: Thu Dec 19 17:52:20 2019 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Thu Dec 19 23:15:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418d719a

sys-power/acpid: add new revision 2.0.32-r1

To be amended in next commit.
This way the actual change is more clearly visible.

Bug: https://bugs.gentoo.org/702700
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin  gentoo.org>

 sys-power/acpid/acpid-2.0.32-r1.ebuild | 70 ++
 1 file changed, 70 insertions(+)

diff --git a/sys-power/acpid/acpid-2.0.32-r1.ebuild 
b/sys-power/acpid/acpid-2.0.32-r1.ebuild
new file mode 100644
index 000..229b3a21d7e
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.32-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2019-12-19 Thread Andrey Utkin
commit: ada4786bededdff847e3b7b7391ab3d44a3e0e7e
Author: Andrey Utkin  gentoo  org>
AuthorDate: Thu Dec 19 18:20:58 2019 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Thu Dec 19 23:15:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada4786b

sys-power/acpid: add a patch to recognise new GNOME power manager

Has been ACKed by upstream maintainer.

Bug: https://bugs.gentoo.org/702700
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin  gentoo.org>

 sys-power/acpid/Manifest   | 1 +
 sys-power/acpid/acpid-2.0.32-r1.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index dd947ab2f75..9630e13726f 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,3 +1,4 @@
 DIST acpid-2.0.31.tar.xz 155620 BLAKE2B 
11338d72156dfd90f680367e23e373f8c4ee5e553ad4a8a9c9688163e9a97ee99a9b866940320ee5af5a9e9fe956dd3e675d0b879ea984c2cca56162c0d163fd
 SHA512 
05eb96cdae698731b14caa89aa01239a0f16ce732f897d295447753aab7c8d49227c9b9ce901c6fd3bfdb117688e6ed80ec61aea0f64d75c9c0afe2aea2aa91a
 DIST acpid-2.0.32.tar.xz 155768 BLAKE2B 
829b2f78f497d9c0bbd90d952cadad96beece3070240bee69f2a5cf28903e9e5f969a3bf9000552c63a52c17f8b94285a181f4301449a9b64c573032d9a4d255
 SHA512 
c7afffdf9818504e1ac03b0ad693a05f772bfd07af9808262b3b6bb82ca4dabe6253c94e6dc59e5be6f0da9e815e8bcf2d3e16f02b23d0248b6bad4509e78be7
 DIST sys-power_acpid_2.0.29-r1_extras.tar.xz 2548 BLAKE2B 
4568f0e44d33382fd294248d48c8852f689f0a6082d9b74b33b77918d3ce21d7f1bf8a3aafeaa252e8fe170b3829155344a256f01fe80414369f02d50a17ff55
 SHA512 
f2c366c50c75790df32a1f6573b7de640fd09a97c4598155ebd0aad2eba118961ddc82fe0fbb4dc935aa5b6d7fcfe3ade73fff555b4588b0e4579a1028bef12f
+DIST sys-power_acpid_2.0.32-r1_extras.tar.xz 2204 BLAKE2B 
7f3b6c7c93c0989071c4e1046a0e07311c617673621aef13ca71e407be7d67b97ace3251daa5b91be23f84d882a8f17bc02f180d3d1946bd880c0f071e7cdbf1
 SHA512 
5012687d1afec41f5cb617f767c6a97dcfaa118b3261dfe7588ce8be1732edd183abbe405f33ae2441cdb3a11606d52defcf0554f455d04941cdde8d0f4bf822

diff --git a/sys-power/acpid/acpid-2.0.32-r1.ebuild 
b/sys-power/acpid/acpid-2.0.32-r1.ebuild
index 229b3a21d7e..8e7cc7e4da8 100644
--- a/sys-power/acpid/acpid-2.0.32-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.32-r1.ebuild
@@ -6,7 +6,7 @@ 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_VER="2.0.32-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
@@ -29,6 +29,7 @@ pkg_pretend() {
 pkg_setup() { :; }
 
 PATCHES=(
+   "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.32-powerbtn-gsd-power.patch" 
#702700
 )
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2019-08-19 Thread Andrey Utkin
commit: cb95b2fb494eba1500bde97cb63b59ec76847e62
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Aug 19 17:47:54 2019 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Mon Aug 19 17:47:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb95b2fb

sys-power/acpid: add new version 2.0.32

Bugfixes-only release.

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin  gentoo.org>

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.32.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 2722fbf7310..dd947ab2f75 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,2 +1,3 @@
 DIST acpid-2.0.31.tar.xz 155620 BLAKE2B 
11338d72156dfd90f680367e23e373f8c4ee5e553ad4a8a9c9688163e9a97ee99a9b866940320ee5af5a9e9fe956dd3e675d0b879ea984c2cca56162c0d163fd
 SHA512 
05eb96cdae698731b14caa89aa01239a0f16ce732f897d295447753aab7c8d49227c9b9ce901c6fd3bfdb117688e6ed80ec61aea0f64d75c9c0afe2aea2aa91a
+DIST acpid-2.0.32.tar.xz 155768 BLAKE2B 
829b2f78f497d9c0bbd90d952cadad96beece3070240bee69f2a5cf28903e9e5f969a3bf9000552c63a52c17f8b94285a181f4301449a9b64c573032d9a4d255
 SHA512 
c7afffdf9818504e1ac03b0ad693a05f772bfd07af9808262b3b6bb82ca4dabe6253c94e6dc59e5be6f0da9e815e8bcf2d3e16f02b23d0248b6bad4509e78be7
 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.32.ebuild 
b/sys-power/acpid/acpid-2.0.32.ebuild
new file mode 100644
index 000..229b3a21d7e
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.32.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/files/systemd/, sys-power/acpid/files/, sys-power/acpid/

2019-04-08 Thread Andrey Utkin
commit: a43958bf2f7cbeeafed85e4f6c5b9d89af3f841d
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Apr  8 18:10:38 2019 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Mon Apr  8 18:21:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43958bf

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  gentoo.org>

 sys-power/acpid/Manifest   |  2 -
 sys-power/acpid/acpid-2.0.29-r1.ebuild | 72 --
 sys-power/acpid/acpid-2.0.29.ebuild| 68 
 sys-power/acpid/acpid-2.0.30.ebuild| 70 -
 sys-power/acpid/files/acpid-1.0.4-default  | 19 --
 sys-power/acpid/files/acpid-1.0.6-default.sh   | 59 --
 sys-power/acpid/files/acpid-2.0.16-conf.d  |  6 --
 .../acpid-2.0.25-add_mate-power-manager.patch  | 13 
 sys-power/acpid/files/acpid-2.0.25-kde4.patch  | 13 
 sys-power/acpid/files/acpid-2.0.26-init.d  | 19 --
 sys-power/acpid/files/systemd/acpid.service| 10 ---
 sys-power/acpid/files/systemd/acpid.socket |  8 ---
 12 files changed, 359 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 451121dc1cc..2722fbf7310 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 23eb1895e8d..000
--- 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 

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2019-01-18 Thread Mart Raudsepp
commit: edd55c2073081f46d20b4533c1774f0a17be1052
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Jan 18 09:56:34 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Jan 18 09:56:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd55c20

sys-power/acpid: arm64 stable (bug #673162)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-power/acpid/acpid-2.0.31.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.31.ebuild 
b/sys-power/acpid/acpid-2.0.31.ebuild
index 52a2ac1739c..16f46b163fb 100644
--- a/sys-power/acpid/acpid-2.0.31.ebuild
+++ b/sys-power/acpid/acpid-2.0.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-12-20 Thread Mikle Kolyada
commit: e1b1ce80c0cb863c584ac7e36863c6b3cebe910a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Dec 20 15:49:00 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Dec 20 15:49:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b1ce80

sys-power/acpid: amd64 stable wrt bug #673162

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-power/acpid/acpid-2.0.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.31.ebuild 
b/sys-power/acpid/acpid-2.0.31.ebuild
index ef804876c68..52a2ac1739c 100644
--- a/sys-power/acpid/acpid-2.0.31.ebuild
+++ b/sys-power/acpid/acpid-2.0.31.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-12-19 Thread Thomas Deutschmann
commit: 9992a73c97d67e42ea731d0b33dda930a6f37028
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Dec 20 01:17:36 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Dec 20 01:29:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9992a73c

sys-power/acpid: x86 stable (bug #673162)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-power/acpid/acpid-2.0.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.31.ebuild 
b/sys-power/acpid/acpid-2.0.31.ebuild
index 8847e7ad285..ef804876c68 100644
--- a/sys-power/acpid/acpid-2.0.31.ebuild
+++ b/sys-power/acpid/acpid-2.0.31.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-12-16 Thread Sergei Trofimovich
commit: e22a0da551344bbf752c5e040aaeea3d4c35ca39
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 16 11:37:57 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 16 11:37:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22a0da5

sys-power/acpid: stable 2.0.31 for ia64, bug #673162

Package-Manager: Portage-2.3.52, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-power/acpid/acpid-2.0.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.31.ebuild 
b/sys-power/acpid/acpid-2.0.31.ebuild
index a56844b5c59..8847e7ad285 100644
--- a/sys-power/acpid/acpid-2.0.31.ebuild
+++ b/sys-power/acpid/acpid-2.0.31.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ia64 ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-11-16 Thread Andrey Utkin
commit: 249b930dfd8d2df93a607cef825cdcb9d965b92f
Author: Andrey Utkin  gentoo  org>
AuthorDate: Fri Nov 16 12:25:31 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Fri Nov 16 12:58:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249b930d

sys-power/acpid: add new version 2.0.31

New in 2.0.31:

- Add events for keyboard illumination up/down
- kacpimon: Bump connection limit to 100, Debian #909399

Signed-off-by: Andrey Utkin  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.31.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index e26ac7717e2..451121dc1cc 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,3 +1,4 @@
 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.31.ebuild 
b/sys-power/acpid/acpid-2.0.31.ebuild
new file mode 100644
index 000..a56844b5c59
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.31.ebuild
@@ -0,0 +1,70 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-11-07 Thread Anthony G. Basile
commit: 703d06fabdb50a06b0b3056ebdfd0b0dd19b763d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Nov  7 21:19:59 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Nov  7 21:20:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703d06fa

sys-power/acpid: keyword ~arm

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-power/acpid/acpid-2.0.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.30.ebuild 
b/sys-power/acpid/acpid-2.0.30.ebuild
index 5a03e4e034b..52a2ac1739c 100644
--- a/sys-power/acpid/acpid-2.0.30.ebuild
+++ b/sys-power/acpid/acpid-2.0.30.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-10-20 Thread Mikle Kolyada
commit: 9b756517692160cb94d2875d776fae3e34e6ef40
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 20 15:15:12 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 20 15:15:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b756517

sys-power/acpid: amd64 stable wrt bug #668980

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-power/acpid/acpid-2.0.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.30.ebuild 
b/sys-power/acpid/acpid-2.0.30.ebuild
index 581ca97a1e1..5a03e4e034b 100644
--- a/sys-power/acpid/acpid-2.0.30.ebuild
+++ b/sys-power/acpid/acpid-2.0.30.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-10-20 Thread Sergei Trofimovich
commit: 81f02c9b50031a908c4b232190f5ca06e1a140a5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 20 11:34:31 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 20 11:35:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f02c9b

sys-power/acpid: stable 2.0.30 for ia64, bug #668980

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"

 sys-power/acpid/acpid-2.0.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.30.ebuild 
b/sys-power/acpid/acpid-2.0.30.ebuild
index 5a1b837b395..581ca97a1e1 100644
--- a/sys-power/acpid/acpid-2.0.30.ebuild
+++ b/sys-power/acpid/acpid-2.0.30.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ia64 x86"
+KEYWORDS="~amd64 ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-10-19 Thread Thomas Deutschmann
commit: b70fe8d7b15367502971d1b701b7276b9c38d339
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 19 17:46:41 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 19 17:52:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70fe8d7

sys-power/acpid: x86 stable (bug #668980)

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-power/acpid/acpid-2.0.30.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.30.ebuild 
b/sys-power/acpid/acpid-2.0.30.ebuild
index 931b65a6326..5a1b837b395 100644
--- a/sys-power/acpid/acpid-2.0.30.ebuild
+++ b/sys-power/acpid/acpid-2.0.30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-09-14 Thread Andrey Utkin
commit: fa5358d386302bca9be6a056cfe67891c78ed11e
Author: Andrey Utkin  gentoo  org>
AuthorDate: Sat Sep  8 23:07:58 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Fri Sep 14 20:01:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa5358d3

sys-power/acpid: add new version 2.0.30

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.30.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index f9dc14c0197..bf09e90723c 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,3 +1,4 @@
 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 acpid-2.0.30.tar.xz 155528 BLAKE2B 
cbf387dc6342e0f4256360e99c02f8ebf4c322cd1c1dbd4ff0fcf703a323b90cfb0eb256233917dbdb81cd9a5f9bd075c581de9daee3d3a311208553084a093e
 SHA512 
6901e93cc626817b782e43976caf4b7f89e8c4275eb7e9d31aeeb967b5d5bbb6a2b4dcf71e72ba666e10343cdbdbe8528feee955af5ba14de8ec88ef61b29f96
 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.30.ebuild 
b/sys-power/acpid/acpid-2.0.30.ebuild
new file mode 100644
index 000..931b65a6326
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.30.ebuild
@@ -0,0 +1,70 @@
+# 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=(
+)
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-09-14 Thread Andrey Utkin
commit: bf8cd512663c3317e778edb0560019669f1a
Author: Andrey Utkin  gentoo  org>
AuthorDate: Fri Sep 14 19:59:03 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Fri Sep 14 20:01:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8c

sys-power/acpid: drop old version 2.0.28

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sys-power/acpid/Manifest|  1 -
 sys-power/acpid/acpid-2.0.28.ebuild | 68 -
 2 files changed, 69 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index bf09e90723c..e26ac7717e2 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,4 +1,3 @@
-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 acpid-2.0.30.tar.xz 155528 BLAKE2B 
cbf387dc6342e0f4256360e99c02f8ebf4c322cd1c1dbd4ff0fcf703a323b90cfb0eb256233917dbdb81cd9a5f9bd075c581de9daee3d3a311208553084a093e
 SHA512 
6901e93cc626817b782e43976caf4b7f89e8c4275eb7e9d31aeeb967b5d5bbb6a2b4dcf71e72ba666e10343cdbdbe8528feee955af5ba14de8ec88ef61b29f96
 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.28.ebuild 
b/sys-power/acpid/acpid-2.0.28.ebuild
deleted file mode 100644
index d55a1952ea6..000
--- a/sys-power/acpid/acpid-2.0.28.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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-09-08 Thread Mart Raudsepp
commit: 19a844dd6f3fc75352bcabe9262e081d71c2f127
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Sep  8 13:53:24 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Sep  8 13:53:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a844dd

sys-power/acpid-2.0.29-r1: arm64 stable

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-power/acpid/acpid-2.0.29-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
index f751df7c4bc..23eb1895e8d 100644
--- a/sys-power/acpid/acpid-2.0.29-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ia64 x86"
+KEYWORDS="amd64 arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-06-18 Thread Andrey Utkin
commit: cb699123000788d3c96ec220463e6eb058d4d571
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Jun 18 17:57:38 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Mon Jun 18 18:51:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb699123

Revert "sys-power/acpid: add ~arm, bug #657332"

This reverts commit 41dbda492829e663829f56c44875ac00a47b0707.

acpid daemon starts successfully on ARM, despite ACPI appears not
available on this platform. ACPI is supported by Linux only on amd64,
arm64, ia64, x86, according to drivers/acpi/Kconfig.

Bug: https://bugs.gentoo.org/657332
Acked-by: Markus Meier  gentoo.org>

 sys-power/acpid/acpid-2.0.29-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
index d625388e973..f751df7c4bc 100644
--- a/sys-power/acpid/acpid-2.0.29-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-06-13 Thread Markus Meier
commit: 41dbda492829e663829f56c44875ac00a47b0707
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Jun 13 18:50:53 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Jun 13 18:51:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dbda49

sys-power/acpid: add ~arm, bug #657332

Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="arm"

 sys-power/acpid/acpid-2.0.29-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
index f751df7c4bc..d625388e973 100644
--- a/sys-power/acpid/acpid-2.0.29-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-06-10 Thread Sergei Trofimovich
commit: 78dce4366643d6c566a2ed285c8a141bf47a4096
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 10 18:47:04 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 10 18:47:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78dce436

sys-power/acpid: stable 2.0.29-r1 for ia64, bug #657560

Bug: https://bugs.gentoo.org/657560
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="ia64"

 sys-power/acpid/acpid-2.0.29-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
index e643887ba6c..f751df7c4bc 100644
--- a/sys-power/acpid/acpid-2.0.29-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-06-09 Thread Aaron Bauman
commit: e6ac6b95f1e3be9d74ab471f170cea4ff4f1a1f7
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Jun  9 19:15:08 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  9 19:49:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ac6b95

sys-power/acpid: amd64 stable wrt bug #657560

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-power/acpid/acpid-2.0.29-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
index ab3c5713586..3961d0b186e 100644
--- a/sys-power/acpid/acpid-2.0.29-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ia64 ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-05-10 Thread Andrey Utkin
commit: b596268ae438301d51f2f1e0dc2b39841a3b99c5
Author: Andrey Utkin  gentoo  org>
AuthorDate: Wed May  9 14:48:36 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Fri May 11 00:01:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b596268a

sys-power/acpid: use extras distfile instead of files/

This is to comply with QA policy of keeping files/ small.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 sys-power/acpid/Manifest   |  1 +
 sys-power/acpid/acpid-2.0.29-r1.ebuild | 20 
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 9ff66cb6dd0..f9dc14c0197 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
index f9699804c53..0a9dce65d57 100644
--- a/sys-power/acpid/acpid-2.0.29-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -6,7 +6,11 @@ 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"
+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"
@@ -25,8 +29,8 @@ pkg_pretend() {
 pkg_setup() { :; }
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2.0.25-kde4.patch #515088
-   "${FILESDIR}"/${PN}-2.0.25-add_mate-power-manager.patch #538590
+   "${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() {
@@ -37,16 +41,16 @@ src_install() {
rm -f "${D}"/usr/share/doc/${PF}/COPYING || die
 
exeinto /etc/acpi
-   newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
+   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 "${FILESDIR}"/${PN}-1.0.4-default default
+   newins "${WORKDIR}/${EXTRAS_NAME}/${PN}-1.0.4-default" default
 
-   newinitd "${FILESDIR}"/${PN}-2.0.26-init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN}
+   newinitd "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.26-init.d" ${PN}
+   newconfd "${WORKDIR}/${EXTRAS_NAME}/${PN}-2.0.16-conf.d" ${PN}
 
-   systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket}
+   systemd_dounit 
"${WORKDIR}/${EXTRAS_NAME}/systemd/${PN}.{service,socket}"
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-05-10 Thread Andrey Utkin
commit: 6c52e65a5c6dece9e11e9b9eff0a9b7a7e487a2d
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Apr 30 00:08:04 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Fri May 11 00:01:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c52e65a

sys-power/acpid: add 2.0.29-r1 for further improvements

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sys-power/acpid/acpid-2.0.29-r1.ebuild | 68 ++
 1 file changed, 68 insertions(+)

diff --git a/sys-power/acpid/acpid-2.0.29-r1.ebuild 
b/sys-power/acpid/acpid-2.0.29-r1.ebuild
new file mode 100644
index 000..f9699804c53
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.29-r1.ebuild
@@ -0,0 +1,68 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-04-27 Thread Andrey Utkin
commit: 030c1a77d6a6f4deb616d8bf61b55a85bd8177ca
Author: Andrey Utkin  gentoo  org>
AuthorDate: Sun Apr 22 01:34:10 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Fri Apr 27 21:14:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030c1a77

sys-power/acpid: add new version 2.0.29

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.29.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 22bd5850fcb..9ff66cb6dd0 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1 +1,2 @@
 DIST acpid-2.0.28.tar.xz 156036 BLAKE2B 
a6a78f82f7f4ecbd0d883d175c921195970e157a919fefc9cf48a94db534b496a8570c031fda5b08df3fb1775e26a50b5942bac7717aa582d590605930e3af78
 SHA512 
effe9c3b30b4a6ea20eca4b36a06d4b3da9b262d100685958faec4b38f89377a87dcaecee7a69b87aaddfa47688bcc46fc47a38391ac4bd2019cb3b48ab18fcb
+DIST acpid-2.0.29.tar.xz 155568 BLAKE2B 
9a2c9f2f8ba035bf7452b633c20a73796ca05d4849d567f076a08a8216f2e07ca7a0b25e995054697e70bacacad07872e153c6c47f8204294964b276bca49f62
 SHA512 
5f480cb4456b6b843adb239519a8d05f83c3c668525457e55d7fae2ba7725356ec7a1faa16bbd54086f0eab2e8ca20952180c00b2b65a27eda534c3f28e8ed17

diff --git a/sys-power/acpid/acpid-2.0.29.ebuild 
b/sys-power/acpid/acpid-2.0.29.ebuild
new file mode 100644
index 000..f9699804c53
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.29.ebuild
@@ -0,0 +1,68 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-03-31 Thread Mart Raudsepp
commit: 89fa125bec35c52237a27f87fe4b6a1d901e6843
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sat Mar 31 13:38:29 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Mar 31 18:40:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89fa125b

sys-power/acpid: keyword ~arm64

Closes: https://github.com/gentoo/gentoo/pull/7741

 sys-power/acpid/acpid-2.0.28.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.28.ebuild 
b/sys-power/acpid/acpid-2.0.28.ebuild
index 766c975e51a..d55a1952ea6 100644
--- a/sys-power/acpid/acpid-2.0.28.ebuild
+++ b/sys-power/acpid/acpid-2.0.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ia64 x86"
+KEYWORDS="amd64 ~arm64 ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/files/

2018-03-24 Thread Patrice Clement
commit: aa23a20186a954e81dfb973be73d6e9cf2d03ce0
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Mar 22 19:46:20 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Mar 24 20:14:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa23a201

sys-power/acpid: remove unused file.

Closes: https://github.com/gentoo/gentoo/pull/7555

 sys-power/acpid/files/acpid-2.0.16-init.d | 20 
 1 file changed, 20 deletions(-)

diff --git a/sys-power/acpid/files/acpid-2.0.16-init.d 
b/sys-power/acpid/files/acpid-2.0.16-init.d
deleted file mode 100644
index 642d8008ccd..000
--- a/sys-power/acpid/files/acpid-2.0.16-init.d
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 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}"
-start_stop_daemon_args="--quiet"
-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 $?
-}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-03-12 Thread Andrey Utkin
commit: c01aa3166051b84b62778d1560202b613f6482d3
Author: Andrey Utkin  gentoo  org>
AuthorDate: Mon Mar 12 13:38:11 2018 +
Commit: Andrey Utkin  gentoo  org>
CommitDate: Mon Mar 12 13:38:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01aa316

sys-power/acpid: add myself as maintainer

Per "up for grabs" announcement from Mar 10, 2018.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-power/acpid/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-power/acpid/metadata.xml b/sys-power/acpid/metadata.xml
index 9f5b0250f67..ab0b82310d0 100644
--- a/sys-power/acpid/metadata.xml
+++ b/sys-power/acpid/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   andrey_ut...@gentoo.org
+   Andrey Utkin
+   

acpid2




[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-03-10 Thread Pacho Ramos
commit: 313b51b4173e5649da68f95413d8535b6597cbe8
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 10 13:11:37 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 10 13:20:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=313b51b4

sys-power/acpid: Update maintainer due to bug #357919

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-power/acpid/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-power/acpid/metadata.xml b/sys-power/acpid/metadata.xml
index 763c9efa437..9f5b0250f67 100644
--- a/sys-power/acpid/metadata.xml
+++ b/sys-power/acpid/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   mi...@gentoo.org
-   Michal Hrušecký
-   

acpid2




[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2018-03-10 Thread Pacho Ramos
commit: cd21fa9e52f231767cf8a59d7dd330529552117e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 10 13:12:12 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 10 13:20:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd21fa9e

sys-power/acpid: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-power/acpid/Manifest|  2 --
 sys-power/acpid/acpid-2.0.23.ebuild | 67 
 sys-power/acpid/acpid-2.0.27.ebuild | 68 -
 3 files changed, 137 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 755ba3ff1c2..22bd5850fcb 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,3 +1 @@
-DIST acpid-2.0.23.tar.xz 154504 BLAKE2B 
59e82843ec6960b2d05470dd0785d199623e3a2b2ed4bc81fac94d5eb3c2eb63c6929b9aea734389cbe839cf8683f919cf96dca9c35e0bfb247b056fecfb2a23
 SHA512 
b2f01f04a9c5370608016c16ecfbc5b503170c2686e6557ab1463e25d56a3ef1d2093d4701205ec1261564b1073653b404d0ae278c0bd8c8496606be1785963f
-DIST acpid-2.0.27.tar.xz 155012 BLAKE2B 
d3c19e17784ea46499ff2d25e37145d6ba66c6f709ebe2b4696a2140ee6efb9c9b686268442208511f64c5f30cec00e9310b25b2b2feae34fdbee42635920867
 SHA512 
0633f494b7f8cfd362f8baad9c69508acb650ea6545a59e6ec572aef610244341ea851084c737ede4bfcf8822431ac01e4b90f5e505cb838683296749307c22f
 DIST acpid-2.0.28.tar.xz 156036 BLAKE2B 
a6a78f82f7f4ecbd0d883d175c921195970e157a919fefc9cf48a94db534b496a8570c031fda5b08df3fb1775e26a50b5942bac7717aa582d590605930e3af78
 SHA512 
effe9c3b30b4a6ea20eca4b36a06d4b3da9b262d100685958faec4b38f89377a87dcaecee7a69b87aaddfa47688bcc46fc47a38391ac4bd2019cb3b48ab18fcb

diff --git a/sys-power/acpid/acpid-2.0.23.ebuild 
b/sys-power/acpid/acpid-2.0.23.ebuild
deleted file mode 100644
index e81b4346445..000
--- a/sys-power/acpid/acpid-2.0.23.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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="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() { :; }
-
-src_configure() {
-   econf --docdir=/usr/share/doc/${PF}
-}
-
-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.16-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.27.ebuild 
b/sys-power/acpid/acpid-2.0.27.ebuild
deleted file mode 100644
index fe7a205ccae..000
--- a/sys-power/acpid/acpid-2.0.27.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2016 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="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=(
-   

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2017-09-02 Thread Michael Palimaka
commit: 3426ab9cff93a43f6151f6ebc61103263b2db832
Author: Francesco Turco  fastmail  fm>
AuthorDate: Fri Sep  1 20:33:44 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 14:18:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3426ab9c

sys-power/acpid: update link to wiki

 sys-power/acpid/acpid-2.0.23.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.23.ebuild 
b/sys-power/acpid/acpid-2.0.23.ebuild
index 820cfb7c73c..e81b4346445 100644
--- a/sys-power/acpid/acpid-2.0.23.ebuild
+++ b/sys-power/acpid/acpid-2.0.23.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -53,7 +53,7 @@ pkg_postinst() {
elog
elog "You may wish to read the Gentoo Linux Power Management 
Guide,"
elog "which can be found online at:"
-   elog "https://www.gentoo.org/doc/en/power-management-guide.xml;
+   elog "https://wiki.gentoo.org/wiki/Power_management/Guide;
elog
fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2017-01-04 Thread Agostino Sarubbo
commit: c2d00cf9507a0fc308de2b23dac4491d3321e420
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan  4 17:08:13 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan  4 17:08:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d00cf9

sys-power/acpid: x86 stable wrt bug #601932

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.28.ebuild 
b/sys-power/acpid/acpid-2.0.28.ebuild
index 26cc4d7..1fc5ff3 100644
--- a/sys-power/acpid/acpid-2.0.28.ebuild
+++ b/sys-power/acpid/acpid-2.0.28.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ia64 ~x86"
+KEYWORDS="amd64 ~ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2017-01-04 Thread Agostino Sarubbo
commit: ed75135f0f18d44b4b2a002396381a1ae9d6d34b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan  4 16:56:11 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan  4 16:56:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed75135f

sys-power/acpid: amd64 stable wrt bug #601932

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-power/acpid/acpid-2.0.28.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/acpid/acpid-2.0.28.ebuild 
b/sys-power/acpid/acpid-2.0.28.ebuild
index aff1e07..26cc4d7 100644
--- a/sys-power/acpid/acpid-2.0.28.ebuild
+++ b/sys-power/acpid/acpid-2.0.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~x86"
+KEYWORDS="amd64 ~ia64 ~x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2016-12-21 Thread Thomas Deutschmann
commit: bb65cc4a1edd0e817516ab7494aa7c3c2d0698fc
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Dec 21 21:58:16 2016 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Dec 21 22:54:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb65cc4a

sys-power/acpid: x86 stable (bug #583498)

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 sys-power/acpid/acpid-2.0.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/acpid/acpid-2.0.27.ebuild 
b/sys-power/acpid/acpid-2.0.27.ebuild
index 2d573a3..57147e81 100644
--- a/sys-power/acpid/acpid-2.0.27.ebuild
+++ b/sys-power/acpid/acpid-2.0.27.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ia64 ~x86"
+KEYWORDS="amd64 ~ia64 x86"
 IUSE="selinux"
 
 RDEPEND="selinux? ( sec-policy/selinux-apm )"



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2016-09-22 Thread Lars Wendler
commit: acf9c983d3da3689abf2cd1c9f3d73eaab89bf8d
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep 22 10:41:24 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep 22 10:41:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf9c983

sys-power/acpid: Bump to version 2.0.28

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.28.ebuild | 69 +
 2 files changed, 70 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 4fa28d9..2daa136 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -2,3 +2,4 @@ DIST acpid-2.0.23.tar.xz 154504 SHA256 
4396aaec13510c3a1faa941a15a4b5335b6ae4fbe
 DIST acpid-2.0.25.tar.xz 154124 SHA256 
0b700a8072bec162c512f72cbe419195601ab3e0ffd2138f9bd95ed3097a5c68 SHA512 
8a2561549aa05d1dd763a973145b37bedf935df1d73310b09bd52473b51fdc14bbb10da6e4bd1c2086962d92bd12f3a03924cfe75b2d50bf95b50ded9b67b05f
 WHIRLPOOL 
0431f03df75334731ca40310a579eecac87b4023818eb9ca26b2e7152a74417fae9426efc2389688e5456b4d666f6aa191272bf956bfef21f9667f41e476c17a
 DIST acpid-2.0.26.tar.xz 154856 SHA256 
8384f37e4f260f50183e2e20039823d8f06aed9db56924fe92097b7e0b2e0343 SHA512 
45c6ee388500a4f80db9177af5006ef490fcc44a2a899cd2d05977797025b4a8076dc5dc68c03d8df85062c47ba5dcf4f6041c3ed5950ecc9626b320cdbb6749
 WHIRLPOOL 
f11be9af83ac0a124e1b69c8f438aa0818dae330d0ff30b5e1650fcaa811d9411e66a0b1d689fcb5e864145c62f6fff20cf7b8fcef980dbee80d6880af34ce43
 DIST acpid-2.0.27.tar.xz 155012 SHA256 
820c223e53cc11d9d7229fb1ffc2c2205f1054082c80f83f5a4ec4df16d3a616 SHA512 
0633f494b7f8cfd362f8baad9c69508acb650ea6545a59e6ec572aef610244341ea851084c737ede4bfcf8822431ac01e4b90f5e505cb838683296749307c22f
 WHIRLPOOL 
9698daa35db7cc63b5fce1cdd310f9b3019b91e89793cfd565aa146e8f26856ad9b4e198117280bf6a2d06f1425926ade7127b027af3e3475256b2c4ab5f5b44
+DIST acpid-2.0.28.tar.xz 156036 SHA256 
980c3a54b0d3f2fd49fd845a0584c5c2abeaab9e9ac09fcbb68686bbb57a7110 SHA512 
effe9c3b30b4a6ea20eca4b36a06d4b3da9b262d100685958faec4b38f89377a87dcaecee7a69b87aaddfa47688bcc46fc47a38391ac4bd2019cb3b48ab18fcb
 WHIRLPOOL 
90e3586b0f261d3fcdad6436f554144f29da1c30577b0232c2df022d148c65c4b0235cd9bc8719781087fa5d5892d89b18a6fdfe986d2849d522dfb9ceda6190

diff --git a/sys-power/acpid/acpid-2.0.28.ebuild 
b/sys-power/acpid/acpid-2.0.28.ebuild
new file mode 100644
index ..aff1e07
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.28.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2016-09-22 Thread Lars Wendler
commit: 15b21d7c1aea1b3555cbc3e3d7d5ed35f259cf46
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep 22 10:45:24 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep 22 10:45:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b21d7c

sys-power/acpid: Removed old.

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-power/acpid/Manifest|  2 -
 sys-power/acpid/acpid-2.0.25.ebuild | 73 -
 sys-power/acpid/acpid-2.0.26.ebuild | 69 ---
 3 files changed, 144 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 2daa136..0ad410f 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,5 +1,3 @@
 DIST acpid-2.0.23.tar.xz 154504 SHA256 
4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee SHA512 
b2f01f04a9c5370608016c16ecfbc5b503170c2686e6557ab1463e25d56a3ef1d2093d4701205ec1261564b1073653b404d0ae278c0bd8c8496606be1785963f
 WHIRLPOOL 
b9c7d4d64e663ffb9c58d2129b4f599453b4da0111b244269cf89ca50cc2de7ecdbea361825724963ee0b93294cadde12dee06c4816f5b709a23e7d443df0afd
-DIST acpid-2.0.25.tar.xz 154124 SHA256 
0b700a8072bec162c512f72cbe419195601ab3e0ffd2138f9bd95ed3097a5c68 SHA512 
8a2561549aa05d1dd763a973145b37bedf935df1d73310b09bd52473b51fdc14bbb10da6e4bd1c2086962d92bd12f3a03924cfe75b2d50bf95b50ded9b67b05f
 WHIRLPOOL 
0431f03df75334731ca40310a579eecac87b4023818eb9ca26b2e7152a74417fae9426efc2389688e5456b4d666f6aa191272bf956bfef21f9667f41e476c17a
-DIST acpid-2.0.26.tar.xz 154856 SHA256 
8384f37e4f260f50183e2e20039823d8f06aed9db56924fe92097b7e0b2e0343 SHA512 
45c6ee388500a4f80db9177af5006ef490fcc44a2a899cd2d05977797025b4a8076dc5dc68c03d8df85062c47ba5dcf4f6041c3ed5950ecc9626b320cdbb6749
 WHIRLPOOL 
f11be9af83ac0a124e1b69c8f438aa0818dae330d0ff30b5e1650fcaa811d9411e66a0b1d689fcb5e864145c62f6fff20cf7b8fcef980dbee80d6880af34ce43
 DIST acpid-2.0.27.tar.xz 155012 SHA256 
820c223e53cc11d9d7229fb1ffc2c2205f1054082c80f83f5a4ec4df16d3a616 SHA512 
0633f494b7f8cfd362f8baad9c69508acb650ea6545a59e6ec572aef610244341ea851084c737ede4bfcf8822431ac01e4b90f5e505cb838683296749307c22f
 WHIRLPOOL 
9698daa35db7cc63b5fce1cdd310f9b3019b91e89793cfd565aa146e8f26856ad9b4e198117280bf6a2d06f1425926ade7127b027af3e3475256b2c4ab5f5b44
 DIST acpid-2.0.28.tar.xz 156036 SHA256 
980c3a54b0d3f2fd49fd845a0584c5c2abeaab9e9ac09fcbb68686bbb57a7110 SHA512 
effe9c3b30b4a6ea20eca4b36a06d4b3da9b262d100685958faec4b38f89377a87dcaecee7a69b87aaddfa47688bcc46fc47a38391ac4bd2019cb3b48ab18fcb
 WHIRLPOOL 
90e3586b0f261d3fcdad6436f554144f29da1c30577b0232c2df022d148c65c4b0235cd9bc8719781087fa5d5892d89b18a6fdfe986d2849d522dfb9ceda6190

diff --git a/sys-power/acpid/acpid-2.0.25.ebuild 
b/sys-power/acpid/acpid-2.0.25.ebuild
deleted file mode 100644
index c468205..
--- a/sys-power/acpid/acpid-2.0.25.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils 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="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() { :; }
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-2.0.25-kde4.patch #515088
-   epatch "${FILESDIR}"/${PN}-2.0.25-add_mate-power-manager.patch #538590
-}
-
-src_configure() {
-   econf --docdir=/usr/share/doc/${PF}
-}
-
-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.16-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 

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2016-03-19 Thread Manuel Rüger
commit: c88d80e1b515131d956410394378d4a7ee03f581
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Mar 19 14:21:29 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Mar 19 14:21:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88d80e1

sys-power/acpid: Version bump to 2.0.27

Package-Manager: portage-2.2.28

 sys-power/acpid/Manifest|  1 +
 sys-power/acpid/acpid-2.0.27.ebuild | 69 +
 2 files changed, 70 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 9909c3b..4fa28d9 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,3 +1,4 @@
 DIST acpid-2.0.23.tar.xz 154504 SHA256 
4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee SHA512 
b2f01f04a9c5370608016c16ecfbc5b503170c2686e6557ab1463e25d56a3ef1d2093d4701205ec1261564b1073653b404d0ae278c0bd8c8496606be1785963f
 WHIRLPOOL 
b9c7d4d64e663ffb9c58d2129b4f599453b4da0111b244269cf89ca50cc2de7ecdbea361825724963ee0b93294cadde12dee06c4816f5b709a23e7d443df0afd
 DIST acpid-2.0.25.tar.xz 154124 SHA256 
0b700a8072bec162c512f72cbe419195601ab3e0ffd2138f9bd95ed3097a5c68 SHA512 
8a2561549aa05d1dd763a973145b37bedf935df1d73310b09bd52473b51fdc14bbb10da6e4bd1c2086962d92bd12f3a03924cfe75b2d50bf95b50ded9b67b05f
 WHIRLPOOL 
0431f03df75334731ca40310a579eecac87b4023818eb9ca26b2e7152a74417fae9426efc2389688e5456b4d666f6aa191272bf956bfef21f9667f41e476c17a
 DIST acpid-2.0.26.tar.xz 154856 SHA256 
8384f37e4f260f50183e2e20039823d8f06aed9db56924fe92097b7e0b2e0343 SHA512 
45c6ee388500a4f80db9177af5006ef490fcc44a2a899cd2d05977797025b4a8076dc5dc68c03d8df85062c47ba5dcf4f6041c3ed5950ecc9626b320cdbb6749
 WHIRLPOOL 
f11be9af83ac0a124e1b69c8f438aa0818dae330d0ff30b5e1650fcaa811d9411e66a0b1d689fcb5e864145c62f6fff20cf7b8fcef980dbee80d6880af34ce43
+DIST acpid-2.0.27.tar.xz 155012 SHA256 
820c223e53cc11d9d7229fb1ffc2c2205f1054082c80f83f5a4ec4df16d3a616 SHA512 
0633f494b7f8cfd362f8baad9c69508acb650ea6545a59e6ec572aef610244341ea851084c737ede4bfcf8822431ac01e4b90f5e505cb838683296749307c22f
 WHIRLPOOL 
9698daa35db7cc63b5fce1cdd310f9b3019b91e89793cfd565aa146e8f26856ad9b4e198117280bf6a2d06f1425926ade7127b027af3e3475256b2c4ab5f5b44

diff --git a/sys-power/acpid/acpid-2.0.27.ebuild 
b/sys-power/acpid/acpid-2.0.27.ebuild
new file mode 100644
index 000..6895146
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.27.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit linux-info systemd
+
+DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
+HOMEPAGE="http://sourceforge.net/projects/acpid2;
+SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/, sys-power/acpid/files/

2016-02-10 Thread Lars Wendler
commit: 6b2a8ebd355c9bdb7a759590157eb8b3ab83c6b8
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 10 09:14:20 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 10 09:14:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b2a8ebd

sys-power/acpid: Bump to version 2.0.26

Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler  gentoo.org>

 sys-power/acpid/Manifest  |  1 +
 sys-power/acpid/acpid-2.0.26.ebuild   | 69 +++
 sys-power/acpid/files/acpid-2.0.26-init.d | 20 +
 3 files changed, 90 insertions(+)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 49ce463..9909c3b 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,2 +1,3 @@
 DIST acpid-2.0.23.tar.xz 154504 SHA256 
4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee SHA512 
b2f01f04a9c5370608016c16ecfbc5b503170c2686e6557ab1463e25d56a3ef1d2093d4701205ec1261564b1073653b404d0ae278c0bd8c8496606be1785963f
 WHIRLPOOL 
b9c7d4d64e663ffb9c58d2129b4f599453b4da0111b244269cf89ca50cc2de7ecdbea361825724963ee0b93294cadde12dee06c4816f5b709a23e7d443df0afd
 DIST acpid-2.0.25.tar.xz 154124 SHA256 
0b700a8072bec162c512f72cbe419195601ab3e0ffd2138f9bd95ed3097a5c68 SHA512 
8a2561549aa05d1dd763a973145b37bedf935df1d73310b09bd52473b51fdc14bbb10da6e4bd1c2086962d92bd12f3a03924cfe75b2d50bf95b50ded9b67b05f
 WHIRLPOOL 
0431f03df75334731ca40310a579eecac87b4023818eb9ca26b2e7152a74417fae9426efc2389688e5456b4d666f6aa191272bf956bfef21f9667f41e476c17a
+DIST acpid-2.0.26.tar.xz 154856 SHA256 
8384f37e4f260f50183e2e20039823d8f06aed9db56924fe92097b7e0b2e0343 SHA512 
45c6ee388500a4f80db9177af5006ef490fcc44a2a899cd2d05977797025b4a8076dc5dc68c03d8df85062c47ba5dcf4f6041c3ed5950ecc9626b320cdbb6749
 WHIRLPOOL 
f11be9af83ac0a124e1b69c8f438aa0818dae330d0ff30b5e1650fcaa811d9411e66a0b1d689fcb5e864145c62f6fff20cf7b8fcef980dbee80d6880af34ce43

diff --git a/sys-power/acpid/acpid-2.0.26.ebuild 
b/sys-power/acpid/acpid-2.0.26.ebuild
new file mode 100644
index 000..6895146
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.26.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit linux-info systemd
+
+DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
+HOMEPAGE="http://sourceforge.net/projects/acpid2;
+SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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/files/acpid-2.0.26-init.d 
b/sys-power/acpid/files/acpid-2.0.26-init.d
new file mode 100644
index 000..7f3ff3c
--- /dev/null
+++ b/sys-power/acpid/files/acpid-2.0.26-init.d
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpid/

2015-10-08 Thread Lars Wendler
commit: 1e2dffab0f5b6ae9053af525a510aa67038f5a5f
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Oct  8 13:09:37 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Oct  8 13:10:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2dffab

sys-power/acpid: Removed old.

Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler  gentoo.org>

 sys-power/acpid/Manifest|  3 --
 sys-power/acpid/acpid-2.0.20.ebuild | 61 -
 sys-power/acpid/acpid-2.0.21.ebuild | 61 -
 sys-power/acpid/acpid-2.0.22.ebuild | 68 -
 4 files changed, 193 deletions(-)

diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index ce0bafd..49ce463 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,5 +1,2 @@
-DIST acpid-2.0.20.tar.xz 151380 SHA256 
6a1ebaf52c6bef0f3d6da24a364e5f9401004d60ef4f42ec2a23057799fcf750 SHA512 
f1c1a91cd5db45c1da6b3f698671bb55b629eb149e09a680cc061a7cf921499f8486ce471d4789dd98f548247ecf1afffc0127fdfb120b3d3adfe0cfa35d172b
 WHIRLPOOL 
b22e1578b337e69e6ebbecd3a5e9fdcef9ba0a87e3364e23545f9db2a91bf77a40e70f8e772f85dbdda574c06efdf65848ca7dc75bb773f410a679c73fea4f9e
-DIST acpid-2.0.21.tar.xz 152968 SHA256 
c4e67e59888ccb43e6b8f01efb794945356aecdff86155c6a5b0f371d1ff636f SHA512 
c449a234f04e8d2e1c7a3eac7e36c020c829e5cd00de3e8716c7645c7e53d8fd4d430f862cb320ed536918fff190b6582f932feff315b0cb117ef89d9fec274e
 WHIRLPOOL 
b7162e6f6d00cb2495bb61112e26cfd2c0c27567f35d6329b9f4c953ad74b189ba0141253517b24af447ef3b4352ab00cfeb067e2f779694397d0788bd1edc3f
-DIST acpid-2.0.22.tar.xz 153596 SHA256 
3d11454f4283c8f771d8dbd5eb6b5f2bbd9d94d9f77d68bab89e35d98b67ab31 SHA512 
ed52d80a17bca082cfe8d14acd4e9f736337f43c3c5c1e90b9fd5c4e8bfc2525dd0992d47230f0cae65e0eac1b2454adb350024f2955e82ffa7125e6eabf4f6a
 WHIRLPOOL 
18acb58b2f454ed15fb024005e2bbb42550b9c283c1a1514cd08c2db8d2daccab2509871c956ea0f528519aa8896748119cc7a972c3d1216600f3fa8353761ac
 DIST acpid-2.0.23.tar.xz 154504 SHA256 
4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee SHA512 
b2f01f04a9c5370608016c16ecfbc5b503170c2686e6557ab1463e25d56a3ef1d2093d4701205ec1261564b1073653b404d0ae278c0bd8c8496606be1785963f
 WHIRLPOOL 
b9c7d4d64e663ffb9c58d2129b4f599453b4da0111b244269cf89ca50cc2de7ecdbea361825724963ee0b93294cadde12dee06c4816f5b709a23e7d443df0afd
 DIST acpid-2.0.25.tar.xz 154124 SHA256 
0b700a8072bec162c512f72cbe419195601ab3e0ffd2138f9bd95ed3097a5c68 SHA512 
8a2561549aa05d1dd763a973145b37bedf935df1d73310b09bd52473b51fdc14bbb10da6e4bd1c2086962d92bd12f3a03924cfe75b2d50bf95b50ded9b67b05f
 WHIRLPOOL 
0431f03df75334731ca40310a579eecac87b4023818eb9ca26b2e7152a74417fae9426efc2389688e5456b4d666f6aa191272bf956bfef21f9667f41e476c17a

diff --git a/sys-power/acpid/acpid-2.0.20.ebuild 
b/sys-power/acpid/acpid-2.0.20.ebuild
deleted file mode 100644
index f66e5be..000
--- a/sys-power/acpid/acpid-2.0.20.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit systemd
-
-DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
-HOMEPAGE="http://sourceforge.net/projects/acpid2;
-SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ia64 x86"
-IUSE="selinux"
-
-RDEPEND="selinux? ( sec-policy/selinux-apm )"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3"
-
-src_configure() {
-   econf --docdir=/usr/share/doc/${PF}
-}
-
-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.16-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://www.gentoo.org/doc/en/power-management-guide.xml;
-   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.21.ebuild 
b/sys-power/acpid/acpid-2.0.21.ebuild
deleted file mode 100644
index