debian/0000755000000000000000000000000012256552671007201 5ustar debian/rules0000755000000000000000000000521412253162246010253 0ustar #!/usr/bin/make -f # debian/rules for iucode-tool # Copyright (c) 2011,2012 by Henrique de Moraes Holschuh # Published under the GNU GPL license version 2 or any later versions PACKAGE :=iucode-tool DEBDIR :=$(CURDIR)/debian PKGDIR :=$(DEBDIR)/$(PACKAGE) # DebHelper control export DH_ALWAYS_EXCLUDE=CVS:.svn:.git # Init Makefile variables. Usually already set by dpkg-buildpackage DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS || echo "-O2 -g") CPPFLAGS ?= $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS) # Force immediate expansion, so that we do it only once DEB_HOST_GNU_TYPE := $(DEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE := $(DEB_BUILD_GNU_TYPE) CFLAGS := $(CFLAGS) CPPFLAGS := $(CPPFLAGS) LDFLAGS := $(LDFLAGS) # custom DEB_BUILD_OPTIONS... ifneq (,$(findstring strict,$(DEB_BUILD_OPTIONS))) CFLAGS += -Werror endif # autotools confflags= ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --build $(DEB_HOST_GNU_TYPE) else confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif build-prepare: build-prepare-stamp build-prepare-stamp: @dh_testdir ./autogen.sh touch build-prepare-stamp configure-stamp: | build-prepare dh_testdir ./configure \ CFLAGS="$(CFLAGS) -Wall -pipe" $(confflags) \ CPPFLAGS="$(CPPFLAGS)" \ LDFLAGS="$(LDFLAGS)" \ --prefix=/usr touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch build-stamp build-arch: build build-indep: clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -rf autom4te.cache [ ! -f Makefile ] || $(MAKE) distclean rm -f config.sub config.guess configure config.log rm -fr autom4te.cache rm -f Makefile.in aclocal.m4 Makefile rm -f depcomp install-sh missing iucode_tool_config.h.in dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR="$(PKGDIR)" dh_install install-arch: install install-indep: binary-indep: build-indep install-indep binary-arch: build-arch install-arch dh_testdir dh_testroot # dh_installdebconf dh_installdocs # dh_installexamples dh_installmodules # dh_installinit --error-handler=true -- start 45 S . dh_installman dh_installchangelogs ChangeLog dh_lintian dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install install-arch install-indep build-prepare debian/links0000644000000000000000000000015412253162246010234 0ustar usr/sbin/iucode_tool usr/sbin/iucode-tool usr/share/man/man8/iucode_tool.8 usr/share/man/man8/iucode-tool.8 debian/docs0000644000000000000000000000001412253162246010037 0ustar README TODO debian/copyright0000644000000000000000000000176112253162246011131 0ustar This work was packaged for Debian by Henrique de Moraes Holschuh on Tue, 25 Jan 2011 18:09:24 -0200 Upstream Copyright notice: Copyright (c) 2010-2013 Henrique de Moraes Holschuh This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The full text of the GNU GPL version 2 is available at: /usr/share/common-licenses/GPL-2 Packaging copyright notice: Copyright (c) 2011, 2012 Henrique de Moraes Holschuh The Debian packaging is licensed under the same license as the upstream code. debian/control0000644000000000000000000000202412253162246010572 0ustar Source: iucode-tool Section: contrib/utils Priority: optional Maintainer: Henrique de Moraes Holschuh Build-Depends: debhelper (>= 7), autotools-dev, automake (>= 1:1.10), autoconf (>= 2.61) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/users/hmh/iucode-tool.git Vcs-Browser: http://git.debian.org/?p=users/hmh/iucode-tool.git Package: iucode-tool Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: intel-microcode (>= 1) Description: Intel processor microcode tool iucode_tool is a program to manipulate IntelĀ® X86 and X86-64 processor microcode collections, and to use the kernel facilities to upgrade the microcode on Intel system processors. . It can load microcode data files in text and binary format, sort, list and filter the microcodes contained in these files, write selected microcodes to a new file in binary format, or upload them to the kernel. . It operates on non-free microcode data downloaded directly from Intel or installed by the intel-microcode package. debian/compat0000644000000000000000000000000212253162246010367 0ustar 7 debian/changelog0000644000000000000000000000671012253162246011047 0ustar iucode-tool (1.0.1-1) unstable; urgency=low * New upstream maintenance release + Fix several cosmetic code issues + Manpage updates + Make it clear that the output order of microcodes is not stabilized + Make it clear that iucode_tool always break links when writing a data file, and that it doesn't replace files atomically, so they can get corrupted/lost if iucode-tool is interrupted while writing + Reword several notes for better readability + Use openat() when loading from a directory and when creating files in a directory. Thus, iucode-tool will read/write to the same directory even while racing another process that is trying to rename it while iucode-tool is already running -- Henrique de Moraes Holschuh Sat, 14 Dec 2013 21:01:41 -0200 iucode-tool (1.0-1) unstable; urgency=low * New upstream release + Add verbose title to manpage iucode_tool(8) + Add support to write an early initramfs archive for Linux v3.9 * install iucode-tool symlinks to iucode_tool (closes: #689128) -- Henrique de Moraes Holschuh Sat, 25 May 2013 13:40:57 -0300 iucode-tool (0.9-1) unstable; urgency=low * New upstream release + Document missing -W, --write-named option in iucode_tool(8) manpage (closes: #687963) + Print the number of unique signatures in verbose mode + Add loose date-based filtering (--loose-date-filtering option), which is useful when trying to select microcode for very old processors + Skip empty files and directories instead of aborting with an error + Add an option to default to an empty selection (-s!) + Ensure that microcodes with the same metadata have the same opaque data (payload) when in --strict-checks mode (default) * Update debian/copyright to match upstream's -- Henrique de Moraes Holschuh Thu, 28 Mar 2013 23:48:48 -0300 iucode-tool (0.8.3-1) unstable; urgency=low * New upstream release + Fix regression introduced in 0.8.2 that caused all microcodes to be selected by --scan-system on a box with unsupported processors (e.g. non-Intel) + Update README: Intel has some microcode update information in some public processor specification update documents -- Henrique de Moraes Holschuh Sun, 26 Aug 2012 18:38:54 -0300 iucode-tool (0.8.2-1) unstable; urgency=low * New upstream release + Update documentation and manpages for the new microcode update interface in Linux v3.6. + Fail safe when --scan-system cannot access the cpuid driver: instead of not selecting anything, still select all microcodes if no other microcode selection option was used (closes: #683178) * debian/control: add X-Vcs-* fields -- Henrique de Moraes Holschuh Sun, 29 Jul 2012 10:06:35 -0300 iucode-tool (0.8.1-1) unstable; urgency=low * New upstream release + inform user with an error message if cpuid driver is missing, and --scan-system was requested + manpage updates -- Henrique de Moraes Holschuh Tue, 24 Jul 2012 11:53:05 -0300 iucode-tool (0.8-1) unstable; urgency=low * Initial public release (closes: #611133) + Reduced functionality release, we need the tool in the archive for bootstrapping, as it will become a build-dependency of the intel-microcode package -- Henrique de Moraes Holschuh Thu, 07 Jun 2012 12:57:37 -0300 debian/README.source0000644000000000000000000000033612253162246011352 0ustar iucode-tool for Debian ---------------------- This is a simple package, but it has a requirement that it must be trivial to backport to oldstable, which must be respected. -- Henrique de Moraes Holschuh debian/source/0000755000000000000000000000000012253162246010471 5ustar debian/source/format0000644000000000000000000000001412253162246011677 0ustar 3.0 (quilt)