Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mcelog/
Date: Fri, 10 Jan 2020 16:19:43
Message-Id: 1578673171.31b1ebcc383752352b5c92317d301dbdfc94baf3.bkohler@gentoo
1 commit: 31b1ebcc383752352b5c92317d301dbdfc94baf3
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 10 16:19:07 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 10 16:19:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b1ebcc
7
8 app-admin/mcelog: bump to 168 & drop some old versions
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 app-admin/mcelog/Manifest | 4 +-
14 app-admin/mcelog/mcelog-165.ebuild | 58 ----------------------
15 app-admin/mcelog/mcelog-166.ebuild | 58 ----------------------
16 .../{mcelog-164.ebuild => mcelog-168.ebuild} | 2 +-
17 4 files changed, 2 insertions(+), 120 deletions(-)
18
19 diff --git a/app-admin/mcelog/Manifest b/app-admin/mcelog/Manifest
20 index b63629aa227..763887cf2d7 100644
21 --- a/app-admin/mcelog/Manifest
22 +++ b/app-admin/mcelog/Manifest
23 @@ -1,5 +1,3 @@
24 DIST mcelog-162.tar.gz 308347 BLAKE2B bd438e85ea793c6c5ce4d561f0400e91b101a010cce7f937751a11a0a974fec49db7e9d768fc50db68a91c973c90c8ab1b4ffa80964cb6fde860b9f2ac217435 SHA512 d61a0b7ad3974098963edde1e9e9acdf4dbd1a025577b7044bafc17302abd19080c8145a2700c691400af0768ff4b6833d47697e1478c5bef8831f7f8b61ae48
25 -DIST mcelog-164.tar.gz 308393 BLAKE2B da1f425faa88eb8377eb11c3e13aa6fd4c0b4f4d3b02afc2fba8e4137979bb5619b075b0d0ecd80ec6059c9eb912376291e56e667bf7b838bd2f641c4a6c175f SHA512 10c8c580b10caa6d40c2a4887cb9e9ec07eb81a353d24a4d1a89ad8ec5cc29f7976c26335f077393794b060e62b5cbbe348c64567a3cf3fabc3ec5c3fe59da5a
26 -DIST mcelog-165.tar.gz 308405 BLAKE2B 8e6cf59bfa3a5c667c1b709f9c0c5c82f8710ff1aa7c5758c1573a2c832030bb31735f8dd5a53fab26745739cdfac3001cb7a752df579cf452874d19e9e7da65 SHA512 466a07a90679380783524854934d6d66cbc53474616de9141cd36dd2a3b757cacccf1db50c8d4cd54763cea63ac9c09daf6e27ccf3bcf17d62da7fc3396281eb
27 -DIST mcelog-166.tar.gz 312451 BLAKE2B 430630f6f693ae22961bae2381117dbb6d3bca228d6bdcbbe007d2a2681cda53f8c29cf18b98a47a88d36fd059e3e08aff5b9ad22243d7ce5083f5643768b0e6 SHA512 35514188cf4932b4ecffb8d8149534367a424adb76f03833d53d3c2a0dae2ca89de90d071e48ed67a17a8a70a67efc14aa186280e9145b7572887dccdf9a01af
28 DIST mcelog-167.tar.gz 312512 BLAKE2B 5642a421149847bddc46e776932c0fcaab1e281904a6be4ff8a3254d9e292d5fb77e6fbd5097c7afe0b39eca2f2db1752cdf67714a8a3d2f836785ebde3c0c90 SHA512 0229df9a4772e916af79aa35cdbc644feff76870d87a8c3c6ce5d132cf8c98bc48ec48ba564496071cb803537d3504c84963639370d9aed11d23833b65b3b306
29 +DIST mcelog-168.tar.gz 312580 BLAKE2B 1a97869cc183c4263bf9868ccdc24b15658de0e863bd03ecdf61b0c6a03f5737dceec1b5237a8dfdf2f889cab9d55d3b5274bde5533841fc1aa56ed2189f5ffc SHA512 81f4ccb2632e5c34c52aea430a682e44d6b9850fbee2e9180a493025bbea660a7a4eaff3ee1e2f6e3d3700d3c951c09c4534b733cca5c809ad9c5a1ff8b07295
30
31 diff --git a/app-admin/mcelog/mcelog-165.ebuild b/app-admin/mcelog/mcelog-165.ebuild
32 deleted file mode 100644
33 index 557b542b3a9..00000000000
34 --- a/app-admin/mcelog/mcelog-165.ebuild
35 +++ /dev/null
36 @@ -1,58 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -inherit linux-info systemd toolchain-funcs
43 -
44 -DESCRIPTION="A tool to log and decode Machine Check Exceptions"
45 -HOMEPAGE="http://mcelog.org/"
46 -SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -IUSE="selinux"
52 -
53 -RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
54 -
55 -# TODO: add mce-inject to the tree to support test phase
56 -RESTRICT="test"
57 -
58 -pkg_pretend() {
59 - if [[ ${MERGE_TYPE} != buildonly ]]; then
60 - local CONFIG_CHECK="~X86_MCE"
61 - kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
62 - check_extra_config
63 - fi
64 -}
65 -
66 -src_prepare() {
67 - eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
68 - "${FILESDIR}"/${PN}-129-debugflags.patch
69 - eapply_user
70 - tc-export CC
71 -}
72 -
73 -src_install() {
74 - default
75 -
76 - insinto /etc/cron.daily
77 - newins ${PN}.cron ${PN}
78 -
79 - insinto /etc/logrotate.d/
80 - newins ${PN}.logrotate ${PN}
81 -
82 - newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
83 - systemd_dounit "${FILESDIR}"/${PN}.service
84 -
85 - dodoc *.pdf
86 -}
87 -
88 -pkg_postinst() {
89 - einfo "The default configuration set is now installed in /etc/${PN}"
90 - einfo "you might want to edit those files."
91 - einfo
92 - einfo "A sample cronjob is installed into /etc/cron.daily"
93 - einfo "without executable bit (system service is the preferred method now)"
94 -}
95
96 diff --git a/app-admin/mcelog/mcelog-166.ebuild b/app-admin/mcelog/mcelog-166.ebuild
97 deleted file mode 100644
98 index 557b542b3a9..00000000000
99 --- a/app-admin/mcelog/mcelog-166.ebuild
100 +++ /dev/null
101 @@ -1,58 +0,0 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=6
106 -
107 -inherit linux-info systemd toolchain-funcs
108 -
109 -DESCRIPTION="A tool to log and decode Machine Check Exceptions"
110 -HOMEPAGE="http://mcelog.org/"
111 -SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
112 -
113 -LICENSE="GPL-2"
114 -SLOT="0"
115 -KEYWORDS="~amd64 ~x86"
116 -IUSE="selinux"
117 -
118 -RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
119 -
120 -# TODO: add mce-inject to the tree to support test phase
121 -RESTRICT="test"
122 -
123 -pkg_pretend() {
124 - if [[ ${MERGE_TYPE} != buildonly ]]; then
125 - local CONFIG_CHECK="~X86_MCE"
126 - kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
127 - check_extra_config
128 - fi
129 -}
130 -
131 -src_prepare() {
132 - eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
133 - "${FILESDIR}"/${PN}-129-debugflags.patch
134 - eapply_user
135 - tc-export CC
136 -}
137 -
138 -src_install() {
139 - default
140 -
141 - insinto /etc/cron.daily
142 - newins ${PN}.cron ${PN}
143 -
144 - insinto /etc/logrotate.d/
145 - newins ${PN}.logrotate ${PN}
146 -
147 - newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
148 - systemd_dounit "${FILESDIR}"/${PN}.service
149 -
150 - dodoc *.pdf
151 -}
152 -
153 -pkg_postinst() {
154 - einfo "The default configuration set is now installed in /etc/${PN}"
155 - einfo "you might want to edit those files."
156 - einfo
157 - einfo "A sample cronjob is installed into /etc/cron.daily"
158 - einfo "without executable bit (system service is the preferred method now)"
159 -}
160
161 diff --git a/app-admin/mcelog/mcelog-164.ebuild b/app-admin/mcelog/mcelog-168.ebuild
162 similarity index 97%
163 rename from app-admin/mcelog/mcelog-164.ebuild
164 rename to app-admin/mcelog/mcelog-168.ebuild
165 index 557b542b3a9..e0b67a2d755 100644
166 --- a/app-admin/mcelog/mcelog-164.ebuild
167 +++ b/app-admin/mcelog/mcelog-168.ebuild
168 @@ -1,4 +1,4 @@
169 -# Copyright 1999-2019 Gentoo Authors
170 +# Copyright 1999-2020 Gentoo Authors
171 # Distributed under the terms of the GNU General Public License v2
172
173 EAPI=6