Gentoo Archives: gentoo-commits

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