diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-09-09 14:24:14 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-09-09 14:35:38 +0300 |
commit | 6915ad825559f329b8d2989ab232932906a8cbf4 (patch) | |
tree | 4b1d7c5fc1df9b374f6d82939fbe851f6ea83b5b | |
parent | net-fs/mc: Add myself as maintainer (diff) | |
download | gentoo-6915ad825559f329b8d2989ab232932906a8cbf4.tar.gz gentoo-6915ad825559f329b8d2989ab232932906a8cbf4.tar.bz2 gentoo-6915ad825559f329b8d2989ab232932906a8cbf4.zip |
sys-apps/microcode-ctl: remove last rited package
-rw-r--r-- | sys-apps/microcode-ctl/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/files/microcode_ctl.conf.d | 11 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/files/microcode_ctl.rc | 24 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 | 24 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/metadata.xml | 8 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild | 50 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild | 49 | ||||
-rw-r--r-- | sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild | 49 |
8 files changed, 0 insertions, 218 deletions
diff --git a/sys-apps/microcode-ctl/Manifest b/sys-apps/microcode-ctl/Manifest deleted file mode 100644 index afecd598fa1f..000000000000 --- a/sys-apps/microcode-ctl/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST microcode_ctl-1.23.tar.xz 755448 BLAKE2B ad7811536584343254fee8ee77a192834ef3aedac49615d8a4d6dd46f8ad68f01d1a01ee8e54988ade5f6878dc903da0c9f08a93f5efed041cc7bd43c864969c SHA512 f33b4fd43c39b3d4e9b6eb9a12285c7ea26ee43e6c4aa1e45f9aa92a0d2b7d55d1a950ee82d8aea5c86faa15dd1e85e829719b6c772a2c09f262bea630bc7edb -DIST microcode_ctl-1.28.tar.xz 876760 BLAKE2B 8523bdc59ab21a6ec2e1110116bfb4c7a18e859e7f1da65d9e765274b47d5c1909d61eb18017ecc9369b7eedb43cf11cbdc495439aaf1c525bc8d8f7c63ca3a0 SHA512 ed5deb0f96c895b7783c23a1c91d2e03f713a793a21140b049e1b5f08f553dce103b4a11016ebd5076424b1032342d009d952e0089badfea2e91ad486d2cf7f8 -DIST microcode_ctl-1.36.tar.xz 3553884 BLAKE2B 0667971e546a135aba6c49f7eb04908595540ab3ecaebbb175cabda0aeb3396fdb145245a7fab44ec095f447f88e3b78990b22cd4f07568ac4b80ef321109fa1 SHA512 be35b670eba65747aef8bc7a78e989d3481fa0cbfb1635332821da75decef2540f3249ab6ecbe5b95f4d52e9a982cda2c7df31d2f406c0ba27c0354b6b70c2bc diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.conf.d b/sys-apps/microcode-ctl/files/microcode_ctl.conf.d deleted file mode 100644 index 0505a80ae92b..000000000000 --- a/sys-apps/microcode-ctl/files/microcode_ctl.conf.d +++ /dev/null @@ -1,11 +0,0 @@ -# /etc/conf.d/microcode_ctl - -# Device to pass to microcode_ctl - -MICROCODE_DEV="/dev/cpu/microcode" - - -# Should we try to unload the microcode module after we -# update the cpu microcode ? - -MICROCODE_UNLOAD="yes" diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.rc b/sys-apps/microcode-ctl/files/microcode_ctl.rc deleted file mode 100644 index 2169e24ea85d..000000000000 --- a/sys-apps/microcode-ctl/files/microcode_ctl.rc +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need localmount -} - -start() { - local ret - - # Make sure the kernel supports the microcode device ... - # if it doesnt, try to modprobe the kernel module - grep -qs ' microcode$' /proc/misc || modprobe -q microcode - - ebegin "Updating microcode" - microcode_ctl -qu -d ${MICROCODE_DEV} - ret=$? - eend ${ret} "Failed to update microcode via '${MICROCODE_DEV}'" - - [ "${MICROCODE_UNLOAD}" = "yes" ] && rmmod microcode >/dev/null 2>&1 - - return ${ret} -} diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 b/sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 deleted file mode 100644 index ed08c4a954b8..000000000000 --- a/sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need localmount -} - -start() { - local ret - - # Make sure the kernel supports the microcode device ... - # if it doesnt, try to modprobe the kernel module - grep -qs ' microcode$' /proc/misc || modprobe -q microcode - - ebegin "Updating microcode" - microcode_ctl -qu -f /lib/firmware/microcode.dat -d ${MICROCODE_DEV} - ret=$? - eend ${ret} "Failed to update microcode via '${MICROCODE_DEV}'" - - [ "${MICROCODE_UNLOAD}" = "yes" ] && rmmod microcode >/dev/null 2>&1 - - return ${ret} -} diff --git a/sys-apps/microcode-ctl/metadata.xml b/sys-apps/microcode-ctl/metadata.xml deleted file mode 100644 index 56c124413057..000000000000 --- a/sys-apps/microcode-ctl/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> -</maintainer> -</pkgmetadata> diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild deleted file mode 100644 index 1eb00abb9289..000000000000 --- a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit linux-info toolchain-funcs - -MY_P=${PN/-/_}-${PV} -DESCRIPTION="Intel processor microcode update utility" -HOMEPAGE="https://fedorahosted.org/microcode_ctl/" -SRC_URI="https://fedorahosted.org/released/${PN/-/_}/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="selinux" - -DEPEND="" -RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)] - selinux? ( sec-policy/selinux-cpucontrol )" - -S=${WORKDIR}/${MY_P} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" -} - -src_install() { - dosbin microcode_ctl - doman microcode_ctl.8 - dodoc Changelog README - - newinitd "${FILESDIR}"/microcode_ctl.rc-r1 microcode_ctl - newconfd "${FILESDIR}"/microcode_ctl.conf.d microcode_ctl -} - -pkg_postinst() { - # Just a friendly warning - if ! linux_config_exists || ! linux_chkconfig_present MICROCODE; then - echo - ewarn "Your kernel must include microcode update support." - ewarn " Processor type and features --->" - ewarn " <*> /dev/cpu/microcode - microcode support" - echo - fi - elog "Microcode updates will be lost at every reboot." - elog "You can use the init.d script to update at boot time." -} diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild deleted file mode 100644 index 5385973e6115..000000000000 --- a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs versionator - -MY_P=${PN/-/_}-${PV} -DESCRIPTION="Intel processor microcode update utility" -HOMEPAGE="https://pagure.io/microcode_ctl" -SRC_URI="https://releases.pagure.org/${PN/-/_}/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="selinux" - -DEPEND="" -RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)] - selinux? ( sec-policy/selinux-cpucontrol )" - -S=${WORKDIR}/${MY_P} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" -} - -src_install() { - dosbin microcode_ctl - doman microcode_ctl.8 - dodoc Changelog README -} - -pkg_preinst() { - local _v - for _v in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 1.28-r1 ${_v}; then - # This is an upgrade - elog "The init scripts have been removed as they are unsafe. If you want to update" - elog "the microcode in your system, please use an initramfs. See bug #528712#41 for" - elog "details (and bug #557278 for genkernel users)." - fi - - # Show this elog only once - break - done -} diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild deleted file mode 100644 index 4ca58a106615..000000000000 --- a/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs versionator - -MY_P=${PN/-/_}-${PV} -DESCRIPTION="Intel processor microcode update utility" -HOMEPAGE="https://pagure.io/microcode_ctl" -SRC_URI="https://releases.pagure.org/${PN/-/_}/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="selinux" - -DEPEND="" -RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)] - selinux? ( sec-policy/selinux-cpucontrol )" - -S=${WORKDIR}/${MY_P} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" -} - -src_install() { - dosbin microcode_ctl - doman microcode_ctl.8 - dodoc Changelog README -} - -pkg_preinst() { - local _v - for _v in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 1.28-r1 ${_v}; then - # This is an upgrade - elog "The init scripts have been removed as they are unsafe. If you want to update" - elog "the microcode in your system, please use an initramfs. See bug #528712#41 for" - elog "details (and bug #557278 for genkernel users)." - fi - - # Show this elog only once - break - done -} |