1 |
pacho 14/05/02 17:42:01 |
2 |
|
3 |
Modified: hddtemp-0.3_beta15-r25.ebuild |
4 |
hddtemp-0.3_beta15-r7.ebuild ChangeLog |
5 |
Log: |
6 |
Use readme.gentoo.eclass (#509382) |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: hddtemp-0.3_beta15-r25.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- hddtemp-0.3_beta15-r25.ebuild 27 Apr 2014 11:11:29 -0000 1.1 |
24 |
+++ hddtemp-0.3_beta15-r25.ebuild 2 May 2014 17:42:01 -0000 1.2 |
25 |
@@ -1,10 +1,9 @@ |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild,v 1.1 2014/04/27 11:11:29 aidecoe Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild,v 1.2 2014/05/02 17:42:01 pacho Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
- |
33 |
-inherit eutils autotools systemd |
34 |
+inherit eutils autotools readme.gentoo systemd |
35 |
|
36 |
MY_P=${P/_beta/-beta} |
37 |
DBV=20080531 |
38 |
@@ -25,6 +24,19 @@ |
39 |
|
40 |
DOCS=(README TODO ChangeLog) |
41 |
|
42 |
+DISABLE_AUTOFORMATTING="yes" |
43 |
+DOC_CONTENTS="In order to update your hddtemp database, run: |
44 |
+emerge --config =${CATEGORY}/${PF} or update-hddtemp.db (if USE |
45 |
+network-cron is enabled) |
46 |
+ |
47 |
+If your hard drive is not recognized by hddtemp, please consider |
48 |
+submitting your HDD info for inclusion into the Gentoo hddtemp |
49 |
+database by filing a bug at https://bugs.gentoo.org/ |
50 |
+ |
51 |
+If hddtemp complains but finds your HDD temperature sensor, use the |
52 |
+--quiet option to suppress the warning. |
53 |
+" |
54 |
+ |
55 |
src_prepare() { |
56 |
epatch "${FILESDIR}"/${P}-satacmds.patch |
57 |
epatch "${FILESDIR}"/${P}-byteswap.patch |
58 |
@@ -57,6 +69,8 @@ |
59 |
systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service" |
60 |
systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf |
61 |
|
62 |
+ readme.gentoo_create_doc |
63 |
+ |
64 |
if use network-cron; then |
65 |
dosbin "${FILESDIR}"/update-hddtemp.db |
66 |
exeinto /etc/cron.monthly |
67 |
@@ -65,22 +79,6 @@ |
68 |
fi |
69 |
} |
70 |
|
71 |
-pkg_postinst() { |
72 |
- elog "In order to update your hddtemp database, run:" |
73 |
- if use network-cron; then |
74 |
- elog " update-hddtemp.db" |
75 |
- else |
76 |
- elog " emerge --config =${CATEGORY}/${PF}" |
77 |
- fi |
78 |
- elog "" |
79 |
- elog "If your hard drive is not recognized by hddtemp, please consider" |
80 |
- elog "submitting your HDD info for inclusion into the Gentoo hddtemp" |
81 |
- elog "database by filing a bug at https://bugs.gentoo.org/" |
82 |
- echo |
83 |
- ewarn "If hddtemp complains but finds your HDD temperature sensor, use the" |
84 |
- ewarn "--quiet option to suppress the warning." |
85 |
-} |
86 |
- |
87 |
update_db() { |
88 |
local src=$1 |
89 |
local dst=$2 |
90 |
|
91 |
|
92 |
|
93 |
1.10 app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild |
94 |
|
95 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild?rev=1.10&view=markup |
96 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild?rev=1.10&content-type=text/plain |
97 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild?r1=1.9&r2=1.10 |
98 |
|
99 |
Index: hddtemp-0.3_beta15-r7.ebuild |
100 |
=================================================================== |
101 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v |
102 |
retrieving revision 1.9 |
103 |
retrieving revision 1.10 |
104 |
diff -u -r1.9 -r1.10 |
105 |
--- hddtemp-0.3_beta15-r7.ebuild 27 Apr 2014 11:00:47 -0000 1.9 |
106 |
+++ hddtemp-0.3_beta15-r7.ebuild 2 May 2014 17:42:01 -0000 1.10 |
107 |
@@ -1,8 +1,9 @@ |
108 |
# Copyright 1999-2014 Gentoo Foundation |
109 |
# Distributed under the terms of the GNU General Public License v2 |
110 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v 1.9 2014/04/27 11:00:47 aidecoe Exp $ |
111 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v 1.10 2014/05/02 17:42:01 pacho Exp $ |
112 |
|
113 |
-inherit eutils autotools systemd |
114 |
+EAPI=5 |
115 |
+inherit eutils autotools readme.gentoo systemd |
116 |
|
117 |
MY_P=${P/_beta/-beta} |
118 |
DBV=20080531 |
119 |
@@ -21,9 +22,19 @@ |
120 |
|
121 |
S="${WORKDIR}/${MY_P}" |
122 |
|
123 |
-src_unpack() { |
124 |
- unpack ${A} |
125 |
- cd "${S}" |
126 |
+DISABLE_AUTOFORMATTING="yes" |
127 |
+DOC_CONTENTS="In order to update your hddtemp database, run: |
128 |
+emerge --config =${CATEGORY}/${PF} |
129 |
+ |
130 |
+If your hard drive is not recognized by hddtemp, please consider |
131 |
+submitting your HDD info for inclusion into the Gentoo hddtemp |
132 |
+database by filing a bug at https://bugs.gentoo.org/ |
133 |
+ |
134 |
+If hddtemp complains but finds your HDD temperature sensor, use the |
135 |
+--quiet option to suppress the warning. |
136 |
+" |
137 |
+ |
138 |
+src_prepare() { |
139 |
epatch "${FILESDIR}"/${P}-satacmds.patch |
140 |
epatch "${FILESDIR}"/${P}-byteswap.patch |
141 |
epatch "${FILESDIR}"/${P}-execinfo.patch |
142 |
@@ -33,18 +44,17 @@ |
143 |
AT_M4DIR="m4" eautoreconf |
144 |
} |
145 |
|
146 |
-src_compile() { |
147 |
+src_configure() { |
148 |
local myconf |
149 |
|
150 |
myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db" |
151 |
# disabling nls breaks compiling |
152 |
use nls || myconf="--disable-nls ${myconf}" |
153 |
- econf ${myconf} || die |
154 |
- emake || die |
155 |
+ econf ${myconf} |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
- make DESTDIR="${D}" install || die |
160 |
+ default |
161 |
dodoc README TODO ChangeLog |
162 |
|
163 |
insinto /usr/share/hddtemp |
164 |
@@ -56,18 +66,8 @@ |
165 |
newinitd "${FILESDIR}"/hddtemp-init hddtemp |
166 |
systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service" |
167 |
systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf |
168 |
-} |
169 |
|
170 |
-pkg_postinst() { |
171 |
- elog "In order to update your hddtemp database, run:" |
172 |
- elog " emerge --config =${CATEGORY}/${PF}" |
173 |
- elog "" |
174 |
- elog "If your hard drive is not recognized by hddtemp, please consider" |
175 |
- elog "submitting your HDD info for inclusion into the Gentoo hddtemp" |
176 |
- elog "database by filing a bug at https://bugs.gentoo.org/" |
177 |
- echo |
178 |
- ewarn "If hddtemp complains but finds your HDD temperature sensor, use the" |
179 |
- ewarn "--quiet option to suppress the warning." |
180 |
+ readme.gentoo_create_doc |
181 |
} |
182 |
|
183 |
update_db() { |
184 |
|
185 |
|
186 |
|
187 |
1.155 app-admin/hddtemp/ChangeLog |
188 |
|
189 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/ChangeLog?rev=1.155&view=markup |
190 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/ChangeLog?rev=1.155&content-type=text/plain |
191 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/hddtemp/ChangeLog?r1=1.154&r2=1.155 |
192 |
|
193 |
Index: ChangeLog |
194 |
=================================================================== |
195 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v |
196 |
retrieving revision 1.154 |
197 |
retrieving revision 1.155 |
198 |
diff -u -r1.154 -r1.155 |
199 |
--- ChangeLog 27 Apr 2014 11:11:29 -0000 1.154 |
200 |
+++ ChangeLog 2 May 2014 17:42:01 -0000 1.155 |
201 |
@@ -1,6 +1,10 @@ |
202 |
# ChangeLog for app-admin/hddtemp |
203 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
204 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.154 2014/04/27 11:11:29 aidecoe Exp $ |
205 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.155 2014/05/02 17:42:01 pacho Exp $ |
206 |
+ |
207 |
+ 02 May 2014; Pacho Ramos <pacho@g.o> hddtemp-0.3_beta15-r25.ebuild, |
208 |
+ hddtemp-0.3_beta15-r7.ebuild: |
209 |
+ Use readme.gentoo.eclass (#509382) |
210 |
|
211 |
*hddtemp-0.3_beta15-r25 (27 Apr 2014) |