Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3119acc111ce107573dc9bdd8f6c41f0fce6e05e

commit 3119acc111ce107573dc9bdd8f6c41f0fce6e05e
Author: James Buren <[email protected]>
Date:   Sat Jul 28 01:29:59 2012 -0500

microcode_ctl-1.17-3-x86_64
* remove package

diff --git a/source/apps-extra/microcode_ctl/FrugalBuild 
b/source/apps-extra/microcode_ctl/FrugalBuild
deleted file mode 100644
index 458e25a..0000000
--- a/source/apps-extra/microcode_ctl/FrugalBuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Compiling time: 0.01 SBU
-# Maintainer: Christian Hamar alias krix <[email protected]>
-
-pkgname=microcode_ctl
-pkgver=1.17
-pkgrel=3
-pkgdesc="Intel IA32 CPU Microcode Utility"
-url="http://www.urbanmyth.org/microcode/";
-depends=('glibc')
-makedepends=('kernel-headers')
-groups=('apps-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump http://www.urbanmyth.org/microcode/|grep gz$|sed 
's/.*-\(.*\)\.t.*/\1/;q'"
-source=(http://www.urbanmyth.org/microcode/$pkgname-$pkgver.tar.gz 
rc.microcode_ctl \
-    microcode_ctl.patch rc.microcode_ctl-hu.po)
-
-build() {
-       Fcd
-       Fpatchall
-       Fmake
-       Fmkdir /usr/share/misc
-       make DESTDIR="$Fdestdir" PREFIX="/usr" install || Fdie
-#      Frcd microcode_ctl
-       Frcd2
-}
-
-sha1sums=('3c32cf0b3658018a4d0de203aebdb96dce6f68d6' \
-          '3678e3f020bdc3a3566fd45cdc948b460ccdcf10' \
-          'b2def62528a5799970fbed5b9c2bab52f3dcb382' \
-          'f3c664501e2ea8f5a20f0074da2718d3ce5c39eb')
-
-# optimization OK
diff --git a/source/apps-extra/microcode_ctl/microcode_ctl.patch 
b/source/apps-extra/microcode_ctl/microcode_ctl.patch
deleted file mode 100644
index 5d99dd7..0000000
--- a/source/apps-extra/microcode_ctl/microcode_ctl.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-diff -Naur microcode_ctl-1.16.orig/Makefile microcode_ctl-1.16/Makefile
---- microcode_ctl-1.16.orig/Makefile   2007-02-06 19:03:21.000000000 +0100
-+++ microcode_ctl-1.16/Makefile        2007-02-06 19:03:27.000000000 +0100
-@@ -14,13 +14,13 @@
- INS           = install
- CC            = gcc
- KERNELHEADER    = /usr/src/linux/include
--CFLAGS                = -g -Wall -O2 -I $(KERNELHEADER)
-+CFLAGS                += -Wall -I $(KERNELHEADER)
-
- DESTDIR               =
- PREFIX                = /usr/local
-
- INSDIR                = $(PREFIX)/sbin
--MANDIR                = $(PREFIX)/man/man8
-+MANDIR                = $(PREFIX)/share/man/man8
- MICDIR                = /etc
-
- RCFILE                = microcode_ctl.start
-@@ -40,24 +40,14 @@
-       rm -f $(PROGRAM)
-
- install:
--      $(INS) -d       $(DESTDIR)$(INSDIR) $(DESTDIR)$(MICDIR) \
--                      $(DESTDIR)$(MANDIR) $(DESTDIR)$(RCFILETO) \
--                      $(DESTDIR)$(RCLINKTO)
-+      $(INS) -d $(DESTDIR)$(INSDIR) $(DESTDIR)$(MICDIR) $(DESTDIR)$(MANDIR)
-
--      $(INS) -s -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR)
--      $(INS) -m 644 $(MICROCODE) $(DESTDIR)$(MICDIR)/microcode.dat
-+      $(INS) -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR)
-+      $(INS) -m 644 $(MICROCODE) $(DESTDIR)/usr/share/misc/microcode.dat
-
-       $(INS) -m 644 $(MANPAGE) $(DESTDIR)$(MANDIR)
-       gzip -9f $(DESTDIR)$(MANDIR)/$(MANPAGE)
-
--      $(INS) -m 755 $(RCFILE) $(DESTDIR)$(RCFILETO)/$(RCFILEFINAL)
--
--ifndef DESTDIR
--              chkconfig --add $(RCFILEFINAL)
--else
--              echo "MAKE: Skipping chkconfig operation (rpm build?)"
--endif
--
- device:
-       mkdir -p $(DESTDIR)/dev/cpu
-       mknod $(DESTDIR)/dev/cpu/microcode c 10 184
-diff -Naur microcode_ctl-1.16.orig/microcode_ctl.8 
microcode_ctl-1.16/microcode_ctl.8
---- microcode_ctl-1.16.orig/microcode_ctl.8    2007-02-06 19:03:21.000000000 
+0100
-+++ microcode_ctl-1.16/microcode_ctl.8 2007-02-06 19:03:27.000000000 +0100
-@@ -49,7 +49,7 @@
- Upload microcode using defaults
- .SH FILES
- .TP
--/etc/microcode.dat
-+/usr/share/misc/microcode.dat
- The default microcode location
- .PD
- .SH AUTHOR
-diff -Naur microcode_ctl-1.16.orig/microcode_ctl.c 
microcode_ctl-1.16/microcode_ctl.c
---- microcode_ctl-1.16.orig/microcode_ctl.c    2007-02-06 19:03:21.000000000 
+0100
-+++ microcode_ctl-1.16/microcode_ctl.c 2007-02-06 19:03:35.000000000 +0100
-@@ -24,8 +24,8 @@
- #define BUFFER_SIZE   4096
- #define MAX_MICROCODE 2000000
-
--#define MICROCODE_DEVICE_DEFAULT      "/dev/cpu/microcode"
--#define MICROCODE_FILE_DEFAULT                "/etc/microcode.dat"
-+#define MICROCODE_DEVICE_DEFAULT      "/dev/cpu/microcode"
-+#define MICROCODE_FILE_DEFAULT                "/usr/share/misc/microcode.dat"
-
- static void usage(void)
- {
-@@ -52,11 +52,13 @@
- {
-       FILE *fp;
-       char line_buffer[BUFFER_SIZE];
--      int microcode[MAX_MICROCODE];
-+      int *microcode;
-       int *pos;
-       int outfd;
-       int wrote, length;
-
-+      microcode=malloc(sizeof(int)* MAX_MICROCODE);
-+      if (!microcode) return ENOMEM;
-
-       if( (fp=fopen(filename, "r")) == NULL){
-               if(print_error_messages)
-@@ -101,7 +103,7 @@
-               return errno;
-       }
-
--      if( (wrote = write(outfd, &microcode, length)) < 0){
-+      if( (wrote = write(outfd, microcode, length)) < 0){
-               if(print_error_messages)
-                       fprintf(stderr, "%s: error writing to '%s' errno=%d 
(%s)\n"
-                                       "%s: there may be messages from the 
driver in your system log.\n",
diff --git a/source/apps-extra/microcode_ctl/rc.microcode_ctl 
b/source/apps-extra/microcode_ctl/rc.microcode_ctl
deleted file mode 100644
index 6083cbf..0000000
--- a/source/apps-extra/microcode_ctl/rc.microcode_ctl
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/bash
-
-# (c) 2007 Christian Hamar alias krix <[email protected]>
-# rc.microcode_ctl for FrugalWare
-# distributed under GPL License
-
-# chkconfig: 2345 1 98
-# description: Updates Intel CPUs microcode at startup
-
-# Only root can do this :P
-[ `id -u` = 0 ] || exit 0
-
-DEVICE=/dev/cpu/microcode
-ARGS=-Qu
-PROGRAM=/usr/sbin/microcode
-DATAFILE=/usr/share/misc/microcode.dat
-
-source /lib/initscripts/functions
-TEXTDOMAIN=microcode_ctl
-TEXTDOMAINDIR=/lib/initscripts/messages
-
-
-actions=(start stop restart)
-
-rc_start()
-{
-       msg $"Updating Intel CPU microcode: "
-       # Make sure we are on an Intel machine
-       vendor=`grep "^vendor_id" /proc/cpuinfo | head -n1 | awk -F ": " '{ 
print $2 }'`
-       if [ "$vendor" != "GenuineIntel" ]; then
-           ok 999
-           hint $"Not an Intel CPU."
-           exit 0
-       fi
-
-       # Microcode wasn't available until 686's.
-       family=`grep "^cpu family" /proc/cpuinfo | head -n1 | awk -F ": " '{ 
print $2 }'`
-       if [ $family -lt 6 ]; then
-           ok 999
-           hint $"Not 686 or higher CPU."
-           exit 0
-       fi
-
-       if [ ! -e $DATAFILE ]; then
-           ok 1
-           hint $"missing microcode data file! ($DATAFILE)"
-           exit 1
-       fi
-
-       /sbin/modprobe microcode
-
-       lt=0
-       while [ ! -c $DEVICE ]; do
-           lt=$[lt+1];
-           [ $lt -gt 5 ] && break;
-           sleep 1;
-       done
-
-       # Let just be sure that device created...
-       if [ ! -e $DEVICE ]; then
-           ok 1
-           hint $"microcode device $DEVICE does not exists?"
-           exit 1
-       elif [ ! -c $DEVICE ]; then
-           ok 1
-           hint $"$DEVICE not a character device?"
-           exit 1
-       fi
-
-       $PROGRAM $ARGS &>/dev/null
-       RETVAL=$?
-
-       # trap the most common case, errno 19 = no device
-       if [ $RETVAL -eq 19 ]; then
-           ok 1
-           hint $"kernel does not have CPU microcode device support"
-           exit 1
-       fi
-
-
-       [ $RETVAL -eq 0 ] && /var/lock/subsys/microcode_ctl
-       ok 0
-}
-
-rc_stop()
-{
-       msg $"Removing microcode_ctl.."
-       /sbin/rmmod microcode
-       rm -f /var/lock/subsys/microcode_ctl
-       hint $"You need to reboot to clear uploaded microcode."
-       ok 0
-}
-
-rc_exec $1
-
diff --git a/source/apps-extra/microcode_ctl/rc.microcode_ctl-hu.po 
b/source/apps-extra/microcode_ctl/rc.microcode_ctl-hu.po
deleted file mode 100644
index c047844..0000000
--- a/source/apps-extra/microcode_ctl/rc.microcode_ctl-hu.po
+++ /dev/null
@@ -1,53 +0,0 @@
-# Hungarian translations for rc.microcode_ctl .
-# Copyright (C) 2007 THE rc.microcode_ctl's COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# Christian Hamar alias krix <[email protected]>, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: rc.microcode_ctl\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-06 18:58+0100\n"
-"PO-Revision-Date: 2007-02-06 18:58+0100\n"
-"Last-Translator: Christian Hamar alias krix <[email protected]>\n"
-"Language-Team: Hungarian <[email protected]>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-2\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-
-#: rc.microcode_ctl:27
-msgid "Updating Intel CPU microcode: "
-msgstr "Intep CPU microcode frissítés: "
-
-#: rc.microcode_ctl:32
-msgid "Not an Intel CPU."
-msgstr "Nem Intel CPU."
-
-#: rc.microcode_ctl:40
-msgid "Not 686 or higher CPU."
-msgstr "Nem 686-os széria vagy annál magasabb."
-
-#: rc.microcode_ctl:46
-msgid "missing microcode data file! ($DATAFILE)"
-msgstr "hiányzó microcode adat fájl! ($DATAFILE)"
-
-#: rc.microcode_ctl:62
-msgid "microcode device $DEVICE does not exists?"
-msgstr "a microcode eszköz $DEVICE nem létezik?"
-
-#: rc.microcode_ctl:66
-msgid "$DEVICE not a character device?"
-msgstr "a $DEVICE nem character eszköz?"
-
-#: rc.microcode_ctl:76
-msgid "kernel does not have CPU microcode device support"
-msgstr "a kernel nem támogatja a CPU microcode eszközt"
-
-#: rc.microcode_ctl:88
-msgid "Removing microcode_ctl lock."
-msgstr "microcode_ctl lock eltávolítása."
-
-#: rc.microcode_ctl:90
-msgid "You need to reboot to clear uploaded microcode."
-msgstr "A microcode újraindításnál törlõdik."
diff --git a/source/apps-extra/microcode_ctl/rc.microcode_ctl.pot 
b/source/apps-extra/microcode_ctl/rc.microcode_ctl.pot
deleted file mode 100644
index a29cf24..0000000
--- a/source/apps-extra/microcode_ctl/rc.microcode_ctl.pot
+++ /dev/null
@@ -1,53 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-06 18:58+0100\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <[email protected]>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: rc.microcode_ctl:27
-msgid "Updating Intel CPU microcode: "
-msgstr ""
-
-#: rc.microcode_ctl:32
-msgid "Not an Intel CPU."
-msgstr ""
-
-#: rc.microcode_ctl:40
-msgid "Not 686 or higher CPU."
-msgstr ""
-
-#: rc.microcode_ctl:46
-msgid "missing microcode data file! ($DATAFILE)"
-msgstr ""
-
-#: rc.microcode_ctl:62
-msgid "microcode device $DEVICE does not exists?"
-msgstr ""
-
-#: rc.microcode_ctl:66
-msgid "$DEVICE not a character device?"
-msgstr ""
-
-#: rc.microcode_ctl:76
-msgid "kernel does not have CPU microcode device support"
-msgstr ""
-
-#: rc.microcode_ctl:88
-msgid "Removing microcode_ctl lock."
-msgstr ""
-
-#: rc.microcode_ctl:90
-msgid "You need to reboot to clear uploaded microcode."
-msgstr ""
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to