public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2018-01-01 19:07 Thomas Deutschmann
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Deutschmann @ 2018-01-01 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1d20ff6ca2a746f96b668c1b1d5c22ee5b742965
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 19:00:01 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 19:07:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d20ff6c

sys-apps/microcode-ctl: Rev bump for EAPI bump

HOMEPAGE and SRC_URI changed from Fedorahosted pagure.io. [Bug 618058]

Closes: https://bugs.gentoo.org/618058
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../microcode-ctl/microcode-ctl-1.28-r2.ebuild     | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild
new file mode 100644
index 00000000000..4ca58a10661
--- /dev/null
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild
@@ -0,0 +1,49 @@
+# 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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2018-01-04 10:00 Lars Wendler
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Wendler @ 2018-01-04 10:00 UTC (permalink / raw
  To: gentoo-commits

commit:     f14312d7bb13aa7b9c79cc00d92397857881ef40
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 10:00:23 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 10:00:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14312d7

sys-apps/microcode-ctl: Removed old.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/microcode-ctl/Manifest                    |  1 -
 sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild   | 50 ----------------------
 .../microcode-ctl/microcode-ctl-1.28-r1.ebuild     | 42 ------------------
 sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild   | 50 ----------------------
 4 files changed, 143 deletions(-)

diff --git a/sys-apps/microcode-ctl/Manifest b/sys-apps/microcode-ctl/Manifest
index 84bca224328..afecd598fa1 100644
--- a/sys-apps/microcode-ctl/Manifest
+++ b/sys-apps/microcode-ctl/Manifest
@@ -1,4 +1,3 @@
 DIST microcode_ctl-1.23.tar.xz 755448 BLAKE2B ad7811536584343254fee8ee77a192834ef3aedac49615d8a4d6dd46f8ad68f01d1a01ee8e54988ade5f6878dc903da0c9f08a93f5efed041cc7bd43c864969c SHA512 f33b4fd43c39b3d4e9b6eb9a12285c7ea26ee43e6c4aa1e45f9aa92a0d2b7d55d1a950ee82d8aea5c86faa15dd1e85e829719b6c772a2c09f262bea630bc7edb
-DIST microcode_ctl-1.27.tar.xz 856240 BLAKE2B c9811226e0ad4d26d3ca82b90d8fc34486bb88e7d4e811e543fbd88da8ca2f5cd4b8f9a535f804f2690b0c02e2ac8ab686837a0bf14facd3e792ac1e7502ce1a SHA512 ac4bce583f756b777488605687fe1bef0038763ed4a0afc51b454140f00caf04ef8a6d790d95684aa82c857f9cefd59b2413b96ad3d0c349da4b88166c5aa556
 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/microcode-ctl-1.27.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
deleted file mode 100644
index 0943b22c05d..00000000000
--- 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."
-}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
deleted file mode 100644
index f7ff8cd2c45..00000000000
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit 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
-}
-
-pkg_preinst() {
-	if has_version "<${CATEGORY}/${PN}-1.28-r1" ; then
-		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
-}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
deleted file mode 100644
index 0943b22c05d..00000000000
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28.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."
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2018-01-04 10:00 Lars Wendler
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Wendler @ 2018-01-04 10:00 UTC (permalink / raw
  To: gentoo-commits

commit:     fffca5afe1723cb9aac20ede7650d84cf338e15d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 09:59:51 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 10:00:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fffca5af

sys-apps/microcode-ctl: Bump to version 1.36

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/microcode-ctl/Manifest                  |  1 +
 sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild | 49 ++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sys-apps/microcode-ctl/Manifest b/sys-apps/microcode-ctl/Manifest
index b80549aef65..84bca224328 100644
--- a/sys-apps/microcode-ctl/Manifest
+++ b/sys-apps/microcode-ctl/Manifest
@@ -1,3 +1,4 @@
 DIST microcode_ctl-1.23.tar.xz 755448 BLAKE2B ad7811536584343254fee8ee77a192834ef3aedac49615d8a4d6dd46f8ad68f01d1a01ee8e54988ade5f6878dc903da0c9f08a93f5efed041cc7bd43c864969c SHA512 f33b4fd43c39b3d4e9b6eb9a12285c7ea26ee43e6c4aa1e45f9aa92a0d2b7d55d1a950ee82d8aea5c86faa15dd1e85e829719b6c772a2c09f262bea630bc7edb
 DIST microcode_ctl-1.27.tar.xz 856240 BLAKE2B c9811226e0ad4d26d3ca82b90d8fc34486bb88e7d4e811e543fbd88da8ca2f5cd4b8f9a535f804f2690b0c02e2ac8ab686837a0bf14facd3e792ac1e7502ce1a SHA512 ac4bce583f756b777488605687fe1bef0038763ed4a0afc51b454140f00caf04ef8a6d790d95684aa82c857f9cefd59b2413b96ad3d0c349da4b88166c5aa556
 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/microcode-ctl-1.36.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild
new file mode 100644
index 00000000000..4ca58a10661
--- /dev/null
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild
@@ -0,0 +1,49 @@
+# 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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2018-01-04  9:58 Tobias Klausmann
  0 siblings, 0 replies; 7+ messages in thread
From: Tobias Klausmann @ 2018-01-04  9:58 UTC (permalink / raw
  To: gentoo-commits

commit:     9045549470a359903e75bf2ec9abcf5642341111
Author:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 09:57:59 2018 +0000
Commit:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 09:57:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90455494

sys-apps/microcode-ctl-1.28-r2: amd64 stable

Gentoo-Bug: http://bugs.gentoo.org/643010

 sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild
index 4ca58a10661..c6baaaeb0bd 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://releases.pagure.org/${PN/-/_}/${MY_P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2017-07-01 15:12 Sven Wegener
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Wegener @ 2017-07-01 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     07a64ecf199821fb1ee301d4f7415a9be0870469
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 15:33:08 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 15:12:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a64ecf

sys-apps/microcode-ctl: Require monolithic intel-microcode

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild    | 4 ++--
 sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild    | 4 ++--
 sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild | 4 ++--
 sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild    | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild
index b8b3dab707b..1eb00abb928 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -16,7 +16,7 @@ KEYWORDS="-* amd64 x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-firmware/intel-microcode-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)]
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
index 63ddd20dbcb..0943b22c05d 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-firmware/intel-microcode-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)]
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
index ab1814afb13..f7ff8cd2c45 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-firmware/intel-microcode-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)]
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
index 63ddd20dbcb..0943b22c05d 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-firmware/intel-microcode-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)]
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2016-06-24 19:45 Doug Goldstein
  0 siblings, 0 replies; 7+ messages in thread
