--- microcode.ctl-1.17.orig/Makefile +++ microcode.ctl-1.17/Makefile @@ -14,14 +14,19 @@ INS = install CC = gcc KERNELHEADER = /usr/src/linux/include -CFLAGS = -g -Wall -O2 -I $(KERNELHEADER) +CFLAGS = -g -Wall # -O2 -I $(KERNELHEADER) +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif DESTDIR = -PREFIX = /usr/local +PREFIX = /usr INSDIR = $(PREFIX)/sbin -MANDIR = $(PREFIX)/man/man8 -MICDIR = /etc +MANDIR = $(PREFIX)/share/man/man8 +MICDIR = /usr/share/misc RCFILE = microcode_ctl.start RCFILEFINAL = microcode_ctl @@ -37,20 +42,10 @@ echo "$(RCDIR)/$(RCHOMEDIR)/microcode_ctl" > microcode-filelist clean: - rm -f $(PROGRAM) + rm -f $(PROGRAM) microcode_ctl.o microcode-filelist install: - $(INS) -d $(DESTDIR)$(INSDIR) $(DESTDIR)$(MICDIR) \ - $(DESTDIR)$(MANDIR) $(DESTDIR)$(RCFILETO) \ - $(DESTDIR)$(RCLINKTO) - $(INS) -s -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR) - $(INS) -m 644 $(MICROCODE) $(DESTDIR)$(MICDIR)/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) @@ -67,7 +62,4 @@ chkconfig --del $(RCFILEFINAL) endif # shame there isn't reverse of install... - rm $(DESTDIR)$(INSDIR)/$(PROGRAM) \ - $(DESTDIR)$(MICDIR)/microcode.dat \ - $(DESTDIR)$(MANDIR)/$(MANPAGE).gz \ - $(DESTDIR)$(RCFILETO)/$(RCFILEFINAL) + rm $(DESTDIR)$(INSDIR)/$(PROGRAM) --- microcode.ctl-1.17.orig/README +++ microcode.ctl-1.17/README @@ -140,7 +140,7 @@ Richard Schaal Andreas Steinmetz -Giacomo Catenazzi +Giacomo Catenazzi John Moore Oliver Fassbender Peter Kovacs --- microcode.ctl-1.17.orig/microcode_ctl.8 +++ microcode.ctl-1.17/microcode_ctl.8 @@ -4,13 +4,13 @@ microcode_ctl \- microcode utility for Intel IA32 processors .SH SYNOPSIS .B microcode_ctl -[\fI\-h\fR] [\fI\-u\fR [\fI\-q\fR]] [\fI\-Q\fR] [\fI\-f microcode\fR] +[\fI\-h\fR] [\fI\-u\fR] [\fI\-q\fR] [\fI\-Q\fR] [\fI\-f microcode\fR] .br .SH DESCRIPTION -." Add any additional description here -.PP -The microcode_ctl utility is a companion to the IA32 microcode driver written -by Tigran Aivazian . The uaility has two uses: +The +.B microcode_ctl +utility is a companion to the IA32 microcode driver written +by Tigran Aivazian . The utility has two uses: .br .PP \fBa)\fR it decodes and sends new microcode to the kernel driver to be @@ -49,14 +49,14 @@ Upload microcode using defaults .SH FILES .TP -/etc/microcode.dat +/usr/share/misc/intel-microcode.dat The default microcode location .PD .SH AUTHOR Microcode utility written by Simon Trimmer .br Linux Kernel driver written by Tigran Aivazian. -.SH "REPORTING BUGS" +.SH REPORTING BUGS Report bugs to either Simon Trimmer or Tigran Aivazian .SH COPYRIGHT @@ -64,12 +64,12 @@ .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -.SH "SPECIAL THANKS" +.SH SPECIAL THANKS Thanks to the Intel Corporation, for supplying microcode update data and publishing the specifications that enabled us to write microcode driver for Linux. .br -.SH "SEE ALSO" +.SH SEE ALSO The brave are recommended to view the driver source code located in the Linux Kernel source tree in arch/i386/kernel/microcode.c .PP --- microcode.ctl-1.17.orig/microcode_ctl.c +++ microcode.ctl-1.17/microcode_ctl.c @@ -18,28 +18,30 @@ #include static char *progname; -int print_normal_messages=1; -int print_error_messages=1; +static int print_normal_messages=1; +static int print_error_messages=1; #define BUFFER_SIZE 4096 -#define MAX_MICROCODE 2000000 +#define MICROCODE_SIZE (128*1024) /* initial size, expanded as needed */ +#define FILENAME_MAXLEN 2048 #define MICROCODE_DEVICE_DEFAULT "/dev/cpu/microcode" -#define MICROCODE_FILE_DEFAULT "/etc/microcode.dat" +#define MICROCODE_FILE_DEFAULT "/usr/share/misc/intel-microcode.dat" -static void usage(void) + +static void usage(FILE *file) { - fprintf(stderr, "\nThis program is for updating the microcode on Intel processors\n" - "belonging to the IA32 family - PentiumPro upwards (x86_64 included).\n" - "It depends on the Linux kernel microcode driver.\n\n" - "Usage: %s [-h] [-u] [-q] [-Q] [-f microcode]\n\n" - " -h this usage message\n" - " -q run silently when successful\n" - " -Q run silently even on failure\n" - " -u upload microcode (default filename:\"%s\"\n" - " -f upload microcode from named Intel formatted file\n\n", - progname, MICROCODE_FILE_DEFAULT); - exit(1); + fputs( +"\nThis program is for updating the microcode on Intel processors\n" +"belonging to the IA32 family - PentiumPro upwards (x86_64 included).\n" +"It depends on the Linux kernel microcode driver.\n\n" +"Usage: microcode_ctl [-h] [-u] [-q] [-Q] [-f microcode]\n\n" +" -h this usage message\n" +" -q run silently when successful\n" +" -Q run silently even on failure\n" +" -u upload microcode (default filename:\""MICROCODE_FILE_DEFAULT"\"\n" +" -f upload microcode from named Intel formatted file\n\n", + file); } /* @@ -52,45 +54,66 @@ { FILE *fp; char line_buffer[BUFFER_SIZE]; - int microcode[MAX_MICROCODE]; - int *pos; + size_t microcode_size = MICROCODE_SIZE/sizeof(unsigned); + unsigned *microcode = malloc(microcode_size * sizeof(unsigned)); + size_t pos = 0; int outfd; int wrote, length; + if(!microcode){ + if(print_error_messages) + fprintf(stderr, "%s: not enough memory\n", progname); + return ENOMEM; + } if( (fp=fopen(filename, "r")) == NULL){ if(print_error_messages) - fprintf(stderr, "%s: cannot open source file '%s' errno=%d (%s)\n", + fprintf(stderr, + "%s: cannot open source file '%s' errno=%d (%s)\n", progname, filename, errno, strerror(errno)); return errno; } - pos = microcode; - while(fgets(line_buffer, BUFFER_SIZE, fp) != NULL) { + /* + * Expand microcode buffer if needed + */ + if(microcode_size < pos + 4) { + microcode_size *= 2; + microcode = realloc(microcode, + microcode_size * sizeof(unsigned)); + if (!microcode) { + if(print_error_messages) + fprintf(stderr, "%s: not enough memory\n", + progname); + fclose(fp); + return ENOMEM; + } + } /* * Data lines will are of the form "%x, %x, %x, %x", therefore * lines start with a 0 */ if(*line_buffer == '0'){ - sscanf(line_buffer, "%x, %x, %x, %x", pos, - (pos + 1), (pos + 2), (pos + 3)); - pos += 4; + int scanned; + scanned = sscanf(line_buffer, "%x, %x, %x, %x", + microcode + pos, + microcode + pos + 1, + microcode + pos + 2, + microcode + pos + 3); + if(scanned != 4) { + fprintf(stderr, "%s: %s: invalid file format\n", + progname, filename); + fclose(fp); + return EINVAL; + } + pos += 4; } - - if (MAX_MICROCODE < (pos - microcode)){ - /* not checking the buffer length could cause grief? */ - if(print_error_messages) - fprintf(stderr, "%s: file too large for utility microcode buffer\n" - "%s: change MAX_MICROCODE yourself :)\n", progname, progname); - fclose(fp); - return errno; - } - } fclose(fp); - length = sizeof(int) * (pos - microcode); + length = pos * sizeof(unsigned); + if(print_normal_messages) fprintf(stderr, "%s: writing microcode (length: %d)\n", progname, length); @@ -101,7 +124,7 @@ return errno; } - if( (wrote = write(outfd, µcode, 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", @@ -122,20 +145,17 @@ int main(int argc, char *argv[]) { int c; - static char device[2048]; - static char filename[2048]; + static char device[FILENAME_MAXLEN+1] = MICROCODE_DEVICE_DEFAULT; + static char filename[FILENAME_MAXLEN+1] = MICROCODE_FILE_DEFAULT; int upload=0; - int return_code; progname = argv[0]; - strcpy(device, MICROCODE_DEVICE_DEFAULT); - strcpy(filename, MICROCODE_FILE_DEFAULT); - - while (EOF != (c = getopt(argc, argv, "hqQud:f:"))) { + while (EOF != (c = getopt(argc, argv, "-hqQiud:f:"))) { switch(c) { case 'h': - usage(); + usage(stdout); + exit(0); case 'q': print_normal_messages=0; @@ -147,7 +167,7 @@ break; case 'd': - strcpy(device, optarg); + strncpy(device, optarg, FILENAME_MAXLEN); break; case 'u': /* do a microcode upload */ @@ -156,19 +176,25 @@ case 'f': /* set microcode file to optarg and upload */ upload++; - strcpy(filename, optarg); + strncpy(filename, optarg, FILENAME_MAXLEN); + break; + case 'i': + fputs("microcode_ctl: flag '-i' is now obsolete", + stderr); break; - case '?': - usage(); + case 1: + usage(stdout); + exit(2); + } } if (upload) { - if((return_code = do_update(device, filename))) - exit(return_code); + if(do_update(device, filename)) + exit(1); } else - usage(); + usage(stderr); return 0; } --- microcode.ctl-1.17.orig/debian/README.Debian +++ microcode.ctl-1.17/debian/README.Debian @@ -0,0 +1,46 @@ +microcode.ctl for Debian +---------------------- + +1- The microcode_ctl works only on kernel the 2.2.18 and later or + on 2.4.0 and later. + +2- On kernel until 2.6.19, there is a bug that prevent to + load new intel microcodes. So, if you don't update the kernel, + the installation program will install a shorter version of + microcode data. + +3- If you recompile the kernel, make sure to include the microcode + support (CONFIG_MICROCODE). + (See 'kernel-package' and 'kernel-source-*' packages) + +4- microcode.ctl needs the microcode device to work. + Normally the device is in /dev/cpu/microcode , and the + installation script will create it if necessary. + + If you use 'devfsd' (only with newer kernel) the device is + created only in /dev/misc/cpu . + If you use 'udev', the device is in /dev/microcode + + In these cases, the boot script will find the device + correctly, but if you use the command "microcode_ctl", you + should explicy give the device path, using the option: + "-d DEVICE_NAME". + + +OBTAINING THE INTEL MICROCODE + +You have two options to opbtain the microcode: + +- installing the "intel-microcode" package (on non-free section) + +- Using the program "update-intel-microcode" (included in this + packages), which will download the newer microcode from Intel + website. + +As alternative you can manually download the microcode from +Intel website: +http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=483&DwnldID=14303 +and put the microcode in /usr/share/misc/intel-microcode.dat . + + -- Giacomo Catenazzi , Wed, 27 Feb 2008 08:13:27 +0100 + --- microcode.ctl-1.17.orig/debian/changelog +++ microcode.ctl-1.17/debian/changelog @@ -0,0 +1,404 @@ +microcode.ctl (1.17-11) unstable; urgency=low + + * Fix "Invalid parameter for modprobe call in rc script" + in debian/microcode.ctl.init(Closes: #519904) + * Update Galician translation, thanks to Marce Villarino (Closes: #512244) + * Bumped version-standards to 3.8.1, no changes needed + * Correct lintian command-with-path-in-maintainer-script. + * add homepage to debian/control + + -- Giacomo Catenazzi Tue, 17 Mar 2009 08:06:21 +0100 + +microcode.ctl (1.17-10) unstable; urgency=low + + * Add Spanish translation of debconf (Closes: #499213) + + -- Giacomo Catenazzi Wed, 15 Oct 2008 08:22:56 +0200 + +microcode.ctl (1.17-9) unstable; urgency=medium + + * update-intel-microcode: new format (.tgz) in newer microcodes + (from 2008-09-10) (Closes: #498975, #498779) + * set also --no-verbose option, or it will eventually conflict + with .wgetrc and --quiet. (Closes: #495024) + + -- Giacomo Catenazzi Mon, 15 Sep 2008 09:13:38 +0200 + +microcode.ctl (1.17-8) unstable; urgency=low + + * Now "update-intel-microcode" uses the Intel website to + check the microcode + * Sugest the new "intel-microcode" package. + + -- Giacomo Catenazzi Wed, 27 Feb 2008 08:18:15 +0100 + +microcode.ctl (1.17-7) unstable; urgency=low + + * New microcode and document intel site as new official download + source + * Finnish translation of the debconf templates, + thanks Esko (Closes: #457224) + * New microcodes includes support for core due (Closes: #439872) + + -- Giacomo Catenazzi Mon, 11 Feb 2008 08:45:54 +0100 + +microcode.ctl (1.17-6) unstable; urgency=low + + * Use cdbs/1/class/makefile.mk instead of manual rules + * Correct postint (use -e instead of -x test on old microcode + (closes: #440742) + + -- Giacomo Catenazzi Tue, 04 Sep 2007 08:06:17 +0200 + +microcode.ctl (1.17-5) unstable; urgency=low + + * Remove references to the obsolete 'modutils' from dependencies + * Ooops. Include microcode_ctl binary (and manpage) (closes: #439871) + + -- Giacomo Catenazzi Tue, 28 Aug 2007 08:44:05 +0200 + +microcode.ctl (1.17-4) unstable; urgency=low + + * Use cdbs building scripts + * Move more "arguments" to debhelper into debhelper files + * BTW a new microcode is available + + -- Giacomo Catenazzi Sun, 26 Aug 2007 21:46:08 +0200 + +microcode.ctl (1.17-3) unstable; urgency=low + + * add debian/watch + * postinst should not fail on non Intel machines (closes: #428822) + + -- Giacomo Catenazzi Sat, 21 Jul 2007 11:24:01 +0200 + +microcode.ctl (1.17-2) unstable; urgency=low + + [Giacomo Catenazzi] + * In posinst don't write error to stdout (it confuses debconf), + and better error handling. + Closes: #430759, #430036 + * Don't remove microcode module (clone of #430759) + * Remove check and workaround for wrong makedev-2.3.1.52. + + [Christian Perrier] + * Debconf templates and debian/control reviewed by the + debian-l10n-english team as part of the Smith review project. + Closes: #429445, #430461, #427105 + * Debconf translation updates: + - Swedish. Closes: #430448 + - German. Closes: #430460 + - Galician. Closes: #430482 + - Basque. Closes: #430515 + - Vietnamese. Closes: #430536 + - Czech. Closes: #431256 + - Russian. Closes: #431306 + - French. + - Portuguese. Closes: #431622 + + -- Giacomo Catenazzi Sat, 14 Jul 2007 09:21:35 +0200 + +microcode.ctl (1.17-1) unstable; urgency=low + + * New upstream release (new microcode) (Closes: #424728). + * Typo fix: thanks to Reuben Thomas (Closes: #418288). + * Updated scripts to debhelper compat=5 + * Init.d script has the LSB header + * Updated, correctected and renamed the check-update.sh script into + /usr/sbin/update-intel-microcode + * Use debconf to see if we should check online about microcode + + -- Giacomo Catenazzi Thu, 17 May 2007 22:30:28 +0200 + +microcode.ctl (1.16-1) unstable; urgency=low + + * New upstream release (new microcode) + + -- Giacomo Catenazzi Wed, 31 Jan 2007 08:58:11 +0100 + +microcode.ctl (1.15-1) unstable; urgency=low + + * New upstream release (new microcode) + + -- Giacomo Catenazzi Mon, 9 Oct 2006 22:12:07 +0200 + +microcode.ctl (1.14-1) unstable; urgency=low + + * New upstream release (new microcode) + * Bug fix: "microcode.ctl: Failed downloads should be deleted", thanks + to Reuben Thomas (Closes: #372699). + * bzip2 now is in /bin and no more in /usr/bin + * Added /usr/share/doc/microcode.ctl/check-update.sh , a script that + check and eventually update the microcode. Thanks to Andrew Pollock + (Closes: #315068). + + -- Giacomo Catenazzi Sun, 9 Jul 2006 19:07:01 +0200 + +microcode.ctl (1.13-2) unstable; urgency=low + + * Add 'udev' as alternative to 'makedev' + + -- Giacomo Catenazzi Mon, 29 May 2006 23:23:58 +0200 + +microcode.ctl (1.13-1) unstable; urgency=low + + * New upstream release: + microcode: 05Jan2006 + no other code changes + * Removed obsolete text (old kernel) in package description + (closes: #340087) + + -- Giacomo Catenazzi Tue, 7 Feb 2006 08:48:22 +0100 + +microcode.ctl (1.12-2) unstable; urgency=low + + * x86_64 is 'amd64' (not 'IA64') (closes: #335781) + + -- Giacomo Catenazzi Tue, 25 Oct 2005 21:40:37 +0200 + +microcode.ctl (1.12-1) unstable; urgency=low + + * New upstream release: (closes: #330849) + microcode: 29Aug2005 + no other code changes + * In init.d script: assume debian always! (closes: #287526) + * Build also on x86_64 + + -- Giacomo Catenazzi Sun, 23 Oct 2005 16:32:44 +0200 + +microcode.ctl (1.11-1) unstable; urgency=low + + * New upstream release: + microcode: 12Oct2004 + support for x86_64 + removed unneeded -i option + * Small English correction (closes: #272509) + * people.debian.org is no more readable by IP, so I changed it + with the correct URL. The disavantage on not-internet connected + machines: now we have an extra timeout trying to resolve + the name, anyway maximun: 20 seconds. + + -- Giacomo Catenazzi Wed, 3 Nov 2004 08:40:54 +0100 + +microcode.ctl (1.09-2) unstable; urgency=low + + * After talking with debian, kernel and udev people, it seems + that it is a *feature* that modprobe return before udev creates + devices, so now if we don't find yhe device, we wait max + 7 seconds (with a check every 0.1 sec) to allow udev to really + createdevice (Closes: #268130). Thanks to Karl Hegbloom and + Bastian Kleineidam. + * We try also to unload the module microcode at the end + (the new modutils from module-init-tools don't automatically + remove modules). Thanks to Karl Hegbloom + * POSIX portability. Now init.d script is more portable + (works with dash) + + -- Giacomo Catenazzi Fri, 17 Sep 2004 08:38:19 +0200 + +microcode.ctl (1.09-1) unstable; urgency=low + + * New upstream release (microcode: 02Sep2004 and new upstream mail) + * Corrected postinit script, try to download new version, also + if a local old version ist installed. + + -- Giacomo Catenazzi Mon, 13 Sep 2004 21:58:28 +0200 + +microcode.ctl (1.07-2) unstable; urgency=low + + * In init.d script Now we handle 3 different path of microcode devices + (classic/LANANA/makedev, newer devfs, debian udev) + Above change work only for init.d script, so we add a note + in Readme.Debian. + Thanks "ehikory" for pointing this problem, and for + testing the script in devfsd environment. + + -- Giacomo Catenazzi Wed, 28 Apr 2004 08:12:45 +0200 + +microcode.ctl (1.07-1) unstable; urgency=low + + * New upstream release: new microcode (closes: #243459) + * Allow "dependens" with module-init-tools instead of modutils + (closes: #237225) + + -- Giacomo Catenazzi Tue, 13 Apr 2004 22:24:13 +0200 + +microcode.ctl (1.06-9) unstable; urgency=low + + * debian/control: suggests 'wget' and 'bzip2', eventualy used in + postinst script (closes: #220133) + + -- Giacomo Catenazzi Mon, 17 Nov 2003 21:48:11 +0100 + +microcode.ctl (1.06-8) unstable; urgency=low + + * Changes the init.d script so that we don't print anything in case + that a package is removed but not purged. (closes: #197659) + Changed also some return value to follow LSB + * Updated scripts to use debhelper v4, i.e.: + - added debian/compact + - use dh_installman instead of dh_installmanpages + - remove debian/confiles (now automagically generated by debhelper) + * Updated to debian policy 3.6.1: + - now Makefile will handle DEB_BUILD_OPTIONS + + -- Giacomo Catenazzi Wed, 22 Oct 2003 22:45:06 +0200 + +microcode.ctl (1.06-7) unstable; urgency=low + + * Updated the IP of people.debian.org (closes: #171452) + + -- Giacomo Catenazzi Wed, 5 Feb 2003 20:10:28 +0100 + +microcode.ctl (1.06-6) unstable; urgency=high + + Patches from Nate Eldredge: + * Fix my grave pointer error (closes: #129467) + * Some improvements: new dynamic buffer generation (removed -b option), + sscan error check, and other small changes (closes: #129472) + * microcode kernel modules can be removed automatically (closes: #129475) + + * some clean up, other small corrections, and maybe more bugs :-) + + -- Giacomo Catenazzi Wed, 16 Jan 2002 21:05:07 +0100 + +microcode.ctl (1.06-5) unstable; urgency=medium + + * Check size of command arguments (avoid buffer overflows) + * Corrected the semi-classical 'off by 4' bug in microcode buffer + * Create microcode buffer dynamically (and add an option + to specify the size). This should close the microcode.ctl + part of this bug: (closes: #121804) + * Fixed typo (four times) (closes: #120479) + * Don't show error from modutils. Changing modules.conf + is a task of kernel-sources-* packages (or of the + user) (closes: #121100) + * Small stylistic changed in the package description (closes: #125132) + + -- Giacomo Catenazzi Wed, 19 Dec 2001 18:29:48 +0100 + +microcode.ctl (1.06-4) unstable; urgency=low + + * debian/postint: Don't exit prematurely, this solve: + init.d script now is called at every installation and + /usr/doc symlink is created. (closes: #114846) + + -- Giacomo Catenazzi Mon, 8 Oct 2001 21:46:39 +0200 + +microcode.ctl (1.06-3) unstable; urgency=low + + * Use numerical IP for microcode.dat server. This reduce from 55 sec to + 10 sec the timeout period of non networked machines. + Further improvment reduced timout to 6 sec. + Thus removed ping test, this caused problem with some + firewalled networks (closes: #113096) + * Try also .bz2 or .gz version microcode.dat. This should reduces network + traffic from 425Kb to 110kB + + -- Giacomo Catenazzi Mon, 24 Sep 2001 21:01:45 +0200 + +microcode.ctl (1.06-2) unstable; urgency=low + + * postinst: correct wget options. (closes: #112194) + and possible some more little changes (error + in packing, forget some change/correction in CVS) + + -- Giacomo Catenazzi Mon, 17 Sep 2001 16:20:23 +0200 + +microcode.ctl (1.06-1) unstable; urgency=low + + * New upstram version (new microcode) + * control: reintroduces the dependence on makedev + * microcode now is downloaded from the net, thus removed package microcode + * control: use header of libc6-dev instead of kernel-headers. + * postinst: Download the microcode from the net + + -- Giacomo Catenazzi Mon, 10 Sep 2001 20:42:35 +0200 + +microcode.ctl (1.04-5) unstable; urgency=low + + * postint: missing '\' added (Closes #94292). + + -- Giacomo Catenazzi Wed, 18 Apr 2001 19:05:55 +0200 + +microcode.ctl (1.04-4) unstable; urgency=low + + * microcode_ctl: corrected the location of microcode.dat + (closes #93489) + * changelog: Removed dependence makedev (>= 2.3.1-51). I told to + makedev's maintainer wrong data for microcode device :-(. + Waiting for a corrected version. + + -- Giacomo Catenazzi Thu, 12 Apr 2001 08:00:07 +0200 + +microcode.ctl (1.04-3) unstable; urgency=low + + * Latest kernel-image have microcode support, yet we don't require + anymore kernel-sources (closes: #85489, #85903) + + -- Giacomo Catenazzi Wed, 14 Feb 2001 18:38:02 +0100 + +microcode.ctl (1.04-2) unstable; urgency=low + + * Now 'makedev' know about /dev/cpu/microcode. I will uses it. + * Fix some typos + * Try to load microcode modules before to try to update microcode. + + -- Giacomo Catenazzi Thu, 8 Feb 2001 19:46:18 +0100 + +microcode.ctl (1.04-1) unstable; urgency=low + + * New upstream release + * microcode is now distributed in an additional package. + Thus this package is full GPL + * Intel changes the microcode license, after Debian complains. + Now we can put the two packages in the Debian mirrors + * First package officially in Debian + * Applied also an upstream patch (small corrections for Debian) + * microcode_ctl.start: Don't assume /dev/cpu/microcode to be a char dev. + * microcode_ctl.start: Return always 0. This make happy debhelper. + * microcode_ctl.start: Do the tests only in start|restart,..section + + -- Giacomo Catenazzi Thu, 25 Jan 2001 08:03:18 +0100 + +microcode.ctl (1.03-4) unstable; urgency=low + + * Corrected some small errors. + * Now microcode_ctl is called after modprobe -s -q microcode. + + -- Giacomo Catenazzi Wed, 18 Oct 2000 21:38:17 +0200 + +microcode.ctl (1.03-3) unstable; urgency=low + + * Small correction to better conform to debian package policy. + + -- Giacomo Catenazzi Wed, 18 Oct 2000 17:32:57 +0200 + +microcode.ctl (1.03-2) unstable; urgency=low + + * Small correction + + -- Giacomo Catenazzi Wed, 20 Sep 2000 18:08:01 +0200 + +microcode.ctl (1.03-1) unstable; urgency=low + + * New upstream release + * Small changes + + -- Giacomo Catenazzi Tue, 12 Sep 2000 16:40:48 +0200 + +microcode.ctl (1.02-2) unstable; urgency=low + + * Small changes + * Microcode automaticly loaded at boot time + + -- Giacomo Catenazzi Wed, 19 Jul 2000 22:19:03 +0200 + +microcode.ctl (1.02-1) unstable; urgency=low + + * Initial release. + * Adjusted Makefile for Debian use + * Change directory from /usr/bin to /usr/sbin + * Include kernel headers (/usr/src/linux/include instead /usr/include) + + -- Giacomo Catenazzi Thu, 13 Jul 2000 21:31:14 +0200 --- microcode.ctl-1.17.orig/debian/compat +++ microcode.ctl-1.17/debian/compat @@ -0,0 +1 @@ +5 --- microcode.ctl-1.17.orig/debian/postinst +++ microcode.ctl-1.17/debian/postinst @@ -0,0 +1,67 @@ +#! /bin/sh +# postinst script for microcode.ctl +# +# see: dh_installdeb(1) + + +set -e + +. /usr/share/debconf/confmodule + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# +case "$1" in + configure) + # + # Check /dev/cpu/microcode + # +# if [ -b /dev/cpu/microcode ]; then +# # Workaround to my old "bug" in makedev. +# rm -f /dev/cpu/microcode +# fi + if [ ! -e /dev/cpu/microcode ]; then + echo "Device /dev/cpu/microcode doesn't exists. Trying to create it" 1>&2 + echo "Do you have kernel support for microcode?" 1>&2 + ( cd /dev && /sbin/MAKEDEV microcode > /dev/null || true ) + fi + + # new microcode name + [ -e /usr/share/misc/microcode.dat ] && mv /usr/share/misc/microcode.dat /usr/share/misc/intel-microcode.dat + + # + if ! grep -sq GenuineIntel /proc/cpuinfo; then + echo "microcode.ctl: Yet we provide only microcodes for Intel processors" 1>&2 + echo "Your CPU seems not an Intel processor" 1>&2 + fi + + db_get microcode.ctl/check-new + if [ "$RET" = true ] ; then + update-intel-microcode --no-reload 1>&2 || true + else + echo "You have choose not to check for new microcoded. To change" 1>&2 + echo 'run "dpkg-reconfigure -plow microcode.ctl"' 1>&2 + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" 1>&2 + ;; +esac + +# DEBHELPER will call automagically /etc/init.d/microcode.ctl restart + +#DEBHELPER# + +exit 0 --- microcode.ctl-1.17.orig/debian/control +++ microcode.ctl-1.17/debian/control @@ -0,0 +1,25 @@ +Source: microcode.ctl +Section: contrib/utils +Priority: optional +Maintainer: Giacomo Catenazzi +Build-Depends: cdbs, debhelper (>= 5), po-debconf +Standards-Version: 3.8.1 +Homepage: http://www.urbanmyth.org/microcode/ + +Package: microcode.ctl +Architecture: i386 amd64 +Depends: module-init-tools, udev | makedev (>> 2.3.1-53), + po-debconf, ${misc:Depends}, ${shlibs:Depends}, + wget | intel-microcode +Replaces: microcode-ctl +Description: Intel IA32/IA64 CPU Microcode Utility + The microcode_ctl utility is a companion to the IA32 microcode + driver: + . + - it decodes and sends new microcode to the kernel driver for Intel IA32 + family (Pentium Pro, PII, Celeron, PIII, Xeon, Pentium 4, etc.) and + Intel x86_64 family processors; + - it signals the kernel driver to release any buffers it may hold. + . + The microcode update does not permanently alter the CPU and must be + performed each time the system is booted. --- microcode.ctl-1.17.orig/debian/copyright +++ microcode.ctl-1.17/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Giacomo Catenazzi on +Wed, 12 Jul 2000 22:36:10 +0200. + +It was downloaded from http://www.urbanmyth.org/microcode/ + +Upstream Author: Simon Trimmer + +The original program includes also the official Intel microcode. +Because of license of the microcode, we (Debian) prefer not to +distribuite the microcode in this package. +See README.Debian to see how to find and install the Intel +microcode. + +Copyright: + +Copyright 2000 (c) Simon Trimmer, Tigran Aivazian. + +This software is copyright (c) 2000 by Simon Trimmer, Tigran Aivazian. +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. --- microcode.ctl-1.17.orig/debian/microcode.ctl.init +++ microcode.ctl-1.17/debian/microcode.ctl.init @@ -0,0 +1,131 @@ +#!/bin/bash + +# Fork from original (upstream) microcode_ctl.start, +# to simplify the maintainability. + +### BEGIN INIT INFO +# Provides: microcode.ctl +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Should-Start: $remote_fs +# Should-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Load Intel microcode on CPU +# Description: Load Intel microcode on CPU, which corrige +# some CPU errata. +### END INIT INFO + + + +# Package in removed but not yet purget status. +[ ! -x /usr/sbin/microcode_ctl ] && exit 0 + + +# perform the update +doit () +{ + +# microcode location + +MICROCODE_TINY=/usr/share/misc/intel-microcode.tiny.dat +MICROCODE_FULL=/usr/share/misc/intel-microcode.dat + +# Check the kernel version and return: +# 0 : for new kernel +# 1 : for buggy kernel that don't allow tiny microcodes + +check_kernel () { + uname -r | grep -Esqe \ +"(2\.6\.16\.[5-9][0-9])|"\ +"(2\.6\.16\.[1-9][0-9][0-9])|"\ +"(2\.6\.18\.[5-9])|"\ +"(2\.6\.19-rc[1-9])|"\ +"(2\.6\.19$)|"\ +"(2\.6\.19\.[1-9])|"\ +"(2\.6\.[2-9][0-9])|"\ +"(2\.6\.[1-9][0-9][0-9])" \ +- +} + +if check_kernel ; then + # echo backward compatibility + if [ -e "$MICROCODE_TINY" -a ! -e "$MICROCODE_FULL" ] ; then + MICROCODE="$MICROCODE_TINY" + else + MICROCODE="$MICROCODE_FULL" + fi +else + MICROCODE="$MICROCODE_TINY" +fi + +if [ ! -e "$MICROCODE" ] ; then + echo "$0: microcode not found in $MICROCODE" + +fi + + +# device name in LANANA +DEVICE=/dev/cpu/microcode +# device name in devfsd +DEVICE2=/dev/misc/microcode +# device name in some old versions of udev +DEVICE3=/dev/microcode + +# Lets just be sure we have a device file... +# ... with workaround because different name policy in lanana and devfsd +if [ -x /sbin/modprobe ] ; then + /sbin/modprobe -q -s microcode > /dev/null 2> /dev/null || true +fi +DEV="xxx" +if [ -e "$DEVICE" ]; then + DEV="$DEVICE" +elif [ -e "$DEVICE2" ]; then + DEV="$DEVICE2" +elif [ -e "$DEVICE3" ]; then + DEV="$DEVICE3" +else +## udev is slow creating devices, so in this case we wait +## some extra time (max 80 times 0.1s = 8s). + for i in `seq 80`; do + if [ -e "$DEVICE" ]; then + DEV="$DEVICE" + break + fi + echo -n "." + sleep 0.1 + done + if [ "$DEV" = "xxx" ]; then + echo "$0: microcode device $DEVICE doesn't exist!" + exit 0 + fi +fi + + +echo -n "Applying Intel IA32 Microcode update... " + +/usr/sbin/microcode_ctl -Q -d "$DEV" -f "$MICROCODE" + +if [ $? -eq 0 ] ; then + echo "done." +else + echo "fail." +fi + +# *try* to unload the microcode module +#[ -x /sbin/modprobe ] && /sbin/modprobe -r microcode > /dev/null 2> /dev/null + +} + + +case "$1" in + start|""|reload|force-reload|restart) + doit + exit 0 + ;; + stop) + ;; + *) + echo "$0 usage: microcode {start|restart|reload}" + exit 2 +esac --- microcode.ctl-1.17.orig/debian/rules +++ microcode.ctl-1.17/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +# Start at priority 80 (low priority), nothing to kill. +DEB_UPDATE_RCD_PARAMS_microcode.ctl = start 80 S . + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + --- microcode.ctl-1.17.orig/debian/templates +++ microcode.ctl-1.17/debian/templates @@ -0,0 +1,23 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# for an advice to debian-l10n-english@lists.debian.org +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: microcode.ctl/check-new +Type: boolean +Default: true +_Description: Download Intel CPU microcodes now? + The microcode.ctl package needs the Intel microcodes for its operation. + . + These microcodes are non-free software and cannot distributed + within the package. They can be downloaded from the Internet (the + expected download size is about 300-400 kB). + . + If you do not choose to download the microcodes now, please read + /usr/share/doc/microcode.ctl/README.Debian and download the needed + files manually or by running the '/usr/sbin/update-intel-microcode' + command. --- microcode.ctl-1.17.orig/debian/update-intel-microcode +++ microcode.ctl-1.17/debian/update-intel-microcode @@ -0,0 +1,64 @@ +#!/bin/sh +# Copyright (c) 2008 by Giacomo A. Catenazzi +# This file is licensed with GPL version 2 (or at your option any later versions) +# For the full license, see http://fsf.org + +# This script will download and update the Intel microcode + +# Check wget +if ! which wget > /dev/null 2> /dev/null; then + echo "wget not found. Please install wget" 1>&2 + exit 1 +fi + +REMOTE_RSS='http://feeds.downloadcenter.intel.com/rss/?p=483&lang=eng' +REMOTE_DATA="$(wget -t 2 -T 20 -nv -q -O - "$REMOTE_RSS" | sed -nre 's#^.*Firmware(200[0-9]*)latest.*?([^<]*\1[^<]*).*$#\1 \2#p' - )" +if [ "0$?" != "00" ] ; then + echo "Error: could not find remote data in $REMOTE_RSS" 1>&2 + echo "exiting" 1>&2 + exit 1 +fi +REMOTE_FILE=$(echo $REMOTE_DATA | sed -ne 's#^\(.*\) \(http://.*\)$#\2#p' -) +REMOTE_DATE=$(echo $REMOTE_DATA | sed -ne 's#^\(.*\) \(http://.*\)$#\1#p' -) + +LOCAL_DIR=/usr/share/misc +LOCAL_FILE="$LOCAL_DIR/intel-microcode.dat" + +if [ -f "$LOCAL_FILE" ] ; then + LOCAL_DATE=$(sed -ne 's#^/\*\(.*\)\*/.*$#\1#p' "$LOCAL_FILE" | head -n 1 | date "+%Y%m%d" -f - ) + echo "Local version: $LOCAL_DATE" + echo "Remote version: $REMOTE_DATE" + + if [ "0$REMOTE_DATE" -le "0$LOCAL_DATE" ] ; then + echo "No need to download a new microcode" 1>&2 + exit 0 + fi +else + echo "Local version: (none)" + echo "Remote version: $REMOTE_DATE" +fi + +echo "Downloading a new version of microcode." + +case "$REMOTE_FILE" in + *.tgz | *.tar.gz ) FILTER=" tar xzOf - " ;; + *.dat.gz ) FILTER=" gzip -cd " ;; + * ) FILTER=" cat - " ;; +esac + + +if wget -t 2 -T 20 -nv -q -O - "$REMOTE_FILE" | $FILTER > "$LOCAL_FILE" ; then + echo "microcode downloaded sucessfully" 1>&2 +else + echo "Error on downloading the microcode." 1>&2 + echo "Install microcode manually. (See /usr/share/doc/microcode.ctl/README.Debian)" 1>&2 + exit 1 +fi + +# load the new microcode + + +if [ "-$1" != "--no-reload" ] ; then + /etc/init.d/microcode.ctl reload +fi + --- microcode.ctl-1.17.orig/debian/update-intel-microcode.8 +++ microcode.ctl-1.17/debian/update-intel-microcode.8 @@ -0,0 +1,32 @@ +.TH MICROCODE_CTL "8" "17 May 2007" "update-intel-microcode" +.SH NAME +update-intel-microcode \- check and download new intel microcode +.SH SYNOPSIS +.B update-intel-microcode +[\fI\--no-reload\fR] +.br +.SH DESCRIPTION +.PP +The update-intel-microcode is a script that check if there is a new +microcode data for the Intel CPU. Eventually it downloads, installs +and loads the new microcode data, used by the microcode_ctl(8) +utility. There is an optional argument: +.br +.PP +\fB--no-reload\fR After installing the microcode, it dosn't try to +load the new microcode in the CPU. +.PD +.SH EXAMPLE +.TP +update-intel-microcode +checks, and eventually downloads, installs and loads a new microcode. +.SH FILES +.TP +/usr/share/misc/intel-microcode.dat +The default microcode location +.PD +.SH AUTHOR +This utility is written by Giacomo Catenazzi for Debian. +.br +.SH "SEE ALSO" +.BR microcode_ctl (8) --- microcode.ctl-1.17.orig/debian/watch +++ microcode.ctl-1.17/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.urbanmyth.org/microcode/ microcode_ctl-([\d\.]*).tar.gz --- microcode.ctl-1.17.orig/debian/microcode.ctl.install +++ microcode.ctl-1.17/debian/microcode.ctl.install @@ -0,0 +1,2 @@ +microcode_ctl usr/sbin +debian/update-intel-microcode usr/sbin --- microcode.ctl-1.17.orig/debian/microcode.ctl.manpages +++ microcode.ctl-1.17/debian/microcode.ctl.manpages @@ -0,0 +1,2 @@ +microcode_ctl.8 +debian/update-intel-microcode.8 --- microcode.ctl-1.17.orig/debian/microcode.ctl.config +++ microcode.ctl-1.17/debian/microcode.ctl.config @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_capb backup + +db_input medium microcode.ctl/check-new || true + +db_go --- microcode.ctl-1.17.orig/debian/microcode.ctl.dirs +++ microcode.ctl-1.17/debian/microcode.ctl.dirs @@ -0,0 +1,4 @@ +usr/sbin +usr/share/man/man8 +usr/share/misc +etc/init.d --- microcode.ctl-1.17.orig/debian/microcode.ctl.docs +++ microcode.ctl-1.17/debian/microcode.ctl.docs @@ -0,0 +1 @@ +README --- microcode.ctl-1.17.orig/debian/po/POTFILES.in +++ microcode.ctl-1.17/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- microcode.ctl-1.17.orig/debian/po/templates.pot +++ microcode.ctl-1.17/debian/po/templates.pot @@ -0,0 +1,47 @@ +# 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 , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" --- microcode.ctl-1.17.orig/debian/po/cs.po +++ microcode.ctl-1.17/debian/po/cs.po @@ -0,0 +1,52 @@ +# 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 , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-06-25 09:12+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Stáhnout nyní mikrokódy pro Intelovské CPU?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "Balík microcode.ctl potřebuje pro svou práci mikrokódy od Intelu." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Tyto mikrokódy jsou nesvobodné a nemohou být distribuovány jako součást " +"tohoto balíku. Můžete si je však stáhnout z Internetu (velikost zhruba 300-" +"400Kb)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Rozhodnete-li se nyní mikrokódy nestahovat, přečtěte si prosím /usr/share/" +"doc/microcode.ctl/README.Debian a stáhněte si požadované soubory ručně, nebo " +"použijte příkaz '/usr/sbin/update-intel-microcode'." --- microcode.ctl-1.17.orig/debian/po/de.po +++ microcode.ctl-1.17/debian/po/de.po @@ -0,0 +1,52 @@ +# Translation of microcode.ctl debconf templates to German +# Copyright (C) Helge Kreutzmann , 2007. +# This file is distributed under the same license as the microcode.ctl package. +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-06-24 20:31+0200\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Intel-CPU-Mikrocodes jetzt herunterladen?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "Das Paket Microcode.ctl bentigt die Mikrocodes von Intel zum Betrieb." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Diese Mikrocodes sind nicht-freie Software und knnen nicht innerhalb des " +"Pakets vertrieben werden. Sie knnen aus dem Internet heruntergeladen " +"werden. Die erwartete Gre ist rund 300-400 kB." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Falls Sie sich entscheiden, die Mikrocodes jetzt nicht herunterzuladen, " +"lesen Sie /usr/share/doc/microcode.ctl/README.Debian und laden Sie die " +"bentigten Dateien manuell herunter oder indem Sie den Befehl /usr/sbin/" +"update-intel-microcode ausfhren." --- microcode.ctl-1.17.orig/debian/po/eu.po +++ microcode.ctl-1.17/debian/po/eu.po @@ -0,0 +1,53 @@ +# microcode.ctl debconf basque translation +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Piarres Beobide , 2007 +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl-debconf\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-06-25 11:00+0200\n" +"Last-Translator: Piarres Beobide , 2007\n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Intel CPU microcode-ak orain deskargatu?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "" +"microcode.ctl paketeak Intel microcodes behar du funtzionatu ahal izateko." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Microcode horiek ez dira software librea eta ezin dira paketearekin batera " +"banatu. Internet-etik deskargatu daitezke (espero den deskarga tamaina 300-" +"400 Kb ingurukoa da)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Microcodes orain deskargatzea ez hautatuaz gero, irakurri ezazu /usr/share/" +"doc/microcode.ctl/README.Debian eta behar diren fitxategiak eskuz deskargatu " +"edo '/usr/sbin/update-intel-microcode' komandoa abiarazi." --- microcode.ctl-1.17.orig/debian/po/fr.po +++ microcode.ctl-1.17/debian/po/fr.po @@ -0,0 +1,53 @@ +# Translation of microcode.ctl templates to French +# Copyright (C) 2007 Hugues NAULET +# This file is distributed under the same license as the microcode.ctl package. +# # +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl 1.17-1\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-07-04 09:49+0100\n" +"Last-Translator: Hugues NAULET \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Faut-il télécharger les microcodes des processeurs Intel maintenant ?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "" +"Le paquet « microcode.ctl » a besoin des microcodes Intel pour fonctionner." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Ces microcodes ne sont pas des logiciels libres et ne peuvent être " +"distribués dans le paquet. Ils peuvent être téléchargés depuis Internet (la " +"taille du téléchargement est d'environ 300-400 ko)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Si vous choisissez de ne pas télécharger les microcodes maintenant, veuillez " +"lire /usr/share/doc/microcode.ctl/README.Debian et télécharger vous-même les " +"fichiers nécessaires, ou exécuter la commande « /usr/sbin/update-intel-" +"microcode »." --- microcode.ctl-1.17.orig/debian/po/gl.po +++ microcode.ctl-1.17/debian/po/gl.po @@ -0,0 +1,57 @@ +# translation of microcode.ctl_1.17-9_gl.po to galician +# Galician translation of microcode.ctl's debconf templates +# This file is distributed under the same license as the microcode.ctl package. +# +# Jacobo Tarrio , 2007. +# Marce Villarino , 2009. +# mvillarino , 2009. +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl_1.17-9_gl\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2009-01-18 22:37+0100\n" +"Last-Translator: Marce Villarino \n" +"Language-Team: galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Desexa descargar agora os microcódigos das CPU de Intel?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "O paquete microcode.ctl precisa dos microcódigos de Intel para funcionar." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Eses microcódigos son software non libre e non se poden distribuír no " +"paquete. Pódense descargar de Internet (o tamaño esperado da descarga é de " +"300-400Kb)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Se non desexa descargar os microcódigos agora, consulte /usr/share/doc/" +"microcode.ctl/README.Debian e descargue os ficheiros necesarios á man ou " +"executando a orde \"/usr/sbin/update-intel-microcode\"." + --- microcode.ctl-1.17.orig/debian/po/pt.po +++ microcode.ctl-1.17/debian/po/pt.po @@ -0,0 +1,55 @@ +# Portuguese translations for microcode.clt package +# Copyright (C) 2007 André Costa +# This file is distributed under the same license as the microcode.clt package. +# skit , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.clt\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-07-03 22:46+0100\n" +"Last-Translator: André Costa \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Fazer o download dos microcódigos dos processadores Intel agora?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "" +"O pacote microcode.ctl necessita dos microcódigos da Intel para o seu " +"funcionamento." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Estes microcódigos são software não-grátis e não podem ser distribuídos com " +"o pacote. Podem ser encontrados na internet (o tamanho esperado é cerca de " +"300-400Kb)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Se decidir não fazer obter os microcódigos agora, por favor leia /usr/share/" +"doc/microcode.ctl/README.Debian e obtenha os ficheiros necessários " +"manualmente ou através do comando '/usr/sbin/update-intel-microcode'." --- microcode.ctl-1.17.orig/debian/po/ru.po +++ microcode.ctl-1.17/debian/po/ru.po @@ -0,0 +1,55 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2007. +msgid "" +msgstr "" +"Project-Id-Version: 1.17-1\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-07-01 19:14+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Скачать микрокод ЦП Intel прямо сейчас?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "Пакет microcode.ctl предназначен для работы с микрокодом Intel." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Этот микрокод является несвободными программным обеспечением и не может " +"распространяться в пакете. Он может быть загружен из Интернета " +"(приблизительный размер около 300-400Кб)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Если сейчас вы ответите отрицательно, то прочитайте файл /usr/share/doc/" +"microcode.ctl/README.Debian и скачайте необходимые файлы вручную или " +"выполните команду '/usr/sbin/update-intel-microcode'." --- microcode.ctl-1.17.orig/debian/po/sv.po +++ microcode.ctl-1.17/debian/po/sv.po @@ -0,0 +1,52 @@ +# Swedish translation of microcode.ctl. +# Copyright (C) 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the microcode.ctl package. +# Daniel Nylander , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-06-24 18:09+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Hämta mikrokod för Intel-processor nu?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "Paketet microcode.ctl behöver Intels mikrokod för att fungera." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Denna mikrokod är icke-fri programvara och kan inte distribueras i paketet. " +"Den kan hämtas ner från Internet (förväntad hämtningsstorlek är ungefär 300-" +"400Kb)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Om du inte väljer att hämta ner mikrokoden nu kan du läsa i /usr/share/doc/" +"microcode.ctl/README.Debian och hämta ner de nödvändiga filerna manuellt " +"eller genom att köra kommandot \"/usr/sbin/update-intel-microcode\"." --- microcode.ctl-1.17.orig/debian/po/vi.po +++ microcode.ctl-1.17/debian/po/vi.po @@ -0,0 +1,52 @@ +# Vietnamese translation for microcode.ctl.. +# Copyright © 2007 Free Software Foundation, Inc. +# Clytie Siddall , 2007 +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl.\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-06-25 21:23+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.6.4a3\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Tải về mã vi bộ xử lý trung tâm Intel ngay bây giờ không?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "Gói microcode.ctl cần thiết các mã vi Intel để hoạt động." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Những mã vi này là phần mềm khác tự do nên không thể được phát hành bên " +"trong gói này. Có thể tải xuống Mạng (kích cỡ tải về xấp xỉ là 300-400 Kb)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Nếu bạn không chọn tải về mã vi ngay bây giờ, hãy đọc tài liệu Đọc Đi « /usr/" +"share/doc/microcode.ctl/README.Debian » rồi tải về những tập tin cần thiết " +"hoặc bằng tay hoặc bằng cách chạy lệnh « /usr/sbin/update-intel-microcode »." --- microcode.ctl-1.17.orig/debian/po/fi.po +++ microcode.ctl-1.17/debian/po/fi.po @@ -0,0 +1,38 @@ +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl_1.17-6\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2007-12-20 21:39+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: Finland\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "Ladataanko Intel-suorittimien mikro-ohjelmat nyt?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "Paketti microcode.ctl vaatii Intelin mikro-ohjelmat toimiakseen." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "These microcodes are non-free software and cannot distributed within the package. They can be downloaded from the Internet (the expected download size is about 300-400 kB)." +msgstr "Nämä mikro-ohjelmat eivät ole vapaita ohjelmia, eikä niitä voida jakaa paketin mukana. Ne voidaan ladata Internetistä (oletettu ladattava määrä on noin 300-400 kT)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "If you do not choose to download the microcodes now, please read /usr/share/doc/microcode.ctl/README.Debian and download the needed files manually or by running the '/usr/sbin/update-intel-microcode' command." +msgstr "Jos päätät olla lataamatta mikro-ohjelmia nyt, lue (englanninkielinen) /usr/share/doc/microcode.ctl/README.Debian ja lataa tarvittavat tiedostot käsin tai ajamalla komento ”/usr/sbin/update-intel-microcode”." + --- microcode.ctl-1.17.orig/debian/po/es.po +++ microcode.ctl-1.17/debian/po/es.po @@ -0,0 +1,78 @@ +# microcode.ctl translation to spanish. +# Copyright (C) 2007 THE MICROCODE.CTL'S COPYRIGHT HOLDER +# This file is distributed under the same license as the microcode.ctl package. +# +# Changes: +# - Initial translation +# Maria Germana Oliveira Blazetic, 2008. +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# +msgid "" +msgstr "" +"Project-Id-Version: microcode.ctl 1.17-8\n" +"Report-Msgid-Bugs-To: cate@debian.org\n" +"POT-Creation-Date: 2007-06-25 18:45+0200\n" +"PO-Revision-Date: 2008-08-24 15:26-0430\n" +"Last-Translator: Maria Germana Oliveira Blazetic \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: ext/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download Intel CPU microcodes now?" +msgstr "¿Desea descargar los microcódigos de Intel CPU ahora?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The microcode.ctl package needs the Intel microcodes for its operation." +msgstr "" +"El paquete microcode.ctl necesita de los microcódigos de Intel para su " +"operación." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"These microcodes are non-free software and cannot distributed within the " +"package. They can be downloaded from the Internet (the expected download " +"size is about 300-400 kB)." +msgstr "" +"Estos microcódigos no son software libre y no pueden ser distribuidos con " +"el paquete. Pero, pueden ser descargados de Internet (el tamaño de descarga " +"esperado es de alrededor de 300-400 kB)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"If you do not choose to download the microcodes now, please read /usr/share/" +"doc/microcode.ctl/README.Debian and download the needed files manually or by " +"running the '/usr/sbin/update-intel-microcode' command." +msgstr "" +"Si decide no desacargar los microcódigos ahora, por favor lea el archivo /" +"usr/share/doc/microcode.ctl/README.Debian y descargue los archivos " +"necesarios manualmente o ejecutando la instrucción «/usr/sbin/update-intel-" +"micorcode»."