diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-04 18:55:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-04 18:55:01 +0000 |
commit | 423d21dcfee183cc4b04d29c1621615e8c30f834 (patch) | |
tree | 23bd6110b9a77b8d679b5ab60fb7663b8627f698 /sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild | |
parent | 81e4fbcb846ed1cabdad699c0029b166dd7273b7 (diff) |
gentoo resync : 04.01.2018
Diffstat (limited to 'sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild')
-rw-r--r-- | sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild deleted file mode 100644 index 0943b22c05d7..000000000000 --- a/sys-apps/microcode-ctl/microcode-ctl-1.27.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." -} |