Version bump and init.d update #70781 by Christian Skarby.
authorMike Frysinger <vapier@gentoo.org>
Sun, 14 Nov 2004 06:47:21 +0000 (06:47 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 14 Nov 2004 06:47:21 +0000 (06:47 +0000)
sys-apps/microcode-ctl/ChangeLog
sys-apps/microcode-ctl/Manifest
sys-apps/microcode-ctl/files/digest-microcode-ctl-1.11 [new file with mode: 0644]
sys-apps/microcode-ctl/files/microcode_ctl.rc
sys-apps/microcode-ctl/microcode-ctl-1.11.ebuild [new file with mode: 0644]

index 567fab67b9c35498c5019e038105ab4d2ceddcd5..a495aaae717f888b093bc3f0c6e0e43e4b201cd8 100644 (file)
@@ -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.10 2004/10/30 22:40:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/ChangeLog,v 1.11 2004/11/14 06:47:21 vapier Exp $
+
+*microcode-ctl-1.11 (14 Nov 2004)
+
+  14 Nov 2004; Mike Frysinger <vapier@gentoo.org> files/microcode_ctl.rc,
+  +microcode-ctl-1.11.ebuild:
+  Version bump and init.d update #70781 by Christian Skarby.
 
 *microcode-ctl-1.10 (30 Oct 2004)
 
index 5e17e7e493a8f60bfc1bf401da09ae5f2cd7b99e..7f5812b77e25eb902abceb69b00e7f383b4c71d8 100644 (file)
@@ -1,16 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 ad5c6b832c14726384b6f8b3e9b715d4 ChangeLog 2234
+MD5 f05cb94bafe3844a45c84eac3426d7ee ChangeLog 2435
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 465d692ac8702596ac216b3eb2320490 microcode-ctl-1.11.ebuild 1165
 MD5 e4ab99afa45409c6a78939cf632c10e4 microcode-ctl-1.10.ebuild 1165
 MD5 1df04769a594a38cffc1f8a077fc3fa9 files/digest-microcode-ctl-1.10 70
-MD5 7fdce1504a1132239d2dbc1fbce08d66 files/microcode_ctl.rc 439
+MD5 95e076b988c73349d2606d4ecd052a56 files/digest-microcode-ctl-1.11 70
+MD5 dba18ac7a7761ad3802e4c146bb25a6d files/microcode_ctl.rc 438
 MD5 cf9bec50cc6330e817b856deb0cf00f5 files/microcode_ctl.conf.d 263
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFBlvzwHTu7gpaalycRApuxAJ4gjMCmBc+1+viYBCJ9W39jIIlCPgCgl3St
-hcq9CpotMyKVfVv+/a+re/o=
-=fh1j
+iD8DBQFBlv+mHTu7gpaalycRAkS6AJ95X1VTdYRbUM7OxbzQkTQRygJZWACgxF4h
+iMRVjOLjY5LpZ++rntKpv10=
+=wo+e
 -----END PGP SIGNATURE-----
diff --git a/sys-apps/microcode-ctl/files/digest-microcode-ctl-1.11 b/sys-apps/microcode-ctl/files/digest-microcode-ctl-1.11
new file mode 100644 (file)
index 0000000..928195b
--- /dev/null
@@ -0,0 +1 @@
+MD5 11a4e153bf3e7cfdb82e80266f783ae7 microcode_ctl-1.11.tar.gz 199303
index cac4fc58b9ea78451a18f16726e196995bf9a174..a0b4b3aaddb7427ffcfa1d68e3d5ec20bd7be2ca 100644 (file)
@@ -1,7 +1,7 @@
 #!/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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-ctl/files/microcode_ctl.rc,v 1.2 2004/11/14 06:47:21 vapier Exp $
 
 depend() {
        need localmount
@@ -9,6 +9,6 @@ depend() {
 
 start() {
        ebegin "Updating microcode"
-       /usr/sbin/microcode_ctl -iqu -d ${MICROCODE_DEV}
+       /usr/sbin/microcode_ctl -qu -d ${MICROCODE_DEV}
        eend $? "Failed to update microcode via '${MICROCODE_DEV}'"
 }
diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.11.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.11.ebuild
new file mode 100644 (file)
index 0000000..4109195
--- /dev/null
@@ -0,0 +1,47 @@
+# 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.11.ebuild,v 1.1 2004/11/14 06:47:21 vapier Exp $
+
+inherit toolchain-funcs
+
+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="-* amd64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="virtual/os-headers
+       >=sys-apps/portage-2.0.51"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+       emake \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS}" \
+               || die "compile problem"
+}
+
+src_install() {
+       dosbin microcode_ctl || die "dosbin"
+       doman microcode_ctl.8
+       dodoc Changelog README
+
+       insinto /etc
+       newins intel-ia32microcode-*.txt microcode.dat
+
+       newinitd ${FILESDIR}/microcode_ctl.rc microcode_ctl
+       newconfd ${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."
+}