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