1 |
ssuominen 14/06/04 20:53:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pm-utils-1.4.1-r5.ebuild |
5 |
Log: |
6 |
Install logrorate file wrt #408091 by Arthur D. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.70 sys-power/pm-utils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/ChangeLog?rev=1.70&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/ChangeLog?rev=1.70&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/ChangeLog?r1=1.69&r2=1.70 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v |
20 |
retrieving revision 1.69 |
21 |
retrieving revision 1.70 |
22 |
diff -u -r1.69 -r1.70 |
23 |
--- ChangeLog 4 Jun 2014 20:46:47 -0000 1.69 |
24 |
+++ ChangeLog 4 Jun 2014 20:53:26 -0000 1.70 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-power/pm-utils |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.69 2014/06/04 20:46:47 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.70 2014/06/04 20:53:26 ssuominen Exp $ |
30 |
+ |
31 |
+*pm-utils-1.4.1-r5 (04 Jun 2014) |
32 |
+ |
33 |
+ 04 Jun 2014; Samuli Suominen <ssuominen@g.o> +files/pm-utils.logrotate, |
34 |
+ +pm-utils-1.4.1-r5.ebuild: |
35 |
+ Install logrorate file wrt #408091 by Arthur D. |
36 |
|
37 |
*pm-utils-1.4.1-r4 (04 Jun 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-power/pm-utils/pm-utils-1.4.1-r5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/pm-utils-1.4.1-r5.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/pm-utils-1.4.1-r5.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pm-utils-1.4.1-r5.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/pm-utils-1.4.1-r5.ebuild,v 1.1 2014/06/04 20:53:26 ssuominen Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit eutils multilib |
55 |
|
56 |
DESCRIPTION="Suspend and hibernation utilities" |
57 |
HOMEPAGE="http://pm-utils.freedesktop.org/" |
58 |
SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
63 |
IUSE="alsa debug ntp video_cards_intel video_cards_radeon" |
64 |
|
65 |
vbetool="!video_cards_intel? ( sys-apps/vbetool )" |
66 |
RDEPEND="!<app-laptop/laptop-mode-tools-1.55-r1 |
67 |
!sys-power/powermgmt-base[-pm-utils(+)] |
68 |
sys-apps/dbus |
69 |
>=sys-apps/util-linux-2.13 |
70 |
sys-power/pm-quirks |
71 |
alsa? ( media-sound/alsa-utils ) |
72 |
ntp? ( || ( net-misc/ntp net-misc/openntpd ) ) |
73 |
amd64? ( ${vbetool} ) |
74 |
x86? ( ${vbetool} ) |
75 |
video_cards_radeon? ( app-laptop/radeontool )" |
76 |
DEPEND="${RDEPEND}" |
77 |
|
78 |
DOCS="AUTHORS ChangeLog NEWS pm/HOWTO* README* TODO" |
79 |
|
80 |
src_prepare() { |
81 |
local ignore="01grub" |
82 |
use ntp || ignore+=" 90clock" |
83 |
|
84 |
use debug && echo 'PM_DEBUG="true"' > "${T}"/gentoo |
85 |
echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${T}"/gentoo |
86 |
|
87 |
epatch \ |
88 |
"${FILESDIR}"/${PV}-bluetooth-sync.patch \ |
89 |
"${FILESDIR}"/${PV}-disable-sata-alpm.patch \ |
90 |
"${FILESDIR}"/${PV}-fix-intel-audio-powersave-hook.patch \ |
91 |
"${FILESDIR}"/${PV}-logging-append.patch \ |
92 |
"${FILESDIR}"/${PV}-fix-alpm-typo.patch \ |
93 |
"${FILESDIR}"/${PV}-inhibit-on-right-status.patch \ |
94 |
"${FILESDIR}"/${PV}-ignore-led-failure.patch \ |
95 |
"${FILESDIR}"/${PV}-run-hook-logging.patch \ |
96 |
"${FILESDIR}"/${PV}-suspend-hybrid.patch \ |
97 |
"${FILESDIR}"/${PV}-uswsusp-hibernate-mode.patch \ |
98 |
"${FILESDIR}"/${PV}-xfs_buffer_arguments.patch |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
econf --disable-doc |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
default |
107 |
doman man/*.{1,8} |
108 |
|
109 |
# Remove duplicate documentation install |
110 |
rm -r "${D}"/usr/share/doc/${PN} |
111 |
|
112 |
insinto /etc/pm/config.d |
113 |
doins "${T}"/gentoo |
114 |
|
115 |
insinto /etc/logrotate.d |
116 |
newins "${FILESDIR}"/${PN}.logrotate ${PN} #408091 |
117 |
|
118 |
insinto /usr/$(get_libdir)/pm-utils/sleep.d |
119 |
doins "${FILESDIR}"/sleep.d/50unload_alx |
120 |
|
121 |
insinto /usr/$(get_libdir)/pm-utils/power.d |
122 |
doins "${FILESDIR}"/power.d/{pci_devices,usb_bluetooth} |
123 |
|
124 |
# No longer required with current networkmanager (rm -f from debian/rules) |
125 |
rm -f "${D}"/usr/$(get_libdir)/${PN}/sleep.d/55NetworkManager |
126 |
|
127 |
# No longer required with current kernels (rm -f from debian/rules) |
128 |
rm -f "${D}"/usr/$(get_libdir)/${PN}/sleep.d/49bluetooth |
129 |
|
130 |
# Punt HAL related file wrt #401257 (rm -f from debian/rules) |
131 |
rm -f "${D}"/usr/$(get_libdir)/${PN}/power.d/hal-cd-polling |
132 |
} |