1 |
ssuominen 14/01/31 15:51:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: acpid-2.0.21.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.112 sys-power/acpid/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/ChangeLog?rev=1.112&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/ChangeLog?rev=1.112&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/ChangeLog?r1=1.111&r2=1.112 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v |
20 |
retrieving revision 1.111 |
21 |
retrieving revision 1.112 |
22 |
diff -u -r1.111 -r1.112 |
23 |
--- ChangeLog 15 Jan 2014 10:04:09 -0000 1.111 |
24 |
+++ ChangeLog 31 Jan 2014 15:51:12 -0000 1.112 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-power/acpid |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.111 2014/01/15 10:04:09 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.112 2014/01/31 15:51:12 ssuominen Exp $ |
30 |
+ |
31 |
+*acpid-2.0.21 (31 Jan 2014) |
32 |
+ |
33 |
+ 31 Jan 2014; Samuli Suominen <ssuominen@g.o> +acpid-2.0.21.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
15 Jan 2014; Agostino Sarubbo <ago@g.o> acpid-2.0.19.ebuild: |
37 |
Stable for ia64, wrt bug #482252 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-power/acpid/acpid-2.0.21.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/acpid-2.0.21.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/acpid-2.0.21.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: acpid-2.0.21.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.21.ebuild,v 1.1 2014/01/31 15:51:12 ssuominen Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit systemd |
54 |
|
55 |
DESCRIPTION="Daemon for Advanced Configuration and Power Interface" |
56 |
HOMEPAGE="http://sourceforge.net/projects/acpid2" |
57 |
SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ia64 -ppc ~x86" |
62 |
IUSE="selinux" |
63 |
|
64 |
RDEPEND="selinux? ( sec-policy/selinux-apm )" |
65 |
DEPEND="${RDEPEND} |
66 |
>=sys-kernel/linux-headers-3" |
67 |
|
68 |
src_configure() { |
69 |
econf --docdir=/usr/share/doc/${PF} |
70 |
} |
71 |
|
72 |
src_install() { |
73 |
emake DESTDIR="${D}" install |
74 |
|
75 |
newdoc kacpimon/README README.kacpimon |
76 |
dodoc -r samples |
77 |
rm -f "${D}"/usr/share/doc/${PF}/COPYING || die |
78 |
|
79 |
exeinto /etc/acpi |
80 |
newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh |
81 |
exeinto /etc/acpi/actions |
82 |
newexe samples/powerbtn/powerbtn.sh powerbtn.sh |
83 |
insinto /etc/acpi/events |
84 |
newins "${FILESDIR}"/${PN}-1.0.4-default default |
85 |
|
86 |
newinitd "${FILESDIR}"/${PN}-2.0.16-init.d ${PN} |
87 |
newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN} |
88 |
|
89 |
systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket} |
90 |
} |
91 |
|
92 |
pkg_postinst() { |
93 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
94 |
elog |
95 |
elog "You may wish to read the Gentoo Linux Power Management Guide," |
96 |
elog "which can be found online at:" |
97 |
elog "http://www.gentoo.org/doc/en/power-management-guide.xml" |
98 |
elog |
99 |
fi |
100 |
|
101 |
# files/systemd/acpid.socket -> ListenStream=/run/acpid.socket |
102 |
mkdir -p "${ROOT}"/run |
103 |
|
104 |
if ! grep -qs "^tmpfs.*/run " "${ROOT}"/proc/mounts ; then |
105 |
echo |
106 |
ewarn "You should reboot the system now to get /run mounted with tmpfs!" |
107 |
fi |
108 |
} |