summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-12-28 12:54:04 -0600
committerBen Kohler <bkohler@gentoo.org>2020-12-28 12:54:04 -0600
commit761856488fbf78bd1b4c237ccba2b645060ca7c5 (patch)
treebfc8c0248186abe23584263100fc68887604a2da /app-admin
parentx11-wm/blackbox: drop old (diff)
downloadgentoo-761856488fbf78bd1b4c237ccba2b645060ca7c5.tar.gz
gentoo-761856488fbf78bd1b4c237ccba2b645060ca7c5.tar.bz2
gentoo-761856488fbf78bd1b4c237ccba2b645060ca7c5.zip
app-admin/mcelog: drop old
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/mcelog/files/mcelog.service10
-rw-r--r--app-admin/mcelog/mcelog-173.ebuild58
2 files changed, 0 insertions, 68 deletions
diff --git a/app-admin/mcelog/files/mcelog.service b/app-admin/mcelog/files/mcelog.service
deleted file mode 100644
index 4bd553012c95..000000000000
--- a/app-admin/mcelog/files/mcelog.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Machine Check Exception Logging Daemon
-After=syslog.target
-
-[Service]
-ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground
-StandardOutput=syslog
-
-[Install]
-WantedBy=multi-user.target
diff --git a/app-admin/mcelog/mcelog-173.ebuild b/app-admin/mcelog/mcelog-173.ebuild
deleted file mode 100644
index c298cf562247..000000000000
--- a/app-admin/mcelog/mcelog-173.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit linux-info systemd toolchain-funcs
-
-DESCRIPTION="A tool to log and decode Machine Check Exceptions"
-HOMEPAGE="http://mcelog.org/"
-SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="selinux"
-
-RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
-
-# TODO: add mce-inject to the tree to support test phase
-RESTRICT="test"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != buildonly ]]; then
- local CONFIG_CHECK="~X86_MCE"
- kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
- check_extra_config
- fi
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
- "${FILESDIR}"/${PN}-129-debugflags.patch
- eapply_user
- tc-export CC
-}
-
-src_install() {
- default
-
- insinto /etc/cron.daily
- newins ${PN}.cron ${PN}
-
- insinto /etc/logrotate.d/
- newins ${PN}.logrotate ${PN}
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- dodoc *.pdf
-}
-
-pkg_postinst() {
- einfo "The default configuration set is now installed in /etc/${PN}"
- einfo "you might want to edit those files."
- einfo
- einfo "A sample cronjob is installed into /etc/cron.daily"
- einfo "without executable bit (system service is the preferred method now)"
-}