Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/acpid: acpid-2.0.23.ebuild ChangeLog
Date: Sun, 24 Aug 2014 09:04:38
Message-Id: 20140824090435.4731F3C99@oystercatcher.gentoo.org
1 ssuominen 14/08/24 09:04:35
2
3 Modified: ChangeLog
4 Added: acpid-2.0.23.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.119 sys-power/acpid/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/ChangeLog?rev=1.119&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/ChangeLog?rev=1.119&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/ChangeLog?r1=1.118&r2=1.119
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v
20 retrieving revision 1.118
21 retrieving revision 1.119
22 diff -u -r1.118 -r1.119
23 --- ChangeLog 21 Jul 2014 19:38:08 -0000 1.118
24 +++ ChangeLog 24 Aug 2014 09:04:35 -0000 1.119
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.118 2014/07/21 19:38:08 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.119 2014/08/24 09:04:35 ssuominen Exp $
30 +
31 +*acpid-2.0.23 (24 Aug 2014)
32 +
33 + 24 Aug 2014; Samuli Suominen <ssuominen@g.o> +acpid-2.0.23.ebuild:
34 + Version bump.
35
36 21 Jul 2014; Samuli Suominen <ssuominen@g.o> acpid-2.0.22.ebuild:
37 Check for CONFIG_INPUT_EVDEV wrt #508460 by Thomas D.
38
39
40
41 1.1 sys-power/acpid/acpid-2.0.23.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/acpid-2.0.23.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/acpid/acpid-2.0.23.ebuild?rev=1.1&content-type=text/plain
45
46 Index: acpid-2.0.23.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.23.ebuild,v 1.1 2014/08/24 09:04:35 ssuominen Exp $
51
52 EAPI=5
53 inherit linux-info 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 pkg_pretend() {
69 local CONFIG_CHECK="~INPUT_EVDEV"
70 local WARNING_INPUT_EVDEV="CONFIG_INPUT_EVDEV is required for ACPI button event support."
71 [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
72 }
73
74 pkg_setup() { :; }
75
76 src_configure() {
77 econf --docdir=/usr/share/doc/${PF}
78 }
79
80 src_install() {
81 emake DESTDIR="${D}" install
82
83 newdoc kacpimon/README README.kacpimon
84 dodoc -r samples
85 rm -f "${D}"/usr/share/doc/${PF}/COPYING || die
86
87 exeinto /etc/acpi
88 newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
89 exeinto /etc/acpi/actions
90 newexe samples/powerbtn/powerbtn.sh powerbtn.sh
91 insinto /etc/acpi/events
92 newins "${FILESDIR}"/${PN}-1.0.4-default default
93
94 newinitd "${FILESDIR}"/${PN}-2.0.16-init.d ${PN}
95 newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN}
96
97 systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket}
98 }
99
100 pkg_postinst() {
101 if [[ -z ${REPLACING_VERSIONS} ]]; then
102 elog
103 elog "You may wish to read the Gentoo Linux Power Management Guide,"
104 elog "which can be found online at:"
105 elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
106 elog
107 fi
108
109 # files/systemd/acpid.socket -> ListenStream=/run/acpid.socket
110 mkdir -p "${ROOT%/}"/run
111
112 if ! grep -qs "^tmpfs.*/run " "${ROOT%/}"/proc/mounts ; then
113 echo
114 ewarn "You should reboot the system now to get /run mounted with tmpfs!"
115 fi
116 }