summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-01 01:16:46 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-01 01:16:46 +0000
commit5bed4d7129138692b0a22f066c005a6a26f29c7e (patch)
tree4d6cc30d6abd21872b3ad301eea2d858bdf612d5 /sys-apps/microcode-ctl
parentstop using this file; it is too confusing with arch.list ... if your repoman ... (diff)
downloadhistorical-5bed4d7129138692b0a22f066c005a6a26f29c7e.tar.gz
historical-5bed4d7129138692b0a22f066c005a6a26f29c7e.tar.bz2
historical-5bed4d7129138692b0a22f066c005a6a26f29c7e.zip
ver bump #60396
Diffstat (limited to 'sys-apps/microcode-ctl')
-rw-r--r--sys-apps/microcode-ctl/ChangeLog8
-rw-r--r--sys-apps/microcode-ctl/Manifest22
-rw-r--r--sys-apps/microcode-ctl/files/digest-microcode-ctl-1.081
-rw-r--r--sys-apps/microcode-ctl/files/microcode_ctl.conf.d5
-rw-r--r--sys-apps/microcode-ctl/files/microcode_ctl.rc14
-rw-r--r--sys-apps/microcode-ctl/microcode-ctl-1.08.ebuild45
6 files changed, 90 insertions, 5 deletions
diff --git a/sys-apps/microcode-ctl/ChangeLog b/sys-apps/microcode-ctl/ChangeLog
index 489fdb896549..e8bc6ede0477 100644
--- a/sys-apps/microcode-ctl/ChangeLog
+++ b/sys-apps/microcode-ctl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/microcode-ctl
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/ChangeLog,v 1.7 2004/06/24 22:16:01 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/ChangeLog,v 1.8 2004/09/01 01:16:46 vapier Exp $
+
+*microcode-ctl-1.08 (31 Aug 2004)
+
+ 31 Aug 2004; Mike Frysinger <vapier@gentoo.org> +files/microcode_ctl.conf.d,
+ +files/microcode_ctl.rc, +microcode-ctl-1.08.ebuild:
+ Version bump and init.d scripts #60396 by Michael Cramer.
*microcode-ctl-1.07-r1 (05 Jun 2004)
diff --git a/sys-apps/microcode-ctl/Manifest b/sys-apps/microcode-ctl/Manifest
index bda964ac399d..d39c434820d0 100644
--- a/sys-apps/microcode-ctl/Manifest
+++ b/sys-apps/microcode-ctl/Manifest
@@ -1,8 +1,22 @@
-MD5 49cd5caa4c3af267488c8cdc08dc65cc microcode-ctl-1.07-r1.ebuild 1318
-MD5 7cf0ec0a7537f1798279ac1975f4942c microcode-ctl-1.06-r1.ebuild 1381
-MD5 c1bfb5787b0a04e199cda1f74e160256 microcode-ctl-1.07.ebuild 1323
-MD5 64a562d05cffe880dcdaa9a4ffc45378 ChangeLog 1687
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 8aae4d27cd2afa4f9f49671fd425576f ChangeLog 1915
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 c1bfb5787b0a04e199cda1f74e160256 microcode-ctl-1.07.ebuild 1323
+MD5 7cf0ec0a7537f1798279ac1975f4942c microcode-ctl-1.06-r1.ebuild 1381
+MD5 49cd5caa4c3af267488c8cdc08dc65cc microcode-ctl-1.07-r1.ebuild 1318
+MD5 f2afbdfd909a839f5b002c6110e0c6d4 microcode-ctl-1.08.ebuild 1189
+MD5 7fdce1504a1132239d2dbc1fbce08d66 files/microcode_ctl.rc 439
MD5 28fbe71f2e1e505f2f749bcf2ad15452 files/digest-microcode-ctl-1.07 151
MD5 d7008d6229625e357c4168a2b7e63bb1 files/digest-microcode-ctl-1.06-r1 151
MD5 61018eeebaafae71bedeeef06fcc6725 files/digest-microcode-ctl-1.07-r1 148
+MD5 640b043c1686437b589af2fe46960383 files/digest-microcode-ctl-1.08 70
+MD5 85f8e6009559afc8ff1d4b73ffa663b7 files/microcode_ctl.conf.d 267
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBNSMJHTu7gpaalycRArtvAJ9hXEPngoEc28ICmT4r4WnrKMNccQCeJPoo
+3vPQpwpQuVVifqAEYsCxV2Q=
+=l4ZZ
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/microcode-ctl/files/digest-microcode-ctl-1.08 b/sys-apps/microcode-ctl/files/digest-microcode-ctl-1.08
new file mode 100644
index 000000000000..4f8e7ce8e56e
--- /dev/null
+++ b/sys-apps/microcode-ctl/files/digest-microcode-ctl-1.08
@@ -0,0 +1 @@
+MD5 b0cb86263c136b5bf7a44c723cb6996e microcode_ctl-1.08.tar.gz 171306
diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.conf.d b/sys-apps/microcode-ctl/files/microcode_ctl.conf.d
new file mode 100644
index 000000000000..4bfbe2f40733
--- /dev/null
+++ b/sys-apps/microcode-ctl/files/microcode_ctl.conf.d
@@ -0,0 +1,5 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/files/microcode_ctl.conf.d,v 1.1 2004/09/01 01:16:46 vapier Exp $
+
+MICROCODE_DEV="/dev/cpu/microcode"
diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.rc b/sys-apps/microcode-ctl/files/microcode_ctl.rc
new file mode 100644
index 000000000000..cac4fc58b9ea
--- /dev/null
+++ b/sys-apps/microcode-ctl/files/microcode_ctl.rc
@@ -0,0 +1,14 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/files/microcode_ctl.rc,v 1.1 2004/09/01 01:16:46 vapier Exp $
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Updating microcode"
+ /usr/sbin/microcode_ctl -iqu -d ${MICROCODE_DEV}
+ eend $? "Failed to update microcode via '${MICROCODE_DEV}'"
+}
diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.08.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.08.ebuild
new file mode 100644
index 000000000000..1fd306c030ee
--- /dev/null
+++ b/sys-apps/microcode-ctl/microcode-ctl-1.08.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/microcode-ctl-1.08.ebuild,v 1.1 2004/09/01 01:16:46 vapier Exp $
+
+inherit gcc
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Intel IA32 microcode update utility"
+HOMEPAGE="http://www.urbanmyth.org/microcode"
+SRC_URI="http://www.urbanmyth.org/microcode/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/os-headers"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ emake \
+ CC="$(gcc-getCC)" \
+ CFLAGS="${CFLAGS} -I${ROOT}/usr/include" \
+ || die "compile problem"
+}
+
+src_install() {
+ dosbin microcode_ctl || die "dosbin"
+ doman microcode_ctl.8
+ dodoc Changelog README
+
+ insinto /etc
+ newins intel-ia32microcode-27July2004.txt microcode.dat
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/microcode_ctl.rc microcode_ctl
+ insinto /etc/conf.d ; newexe ${FILESDIR}/microcode_ctl.conf.d microcode_ctl
+}
+
+pkg_postinst() {
+ ewarn "Your kernel must include microcode update support."
+ echo
+ einfo "Microcode updates will be lost at every reboot."
+ einfo "You can use the init.d script to update at boot time."
+}