From: Doug Goldstein @ 2016-06-24 19:45 UTC (permalink / raw
  To: gentoo-commits

commit:     d4f9984d8b9d65dc7437f2e5685da2ee8ba835b1
Author:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 19:45:18 2016 +0000
Commit:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 19:45:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f9984d

sys-apps/microcode-ctl: sys-app/microcode-data -> sys-firmware/intel-microcode

Package-Manager: portage-2.2.28
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>

 sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild    | 2 +-
 sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild    | 2 +-
 sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild | 2 +-
 sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild
index 1d9e1b2..8c15728 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="-* amd64 x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-apps/microcode-data-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
index bb90b80..7781ba3 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.27.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-apps/microcode-data-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
index 3aaef2b..18cdeab 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-apps/microcode-data-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
index bb90b80..7781ba3 100644
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE="selinux"
 
 DEPEND=""
-RDEPEND=">=sys-apps/microcode-data-20090330
+RDEPEND=">=sys-firmware/intel-microcode-20090330
 	selinux? ( sec-policy/selinux-cpucontrol )"
 
 S=${WORKDIR}/${MY_P}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/
@ 2015-08-11  6:34 Mike Frysinger
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2015-08-11  6:34 UTC (permalink / raw
  To: gentoo-commits

commit:     719cc5ef240b766953ddbe1e7a6593f8091eed12
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 06:28:16 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 06:34:22 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719cc5ef

microcode-ctl: stop installing the init script

Updating microcode on the fly is dangerous as it can modify the set of
valid instructions.  An active example of this is Intel's TSX insns --
the latest microcode push disables the insn on newer CPUs and causes
SIGILL when you try to use it.  But if you test for the insn before the
microcode is updated, it will execute fine.  For daemons that launched
before the update, they'll find the flag works, and then crash later on
when the insn no longer exists.

Thus the only safe way to update microcode is at boot time via a builtin
initramfs.  Details on this operation can be found in #528712#41.

 .../microcode-ctl/microcode-ctl-1.28-r1.ebuild     | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
new file mode 100644
index 0000000..3aaef2b
--- /dev/null
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.28-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit 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-apps/microcode-data-20090330
+	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() {
+	if has_version "<${CATEGORY}/${PN}-1.28-r1" ; then
+		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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-04 10:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-01 19:07 [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-ctl/ Thomas Deutschmann
  -- strict thread matches above, loose matches on Subject: below --
2018-01-04 10:00 Lars Wendler
2018-01-04 10:00 Lars Wendler
2018-01-04  9:58 Tobias Klausmann
2017-07-01 15:12 Sven Wegener
2016-06-24 19:45 Doug Goldstein
2015-08-11  6:34 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox