firmware-addon-dell-2.2.9/0000777001765400176540000000000011377015123021705 5ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/firmware_addon_dell/0000777001765400176540000000000011377015123025666 5ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/firmware_addon_dell/generated/0000777001765400176540000000000011377015123027624 5ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/firmware_addon_dell/generated/__init__.py0000664001765400176540000000032011377015111031723 0ustar00michael_e_brownmichael_e_brown00000000000000 import os def mkselfrelpath(*args): return os.path.normpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), *args)) __VERSION__="2.2.9" PKGLIBEXECDIR="/usr/local/libexec/firmware-addon-dell" firmware-addon-dell-2.2.9/firmware_addon_dell/biosHdr.py0000664001765400176540000000304311377015075027636 0ustar00michael_e_brownmichael_e_brown00000000000000# vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: ############################################################################# # # Copyright (c) 2005 Dell Computer Corporation # Dual Licenced under GNU GPL and OSL # ############################################################################# """module some docs here eventually. """ from libsmbios_c import system_info as sysinfo from libsmbios_c import rbu_update from libsmbios_c import rbu_hdr compareVersions = rbu_update.compareBiosVersions class PermissionDenied (Exception): pass class InternalError (Exception): pass class InvalidHdr (Exception): pass def getSystemId(): return sysinfo.get_dell_system_id() def getProductName(): return sysinfo.get_system_name() def getServiceTag(): return sysinfo.get_service_tag() def getSystemBiosVer(): return sysinfo.get_bios_version() # no good way to unit test this for now... def isHdrFileNewer(file): try: ver = sysinfo.get_bios_version() hdrfile = rbu_hdr.HdrFile(file) return rbu_update.compareBiosVersions(hdrfile.biosVersion(), ver) > 0 except rbu_hdr.InvalidRbuHdr, e: raise InvalidHdr(str(e)) def getBiosHdrVersion(file): try: f = rbu_hdr.HdrFile(file) return f.biosVersion() except rbu_hdr.InvalidRbuHdr, e: raise InvalidHdr(str(e)) def getHdrSystemIds(file): try: f = rbu_hdr.HdrFile(file) return [ id for id, hwrev in f.systemIds() ] except rbu_hdr.InvalidRbuHdr, e: raise InvalidHdr(str(e)) firmware-addon-dell-2.2.9/firmware_addon_dell/dellbios.py0000664001765400176540000000757311376541671030062 0ustar00michael_e_brownmichael_e_brown00000000000000# vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: ############################################################################# # # Copyright (c) 2005 Dell Computer Corporation # Dual Licenced under GNU GPL and OSL # ############################################################################# """module some docs here eventually. """ from __future__ import generators # import arranged alphabetically import commands import os # local modules import biosHdr import firmwaretools.package as package import firmwaretools.plugins as plugins plugin_type = (plugins.TYPE_INVENTORY,) requires_api_version = "2.0" rbu_load_error="""Could not load Dell RBU kernel driver (dell_rbu). This kernel driver is included in Linux kernel 2.6.14 and later. For earlier releases, you can download the dell_rbu dkms module. Cannot continue, exiting... """ bios_update_error="""Could not update the system BIOS. Many times, this is due to memory constraints. The BIOS update can require from 1 to 4 megabytes of physically contiguous free RAM in order to do the update. Because memory can become fragmented, this is not always available. To correct this, try rebooting and running the update immediately after reboot. The output from the low-level bios update command was: %s """ class BiosPackage(package.RepositoryPackage): def __init__(self, *args, **kargs): super(BiosPackage, self).__init__(*args, **kargs) self.compareStrategy = biosHdr.compareVersions self.capabilities['can_downgrade'] = True self.capabilities['can_reflash'] = True def install(self): self.status = "in_progress" override="" # only activate override in cases where it is needed. installDevice = self.getCurrentInstallDevice() #print "BiosPackage DEBUG: %s" % self.compareVersion(installDevice) if self.compareVersion(installDevice) <= 0: # activate for downgrade and reflash override="--override_bios_version" instStr = """dellBiosUpdate %s -u -f %s""" % (override, os.path.join(self.path, "bios.hdr")) #print "BiosPackage: %s" % instStr ret = os.system("/sbin/modprobe dell_rbu") if ret: return (0, rbu_load_error) status, output = commands.getstatusoutput(instStr) if status: self.status = "failed" raise package.InstallError(bios_update_error % output) self.status = "warm_reboot_needed" return 1 sysId = 0 try: sysId = biosHdr.getSystemId() except Exception, e: pass def config_hook(conduit, inventory=None, *args, **kargs): if sysId: base = conduit.getBase() base.setSystemId( vendorId = 0x1028, systemId = sysId ) def inventory_hook(conduit, inventory=None, *args, **kargs): if sysId: base = conduit.getBase() cb = base.cb biosVer = biosHdr.getSystemBiosVer() p = package.Device( name = ("system_bios(ven_0x1028_dev_0x%04x)" % sysId).lower(), displayname = "System BIOS for %s" % biosHdr.getProductName(), version = biosVer, compareStrategy = biosHdr.compareVersions, ) if inventory.getDevice(p.uniqueInstance) is None: inventory.addDevice(p) #============================================================== # mock classes for unit tests # plus expected data returns #============================================================== # re-use mock data from low-level getSystemId mock function mockExpectedOutput_inventory = [("system_bios(ven_0x1028_dev_0x0183)", "a05"), ] #============================================================== # mock classes for unit tests # plus expected data returns #============================================================== # re-use mock data from low-level getSystemId mock function mockExpectedOutput_bootstrap = """system_bios(ven_0x1028_dev_0x0183)""" firmware-addon-dell-2.2.9/firmware_addon_dell/extract_bios.py0000664001765400176540000005540011376537330030740 0ustar00michael_e_brownmichael_e_brown00000000000000 import atexit import ConfigParser import glob import gzip import os import shutil import stat import tempfile # workaround bug: NameError: global name 'WindowsError' is not defined class WindowsError(Exception): pass shutil.WindowsError=WindowsError import firmwaretools import firmwaretools.plugins as plugins from firmwaretools.trace_decorator import decorate, traceLog, getLog try: import firmware_extract as fte import firmware_extract.buildrpm as br import extract_cmd except ImportError: # disable this plugin if firmware_extract not installed raise plugins.DisablePlugin import firmware_addon_dell as fad import extract_common as common import biosHdr from extract_bios_blacklist import dell_system_id_blacklist, dell_system_specific_bios_blacklist # required by the Firmware-Tools plugin API __VERSION__ = firmwaretools.__VERSION__ plugin_type = (plugins.TYPE_CORE,) requires_api_version = "2.0" # end: api reqs moduleLog = getLog() conf = None wineprefix = None dosprefix = None class noHdrs(fte.DebugExc): pass # this is called from doCheck in buildrpm_cmd and should register any spec files # and hooks this module supports decorate(traceLog()) def buildrpm_doCheck_hook(conduit, *args, **kargs): global conf conf = checkConf_buildrpm(conduit.getConf(), conduit.getBase().opts) br.specMapping["BiosPackage"] = {"spec": conf.biospackagespec, "ini_hook": buildrpm_ini_hook} # this is called by the buildrpm_doCheck_hook and should ensure that all config # options have reasonable default values and that config file values are # properly overridden by cmdline options, where applicable. decorate(traceLog()) def checkConf_buildrpm(conf, opts): if getattr(conf, "biospackagespec", None) is None: conf.biospackagespec = None return conf # this hook is called during the RPM build process. It should munge the ini # as appropriate. The INI is used as source for substitutions in the spec # file. decorate(traceLog()) def buildrpm_ini_hook(ini, pkgdir=None): ver = ini.get("package", "version") if ver == "unknown": ini.set("package", "epoch", "0") # set epoch based on version # old version scheme: # 99 --> 10 # P99 --> 20 # T99 --> 30 # X99 --> 40 # A99 --> 50 if len(ver) == 3 and ver[0].isalpha() and ver[1].isdigit() and ver[2].isdigit(): if ver[0].lower() == "p": ini.set("package", "epoch", "20") elif ver[0].lower() == "t": ini.set("package", "epoch", "30") elif ver[0].lower() == "x": ini.set("package", "epoch", "40") elif ver[0].lower() == "a": ini.set("package", "epoch", "50") else: ini.set("package", "epoch", "10") return # new version scheme: # 49.y.z -> 10 # 90.y.z -> 20 # x.y.z -> 55 # this is the new spec, so these should supercede old-style if present det = ver.split(".") if len(det) == 3: if det[0] == "49": ini.set("package", "epoch", "10") elif int(det[0],10) >= "90": ini.set("package", "epoch", "20") else: ini.set("package", "epoch", "55") return # some other really odd format. Set epoch to '0' so any of the above will # override it gracefully ini.set("package", "epoch", "0") # this hook is called by doCheck in extract_cmd. # it should register any extract plugins that is supports decorate(traceLog()) def extract_doCheck_hook(conduit, *args, **kargs): global conf conf = checkConf_extract(conduit.getConf(), conduit.getBase().opts) # if wine/unshield/helper_dat not installed, dont register the # respective plugins so that if we run again later with them installed, # it will properly go and try them. if os.path.exists("/usr/bin/wine"): setupWine() extract_cmd.registerPlugin(biosFromWindowsExe, __VERSION__) else: moduleLog.info("Disabled biosFromWindowsExe plugin due to missing wine package.") if os.path.exists("/usr/bin/unshield"): extract_cmd.registerPlugin(biosFromInstallShield, __VERSION__) else: moduleLog.info("Disabled biosFromWindowsExe plugin due to missing unshield package.") if os.path.exists(conf.helper_dat): setupFreedos() extract_cmd.registerPlugin(biosFromDOSExe, __VERSION__) extract_cmd.registerPlugin(biosFromDcopyExe, __VERSION__) else: moduleLog.info("Disabled biosFromDOSExe plugin due to missing dell-repo-tools package.") moduleLog.info("Disabled biosFromDcopyExe plugin due to missing dell-repo-tools package.") # register these in reverse priority order because we are using registerFront feature extract_cmd.registerPlugin(alreadyHdr, __VERSION__, registerFront=True) if os.path.exists("/usr/lib/libfakeroot/libfakeroot.so"): extract_cmd.registerPlugin(biosFromLinuxDup3, __VERSION__, registerFront=True) extract_cmd.registerPlugin(biosFromLinuxDup2, __VERSION__, registerFront=True) else: moduleLog.info("Disabled biosFromLinuxDup2 plugin due to missing fakeroot.i386 package.") moduleLog.info("Disabled biosFromLinuxDup3 plugin due to missing fakeroot.i386 package.") extract_cmd.registerPlugin(biosFromLinuxDup, __VERSION__, registerFront=True) extract_cmd.registerPlugin(biosFromWindowsDup, __VERSION__, registerFront=True) shortName = None decorate(traceLog()) def extract_addSubOptions_hook(conduit, *args, **kargs): global shortName shortName =common.ShortName(conduit.getOptParser()) conduit.getOptParser().add_option( "--helper-dat", help="Path to extract_hdr_helper.dat.", action="store", dest="helper_dat", default=None) true_vals = ("1", "true", "yes", "on") decorate(traceLog()) def checkConf_extract(conf, opts): shortName.check(conf, opts) if opts.helper_dat is not None: conf.helper_dat = os.path.realpath(opts.helper_dat) if getattr(conf, "helper_dat", None) is None: conf.helper_dat = "" return conf # optimize wine a bit. Since we want to have completely separate wine instances # we will set up a master copy (slow) that we can just filecopy (quick) into # each individual extract dir. If you dont have separate wine instances, you get # massive hangs because some exe's will kill wine, and cause all further calls # to wine to hang. decorate(traceLog()) def setupWine(): getLog(prefix="verbose.").info("Running pre-setup for wine.") global wineprefix wineprefix = tempfile.mkdtemp(prefix="wineprefix-") env={ "DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "HOME":os.environ["HOME"], "WINEPREFIX": wineprefix, } common.loggedCmd(["wineprefixcreate", "-w", "--prefix", wineprefix], cwd=wineprefix, env=env, logger=getLog(), raiseExc=False) atexit.register(shutil.rmtree, wineprefix) getLog(prefix="verbose.").info("Wine pre-setup finished.") # optimize freedos setup. Untar and set up master copy of the freedos/dosemu # tree that we can do a quick filecopy of for each instance. decorate(traceLog()) def setupFreedos(): getLog(prefix="verbose.").info("Running pre-setup for freedos.") global dosprefix dosprefix = tempfile.mkdtemp(prefix="dosprefix-") common.loggedCmd(["tar", "xvjf", conf.helper_dat], cwd=dosprefix, logger=getLog()) import commands status, output = commands.getstatusoutput("uname -m") if output.startswith("x86_64"): os.rename(os.path.join(dosprefix, "both", "64"), os.path.join(dosprefix, "freedos")) else: os.rename(os.path.join(dosprefix, "both", "32"), os.path.join(dosprefix, "freedos")) if not os.path.isdir(os.path.join(os.environ["HOME"], ".dosemu")): os.mkdir(os.path.join(os.environ["HOME"], ".dosemu")) open(os.path.join(os.environ["HOME"], ".dosemu", "disclaimer"), "w+").close() atexit.register(shutil.rmtree, dosprefix) getLog(prefix="verbose.").info("Freedos pre-setup finished.") # simplest extract case: they did the unthinkable and posted a raw .HDR # file. awesome! unfortunately no way to get relnotes at all... :( decorate(traceLog()) def alreadyHdr(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.hdr') for hdr, id, ver in getHdrIdVer(statusObj.file): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True # DUPS for precision are posted inside a small shell gzip self-extractor. # they self-extract into a single binary. # some of them are broken and will reboot machine if they dont recognize # --WriteHDRFile, so we will manually gzip -d them and call the binary decorate(traceLog()) def biosFromLinuxDup2(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.bin') common.copyToTmp(statusObj) flashbin = os.path.join(statusObj.tmpdir, "flashbin") common.gzipAfterHeader(statusObj.tmpfile, flashbin, "__ARC__") oldmode = stat.S_IMODE(os.stat(flashbin)[stat.ST_MODE]) os.chmod(flashbin, oldmode | stat.S_IRWXU) try: common.loggedCmd( [flashbin, "--WriteHDRFile"], cwd=statusObj.tmpdir, logger=logger, env={"DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "LD_PRELOAD": "/usr/lib/libfakeroot/libfakeroot.so"} ) except (OSError, common.CommandException), e: raise common.skip, str(e) for hdr, id, ver in getHdrIdVer(statusObj.tmpdir, os.path.join(statusObj.tmpdir, "Package")): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True # Some DUPS for precision were posted without a shell self-extracting wrapper # otherwise same as above. Ensure it is an ELF before we run it. decorate(traceLog()) def biosFromLinuxDup3(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.bin') common.copyToTmp(statusObj) fd = open(statusObj.tmpfile, "r") buf = fd.read(4) fd.close() if buf != '\177ELF': raise common.skip, "not an ELF file." oldmode = stat.S_IMODE(os.stat(statusObj.tmpfile)[stat.ST_MODE]) os.chmod(statusObj.tmpfile, oldmode | stat.S_IRWXU) try: common.loggedCmd( [statusObj.tmpfile, "--WriteHDRFile"], cwd=statusObj.tmpdir, logger=logger, env={"DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "LD_PRELOAD": "/usr/lib/libfakeroot/libfakeroot.so"} ) except (OSError, common.CommandException), e: raise common.skip, str(e) for hdr, id, ver in getHdrIdVer(statusObj.tmpdir, os.path.join(statusObj.tmpdir, "Package")): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True # most "Server" Linux DUPS are gzipped tarballs with a shell self-extractor # we call --extract method on them and check for .HDR files. decorate(traceLog()) def biosFromLinuxDup(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.bin') common.copyToTmp(statusObj) common.doOnce( statusObj, common.dupExtract, statusObj.tmpfile, statusObj.tmpdir, logger ) return genericBiosDup(statusObj, outputTopdir, logger, *args, **kargs) # most Server Windows DUPS are self-extracting zip files. We just manually unzip. # the python zipfile lib chokes on them, so we have to shell out to 'unzip' decorate(traceLog()) def biosFromWindowsDup(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.exe') common.copyToTmp(statusObj) common.doOnce( statusObj, common.zipExtract, statusObj.tmpfile, statusObj.tmpdir, logger ) return genericBiosDup(statusObj, outputTopdir, logger, *args, **kargs) # after extraction, contents of windows/linux dups are generally the same # at the content level. decorate(traceLog()) def genericBiosDup(statusObj, outputTopdir, logger, *args, **kargs): deps = {} packageXml = os.path.join(statusObj.tmpdir, "package.xml") # these are (int, str) tuple for sysId, reqver in common.getBiosDependencies( packageXml): deps[sysId] = reqver gotOne=False for hdr, id, ver in getHdrIdVer(statusObj.tmpdir, os.path.join(statusObj.tmpdir, "Package")): gotOne=True dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) if os.path.exists(os.path.join(dest, "package.xml")): os.unlink(os.path.join(dest, "package.xml")) if os.path.exists(packageXml): shutil.copy( packageXml, dest) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) for txt in glob.glob( os.path.join(statusObj.tmpdir, os.path.basename(hdr))[:-len(".hdr")] + ".[Tt][Xx][Tt]"): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) #setup deps minVer = deps.get(id) requires = "" if minVer: requires = "system_bios(ven_0x1028_dev_0x%04x) >= %s" % (id, minVer) common.setIni(packageIni, "package", requires=requires) writePackageIni(dest, packageIni) return True # installshield format is just a self-extracting zip with an installshield # cab file for a payload. unzip first, then unshield and look for header in # proper subdir. decorate(traceLog()) def biosFromInstallShield(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.exe') common.copyToTmp(statusObj) common.doOnce( statusObj, common.zipExtract, statusObj.tmpfile, statusObj.tmpdir, logger ) common.doOnce( statusObj, common.cabExtract, "data1.cab", statusObj.tmpdir, logger ) for hdr, id, ver in getHdrIdVer(statusObj.tmpdir, os.path.join(statusObj.tmpdir,"BiosHeader")): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True # this is one of the more popular formats. Cannot manually get the content out # so we use wine to call it with -writehdrfile -nopause. The second argument is # to keep it from trying to pop up a dialog box. decorate(traceLog()) def biosFromWindowsExe(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.exe') common.copyToTmp(statusObj) thiswineprefix = os.path.join(statusObj.tmpdir, "wine") env={ "DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "HOME":os.environ["HOME"], "WINEPREFIX": thiswineprefix } shutil.copytree(wineprefix, thiswineprefix, symlinks=True) try: common.loggedCmd( ["wine", os.path.basename(statusObj.tmpfile), "-writehdrfile", "-nopause",], timeout=75, raiseExc=0, cwd=statusObj.tmpdir, logger=logger, env=env) common.loggedCmd(["wineserver", "-k"], cwd=statusObj.tmpdir, logger=logger, env=env) except (common.CommandException), e: raise common.skip, "couldnt extract with wine" except OSError, e: raise common.skip, "wine not installed" for hdr, id, ver in getHdrIdVer(statusObj.tmpdir, os.path.join(statusObj.tmpdir, "Package")): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True decorate(traceLog()) def setupFreedosForThisDir(subdir, file): thisdosprefix = os.path.join(subdir, "dos") shutil.copytree(dosprefix, thisdosprefix, symlinks=True) fdPath = os.path.join(subdir, "dos", "freedos") dosemu = os.path.join(fdPath, "dosemu.bin") globalconf = os.path.join(fdPath, "conf", "global.conf") dosemurc = os.path.join(fdPath, "conf", "dosemurc") cmd = [ dosemu, "-I", "video{none}", "-n", "-F", globalconf, "-f", dosemurc, "-C", "-E" ] inp = open( "%s.in" % dosemurc, "r" ) out = open(dosemurc, "w+") for line in inp.readlines(): line = line.replace("CURRENT_DIRECTORY", fdPath) if "$_vbootfloppy =" in line: line = """$_vbootfloppy = "%s/dos/floppy.img +hd" """ % subdir out.write(line) out.close() inp.close() shutil.copy(file, fdPath) return cmd # somewhat older format. Dos executable that you can use -writehdrfile to # extract. decorate(traceLog()) def biosFromDOSExe(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.exe') common.copyToTmp(statusObj) cmd = common.doOnce(statusObj, setupFreedosForThisDir, statusObj.tmpdir, statusObj.tmpfile) try: common.loggedCmd( cmd + [ "%s -writehdrfile" % os.path.basename(statusObj.tmpfile) ], timeout=75, cwd=statusObj.tmpdir, logger=logger, env={"DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "HOME": os.environ["HOME"]}) except common.CommandException, e: raise common.skip, "couldnt extract with extract_hdr_helper.sh" except OSError, e: raise common.skip, "extract_hdr_helper.sh not installed." for hdr, id, ver in getHdrIdVer(statusObj.tmpdir, os.path.join(statusObj.tmpdir,"dos","freedos")): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True # horribly convoluted dcopy format. Ugh. # unzip to run an exe that writes to a floppy, then take the executable # off of the floppy and run it with -writehdrfile. What in the heck were # they thinking? decorate(traceLog()) def biosFromDcopyExe(statusObj, outputTopdir, logger, *args, **kargs): common.assertFileExt( statusObj.file, '.exe') common.copyToTmp(statusObj) dcopydir = os.path.join(statusObj.tmpdir, "dos", "freedos", "dcopy") os.mkdir(dcopydir) os.mkdir(dcopydir + "2") common.doOnce(statusObj, common.zipExtract, statusObj.tmpfile, dcopydir, logger) if not os.path.exists(os.path.join(dcopydir, "MAKEDISK.BAT")): raise common.skip, "not a dcopy image." cmd = common.doOnce(statusObj, setupFreedosForThisDir, statusObj.tmpdir, statusObj.tmpfile) try: for exe in glob.glob(os.path.join(dcopydir, "*.[Ee][Xx][Ee]")): common.loggedCmd( cmd + [ "dcopy\\%s /s a:" % os.path.basename(exe) ], timeout=75, cwd=statusObj.tmpdir, logger=logger, env={"DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "HOME": os.environ["HOME"]}) common.loggedCmd( cmd + [ "copy a:\\*.* c:\\dcopy2" ], timeout=75, cwd=statusObj.tmpdir, logger=logger, env={"DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "HOME": os.environ["HOME"]}) for exe in glob.glob(os.path.join(dcopydir + "2", "*.[Ee][Xx][Ee]")): if "ync.exe" in exe.lower(): continue common.loggedCmd( cmd + [ "dcopy2\\%s -writehdrfile" % os.path.basename(exe) ], timeout=10, cwd=statusObj.tmpdir, logger=logger, env={"DISPLAY":"", "TERM":"", "PATH":os.environ["PATH"], "HOME": os.environ["HOME"]}) except common.CommandException, e: raise common.skip, "couldnt extract with extract_hdr_helper.sh" except OSError, e: raise for hdr, id, ver in getHdrIdVer( statusObj.tmpdir, os.path.join(statusObj.tmpdir,"dos","freedos"), os.path.join(statusObj.tmpdir,"dos","freedos", "dcopy"), os.path.join(statusObj.tmpdir,"dos","freedos", "dcopy2"), ): dest, packageIni = copyHdr(hdr, id, ver, outputTopdir, logger) for txt in glob.glob( "%s.[Tt][Xx][Tt]" % statusObj.file[:-len(".txt")] ): shutil.copyfile( txt, os.path.join(dest, "relnotes.txt") ) return True decorate(traceLog()) def getHdrIdVer(*paths): gotOne = False toTry=[] for path in paths: if os.path.isdir(path): toTry.extend(glob.glob(os.path.join(path, "*.[hH][dD][rR]"))) elif os.path.isfile(path): toTry.append(path) for i in toTry: try: ver = biosHdr.getBiosHdrVersion(i) for id in biosHdr.getHdrSystemIds(i): gotOne = True yield i, id, ver except biosHdr.InvalidHdr, e: pass if not gotOne: raise noHdrs, "No .HDR file found in %s" % str(paths) decorate(traceLog()) def copyHdr(hdr, id, ver, destTop, logger): systemName = ("system_bios_ven_0x1028_dev_0x%04x" % id).lower() biosName = ("%s_version_%s" % (systemName, ver)).lower() dest = os.path.join(destTop, biosName) common.safemkdir(dest) shutil.copyfile(hdr, os.path.join(dest, "bios.hdr")) shutil.copyfile(conf.license, os.path.join(dest, os.path.basename(conf.license))) packageIni = ConfigParser.ConfigParser() packageIni.read( os.path.join(dest, "package.ini")) if not packageIni.has_section("package"): packageIni.add_section("package") common.setIni( packageIni, "package", module = "firmware_addon_dell.dellbios", type = "BiosPackage", name = "system_bios(ven_0x1028_dev_0x%04x)" % id, safe_name = systemName, vendor_id = "0x1028", device_id = "0x%04x" % id, version = ver, vendor_version = ver, shortname = shortName.getShortname("0x1028", "0x%04x" % id), ) blacklisted = 0 if id in dell_system_id_blacklist: blacklisted = 1 if (id, ver.lower()) in dell_system_specific_bios_blacklist: blacklisted = 1 if blacklisted: common.setIni( packageIni, "package", blacklisted="1", blacklist_reason="Broken RBU implementation.", name = "BLACKLISTED_system_bios(ven_0x1028_dev_0x%04x)" % id, vendor_id = "BLACKLISTED_0x1028", device_id = "BLACKLISTED_0x%04x" % id, safe_name = "BLACKLISTED_%s" % systemName, ) common.linkLog(dest, logger) writePackageIni(dest, packageIni) return dest, packageIni decorate(traceLog()) def writePackageIni(dest, ini): fd = None try: try: os.unlink(os.path.join(dest, "package.ini")) except: pass fd = open( os.path.join(dest, "package.ini"), "w+") ini.write( fd ) finally: if fd is not None: fd.close() firmware-addon-dell-2.2.9/firmware_addon_dell/extract_bios_blacklist.py0000664001765400176540000000164611100516307032755 0ustar00michael_e_brownmichael_e_brown00000000000000# These are Dell System IDs that predate a functional RBU implementation. # blacklist specific versions # (system_id, "bios_version") dell_system_specific_bios_blacklist = [ (0x0126, "a11"), # breaks usb keyboard in syslinux (0x01AD, "a11"), # breaks usb keyboard in syslinux (0x01BC, "a11"), # breaks usb keyboard in syslinux ( 0x022E, "a07"), # breaks wireless ] dell_system_id_blacklist = [ 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x00B4, 0x00BE, 0x00C1, 0x00C6, 0x00C7, 0x00D2, 0x00D4, 0x00D8, 0x00E9, 0x00F2, 0x0108, 0x010C, 0x010D, 0x010E, 0x0110, 0x0115, 0x0116, 0x0119, 0x0132, 0x0133, 0x0144, 0x0145, 0x0147, 0x014B, 0x0126, # Optiplex GX620 - sometimes bricks. :( 0x01AD, # Optiplex GX620 - sometimes bricks. :( 0x01BC, # Optiplex GX620 - sometimes bricks. :( ] firmware-addon-dell-2.2.9/firmware_addon_dell/extract_common.py0000664001765400176540000002527111376537330031277 0ustar00michael_e_brownmichael_e_brown00000000000000 from __future__ import generators import ConfigParser import fcntl import gzip import os import select import shutil import stat import sys import tarfile import tempfile import time import xml.dom.minidom from firmwaretools.trace_decorator import decorate, traceLog, getLog import firmwaretools.pycompat as pycompat import firmware_addon_dell.HelperXml as HelperXml try: import subprocess except ImportError: import firmwaretools.compat_subprocess as subprocess try: import firmware_extract as fte class UnsupportedFileExt(fte.DebugExc): pass class skip(fte.DebugExc): pass class MarkerNotFound(fte.DebugExc): pass except ImportError: pass class CommandException(Exception): pass class CommandTimeoutExpired(CommandException): pass class CommandFailed(CommandException): pass moduleLog = getLog() decorate(traceLog()) def copyToTmp(statusObj): if getattr(statusObj, "tmpdir", None) is not None: return def rmTmp(statusObj, status): statusObj.logger.debug("\tremoving tmpdir") for (dirpath, dirnames, filenames) in os.walk(statusObj.tmpdir): for f in filenames + dirnames: path = os.path.join(dirpath, f) if os.path.islink(path): continue if not os.path.isdir(path) and not (os.path.isfile(path)): continue oldmode = stat.S_IMODE(os.stat(path)[stat.ST_MODE]) os.chmod(path, oldmode | stat.S_IRWXU) shutil.rmtree(statusObj.tmpdir) statusObj.logger.debug("\tcreating temp dir") statusObj.tmpdir = tempfile.mkdtemp(prefix="firmware-tools-extract-") statusObj.logger.debug("\t\t--> %s" % statusObj.tmpdir) statusObj.logger.debug("\tcopying to tempdir") shutil.copy(statusObj.file, statusObj.tmpdir) statusObj.tmpfile = os.path.join(statusObj.tmpdir, os.path.basename(statusObj.file)) statusObj.finalFuncs.append(rmTmp) decorate(traceLog()) def doOnce(statusObj, func, *args, **kargs): if getattr(statusObj, "doOnceFuncs", None) is None: statusObj.doOnceFuncs = {} key = (func.__name__, args, tuple(kargs)) if statusObj.doOnceFuncs.has_key(key): ret = statusObj.doOnceFuncs[ key ] else: ret = func(*args, **kargs) statusObj.doOnceFuncs[ key ] = ret return ret # not traced... def chomp(line): if line.endswith("\n"): return line[:-1] else: return line decorate(traceLog()) def pad(s, n): return s[:n] + ' ' * (n-len(s)) decorate(traceLog()) def logOutput(fds, logger, returnOutput=1, start=0, timeout=0): output="" done = 0 for fd in fds: flags = fcntl.fcntl(fd, fcntl.F_GETFL) if not fd.closed: fcntl.fcntl(fd, fcntl.F_SETFL, flags| os.O_NONBLOCK) while not done: if (time.time() - start)>timeout and timeout!=0: done = 1 break i_rdy,o_rdy,e_rdy = select.select(fds,[],[],1) for s in i_rdy: # slurp as much input as is ready input = s.read() if input == "": done = 1 break if logger is not None: for line in input.split("\n"): if line == '': continue logger.debug(chomp(line)) for h in logger.handlers: if h is not None: h.flush() if returnOutput: output += input return output decorate(traceLog()) def childSetPgrp(chain=None): def setpgrp(): os.setpgrp() if chain is not None: chain() return setpgrp decorate(traceLog()) def loggedCmd(cmd, logger=None, returnOutput=False, raiseExc=True, shell=False, cwd=None, env=None, timeout=0, preexec=None, stdin=None): output=None child = None if stdin is None: stdin = open("/dev/null", "r") try: logger.debug("Running command: %s" % ' '.join(cmd)) start = time.time() child = subprocess.Popen( cmd, shell=shell, cwd=cwd, env=env, bufsize=0, close_fds=True, stdin=stdin, stdout=subprocess.PIPE, stderr=subprocess.PIPE, preexec_fn=childSetPgrp(preexec), ) output = logOutput([child.stdout, child.stderr], logger, returnOutput, start, timeout) except: # kill children if they arent done if child is not None and child.returncode is None: os.killpg(child.pid, 9) try: if child is not None: os.waitpid(child.pid, 0) except: pass raise # wait until child is done, kill it if it passes timeout niceExit=1 while child.poll() is None: if (time.time() - start)>timeout and timeout!=0: niceExit=0 os.killpg(child.pid, 15) if (time.time() - start)>(timeout+1) and timeout!=0: niceExit=0 os.killpg(child.pid, 9) if not niceExit: raise CommandTimeoutExpired, ("Timeout(%s) expired for command:\n # %s\n%s" % (timeout, cmd, output)) if raiseExc and child.returncode: if returnOutput: raise CommandFailed("The command failed (%s):\n\t# %s\n%s" % (child.returncode, cmd, output)) else: raise CommandFailed("The command failed (%s):\n\t# %s" % (child.returncode, cmd)) return output decorate(traceLog()) def assertFileExt(file, *args): good = 0 for ext in args: if file.lower().endswith(ext.lower()): good=1 break if not good: raise UnsupportedFileExt, "File %s does not have a supported extension: %s" % (file, repr(args)) decorate(traceLog()) def linkLog(dest, logger): # link the logfile, so we always have a log of the last extract for this bios while True: try: safeunlink(os.path.join(dest, "extract.log")) os.link(logger.handlers[0].baseFilename, os.path.join(dest, "extract.log")) break except OSError: pass decorate(traceLog()) def findFileMarker(inFD, *markers): moduleLog.debug("look for markers: %s" % repr(markers)) while True: line = inFD.readline() if line=="": # eof raise MarkerNotFound, "didnt find markers in file: %s" % repr(markers) if [1 for x in markers if line.startswith(x)]: moduleLog.debug("Found marker: -->%s<--" % repr(line)) return inFD decorate(traceLog()) def gzipAfterHeader(inFN, outFN, *markers): inFD = open(inFN, "rb", 0) gzFD = gzip.GzipFile(fileobj=findFileMarker(inFD, *markers)) outFD = open(outFN, "w+", 0) gunzip(gzFD, outFD) gzFD.close() outFD.close() inFD.close() decorate(traceLog()) def gunzip(inFD, outFD): readsize=32768 while 1: try: byte = inFD.read(readsize) except IOError: # hit this if there is trailing garbage in gzip file. nonfatal if readsize == 1: break else: readsize = 1 continue if byte == "": break outFD.write(byte) outFD.flush() dupMarkers = ( "#####Startofarchive#####", "#####EndOfScriptFileMarker#", ) ManifestXmlMarker = "#####Startofpackage#####" decorate(traceLog()) def dupExtract(sourceFile, cwd, logger=None): inFD = open(sourceFile, "r", 0) if findFileMarker(inFD, *dupMarkers) is None: raise skip, "did not find DUP file marker." null = open("/dev/null", "w", 0) loggedCmd( ['tar', 'xvzf', '-', '-C', cwd], stdin=inFD.fileno(), cwd=cwd, logger=logger) null.close() inFD.close() decorate(traceLog()) def zipExtract(sourceFile, cwd, logger=None): try: loggedCmd( ["unzip", "-o", sourceFile], cwd=cwd, logger=logger, ) except (OSError, CommandException), e: raise skip, str(e) decorate(traceLog()) def cabExtract(sourceFile, cwd, logger=None): try: loggedCmd( ["unshield", "x", sourceFile], cwd=cwd, logger=logger, ) except (OSError, CommandException), e: raise skip, str(e) decorate(traceLog()) def safemkdir(dest): try: os.makedirs( dest ) except OSError: #already exists pass decorate(traceLog()) def safeunlink(dest): try: os.unlink( dest ) except OSError: #already exists pass decorate(traceLog()) def setIni(ini, section, **kargs): if not ini.has_section(section): ini.add_section(section) for (key, item) in kargs.items(): ini.set(section, key, item) def ShortName(parser, **kargs): if _ShortName.instance is None: _ShortName.instance = _ShortName(parser, **kargs) return _ShortName.instance class _ShortName(object): instance = None def __init__(self, parser, **kargs): self.systemConfIni = None if parser.get_option("--id2name-config") is None: parser.add_option( "--id2name-config", help="Add system id to name mapping config file.", action="append", dest="system_id2name_map", default=[]) decorate(traceLog()) def check(self, conf, opts): self.systemConfIni = ConfigParser.ConfigParser() if getattr(conf, "system_id2name_map", None) is not None: self.systemConfIni.read(conf.system_id2name_map) else: self.systemConfIni.read( os.path.join(firmwaretools.DATADIR, "firmware-tools", "system_id2name.ini")) self.systemConfIni.read(opts.system_id2name_map) decorate(traceLog()) def getShortname(self, vendid, sysid): if not self.systemConfIni: return "" if not self.systemConfIni.has_section("id_to_name"): return "" if self.systemConfIni.has_option("id_to_name", "shortname_ven_%s_dev_%s" % (vendid, sysid)): try: return eval(self.systemConfIni.get("id_to_name", "shortname_ven_%s_dev_%s" % (vendid, sysid))) except Exception, e: moduleLog.debug("Ignoring error in config file: %s" % e) return "" decorate(traceLog()) def getBiosDependencies(packageXml): ''' returns list of supported systems from package xml ''' if os.path.exists( packageXml ): dom = xml.dom.minidom.parse(packageXml) for modelElem in HelperXml.iterNodeElement(dom, "SoftwareComponent", "SupportedSystems", "Brand", "Model"): systemId = HelperXml.getNodeAttribute(modelElem, "systemID") if not systemId: continue systemId = int(systemId,16) for dep in HelperXml.iterNodeAttribute(modelElem, "version", "Dependency"): dep = dep.lower() yield (systemId, dep) firmware-addon-dell-2.2.9/firmware_addon_dell/HelperXml.py0000664001765400176540000000622210752411606030142 0ustar00michael_e_brownmichael_e_brown00000000000000# VIM declarations # vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: ############################################################################# # # Copyright (c) 2003 Dell Computer Corporation # All Rights Reserved. # ############################################################################# from __future__ import generators import types def getText(nodelist): rc = "" if nodelist is not None: for node in nodelist: if node.nodeType == node.TEXT_NODE or node.nodeType == node.CDATA_SECTION_NODE: rc = rc + node.data return rc def getNodeText( node, *args ): rc = "" node = getNodeElement(node, *args) if node is not None: rc = getText( node.childNodes ) return rc def getNodeAttribute(node, attrName, *args ): attribute = None aNode = getNodeElement(node, *args) if aNode is not None: attribute = aNode.getAttribute(attrName) if attribute == '': attribute = None return attribute def setNodeAttributes(node, attrName, attrValue, *args ): aNode = getNodeElement(node, *args) if aNode is not None: aNode.setAttribute(attrName, attrValue) return 1 def iterNodeAttribute(node, attrName, *args): for aNode in iterNodeElement(node, *args): attribute = aNode.getAttribute(attrName) if attribute == '': attribute = None yield attribute def iterNodeElement( node, *args ): if len(args) == 0: yield node elif node is not None: for search in node.childNodes: if isinstance(args[0], types.StringTypes): if search.nodeName == args[0]: for elem in iterNodeElement( search, *args[1:] ): yield elem else: if search.nodeName == args[0][0]: attrHash = args[0][1] found = 1 for (key, value) in attrHash.items(): if search.getAttribute( key ) != value: found = 0 if found: for elem in iterNodeElement( search, *args[1:] ): yield elem def getNodeElement( node, *args ): if len(args) == 0: return node #print "DEBUG: args(%s)" % repr(args) if node is not None: for search in node.childNodes: if isinstance(args[0], types.StringTypes): if search.nodeName == args[0]: candidate = getNodeElement( search, *args[1:] ) if candidate is not None: return candidate else: if search.nodeName == args[0][0]: attrHash = args[0][1] found = 1 for (key, value) in attrHash.items(): if search.getAttribute( key ) != value: found = 0 if found: candidate = getNodeElement( search, *args[1:] ) if candidate is not None: return candidate return None firmware-addon-dell-2.2.9/firmware_addon_dell/__init__.py0000664001765400176540000000032310746703246030004 0ustar00michael_e_brownmichael_e_brown00000000000000 import os def mkselfrelpath(*args): return os.path.normpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), *args)) __VERSION__="unreleased version" PKGLIBEXECDIR=mkselfrelpath("..", "libexec") firmware-addon-dell-2.2.9/pkg/0000777001765400176540000000000011377015123022466 5ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/pkg/firmware-addon-dell.spec.in0000664001765400176540000001272611376537330027602 0ustar00michael_e_brownmichael_e_brown00000000000000# vim:tw=0:ts=4:sw=4:et %define major @RELEASE_MAJOR@ %define minor @RELEASE_MINOR@ %define micro @RELEASE_MICRO@ %define extra @RELEASE_RPM_EXTRA@ %define release_version %{major}.%{minor}.%{micro}%{extra} # required by suse build system # norootforbuild %define run_unit_tests 1 %{?_without_unit_tests: %define run_unit_tests 0} %{?_with_unit_tests: %define run_unit_tests 1} %define python_xml_BR %{nil} # Some variable definitions so that we can be compatible between SUSE Build service and Fedora build system # SUSE: fedora_version suse_version rhel_version centos_version sles_version # Fedora: fedora dist fc8 fc9 %if 0%{?suse_version} || 0%{?sles_version} %define python_xml_BR python-xml %endif # per fedora python packaging guidelines %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} # no debuginfo package, as there are no compiled binaries. %define debug_package %{nil} Name: firmware-addon-dell Version: %{release_version} Release: 1%{?dist} Summary: A firmware-tools plugin to handle BIOS/Firmware for Dell systems Group: Applications/System License: GPLv2+ or OSL 2.1 URL: http://linux.dell.com/libsmbios/download/ Source0: http://linux.dell.com/libsmbios/download/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Dell only sells Intel-compat systems, so this package doesnt make much sense # on, eg. PPC. Also, we rely on libsmbios, which is only avail on Intel-compat ExclusiveArch: x86_64 ia64 %{ix86} BuildRequires: firmware-tools > 0:2.0 BuildRequires: python-smbios python-devel %{python_xml_BR} Requires: smbios-utils python-smbios Requires: firmware-tools >= 0:2.0.0 Provides: firmware_inventory(system_bios) = 0:%{version} %description The firmware-addon-dell package provides plugins to firmware-tools which enable BIOS updates for Dell system, plus pulls in standard inventory modules applicable to most Dell systems. %prep %setup -q %build # this line lets us build an RPM directly from a git tarball [ -e ./configure ] || ./autogen.sh # only applicable on obs # # fix problems when buildsystem time is out of sync. ./configure will # # fail if newly created files are older than the packaged files. # # this should normally be a no-op on proper buildsystems. # touch configure # find . -type f -newer configure -print0 | xargs -r0 touch %configure RELEASE_MAJOR=%{major} RELEASE_MINOR=%{minor} RELEASE_MICRO=%{micro} RELEASE_EXTRA=%{extra} make %{?_smp_mflags} %check %if 0%{?run_unit_tests} make %{?_smp_mflags} check %endif %install # Fedora Packaging guidelines rm -rf $RPM_BUILD_ROOT # SUSE Packaging rpmlint mkdir -p $RPM_BUILD_ROOT make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" mkdir -p $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING-GPL COPYING-OSL %{python_sitelib}/* %config(noreplace) %{_sysconfdir}/firmware/firmware.d/*.conf %{_datadir}/firmware/dell %{_datadir}/firmware-tools/* %changelog * Wed Aug 22 2007 Michael E Brown - 1.4.7-1 - rebase to latest upstream * Fri Aug 17 2007 Michael E Brown - 1.4.4-1 - rebase to latest upstream * Wed Jul 11 2007 Michael E Brown - 1.3.1-1 - up2date_repo_autoconf is now obsolete. dell-*-repository files no longer use it. * Sat Apr 7 2007 Michael E Brown - 1.2.11-1 - enhance up2date_repo_autoconf by populating default configuration file * Fri Apr 6 2007 Michael E Brown - 1.2.10-1 - Couple of changes so that the dell sysid plugin work on yum 2.4.3 prior versions didnt crash, but didnt properly substitute mirrolist because the name of mirrolist var is different in 2.4.3. - Per discussion on mailing list, convert to arch-specific pkg - package bin/up2date_repo_autoconf only for RHEL{3,4} releases * Fri Apr 6 2007 Michael E Brown - 1.2.9-1 - downgrade api needed to 2.1 - Added up2date_repo_autoconf binary - fix changes from 1.2.7 that were accidentally reverted in 1.2.8. :( * Fri Apr 6 2007 Michael E Brown - 1.2.8-1 - sysid plugin: Zero pad value for sysid up to 4 chars - sysid plugin: Add 0x to signify that it is a hex value * Fri Mar 30 2007 Michael E Brown - 1.2.7-1 - yum plugin didnt work on FC5 due to extra, unneeded import. - dont need plugin api 2.5, 2.2 will do * Wed Mar 28 2007 Michael E Brown - 1.2.6-1 - Add yum plugins for setting system ID variables. repos can use $sys_ven_id $sys_dev_id in their baseurl= or mirrorlist= arguments. * Sat Mar 17 2007 Michael E Brown - 1.2.5-1 - Add ExcludeArch for s390 - Remove python-abi dep for RHEL3 (it was broken) - fix sitelib path missing /lib/ dir * Fri Mar 16 2007 Michael E Brown - 1.2.4-1 - Add ExcludeArch to fix problem where f-a-d was being added to ppc repo * Thu Mar 15 2007 Michael E Brown - 1.2.2-1 - Trivial changes to add specific {_datadir}/firmware/dell * Thu Mar 15 2007 Michael E Brown - 1.2.1-1 - Trivial changes to make rpmlint happier * Wed Mar 14 2007 Michael E Brown - 1.2.0-1 - Fedora-compliant packaging changes. firmware-addon-dell-2.2.9/pkg/install-sh0000755001765400176540000003253711377015106024501 0ustar00michael_e_brownmichael_e_brown00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: firmware-addon-dell-2.2.9/pkg/missing0000755001765400176540000002623311377015106024070 0ustar00michael_e_brownmichael_e_brown00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # 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, 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. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar*) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: firmware-addon-dell-2.2.9/pkg/py-compile0000755001765400176540000001013511377015106024467 0ustar00michael_e_brownmichael_e_brown00000000000000#!/bin/sh # py-compile - Compile a Python program scriptversion=2009-04-28.21; # UTC # Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 Free Software # Foundation, Inc. # 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, 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. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . if [ -z "$PYTHON" ]; then PYTHON=python fi basedir= destdir= files= while test $# -ne 0; do case "$1" in --basedir) basedir=$2 if test -z "$basedir"; then echo "$0: Missing argument to --basedir." 1>&2 exit 1 fi shift ;; --destdir) destdir=$2 if test -z "$destdir"; then echo "$0: Missing argument to --destdir." 1>&2 exit 1 fi shift ;; -h|--h*) cat <<\EOF Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." Byte compile some python scripts FILES. Use --destdir to specify any leading directory path to the FILES that you don't want to include in the byte compiled file. Specify --basedir for any additional path information you do want to be shown in the byte compiled file. Example: py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py Report bugs to . EOF exit $? ;; -v|--v*) echo "py-compile $scriptversion" exit $? ;; *) files="$files $1" ;; esac shift done if test -z "$files"; then echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 fi # if basedir was given, then it should be prepended to filenames before # byte compilation. if [ -z "$basedir" ]; then pathtrans="path = file" else pathtrans="path = os.path.join('$basedir', file)" fi # if destdir was given, then it needs to be prepended to the filename to # byte compile but not go into the compiled file. if [ -z "$destdir" ]; then filetrans="filepath = path" else filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi $PYTHON -c " import sys, os, py_compile files = '''$files''' sys.stdout.write('Byte-compiling python modules...\n') for file in files.split(): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue sys.stdout.write(file) sys.stdout.flush() py_compile.compile(filepath, filepath + 'c', path) sys.stdout.write('\n')" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " import sys, os, py_compile files = '''$files''' sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n') for file in files.split(): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue sys.stdout.write(file) sys.stdout.flush() py_compile.compile(filepath, filepath + 'o', path) sys.stdout.write('\n')" 2>/dev/null || : # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: firmware-addon-dell-2.2.9/README0000664001765400176540000000131010623237277022567 0ustar00michael_e_brownmichael_e_brown00000000000000To build, run "make rpm" This software is dual-licensed under GPL/OSL. * Copyright (C) 2005 Dell Inc. * by Michael Brown * Licensed under the Open Software License version 3.0 or later. * * Alternatively, 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. firmware-addon-dell-2.2.9/configure.ac0000664001765400176540000000275511377015075024210 0ustar00michael_e_brownmichael_e_brown00000000000000# -*- Autoconf -*- # vim:tw=0:et:ts=4:sw=4 # Process this file with autoconf to produce a configure script. m4_define([release_major_version], [2]) m4_define([release_minor_version], [2]) m4_define([release_micro_version], [9]) # if you define any "extra" version info, include a leading dot (".") m4_define([release_extra_version], []) #################################### # change version here. AC_INIT([firmware-addon-dell], [release_major_version().release_minor_version().release_micro_version()release_extra_version()]) AC_PREREQ(2.61) AC_CONFIG_AUX_DIR([pkg]) AM_INIT_AUTOMAKE([1.10 subdir-objects tar-ustar dist-bzip2 dist-lzma no-define]) # Checks for programs. AC_PROG_INSTALL # automake macros AM_PATH_PYTHON # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. # variables AC_SUBST([RELEASE_MAJOR], [release_major_version()]) AC_SUBST([RELEASE_MINOR], [release_minor_version()]) AC_SUBST([RELEASE_MICRO], [release_micro_version()]) AC_SUBST([RELEASE_EXTRA], [release_extra_version()]) AC_SUBST([RELEASE_RPM_EXTRA], [$RELEASE_EXTRA]) if test -z "$RELEASE_EXTRA"; then RELEASE_RPM_EXTRA=%{nil} fi # oddity: package name cannot contain '-', so we have to fix it pkgpythondir=\${pythondir}/firmware_addon_dell pkgpyexecdir=\${pyexecdir}/firmware_addon_dell # generate files and exit AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([pkg/${PACKAGE_NAME}.spec]) AC_OUTPUT firmware-addon-dell-2.2.9/aclocal.m40000664001765400176540000007354511377015104023560 0ustar00michael_e_brownmichael_e_brown00000000000000# generated automatically by aclocal 1.11 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, [m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # --------------------------------------------------------------------------- # Adds support for distributing Python modules and packages. To # install modules, copy them to $(pythondir), using the python_PYTHON # automake variable. To install a package with the same name as the # automake package, install to $(pkgpythondir), or use the # pkgpython_PYTHON automake variable. # # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as # locations to install python extension modules (shared libraries). # Another macro is required to find the appropriate flags to compile # extension modules. # # If your package is configured with a different prefix to python, # users will have to add the install directory to the PYTHONPATH # environment variable, or create a .pth file (see the python # documentation for details). # # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will # cause an error if the version of python installed on the system # doesn't meet the requirement. MINIMUM-VERSION should consist of # numbers and dots only. AC_DEFUN([AM_PATH_PYTHON], [ dnl Find a Python interpreter. Python versions prior to 2.0 are not dnl supported. (2.0 was released on October 16, 2000). m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl python2.1 python2.0]) m4_if([$1],[],[ dnl No version check is needed. # Find any Python interpreter. if test -z "$PYTHON"; then AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) fi am_display_PYTHON=python ], [ dnl A version check is needed. if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. AC_MSG_CHECKING([whether $PYTHON version >= $1]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT(yes)], [AC_MSG_ERROR(too old)]) am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION. AC_CACHE_CHECK([for a Python interpreter with version >= $1], [am_cv_pathless_PYTHON],[ for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do test "$am_cv_pathless_PYTHON" = none && break AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) done]) # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) fi am_display_PYTHON=$am_cv_pathless_PYTHON fi ]) if test "$PYTHON" = :; then dnl Run any user-specified action, or abort. m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [if test "x$prefix" = xNONE then am_py_prefix=$ac_default_prefix else am_py_prefix=$prefix fi am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` case $am_cv_python_pythondir in $am_py_prefix*) am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` ;; esac ]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [if test "x$exec_prefix" = xNONE then am_py_exec_prefix=$am_py_prefix else am_py_exec_prefix=$exec_prefix fi am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` case $am_cv_python_pyexecdir in $am_py_exec_prefix*) am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` ;; esac ]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) dnl Run any user-specified action. $2 fi ]) # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. # Run ACTION-IF-FALSE otherwise. # This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] sys.exit(sys.hexversion < minverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR firmware-addon-dell-2.2.9/Makefile-std0000664001765400176540000000506511376562512024151 0ustar00michael_e_brownmichael_e_brown00000000000000# vim:noexpandtab:autoindent:tabstop=8:shiftwidth=8:filetype=make:nocindent:tw=0: # This is a template of all of the 'Standard' stuff that we use in all our # projects. CLEANFILES=$(PACKAGE_NAME)-*.tar.gz $(PACKAGE_NAME)-*.tar.bz2 $(PACKAGE_NAME)-*.rpm _buildtemp version DISTCLEANFILES=*~ EXTRA_DIST = EXTRA_PROGRAMS= CLEANFILES += $(EXTRA_PROGRAMS) CLEANFILES += *.pyc */*.pyc */*/*.pyc */*/*/*.pyc DISTCLEANFILES += pkg/$(PACKAGE).spec clean-local: -test -z "$(CLEANFILES)" || rm -rf $(CLEANFILES) distclean-local: -test -z "$(DISTCLEANFILES)" || rm -rf $(DISTCLEANFILES) .PHONY: git-tag git-tag: git tag -u libsmbios -m "tag for official release: $(PACKAGE_STRING)" v$(PACKAGE_VERSION) .PHONY: get-version get-version: @echo 'PACKAGE_STRING="$(PACKAGE_STRING)"' @echo 'PACKAGE_VERSION="$(PACKAGE_VERSION)"' @echo 'PACKAGE="$(PACKAGE)"' ChangeLog: (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) AUTHORS: (GIT_DIR=$(top_srcdir)/.git git log | grep ^Author | sort |uniq > .authors.tmp && mv .authors.tmp AUTHORS; rm -f .authors.tmp) || (touch AUTHORS; echo 'git directory not found: installing possibly empty AUTHORS.' >&2) REPLACE_VARS=GETTEXT_PACKAGE PACKAGE_VERSION PACKAGE localedir libdir libexecdir datadir sysconfdir pythondir pkgpythondir pkgdatadir pkgconfdir pkggladedir pkglibexecdir define replace_vars_in_file $(foreach VAR,$(REPLACE_VARS),perl -p -i -e "s|^$(VAR)\s*=.*|$(VAR)=\"$($(VAR))\"|" $(1);) endef DATA_HOOK_REPLACE= install-data-hook: $(foreach FILE,$(DATA_HOOK_REPLACE),$(call replace_vars_in_file,$(addprefix $(DESTDIR)/,$(FILE)))) EXEC_HOOK_REPLACE= install-exec-hook: $(foreach FILE,$(EXEC_HOOK_REPLACE),$(call replace_vars_in_file,$(addprefix $(DESTDIR)/,$(FILE)))) TOPDIR := $(shell cd $(top_builddir);pwd) BUILDDIR = $(TOPDIR)/_rpmbuild RPMDIR = $(TOPDIR) SOURCEDIR = $(TOPDIR) SPECFILE= $(TOPDIR)/pkg/$(PACKAGE_NAME).spec SPECDIR = $(TOPDIR)/pkg SRCRPMDIR = $(TOPDIR) AM_RPM_DEFINES = --define "_topdir $(TOPDIR)" \ --define "_builddir $(BUILDDIR)" \ --define "_rpmdir $(RPMDIR)" \ --define "_sourcedir $(SOURCEDIR)" \ --define "_specdir $(SPECDIR)" \ --define "_srcrpmdir $(SRCRPMDIR)" \ $(RPM_DEFINES) .PHONY: rpm srpm rpm: pkg/$(PACKAGE_NAME).spec dist mkdir -p $(BUILDDIR) rpmbuild $(AM_RPM_DEFINES) -ba --nodeps $(SPECFILE) rm -rf $(BUILDDIR) srpm: pkg/$(PACKAGE_NAME).spec dist mkdir -p $(BUILDDIR) rpmbuild $(AM_RPM_DEFINES) -bs --nodeps $(SPECFILE) rm -rf $(BUILDDIR) firmware-addon-dell-2.2.9/Makefile.am0000664001765400176540000000215111376562574023756 0ustar00michael_e_brownmichael_e_brown00000000000000# vim:noexpandtab:autoindent:tabstop=8:shiftwidth=8:filetype=make:nocindent:tw=0: include Makefile-std pkgdatadir = $(datadir)/firmware-tools/ nodist_pkgdata_DATA = doc/system_id2name.ini doc/bios.spec.in doc/dell-std-license.txt pkgconfdir = $(sysconfdir)/firmware/firmware.d/ nodist_pkgconf_DATA = doc/firmware-addon-dell.conf export top_srcdir top_builddir EXTRA_DIST += doc test COPYING-GPL COPYING-OSL TESTS = test/testAll.py pkgpython_PYTHON = \ firmware_addon_dell/generated/__init__.py \ firmware_addon_dell/biosHdr.py \ firmware_addon_dell/dellbios.py \ firmware_addon_dell/extract_bios.py \ firmware_addon_dell/extract_bios_blacklist.py \ firmware_addon_dell/extract_common.py \ firmware_addon_dell/HelperXml.py __VERSION__=$(VERSION) PKGLIBEXECDIR=$(pkglibexecdir) REPLACE_VARS+= __VERSION__ PKGLIBEXECDIR EXTRA_DIST += firmware_addon_dell/__init__.py DISTCLEANFILES += firmware_addon_dell/generated/__init__.py firmware_addon_dell/generated/__init__.py: firmware_addon_dell/__init__.py configure Makefile config.status mkdir -p $$(dirname $@) ||: cp $< $@ $(call replace_vars_in_file,$@) firmware-addon-dell-2.2.9/Makefile.in0000664001765400176540000006252311377015106023761 0ustar00michael_e_brownmichael_e_brown00000000000000# Makefile.in generated by automake 1.11 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # vim:noexpandtab:autoindent:tabstop=8:shiftwidth=8:filetype=make:nocindent:tw=0: # vim:noexpandtab:autoindent:tabstop=8:shiftwidth=8:filetype=make:nocindent:tw=0: # This is a template of all of the 'Standard' stuff that we use in all our # projects. VPATH = @srcdir@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = README $(am__configure_deps) $(pkgpython_PYTHON) \ $(srcdir)/Makefile-std $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure \ $(top_srcdir)/pkg/${PACKAGE_NAME}.spec.in AUTHORS COPYING \ ChangeLog INSTALL NEWS TODO pkg/install-sh pkg/missing \ pkg/py-compile EXTRA_PROGRAMS = subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = pkg/${PACKAGE_NAME}.spec CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(pkgpythondir)" \ "$(DESTDIR)$(pkgconfdir)" "$(DESTDIR)$(pkgdatadir)" py_compile = $(top_srcdir)/pkg/py-compile DATA = $(nodist_pkgconf_DATA) $(nodist_pkgdata_DATA) am__tty_colors = \ red=; grn=; lgn=; blu=; std= DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d "$(distdir)" \ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr "$(distdir)"; }; } DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 \ $(distdir).tar.lzma GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print pkgdatadir = $(datadir)/firmware-tools/ ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RELEASE_EXTRA = @RELEASE_EXTRA@ RELEASE_MAJOR = @RELEASE_MAJOR@ RELEASE_MICRO = @RELEASE_MICRO@ RELEASE_MINOR = @RELEASE_MINOR@ RELEASE_RPM_EXTRA = @RELEASE_RPM_EXTRA@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ CLEANFILES = $(PACKAGE_NAME)-*.tar.gz $(PACKAGE_NAME)-*.tar.bz2 \ $(PACKAGE_NAME)-*.rpm _buildtemp version $(EXTRA_PROGRAMS) \ *.pyc */*.pyc */*/*.pyc */*/*/*.pyc DISTCLEANFILES = *~ pkg/$(PACKAGE).spec \ firmware_addon_dell/generated/__init__.py EXTRA_DIST = doc test COPYING-GPL COPYING-OSL \ firmware_addon_dell/__init__.py REPLACE_VARS = GETTEXT_PACKAGE PACKAGE_VERSION PACKAGE localedir \ libdir libexecdir datadir sysconfdir pythondir pkgpythondir \ pkgdatadir pkgconfdir pkggladedir pkglibexecdir __VERSION__ \ PKGLIBEXECDIR DATA_HOOK_REPLACE = EXEC_HOOK_REPLACE = TOPDIR := $(shell cd $(top_builddir);pwd) BUILDDIR = $(TOPDIR)/_rpmbuild RPMDIR = $(TOPDIR) SOURCEDIR = $(TOPDIR) SPECFILE = $(TOPDIR)/pkg/$(PACKAGE_NAME).spec SPECDIR = $(TOPDIR)/pkg SRCRPMDIR = $(TOPDIR) AM_RPM_DEFINES = --define "_topdir $(TOPDIR)" \ --define "_builddir $(BUILDDIR)" \ --define "_rpmdir $(RPMDIR)" \ --define "_sourcedir $(SOURCEDIR)" \ --define "_specdir $(SPECDIR)" \ --define "_srcrpmdir $(SRCRPMDIR)" \ $(RPM_DEFINES) nodist_pkgdata_DATA = doc/system_id2name.ini doc/bios.spec.in doc/dell-std-license.txt pkgconfdir = $(sysconfdir)/firmware/firmware.d/ nodist_pkgconf_DATA = doc/firmware-addon-dell.conf TESTS = test/testAll.py pkgpython_PYTHON = \ firmware_addon_dell/generated/__init__.py \ firmware_addon_dell/biosHdr.py \ firmware_addon_dell/dellbios.py \ firmware_addon_dell/extract_bios.py \ firmware_addon_dell/extract_bios_blacklist.py \ firmware_addon_dell/extract_common.py \ firmware_addon_dell/HelperXml.py __VERSION__ = $(VERSION) PKGLIBEXECDIR = $(pkglibexecdir) all: all-am .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile-std $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): pkg/${PACKAGE_NAME}.spec: $(top_builddir)/config.status $(top_srcdir)/pkg/${PACKAGE_NAME}.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-pkgpythonPYTHON: $(pkgpython_PYTHON) @$(NORMAL_INSTALL) test -z "$(pkgpythondir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)" @list='$(pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ $(am__strip_dir) \ dlist="$$dlist $$f"; \ list2="$$list2 $$b$$p"; \ else :; fi; \ done; \ for file in $$list2; do echo $$file; done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ if test -z "$(DESTDIR)"; then \ PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgpythondir)" $$dlist; \ else \ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \ fi; \ else :; fi uninstall-pkgpythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ filesc=`echo "$$files" | sed 's|$$|c|'`; \ fileso=`echo "$$files" | sed 's|$$|o|'`; \ echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$files || exit $$?; \ echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$filesc ")"; \ cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$filesc || exit $$?; \ echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$fileso ")"; \ cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$fileso install-nodist_pkgconfDATA: $(nodist_pkgconf_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfdir)" @list='$(nodist_pkgconf_DATA)'; test -n "$(pkgconfdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfdir)" || exit $$?; \ done uninstall-nodist_pkgconfDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_pkgconf_DATA)'; test -n "$(pkgconfdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(pkgconfdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(pkgconfdir)" && rm -f $$files install-nodist_pkgdataDATA: $(nodist_pkgdata_DATA) @$(NORMAL_INSTALL) test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" @list='$(nodist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ done uninstall-nodist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=$(srcdir); export srcdir; \ list=' $(TESTS) '; \ $(am__tty_colors); \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$tst[\ \ ]*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ col=$$red; res=XPASS; \ ;; \ *) \ col=$$grn; res=PASS; \ ;; \ esac; \ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$tst[\ \ ]*) \ xfail=`expr $$xfail + 1`; \ col=$$lgn; res=XFAIL; \ ;; \ *) \ failed=`expr $$failed + 1`; \ col=$$red; res=FAIL; \ ;; \ esac; \ else \ skip=`expr $$skip + 1`; \ col=$$blu; res=SKIP; \ fi; \ echo "$${col}$$res$${std}: $$tst"; \ done; \ if test "$$all" -eq 1; then \ tests="test"; \ All=""; \ else \ tests="tests"; \ All="All "; \ fi; \ if test "$$failed" -eq 0; then \ if test "$$xfail" -eq 0; then \ banner="$$All$$all $$tests passed"; \ else \ if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ fi; \ else \ if test "$$xpass" -eq 0; then \ banner="$$failed of $$all $$tests failed"; \ else \ if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ fi; \ fi; \ dashes="$$banner"; \ skipped=""; \ if test "$$skip" -ne 0; then \ if test "$$skip" -eq 1; then \ skipped="($$skip test was not run)"; \ else \ skipped="($$skip tests were not run)"; \ fi; \ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$skipped"; \ fi; \ report=""; \ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ report="Please report to $(PACKAGE_BUGREPORT)"; \ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$report"; \ fi; \ dashes=`echo "$$dashes" | sed s/./=/g`; \ if test "$$failed" -eq 0; then \ echo "$$grn$$dashes"; \ else \ echo "$$red$$dashes"; \ fi; \ echo "$$banner"; \ test -z "$$skipped" || echo "$$skipped"; \ test -z "$$report" || echo "$$report"; \ echo "$$dashes$$std"; \ test "$$failed" -eq 0; \ else :; fi distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @$(am__cd) '$(distuninstallcheck_dir)' \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pkgpythondir)" "$(DESTDIR)$(pkgconfdir)" "$(DESTDIR)$(pkgdatadir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-local dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-nodist_pkgconfDATA install-nodist_pkgdataDATA \ install-pkgpythonPYTHON @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am install-dvi-am: install-exec-am: @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-nodist_pkgconfDATA \ uninstall-nodist_pkgdataDATA uninstall-pkgpythonPYTHON .MAKE: check-am install-am install-data-am install-exec-am \ install-strip .PHONY: all all-am am--refresh check check-TESTS check-am clean \ clean-generic clean-local dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ distclean distclean-generic distclean-local distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-data-hook install-dvi install-dvi-am install-exec \ install-exec-am install-exec-hook install-html install-html-am \ install-info install-info-am install-man \ install-nodist_pkgconfDATA install-nodist_pkgdataDATA \ install-pdf install-pdf-am install-pkgpythonPYTHON install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-nodist_pkgconfDATA \ uninstall-nodist_pkgdataDATA uninstall-pkgpythonPYTHON clean-local: -test -z "$(CLEANFILES)" || rm -rf $(CLEANFILES) distclean-local: -test -z "$(DISTCLEANFILES)" || rm -rf $(DISTCLEANFILES) .PHONY: git-tag git-tag: git tag -u libsmbios -m "tag for official release: $(PACKAGE_STRING)" v$(PACKAGE_VERSION) .PHONY: get-version get-version: @echo 'PACKAGE_STRING="$(PACKAGE_STRING)"' @echo 'PACKAGE_VERSION="$(PACKAGE_VERSION)"' @echo 'PACKAGE="$(PACKAGE)"' ChangeLog: (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) AUTHORS: (GIT_DIR=$(top_srcdir)/.git git log | grep ^Author | sort |uniq > .authors.tmp && mv .authors.tmp AUTHORS; rm -f .authors.tmp) || (touch AUTHORS; echo 'git directory not found: installing possibly empty AUTHORS.' >&2) define replace_vars_in_file $(foreach VAR,$(REPLACE_VARS),perl -p -i -e "s|^$(VAR)\s*=.*|$(VAR)=\"$($(VAR))\"|" $(1);) endef install-data-hook: $(foreach FILE,$(DATA_HOOK_REPLACE),$(call replace_vars_in_file,$(addprefix $(DESTDIR)/,$(FILE)))) install-exec-hook: $(foreach FILE,$(EXEC_HOOK_REPLACE),$(call replace_vars_in_file,$(addprefix $(DESTDIR)/,$(FILE)))) .PHONY: rpm srpm rpm: pkg/$(PACKAGE_NAME).spec dist mkdir -p $(BUILDDIR) rpmbuild $(AM_RPM_DEFINES) -ba --nodeps $(SPECFILE) rm -rf $(BUILDDIR) srpm: pkg/$(PACKAGE_NAME).spec dist mkdir -p $(BUILDDIR) rpmbuild $(AM_RPM_DEFINES) -bs --nodeps $(SPECFILE) rm -rf $(BUILDDIR) export top_srcdir top_builddir firmware_addon_dell/generated/__init__.py: firmware_addon_dell/__init__.py configure Makefile config.status mkdir -p $$(dirname $@) ||: cp $< $@ $(call replace_vars_in_file,$@) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: firmware-addon-dell-2.2.9/configure0000775001765400176540000032230011377015105023612 0ustar00michael_e_brownmichael_e_brown00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for firmware-addon-dell 2.2.9. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='firmware-addon-dell' PACKAGE_TARNAME='firmware-addon-dell' PACKAGE_VERSION='2.2.9' PACKAGE_STRING='firmware-addon-dell 2.2.9' PACKAGE_BUGREPORT='' ac_subst_vars='LTLIBOBJS LIBOBJS RELEASE_RPM_EXTRA RELEASE_EXTRA RELEASE_MICRO RELEASE_MINOR RELEASE_MAJOR pkgpyexecdir pyexecdir pkgpythondir pythondir PYTHON_PLATFORM PYTHON_EXEC_PREFIX PYTHON_PREFIX PYTHON_VERSION PYTHON am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking ' ac_precious_vars='build_alias host_alias target_alias' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures firmware-addon-dell 2.2.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/firmware-addon-dell] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of firmware-addon-dell 2.2.9:";; esac cat <<\_ACEOF _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF firmware-addon-dell configure 2.2.9 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by firmware-addon-dell $as_me 2.2.9, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in pkg "$srcdir"/pkg; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in pkg \"$srcdir\"/pkg" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in pkg \"$srcdir\"/pkg" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. am__api_version='1.11' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;} { (exit 1); exit 1; }; };; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} { (exit 1); exit 1; }; };; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 $as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='firmware-addon-dell' VERSION='2.2.9' # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} { $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5 $as_echo_n "checking how to create a ustar tar archive... " >&6; } # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar plaintar pax cpio none' _am_tools=${am_cv_prog_tar_ustar-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do { echo "$as_me:$LINENO: $_am_tar --version" >&5 ($_am_tar --version) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && break done am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x ustar -w "$$tardir"' am__tar_='pax -L -x ustar -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H ustar -L' am__tar_='find "$tardir" -print | cpio -o -H ustar -L' am__untar='cpio -i -H ustar -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_ustar}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -rf conftest.dir if test -s conftest.tar; then { echo "$as_me:$LINENO: $am__untar &5 ($am__untar &5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } grep GrepMe conftest.dir/file >/dev/null 2>&1 && break fi done rm -rf conftest.dir if test "${am_cv_prog_tar_ustar+set}" = set; then $as_echo_n "(cached) " >&6 else am_cv_prog_tar_ustar=$_am_tool fi { $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5 $as_echo "$am_cv_prog_tar_ustar" >&6; } # Checks for programs. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' # automake macros # Find any Python interpreter. if test -z "$PYTHON"; then for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PYTHON+set}" = set; then $as_echo_n "(cached) " >&6 else case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 $as_echo "$PYTHON" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$PYTHON" && break done test -n "$PYTHON" || PYTHON=":" fi am_display_PYTHON=python if test "$PYTHON" = :; then { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;} { (exit 1); exit 1; }; } else { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } if test "${am_cv_python_version+set}" = set; then $as_echo_n "(cached) " >&6 else am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` fi { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 $as_echo "$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } if test "${am_cv_python_platform+set}" = set; then $as_echo_n "(cached) " >&6 else am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` fi { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 $as_echo "$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } if test "${am_cv_python_pythondir+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$prefix" = xNONE then am_py_prefix=$ac_default_prefix else am_py_prefix=$prefix fi am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` case $am_cv_python_pythondir in $am_py_prefix*) am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` ;; esac fi { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 $as_echo "$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$exec_prefix" = xNONE then am_py_exec_prefix=$am_py_prefix else am_py_exec_prefix=$exec_prefix fi am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` case $am_cv_python_pyexecdir in $am_py_exec_prefix*) am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` ;; esac fi { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 $as_echo "$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. # variables RELEASE_MAJOR=2 RELEASE_MINOR=2 RELEASE_MICRO=9 RELEASE_EXTRA= RELEASE_RPM_EXTRA=$RELEASE_EXTRA if test -z "$RELEASE_EXTRA"; then RELEASE_RPM_EXTRA=%{nil} fi # oddity: package name cannot contain '-', so we have to fix it pkgpythondir=\${pythondir}/firmware_addon_dell pkgpyexecdir=\${pyexecdir}/firmware_addon_dell # generate files and exit ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files pkg/${PACKAGE_NAME}.spec" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by firmware-addon-dell $as_me 2.2.9, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ firmware-addon-dell config.status 2.2.9 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "pkg/${PACKAGE_NAME}.spec") CONFIG_FILES="$CONFIG_FILES pkg/${PACKAGE_NAME}.spec" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi firmware-addon-dell-2.2.9/AUTHORS0000664001765400176540000000027211377015112022752 0ustar00michael_e_brownmichael_e_brown00000000000000Author: Matt Domsch Author: Michael E Brown Author: Michael E Brown Author: Sadhana B firmware-addon-dell-2.2.9/COPYING0000664001765400176540000000000011376537330022734 0ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/ChangeLog0000664001765400176540000021130611377015112023456 0ustar00michael_e_brownmichael_e_brown00000000000000commit 42df4bc6a499dd72d7a45e3d563b5dde774d9557 Author: Michael E Brown Date: Tue May 25 13:39:37 2010 -0500 version bump commit b8444b47c2929925d5fc1308963a25e757a3bf39 Author: Michael E Brown Date: Tue May 25 13:39:21 2010 -0500 use backwards compat generator expression. commit 3478814ab54d0818f297f884aeccedbb575abae9 Author: Michael E Brown Date: Mon May 24 15:46:10 2010 -0500 version bump commit 73f6954945d4f9a2128c2de3f8738d035eb7f2d8 Author: Michael E Brown Date: Mon May 24 15:45:58 2010 -0500 more sane way of replacing vars commit c4b8929477ca2429c036de88fffc4c0c8a1af2d8 Author: Michael E Brown Date: Mon May 24 14:06:50 2010 -0500 version bump commit 55d1f88c65c6745bbf3ba01945fa7c227efce478 Author: Michael E Brown Date: Mon May 24 14:06:37 2010 -0500 sync buildsystem with firmwaretools commit d0e3557a405748e0c562ba3cfb9043dea1024b5e Author: Michael E Brown Date: Mon May 24 13:48:04 2010 -0500 remove unused makefile targets commit cde1750cc17db19c011c7b68a006c4bf3a6dc3e2 Author: Michael E Brown Date: Mon May 24 13:44:06 2010 -0500 update release script commit 0ecf07f05d40707a7b835ceb696e213ec8740541 Author: Michael E Brown Date: Mon May 24 13:43:10 2010 -0500 version bump commit fab6c7b0d0d9c2eb41c0957c3742af5ecdcdba35 Author: Michael E Brown Date: Mon May 24 13:41:42 2010 -0500 sync makefile with firmware-tools commit 6b7c5e2260de4a2f343ca02e1ce5f00ff831f91f Author: Michael E Brown Date: Mon May 24 13:21:32 2010 -0500 dont disable dellbios plugin for non-root to allow mock unit tests, etc commit cb2b43c8818ff04b3f0d13556254ec95e13105b9 Author: Michael E Brown Date: Mon May 24 13:09:32 2010 -0500 update release script commit 8fd591ced0bb01ad36e6f55fff93a604ac638f95 Author: Michael E Brown Date: Mon May 24 13:09:30 2010 -0500 update release script commit 758a98131b4a7e555f28105d8e29d125cda0e8f3 Author: Michael E Brown Date: Mon May 24 12:51:23 2010 -0500 version bump commit 2e9bc7bc3b2119acb98affefcef95450326fa40d Author: Michael E Brown Date: Thu Apr 8 13:59:06 2010 -0500 version bump commit 0e648e290ad46e7fba045273ef975618dc126dca Author: Michael E Brown Date: Thu Apr 8 13:58:48 2010 -0500 remove obsolete constructs commit c19d2c3489a2bb099a0d0986ebcca3e0ef460fb8 Author: Michael E Brown Date: Thu Apr 8 13:58:18 2010 -0500 dont try to flush handlers that are not set commit abbf9e1a41fe1e26a557422bc9f1d6da89d08015 Author: Michael E Brown Date: Tue Mar 30 16:22:06 2010 -0500 use correct tar directory commit b89ad1ca586096de13fd641f8c00881f672575b8 Merge: 3755b41... 6cc4637... Author: Michael E Brown Date: Tue Mar 9 14:01:10 2010 -0600 fix merge conflict commit 3755b4199bd459a690ab56ae0755a22d13b5b531 Author: Michael E Brown Date: Tue Mar 9 13:59:19 2010 -0600 update automake version, add bz tarball and switch to it for rpm. commit d5950b25478819c9311aab1f2d00797534ad0510 Author: Michael E Brown Date: Fri Mar 5 14:37:05 2010 -0600 add required autotools files commit 662fb972926be37d1dacee14e8ad4b1eb68cbeef Author: Michael E Brown Date: Fri Mar 5 14:36:55 2010 -0600 streamline configure.ac to be more inline with libsmbios commit c48c711c07078438076780b6ce679888ed919846 Author: Michael E Brown Date: Fri Mar 5 14:36:30 2010 -0600 use standard autogen.sh commit 57bd8190a6a6e48677244649a87c6613b733eb8b Author: Michael E Brown Date: Fri Mar 5 14:36:16 2010 -0600 update makefile to work with newer git versions commit 630a62929cdfba11c4aa25099bfa646f07c492cd Author: Michael E Brown Date: Fri Mar 5 14:04:45 2010 -0600 version bump commit 41416cf03806494584dbd55637da56b41de8acae Author: Michael E Brown Date: Fri Mar 5 14:04:16 2010 -0600 catch invalid rbu header and re-raise commit 8e0304938b59d5e7e9bdcd74ae3852d8b1e03cfe Author: Michael E Brown Date: Fri Mar 5 13:13:31 2010 -0600 fix for api difference in lower level commit c782a96168dfa8060c8093ae16262723cc7e08e9 Author: Michael E Brown Date: Fri Mar 5 13:13:16 2010 -0600 dont bail on bad return from wineprefixcreate commit 6cc4637553e5b1e3054b822b1529038a4d73ab11 Author: Michael E Brown Date: Tue May 19 16:18:15 2009 -0500 version bump commit 71800a95c1321357af58d2e4a3e07f92a2a414ec Author: Michael E Brown Date: Fri May 15 17:37:51 2009 -0500 add versioned br for firmware-tools commit 87b617e458a7b895a7195937692e69b1fead0ebc Author: Matt Domsch Date: Thu May 14 22:20:16 2009 -0500 RPM spec: use mkdir -p in %install commit 5177afbe40f520d3e70a4118d80425cafaf03883 Author: Michael E Brown Date: Tue Dec 16 01:42:37 2008 -0600 we now require python-smbios for install and build time. commit 444aad94dbf8ea0290218044e4d6cafea4315d97 Author: Michael E Brown Date: Mon Dec 15 17:39:20 2008 -0600 remove useless rpm-release variable. remove yum buildreq since we no longer supply yum plugin. commit 2e7fe755463165de31d852222d4a5084aa3c5744 Author: Michael E Brown Date: Mon Dec 15 14:41:04 2008 -0600 remove useless variable, release_name, that wont ever change. commit c6df18477db00a65edfaf94a89b3802a77915ceb Merge: 1a45ccf... a31f748... Author: Michael E Brown Date: Mon Dec 15 13:41:00 2008 -0600 Merge branch 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: add blacklist entries for GX620 another typo in var name. add build service integration to make file. fixup typo in var name. commit 1a45ccf7b09540be0eb6421a0e3c9d6f2a24b7ed Author: Michael E Brown Date: Mon Dec 15 13:40:44 2008 -0600 fixup spec for version variable changes. commit 9c66fe881a13803f3a43a6f60b933f371d7ba3f1 Author: Michael E Brown Date: Mon Dec 15 13:38:48 2008 -0600 dont remove spec with 'make clean' commit 8261e5cf4f3852f60abf962b47d0908e9046c762 Author: Michael E Brown Date: Mon Dec 15 12:53:39 2008 -0600 remove biosHdr tests since these should now belong in libsmbios test suite. commit 6c61107b661efd700dbb16a8d4d2bf1d4f0cbc68 Author: Michael E Brown Date: Mon Dec 15 12:23:01 2008 -0600 update for new possible rbu hdr locations. commit 35fcb4557fba0d9b44c2023a975c957480a09998 Author: Michael E Brown Date: Mon Dec 15 12:22:43 2008 -0600 update to use libsmbios rbu hdr functions and system id functions. commit bdcbe0232cfaa1a3957c71194981b3d059e2950a Author: Michael E Brown Date: Mon Dec 15 12:22:01 2008 -0600 update buildsys to sync with new libsmbios features. commit 33b487196eb41187ac2e310a33bf0a4d8fe9f864 Author: Michael E Brown Date: Mon Nov 17 20:33:49 2008 -0600 remove sysid yum plugin commit a31f748275289022c2983c58cd97f6c45ea06275 Author: Michael E Brown Date: Fri Oct 24 23:11:46 2008 -0500 add blacklist entries for GX620 commit b4226bb7da0809c0d282fbfc18e80de48c05051b Author: Michael E Brown Date: Fri Oct 24 22:37:33 2008 -0500 another typo in var name. commit e28da18f3b322f378b9e475e8f7a5bcbece147b1 Merge: e321d2c... 7fb6824... Author: Michael E Brown Date: Fri Oct 24 22:32:51 2008 -0500 Merge branch 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: remove unneeded autobuild file version bump fix missing Requires, was accidentally deleted with an obsolete comment. suse build service fixes. version bump. add susebuild upload target. fixup release script. commit e321d2c820f9d00d3e0936a0ef0f21212530e9df Author: Michael E Brown Date: Fri Oct 24 22:30:43 2008 -0500 add build service integration to make file. commit a4e4a19c087d94c95659498aa83c40580a64f357 Author: Michael E Brown Date: Fri Oct 24 22:25:19 2008 -0500 fixup typo in var name. commit 7fb6824cc32a1213487e176dc97cccafd37566ab Author: Michael E Brown Date: Tue Oct 14 17:39:44 2008 -0500 remove unneeded autobuild file commit 759819a536657822d170e1bd7a1fae1f0cd85814 Author: Michael E Brown Date: Tue Oct 14 16:50:46 2008 -0500 version bump commit 53b05dd1f7aec5f4edb082b3c4c0c517715a8270 Author: Michael E Brown Date: Tue Oct 14 16:50:35 2008 -0500 fix missing Requires, was accidentally deleted with an obsolete comment. commit 5bee420931bacee70383b062b11535846beaf484 Author: Michael E Brown Date: Thu Sep 11 18:22:20 2008 -0500 suse build service fixes. version bump. add susebuild upload target. fixup release script. commit ebb627e6ed3839ed4c2b91291f6b572402705844 Author: Michael E Brown Date: Wed Aug 27 10:32:22 2008 -0500 add suse build service upload script commit 9adc254adeaed4d94cadc5173b213d8215e6cb91 Author: Michael E Brown Date: Tue Aug 26 18:02:45 2008 -0500 bugfix updates for Makefile-std commit 90cc4e2e4adc84830d374e722864ebea9cf08543 Author: Michael E Brown Date: Tue Aug 19 16:52:42 2008 -0500 update to more modern prereq, smbios-utils, which obsoleted libsmbios-bin a while back. commit be5e16ea94a5a17398e6f93aa5075810090485a1 Author: Michael E Brown Date: Mon Aug 18 17:36:32 2008 -0500 allow rpm build from git-generated archive. commit 3c8f7eb6b4b555b218f1ac0adb9f4be43039c70e Author: Michael E Brown Date: Mon Aug 18 17:00:46 2008 -0500 more Makefile-std standardizations. commit 554e5ef038c5c8e39dde64ab8dea554c2fc8b5a7 Author: Michael E Brown Date: Mon Aug 18 16:54:45 2008 -0500 start trying to standardize Makefile-std commit d2a20020ec0308d0289ea3b1469c743c6e8b2894 Merge: de583d7... 2e61153... Author: Michael E Brown Date: Mon Aug 18 15:45:51 2008 -0500 Merge branch 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: update mock build list for latest list of supported distros. fix license tag commit de583d7a6b41b2e1e4b7c17e6ff1a4f4553552e0 Author: Michael E Brown Date: Mon Aug 18 15:45:43 2008 -0500 make more compatible with suse build service. commit 2e6115301aabc1ddbf590dd9b927524339965019 Merge: af9fd5a... 152026e... Author: Michael E Brown Date: Thu Aug 14 10:58:41 2008 -0500 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: add more blacklist entries. add ability to blacklist specific bios versions. commit af9fd5ab935867f048dea98c847285949f244a88 Author: Michael E Brown Date: Thu Aug 14 10:58:11 2008 -0500 update mock build list for latest list of supported distros. commit f0de936af8b17741d30b4b86d7a04f2da22e1bf7 Author: Michael E Brown Date: Thu Aug 14 10:57:40 2008 -0500 fix license tag commit 152026e469970c5aa742b9d13a2f94450373450a Author: Michael E Brown Date: Tue Apr 1 17:29:55 2008 -0500 add more blacklist entries. commit e8a220dda858159d6536068e080edb039ba41c57 Merge: 3a660a6... ec38a04... Author: Michael E Brown Date: Tue Apr 1 17:23:50 2008 -0500 Merge branch 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: fixup spec to remove old reqs. fixup build script to use upload overrides. version bump version bump change to new inventory_hook api and populate system ID in base obj. fixup unit tests. remove compat_subprocess because it has been moved to firmwaretools. set system id for base when we inventory the system. convert to inventory_hook and clean up unneeded bmc bootstrap. fixup suse install. whitespace cleanup version bump commit 3a660a6dc5a5b449d053a29425a9e441653756d6 Author: Michael E Brown Date: Tue Apr 1 13:46:34 2008 -0500 add ability to blacklist specific bios versions. commit ec38a04eab832e8bc12b8732d263f227edf22da9 Author: Michael E Brown Date: Mon Mar 17 00:38:58 2008 -0500 fixup spec to remove old reqs. commit a3647062ecdbf306d85288e6ec86a13c9692025d Author: Michael E Brown Date: Mon Mar 17 00:38:44 2008 -0500 fixup build script to use upload overrides. commit cd6aad330d3997c4b6c2b133cb295f5f95bcd371 Author: Michael E Brown Date: Wed Mar 12 10:45:33 2008 -0500 version bump commit 89d892eeb86d3a0c7a0b0595c5603c687606d98e Merge: 384f848... 8035538... Author: Michael E Brown Date: Wed Mar 12 10:45:15 2008 -0500 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: version bump change to new inventory_hook api and populate system ID in base obj. fixup unit tests. remove compat_subprocess because it has been moved to firmwaretools. set system id for base when we inventory the system. convert to inventory_hook and clean up unneeded bmc bootstrap. commit 80355387569472bfa7883fe10b9553e16f1241df Author: Michael E Brown Date: Tue Mar 11 21:39:48 2008 -0500 version bump commit 72428fc1e00dcaf67ebcdff77ac8dfc473dfacf6 Author: Michael E Brown Date: Tue Mar 11 20:26:56 2008 -0500 change to new inventory_hook api and populate system ID in base obj. fixup unit tests. commit 5fb692a88635d48342f4d7f801d0977357d5c72b Author: Michael E Brown Date: Tue Mar 11 20:08:50 2008 -0500 remove compat_subprocess because it has been moved to firmwaretools. commit 1f3aaab404949f650361acfac5c294e72e8f802f Author: Michael E Brown Date: Tue Mar 11 20:08:32 2008 -0500 set system id for base when we inventory the system. commit 681ba6ae63102e7369be68c2b1acb075373a5b1b Author: Michael E Brown Date: Tue Mar 11 19:31:35 2008 -0500 convert to inventory_hook and clean up unneeded bmc bootstrap. commit 384f8485adf6fded4f9cea27ed3fab9818e74979 Merge: 0acb206... 6138978... Author: Michael E Brown Date: Wed Mar 5 16:59:10 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: whitespace cleanup commit 0acb206589a4abae0e3029fb02fd1e1f9a3a929f Author: Michael E Brown Date: Wed Mar 5 16:58:53 2008 -0600 fixup suse install. commit 613897872b676721fdbb332b47f80f379f9e7f8f Author: Michael E Brown Date: Thu Feb 28 10:52:10 2008 -0600 whitespace cleanup commit dc81c1eea48d6ce47cf8f5d287591835249748cb Merge: 4c5a305... 07d8efc... Author: Michael E Brown Date: Wed Feb 27 13:37:04 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: fixup cut-n-paste error. remove svm module as it belongs in dell-dup module and is already present there. commit 07d8efcebda72bc18b597f81cf5654439479359c Author: Michael E Brown Date: Wed Feb 27 13:32:54 2008 -0600 fixup cut-n-paste error. commit a94f8b3c4eb1c450e363958f2fdcf77e3dce1eeb Author: Michael E Brown Date: Mon Feb 25 12:59:40 2008 -0600 remove svm module as it belongs in dell-dup module and is already present there. commit 4c5a3055e5f4c4a1beac5d7a2e4d284771774c40 Author: Michael E Brown Date: Wed Feb 20 12:48:58 2008 -0600 version bump commit 4e303937fff43a187f20af505f27dfa90e1b2069 Merge: c0db056... b93cca4... Author: Michael E Brown Date: Wed Feb 20 12:46:19 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: another try at reliable multithreaded DUP extract. commit b93cca4fc5968efbb4904d180a8a0932e1cbb769 Author: Michael E Brown Date: Tue Feb 19 21:03:57 2008 -0600 another try at reliable multithreaded DUP extract. commit c0db0564cebd38092fba592a22ffbe86c7ce2004 Author: Michael E Brown Date: Tue Feb 19 17:25:34 2008 -0600 version bump commit 4c7c26ca917df712dbc93bf5bede09ce6d6559d2 Author: Michael E Brown Date: Tue Feb 19 13:51:48 2008 -0600 attempt to fix hanging tar problem. commit 192d2fb808406e5838087740e7037fd7d382ed25 Merge: f2b41da... 6647a2f... Author: Michael E Brown Date: Tue Feb 19 11:23:41 2008 -0600 fix merge conflicts. commit 6647a2f58077216f8bb5f3db4a4ce511180a2239 Author: Michael E Brown Date: Tue Feb 19 11:09:22 2008 -0600 add autobuild compile for sles commit 28f73868fb01aecd4e0cb29a8234beb05c65ccd2 Author: Michael E Brown Date: Tue Feb 19 00:58:10 2008 -0600 pass args to pci bootstrap. commit 9543fc4845de387319512defd8a415426dc2faab Author: Michael E Brown Date: Tue Feb 19 00:56:44 2008 -0600 document args to bootstrap. commit f2b41dac858e2176ac1bbfe4b19884c10c53d8b2 Author: Michael E Brown Date: Mon Feb 18 18:11:54 2008 -0600 version bump commit e9149112ab7e1e52609fec24f5a3adb3e4c02373 Author: Michael E Brown Date: Mon Feb 18 16:32:15 2008 -0600 add support to build on sles. commit 98952d423dd493f001bf53b8a39667eedbeffa2c Author: Michael E Brown Date: Fri Feb 15 02:35:25 2008 -0600 register bios extract to run first. commit b73816bc21a6530975315fc01833dfe62a111a05 Author: Michael E Brown Date: Wed Feb 13 15:53:50 2008 -0600 version bump commit e13071cf2981d65ef152a96b2d96eca2bfb16ac9 Author: Michael E Brown Date: Wed Feb 13 15:50:40 2008 -0600 tweak svm inventory generation to handle non-pci devices commit ace24dae13e230ae30c9c74323ba2fe73972ac2b Author: Michael E Brown Date: Wed Feb 13 09:21:09 2008 -0600 version bump commit 5d3a5fe6d8fcf245fce12b146813622c3447cb30 Author: Michael E Brown Date: Tue Feb 12 09:38:58 2008 -0600 fix small traceback when extracting windows driver dups with malformed sysid fields in package.xml. commit 892b548c5c0f3f8e2f06fb261a323e78dae109de Author: Michael E Brown Date: Mon Feb 11 12:52:32 2008 -0600 update some system id -> shortname mappings. commit 40ac100285680f1f842e313a511dfe1820d51d4e Author: Michael E Brown Date: Mon Feb 11 10:51:15 2008 -0600 accept optional dir arg to buildrpm_ini_hook so builder can inspect package. commit 23eda80244193c57649daa6e085f8a29cfaaaf02 Author: Michael E Brown Date: Mon Feb 11 10:35:42 2008 -0600 make shortname object a singleton. Dont add --id2name-config if it already exists. commit 3577406172c5777c1b697359e222ce1d0f3cc8ef Author: Michael E Brown Date: Fri Feb 8 15:28:04 2008 -0600 add args for inventory/bootstrap generators. commit 0c4ae7d02111e02d71a344a4376cc7aa268446a2 Author: Michael E Brown Date: Thu Feb 7 00:01:24 2008 -0600 not all exception class defs need protection. commit 197accd4bc30ff752e38cdd1037490238a3da20c Author: Michael E Brown Date: Wed Feb 6 23:57:23 2008 -0600 allow extract_common to be used by non-extract modules. commit ac16f559aecd7b6f87edb12fd658000b1d4be52e Merge: 5038f69... 52dfed5... Author: Michael E Brown Date: Wed Feb 6 21:36:12 2008 -0600 Merge branch 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: version bump remove bogus/unneeded import commit 52dfed5c713ee78086ae1e4fb9826d2f92299a85 Author: Michael E Brown Date: Wed Feb 6 14:01:30 2008 -0600 version bump commit 9259b37c3aed05d24d5a994260c17a7564750994 Author: Michael E Brown Date: Wed Feb 6 13:42:53 2008 -0600 remove bogus/unneeded import commit 5038f6997dc0c57c7b2e2fdcf34c7121fb3e05fd Merge: 1be5849... 27d83cf... Author: Michael E Brown Date: Mon Feb 4 22:32:47 2008 -0600 Merge branch 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: return CDATA nodes as text as well. commit 27d83cfba2e8df8fcba42bb19965fadb9b1e361b Merge: fe6bbbd... b409902... Author: Michael E Brown Date: Mon Feb 4 17:10:35 2008 -0600 Merge branch 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://michael_e_brown@mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: (39 commits) version bump fix case typo factor out id2name mapping so it can be used by other modules. install bios rpm files in dell/bios vs dell/. comments + extractor for raw linux .bin files (no SEZ wrapper) small updates to bios spec file. remove libexec stuff since dell-repo-tools is now back to hold that sort of stuff. fixup our precision dup extract to do our own extraction rather than calling possibly broken builtin extract. typo fix version bump remove i386 buildrequires since we no longer carry fakeroot remove our fakeroot lib and just require user to install i386 fakeroot. version bump. fix buildreq so it works on i386 distro. fixes for distcheck. manually build fakeroot-32.so because libtool cant get it right when RPM overrides my cflags. forgot to actually copy hdr for bioFromLinuxDup2(). force cflags. add buildrequires. add fakeroot and extractor for linux precision dups. fix syntax error version bump ... commit fe6bbbd1a66515f5ce03b642e422b54b1c8004c6 Author: Michael E Brown Date: Mon Feb 4 17:08:33 2008 -0600 return CDATA nodes as text as well. commit 1be584987d8a53af6af7cd7c3496cb381757e27b Author: Michael E Brown Date: Sun Feb 3 00:53:51 2008 -0600 dont run DUPs, extract them manually with tar/gzip. commit b4099025897d633b77a0c16b9e3513f11e366556 Author: Michael E Brown Date: Sat Feb 2 16:39:51 2008 -0600 version bump commit 19cc431e1d4b470d765c778a51bc3039db3bc0dd Author: Michael E Brown Date: Sat Feb 2 15:01:09 2008 -0600 fix case typo commit 300d05687e73ca22403e0924d41f387a4083b8df Author: Michael E Brown Date: Sat Feb 2 13:32:08 2008 -0600 factor out id2name mapping so it can be used by other modules. commit 94babe17eb572adee235af3a1dad4a1473707e30 Author: Michael E Brown Date: Sat Feb 2 13:31:19 2008 -0600 install bios rpm files in dell/bios vs dell/. commit 08beb7130d423d284e3ee8f1bbd3018c44194086 Author: Michael E Brown Date: Thu Jan 31 19:44:13 2008 -0600 comments + extractor for raw linux .bin files (no SEZ wrapper) commit 6435b26c6e7322dba85d7501d2f4b634a5406ebc Author: Michael E Brown Date: Thu Jan 31 19:20:59 2008 -0600 small updates to bios spec file. commit fcbb0899ff74b0c57e4da095bb6b5c054f2270a0 Author: Michael E Brown Date: Thu Jan 31 19:13:32 2008 -0600 remove libexec stuff since dell-repo-tools is now back to hold that sort of stuff. commit 3948b429f6021963b6799081c5b3856fa1195eb4 Merge: f6f4c56... 8c36b61... Author: Michael E Brown Date: Thu Jan 31 19:10:59 2008 -0600 Merge branch 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of ssh://mock.linuxdev.us.dell.com/var/ftp/pub/Applications/git/firmware-addon-dell: version bump remove i386 buildrequires since we no longer carry fakeroot version bump. fix buildreq so it works on i386 distro. commit f6f4c56f8f43f465a26b2f2a9ea187262b244d47 Author: Michael E Brown Date: Thu Jan 31 19:10:19 2008 -0600 fixup our precision dup extract to do our own extraction rather than calling possibly broken builtin extract. commit 8c36b61a0efe0198b285af5fa508ad6ce408c22a Merge: eac53cd... e97577d... Author: Michael E Brown Date: Thu Jan 31 08:15:23 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: typo fix commit e97577d835aa501bc618d91e35e7f6e92af0c387 Author: Michael E Brown Date: Thu Jan 31 08:14:49 2008 -0600 typo fix commit eac53cd9bd24bb8e83af61922a1ff8a2bcc05d65 Author: Michael E Brown Date: Thu Jan 31 08:10:40 2008 -0600 version bump commit 8aaa9e65ccc0dbe47e9a575325fa70834e28e9a5 Author: Michael E Brown Date: Thu Jan 31 07:59:12 2008 -0600 remove i386 buildrequires since we no longer carry fakeroot commit 75de1cb7fce2d9f7cb5d8217af2ac9811cc118d5 Merge: 3bad1ab... 82dcdff... Author: Michael E Brown Date: Thu Jan 31 07:57:10 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: remove our fakeroot lib and just require user to install i386 fakeroot. commit 82dcdff7fdd558dcfade576ba0dee7ddec1af7da Author: Michael E Brown Date: Thu Jan 31 07:56:32 2008 -0600 remove our fakeroot lib and just require user to install i386 fakeroot. commit 3bad1ab1640b3871160c05e7d29fccb96e118ca6 Author: Michael E Brown Date: Thu Jan 31 05:29:54 2008 -0600 version bump. fix buildreq so it works on i386 distro. commit 277f48499f568eca68ff90fadd766b8a888bea68 Author: Michael E Brown Date: Thu Jan 31 00:58:22 2008 -0600 fixes for distcheck. commit 44e8e951751e43d2fae2524ddb36ad48de7c7d01 Author: Michael E Brown Date: Thu Jan 31 00:49:26 2008 -0600 manually build fakeroot-32.so because libtool cant get it right when RPM overrides my cflags. commit b210821145f8b14e6188b985fccbf3cffc15f2a6 Author: Michael E Brown Date: Thu Jan 31 00:33:11 2008 -0600 forgot to actually copy hdr for bioFromLinuxDup2(). commit 03744f7c80c2fc09adebe8cfe61a3a392cd95163 Author: Michael E Brown Date: Wed Jan 30 23:47:44 2008 -0600 force cflags. add buildrequires. commit f5c010e7ec61f4af8ff76352a35f5c0b38c0b711 Author: Michael E Brown Date: Wed Jan 30 23:38:29 2008 -0600 add fakeroot and extractor for linux precision dups. commit 161f78de3845e3119b072c6cda552a723861c919 Author: Michael E Brown Date: Wed Jan 30 22:07:40 2008 -0600 fix syntax error commit 8420a223351cc0eec4d3f1663efbd1d8f4d1d2f1 Author: Michael E Brown Date: Wed Jan 30 21:57:16 2008 -0600 version bump commit 6ec088ad040bbd0b1201fd59729b6da4d8d9474b Author: Michael E Brown Date: Wed Jan 30 21:50:14 2008 -0600 new-style bios version should have higher epoch than old-style. commit 807e8ca6ed155d9d4bd5d4494bcac2cf30bcce92 Author: Michael E Brown Date: Wed Jan 30 21:46:03 2008 -0600 use wildcards for file install so we dont have to rev spec as often. commit 4a98f2d75280cabf8a4bc057a515a4edcced8d53 Author: Michael E Brown Date: Wed Jan 30 21:44:42 2008 -0600 rename relnotes to relnotes.txt. add relnotes from dups. commit e5fb290ffd13feb1a37ba0f8c13413de78b5c7e1 Author: Michael E Brown Date: Wed Jan 30 19:50:33 2008 -0600 add pad() as a common func commit b55c68ed17e3977bbe55f121438cdcc5d41a4ca6 Author: Michael E Brown Date: Wed Jan 30 19:23:12 2008 -0600 more system id-> name mappings commit 65b89b7044386a137384617471f1ec23f120a1bf Author: Michael E Brown Date: Wed Jan 30 18:24:22 2008 -0600 dont define shortname unless we have one. commit 18b756abf3a9ce7052a173a88e9dc2c6ca62035c Author: Michael E Brown Date: Wed Jan 30 16:57:02 2008 -0600 install dell license file when extracting bios. commit 709b16c0dddb63cfc409d025f56f31d38abdb619 Author: Michael E Brown Date: Wed Jan 30 15:58:02 2008 -0600 add dell license for extracted BIOS images. commit e57b151197a6d827a4bc9e5f8f2361f9df256123 Author: Michael E Brown Date: Wed Jan 30 15:56:50 2008 -0600 ensure conf.helper_dat is always set to something. commit c0f55c6bd0a1b8a83662e8e6eda12ee22728231b Author: Michael E Brown Date: Wed Jan 30 15:56:23 2008 -0600 add dell license to rpm commit 9e8a8cf87e0c69f9b7d1a9b8cd8c72ebb39c87be Author: Michael E Brown Date: Tue Jan 29 23:51:19 2008 -0600 comments. remove unneeded try/except since plugin is disabled early now when firmware-extract not installed. commit 610d7aec988ea8945ece8c5288852a3638e06472 Author: Michael E Brown Date: Tue Jan 29 23:50:55 2008 -0600 ensure epoch is part of provides commit 55dc465ba808d9172a9d33eabfd0787d2c255830 Author: Michael E Brown Date: Tue Jan 29 23:50:37 2008 -0600 dont block on reads in loggedCmd. commit bbb03ca82b83e056710f483611b2564106248896 Author: Michael E Brown Date: Tue Jan 29 21:35:58 2008 -0600 add rpm epoch code. commit 719fd145a964ce7596d7cee145c19548720ba8e4 Author: Michael E Brown Date: Tue Jan 29 15:54:10 2008 -0600 new format for spec. build in values instead of --define. commit fdef3e71e18be0b2ab108f0098da5fdcaf8594e9 Author: Michael E Brown Date: Tue Jan 29 12:19:43 2008 -0600 add bios spec file. commit b4eddd79cfe11ce936d93b2abba9c48fbdd56795 Author: Michael E Brown Date: Mon Jan 28 22:46:52 2008 -0600 copy text files to dir as well if they exist, for release notes. commit 75b97868dd81e7b9349d38683d83ea51c0e9a370 Author: Michael E Brown Date: Mon Jan 28 22:40:08 2008 -0600 properly handle windows dup package.xml. refactor code so both linux/win dup shares more code. commit 59f251d891173f75a29334950434295d18bab7a6 Author: Michael E Brown Date: Mon Jan 28 16:45:59 2008 -0600 add small message for start/end presetup of wine/freedos (only in verbose mode). commit d5e34adfe6d60a462231c10d5f577a7a2d4dd120 Author: Michael E Brown Date: Mon Jan 28 14:45:40 2008 -0600 remove dead lines. commit 713d0bfcaa94d08b52cbcfbe8fd13a1fcad1a7ee Merge: e3cbbc5... 2b1ffbd... Author: Michael E Brown Date: Mon Jan 28 14:45:05 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: make it work when firmware-extract not installed. tested. commit e3cbbc5c35dc14c8d2d4968cf88f4d7cd88b926e Author: Michael E Brown Date: Mon Jan 28 14:44:43 2008 -0600 make sure we do official release from clean tree. commit 2b1ffbd6f8b73602b9cbf9dabd1bb1b38fda98cd Author: Michael E Brown Date: Mon Jan 28 14:41:52 2008 -0600 make it work when firmware-extract not installed. tested. commit 7f99d7a45dfddf6c13a74716e825f258167e4207 Author: Michael E Brown Date: Mon Jan 28 14:27:45 2008 -0600 disable plugin if extract module not installed. commit 16980690e5fd7ab28958e5e2df448efbc275f6ca Author: Michael E Brown Date: Mon Jan 28 14:27:35 2008 -0600 make yum plugin more bulletproof. commit 876684c1351df7134c23d95190b929bf6a038c86 Author: Michael E Brown Date: Mon Jan 28 14:27:22 2008 -0600 bump version commit ab57d1c9d755c2a3842661b49579398fd90eed0a Author: Michael E Brown Date: Mon Jan 28 11:44:11 2008 -0600 update rpm release script commit 2478b300ee845f47a0572a31358e29abecaf7936 Author: Michael E Brown Date: Mon Jan 28 11:41:19 2008 -0600 fix tmp rmtree for real this time. tested. commit e1873d6275822cc7fec90c74682081a5a926fea4 Author: Michael E Brown Date: Mon Jan 28 11:31:37 2008 -0600 fix chmod calls in rmtree commit 548cd9e1072b1421162d71702dddfd4dbc3bfde6 Author: Michael E Brown Date: Mon Jan 28 09:40:12 2008 -0600 move log linking to common. commit 7360a487011837ffe1d061189a2da66aa486f7c9 Author: Michael E Brown Date: Sun Jan 27 22:38:36 2008 -0600 fix command timeout exception taking different exception path. commit 31dbbac6177ffc17dc6bc802dc464f73ab8b5890 Author: Michael E Brown Date: Sun Jan 27 20:38:14 2008 -0600 split up child exit a little, give it time to cleanly exit before using big hammer. Ensure we wait() on child so we dont get zombies. commit 4aae66173712032e31ebd03d41450fb26f11885f Author: Michael E Brown Date: Sun Jan 27 20:08:53 2008 -0600 fix timeout handling. commit 6c9cf1e48dd15b0c39326d13be9c3faa695ea395 Author: Michael E Brown Date: Sun Jan 27 19:13:21 2008 -0600 remove refs to dosemu tarball. commit 739442bccef4c852e153f451e05d2513f81421ad Merge: 66dc436... da47e25... Author: Michael E Brown Date: Sun Jan 27 19:07:43 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: add dcopy extractor. re-enable wine. start adding dcopy extractor. manually run first-part dosemu stuff. commit da47e25672ea5253c3caa293e7fa719ed24ce843 Author: Michael E Brown Date: Sun Jan 27 19:06:35 2008 -0600 add dcopy extractor. commit c4dd23c2f5c16d518f42d4a8a2ab3a3ee06aaa4e Author: Michael E Brown Date: Sun Jan 27 16:31:47 2008 -0600 re-enable wine. commit b60f694d28b400f3e0c769d17c8ca97f69e6b330 Author: Michael E Brown Date: Sun Jan 27 11:12:50 2008 -0600 start adding dcopy extractor. commit 93e4f6c688ceb733d16885f5f7011a0dac7f67f0 Author: Michael E Brown Date: Sun Jan 27 02:27:37 2008 -0600 manually run first-part dosemu stuff. commit 66dc43611acbe98e65c34f1e7429601669161f97 Author: Michael E Brown Date: Sun Jan 27 00:52:30 2008 -0600 workaround shutil bug. commit 8e1d2e9756b09d1cdc596e4b138159819f6ce57b Author: Michael E Brown Date: Sun Jan 27 00:26:51 2008 -0600 only setup wineprefix one time globally and then copy. should speed up things. commit df8a081c93cf74daa82d5ba802f2631e235b09e3 Author: Michael E Brown Date: Sat Jan 26 23:51:27 2008 -0600 dont exclude txt files. commit 65ba08ed4502a283c7cadac7349b4eb645f8d3b9 Author: Michael E Brown Date: Sat Jan 26 23:20:49 2008 -0600 fix wine extract: need to only pass filename, not full path or it wont find it. commit 5370a62421e6c499cfe4fe4421e78de2ae0ffc88 Author: Michael E Brown Date: Sat Jan 26 23:20:14 2008 -0600 dont try to chmod non files/dirs commit 961c91ea21dd643d0c0b54c5b69178707e4817b8 Author: Michael E Brown Date: Sat Jan 26 16:54:49 2008 -0600 every wine instance should be separate. commit a8c34279755bb140dc64e069fccb73631b6c8739 Author: Michael E Brown Date: Sat Jan 26 13:22:36 2008 -0600 fix perms on libexec stuff. commit 9dbe65328fbbf8442fd9beaad09254ed5371c0af Author: Michael E Brown Date: Sat Jan 26 13:09:56 2008 -0600 look in pkg libexec dir rather than top-level libexec dir. commit cece196a2e0894431ab2e7002bbd9e5766e115c8 Author: Michael E Brown Date: Sat Jan 26 13:02:22 2008 -0600 forgot LIBEXECDIR in install-data-hook... added. commit 5770ca25a2fad87aa27b561b096864af0f5a87b2 Author: Michael E Brown Date: Sat Jan 26 12:46:35 2008 -0600 ensure we chmod files and dirs in temp dir before removing. commit e5b463894120fefc4779b3b3da0e41614b18dc5f Author: Michael E Brown Date: Sat Jan 26 11:33:23 2008 -0600 deal with packages that have read-only files by fixing perms. commit 090d9919f43dcf6a16e72b17b85e7903610eab25 Author: Michael E Brown Date: Sat Jan 26 11:32:56 2008 -0600 fix error-path typo commit 7bc6231844651d05ec4cf06dd2dab4a4b4ca2877 Author: Michael E Brown Date: Sat Jan 26 02:57:51 2008 -0600 prevent races linking log files commit 16947769abae9b7ecdd864a23133515d797cd353 Author: Michael E Brown Date: Sat Jan 26 02:57:32 2008 -0600 add missing moduleLog commit 38d9d8f5e5f0d095f1da36c12b019a4afc6c6913 Author: Michael E Brown Date: Sat Jan 26 02:03:50 2008 -0600 dont propagate invalid header exceptions up. commit 6e92d9c1579fae359ee64316ceba43d68584c88f Author: Michael E Brown Date: Sat Jan 26 01:24:34 2008 -0600 missing install modules. commit 7d6b00ea6080f0792d8c1d613b9a47254fd4517e Author: Michael E Brown Date: Sat Jan 26 00:59:42 2008 -0600 add compat subprocess module for python 2.3 (RHEL4), and switch some stuff around to depend less on it. commit 075a53fd3cba3f638894d8ac4568e7fd890607d7 Author: Michael E Brown Date: Sat Jan 26 00:04:27 2008 -0600 firmware_tools_extract was renamed, fix. commit 646644603815b1b8442f9c36d9005ff04d0f4f64 Author: Michael E Brown Date: Fri Jan 25 23:52:22 2008 -0600 optionally register extractors that depend on external stuff that may not be there. split windows dup/installshield. fixup accidentally trying to parse nonexistent files. save logs. commit e6f9a3564b402abd0049ac2420407cc2cae78c2c Author: Michael E Brown Date: Fri Jan 25 23:49:18 2008 -0600 fix variable typo in exception path. commit 56d32a22bc1486dbdaf4600ed477eb83cfd23164 Author: Michael E Brown Date: Fri Jan 25 23:48:33 2008 -0600 add LIBEXECDIR def so other modules can use it. commit 62b6d3b55b93c304d48737a39f9f77a385f3ebdc Author: Michael E Brown Date: Fri Jan 25 23:48:06 2008 -0600 install libexec files. commit a4d2be11b78ac7fe5522a80a3464e36a3eb2af80 Author: Michael E Brown Date: Fri Jan 25 23:47:43 2008 -0600 fix LIBDIR, add LIBEXECDIR to replacement list. commit 4b29c1533743938468f0a302e079aba5f5d9f10b Author: Michael E Brown Date: Fri Jan 25 17:29:29 2008 -0600 add blacklist, remove historical commit c9e69d8301187a9d802bb8432fac448e95afd3b9 Author: Michael E Brown Date: Fri Jan 25 17:19:35 2008 -0600 add more bios extractors commit 0e3768308b21869ce184803833735e187dd9842f Author: Michael E Brown Date: Fri Jan 25 17:01:37 2008 -0600 more extractors commit 4701eed44a4be762e00466ebe2a2c8b6607e654c Author: Michael E Brown Date: Fri Jan 25 15:51:02 2008 -0600 add cmdline opt for id2name mapping. commit 21a46df6631fcc17a9fba0aaea1d2f5fbf57fbe2 Author: Michael E Brown Date: Fri Jan 25 01:52:16 2008 -0600 start pulling system shortname from the map. commit 05130a78972e4225cc6888873e17fa9590c09959 Author: Michael E Brown Date: Fri Jan 25 01:39:03 2008 -0600 fix bad variable subst. commit 8f8a47229d7d334bd8e0d2550adc5ab7ceb13084 Merge: d47be91... 1f65707... Author: Michael E Brown Date: Fri Jan 25 01:37:57 2008 -0600 merge latest changes from upstream commit d47be919d4cc979a0395c935502b142822809340 Author: Michael E Brown Date: Fri Jan 25 01:35:47 2008 -0600 finish adding autotools. commit 2ca265d45f36aa1dd2ef4e07ea31778079a58708 Author: Michael E Brown Date: Fri Jan 25 01:35:22 2008 -0600 install-time replacement of variables (version, etc) commit 1d56bedfa94a95f047f9d43e490f6d28dc706d07 Author: Michael E Brown Date: Fri Jan 25 01:30:51 2008 -0600 initial convert to autotools commit 2191d4f688e0bc30b6df5222ff02fd27c8c0c51f Author: Michael E Brown Date: Fri Jan 25 00:48:25 2008 -0600 starting to get extract working and creation of package.ini. commit 1928f5f60b475b43ff2228bef9975edfdb98669c Author: Michael E Brown Date: Fri Jan 25 00:47:58 2008 -0600 fix PATH for new location of libsmbios stuff. commit 4459792b409008b1ee0a6a2ceeca9c4d912f07de Author: Michael E Brown Date: Fri Jan 25 00:47:34 2008 -0600 add system id to name mapping config file. commit b8bc0e40b5347bb6a889359091160109a5a96ceb Author: Michael E Brown Date: Thu Jan 24 10:21:13 2008 -0600 start actually adding extract stuff now. commit 08e99cca4dda7895f7c8bfc2d3984b3977b070e4 Author: Michael E Brown Date: Thu Jan 24 01:05:25 2008 -0600 add more extractors and better shell out cmd that will log properly. commit 2f117a4b61017152405576f8af8e79764b0329b7 Author: Michael E Brown Date: Wed Jan 23 23:11:34 2008 -0600 start reconstituing common function lib. commit f7ce41e4b78744852756ae20ca555710d4c40dad Author: Michael E Brown Date: Wed Jan 23 01:01:15 2008 -0600 start adding back extractor using new api. commit 1775c2650ba8f2f49edfa3f61d9575cb105814df Author: Michael E Brown Date: Wed Jan 23 01:00:33 2008 -0600 move old extractors to old/ for reference. commit afdaa31061646ca14002f276d5f15104cb1e7bb4 Author: Michael E Brown Date: Tue Jan 15 11:28:01 2008 -0600 bump firmware-tools req to 2.0 commit ed91da6246fffc1d94eee5d78be1be2f660b719f Author: Michael E Brown Date: Tue Jan 15 10:44:19 2008 -0600 add support for 2.0 api. update config file to 2.0 format. commit 1f65707b1db44ab2720481a3815d8876fe695429 Author: Matt Domsch Date: Mon Dec 17 23:26:15 2007 -0600 setup.py: don't include empty /usr/bin directory in package commit 0af820b2aa2435327ea44f1fe806921a746d1363 Author: Matt Domsch Date: Mon Dec 17 23:25:27 2007 -0600 ubuntu patch to avoid empty /usr/bin dir commit 2235c492b866c80893eb608346124ff7ce9e00cc Author: Matt Domsch Date: Mon Dec 17 23:25:01 2007 -0600 debian/changelog.in: initial release, today's date commit 8cff1a5d1df1ec40e7d11cf51d5b1e77b98c2db1 Author: Matt Domsch Date: Sat Dec 15 22:19:56 2007 -0600 more debian/control cleanups per Debian Python Policy + python-support commit 526ad3d0434c3d847a731f822e3b8ced352df000 Author: Matt Domsch Date: Mon Dec 10 09:51:46 2007 -0600 fix ubuntu versioning again commit e599b49bc683ddee89506f23fb96f11548077547 Author: Matt Domsch Date: Sun Dec 9 22:45:20 2007 -0600 debian/changelog 1.4.10-1ubuntu1 commit 4e357c0d8dc3a74525f29a73fae7173692d67fa2 Author: Matt Domsch Date: Sun Dec 9 22:42:26 2007 -0600 add upstream patches from mailing list to debian builds commit 8e2e0793e0e831188eedc267a2987fdae57d608f Author: Matt Domsch Date: Sun Dec 9 22:38:42 2007 -0600 debian/control: Standards-Version: 3.7.3 commit 7b4b0ff908b37cd9c7ed772625038ba909f9f113 Author: Matt Domsch Date: Sun Dec 9 22:38:11 2007 -0600 add debian/watch commit 05603431f6230457f98ac673a7e112829c1aac50 Author: Matt Domsch Date: Sun Dec 9 22:37:58 2007 -0600 add linda.overrides for yum-plugins directory warning commit a05d69e6c7b028d3e157965743048772b9d353ff Author: Matt Domsch Date: Wed Dec 5 22:44:39 2007 -0600 make deb/sdeb: put results in dist/$(DIST), other Makefile cleanups Don't bother signing result of 'make deb'. It's useless for us. When building, don't use the pkg/debian directory from the tarball, use it from the git tree instead. That way we don't have to rebuild the tarball for minor debian/ file changes (like changelog). commit c26c4da2532d1fc41356efd17716ca66cc768f61 Merge: b3dfb20... b27dc6a... Author: Michael E Brown Date: Fri Nov 30 11:56:16 2007 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: getSystemId not always in path. commit b3dfb20522f1184e16beac1e76225e86a580ec54 Author: Matt Domsch Date: Fri Nov 30 11:54:31 2007 -0600 Ubuntu packaging cleanups. Add DISTTAG=~gutsy1 to make deb and sdeb. commit b27dc6abca13075f0bd9f828bb74a686323bd1e8 Merge: d1a2812... fa5699f... Author: Michael E Brown Date: Thu Nov 29 20:57:26 2007 -0600 Merge branch 'master' of http://hb.us.dell.com/pub/Applications/git/firmware-addon-dell * 'master' of http://hb.us.dell.com/pub/Applications/git/firmware-addon-dell: version bump fix Makefile test for DIST= being set don't forget to update setup.py for changelog.in add manditory DIST= for deb and sdeb targets don't install useless docs update Open Software License text to version 3.0 add launchpad needs-packaging bug to changelog to autoclose ubuntu packaging cleanups per REVU debian/changelog: dist=hardy debian/changelog version 1.4.9 remove debian/prerm and postinst again - they're auto-generated by python-support commit d1a2812eb36be753e20fde88182d32595bdaea7d Author: Michael E Brown Date: Thu Nov 29 20:56:45 2007 -0600 getSystemId not always in path. commit 540c8ef8315b99b376d0ecb32f6b6d96d59acfe0 Author: Matt Domsch Date: Wed Nov 28 11:35:44 2007 -0600 Makefile: fix make sdeb commit ca617afa852ee8e19ca920df16791c33ce030eea Author: Matt Domsch Date: Wed Nov 28 11:21:18 2007 -0600 bump debian/changelog to match 1.4.10 commit fa5699fba459369bc45b45bfbf62122521e96771 Author: Michael E Brown Date: Wed Nov 28 10:35:22 2007 -0600 version bump commit 3e8dacb0e48c884e30f003642942d6e0590c357a Author: Matt Domsch Date: Sun Nov 25 23:13:31 2007 -0600 fix Makefile test for DIST= being set commit 7dcc0e0241e24c8c539c7f1f7ead89fd0fb39fc1 Author: Matt Domsch Date: Sat Nov 24 21:34:14 2007 -0600 don't forget to update setup.py for changelog.in commit 12f0eddbb9feb71ab5d33c70108208f39ee628fc Author: Matt Domsch Date: Sat Nov 24 21:25:04 2007 -0600 add manditory DIST= for deb and sdeb targets commit d6bf09a1a8855160a8a74898d053925b2143ecf5 Author: Matt Domsch Date: Fri Nov 23 09:38:03 2007 -0600 don't install useless docs commit c8b548681836580e08b371e1da31398d72007995 Author: Matt Domsch Date: Fri Nov 23 07:19:12 2007 -0600 update Open Software License text to version 3.0 commit 7b0552cd25a73d5b8ed20819ff1e1a93a56cad83 Author: Matt Domsch Date: Tue Nov 20 22:56:07 2007 -0600 add launchpad needs-packaging bug to changelog to autoclose commit b38480ec8f2cc7aabe4bf5355f240d4f487d7002 Author: Matt Domsch Date: Tue Nov 20 13:30:52 2007 -0600 ubuntu packaging cleanups per REVU commit 41b4afb0c81a005b2bc14f1afbd388f6b8f60969 Author: Matt Domsch Date: Thu Nov 15 22:38:22 2007 -0600 debian/changelog: dist=hardy commit bf917aa44b838c89d80f3d0b707c2d87bd0efcc7 Author: Matt Domsch Date: Thu Nov 15 22:11:25 2007 -0600 debian/changelog version 1.4.9 commit d3fc632fc042d49178d7ef6b153f0c8209ceca26 Merge: 98b753e... e8c38dc... Author: Matt Domsch Date: Mon Nov 12 22:20:07 2007 -0600 Merge /var/ftp/pub/Applications/git/firmware-addon-dell commit e8c38dc98973af987c7ad373b6f450501164f47f Merge: 5f90057... 4fb2d2a... Author: Michael E Brown Date: Mon Oct 29 03:24:03 2007 -0500 Merge branch 'master' of http://hb.us.dell.com/pub/Applications/git/firmware-addon-dell * 'master' of http://hb.us.dell.com/pub/Applications/git/firmware-addon-dell: copyright: make it (c) Dell Inc, remove intern Sadhana's defunct email address. changelog: initial release for Ubuntu use pbuilder, add 'make sdeb', cleanup debian/control set DEB_RELEASE for Ubuntu add debian/postinst (to byte-compile), prerm commit 5f900576ac287538bdcbf50ec8976e492eb002b7 Author: Michael E Brown Date: Mon Oct 29 03:23:21 2007 -0500 version bump commit 1c6859031005c5a5f10d335686a5031ee5c7fccd Author: Michael E Brown Date: Mon Oct 29 03:22:58 2007 -0500 better status message for user so they know they need warm reboot. commit 98b753ec1ddad7f4163cef3b0b6cb158a460e80d Author: Matt Domsch Date: Mon Oct 15 17:14:02 2007 -0500 remove debian/prerm and postinst again - they're auto-generated by python-support commit 4fb2d2a29cf7566a3cd5da04037722f2b75813e3 Author: Matt Domsch Date: Mon Oct 15 14:08:12 2007 -0500 copyright: make it (c) Dell Inc, remove intern Sadhana's defunct email address. commit 7734130519f7b3991593986fe669ad351c4916da Author: Matt Domsch Date: Mon Oct 15 13:30:58 2007 -0500 changelog: initial release for Ubuntu commit 6c019395c0717829c8d27bf76a226a99464c3e65 Author: Matt Domsch Date: Mon Oct 15 13:30:29 2007 -0500 use pbuilder, add 'make sdeb', cleanup debian/control commit e5f6da17fe146c3cb54f6bf3e4b19c9fbdffe176 Author: Matt Domsch Date: Mon Oct 15 13:29:10 2007 -0500 set DEB_RELEASE for Ubuntu commit 809e4e2c386f9f208f7d9064d5e48b44892a10c1 Author: Matt Domsch Date: Mon Oct 15 13:28:29 2007 -0500 add debian/postinst (to byte-compile), prerm commit d75255903cc84495f00bb856e8b25208b77de8a1 Author: Michael E Brown Date: Thu Aug 23 16:25:58 2007 -0500 fix test for upgrade/downgrade override commit 3a6b2b7ab73cbc0da6e783ac730c381dccea04dd Merge: 45d702c... 69cde69... Author: Michael E Brown Date: Thu Aug 23 15:18:29 2007 -0500 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: version bump requires new firmware-tools api, enforce in rpm. add bios downgrade/reflash capabilities update changelog commit 69cde69be9425f1bb578132766a9b26a71a830ea Author: Michael E Brown Date: Thu Aug 23 15:06:55 2007 -0500 version bump commit 8cdae704f554b19771676c38ea027b1a92e58eed Author: Michael E Brown Date: Thu Aug 23 15:06:43 2007 -0500 requires new firmware-tools api, enforce in rpm. commit e9bcd70f297c3f33ae404074d002b7fe1425f26e Author: Michael E Brown Date: Thu Aug 23 15:04:43 2007 -0500 add bios downgrade/reflash capabilities commit 90992e1a4d7953998e2d1f7058cef82640d7e449 Author: Michael E Brown Date: Wed Aug 22 23:00:14 2007 -0500 update changelog commit 45d702c45be8d7ae68101088b7a70e5084806162 Author: Michael E Brown Date: Wed Aug 22 14:06:59 2007 -0500 fix upload of offical tarballs commit 6e9e70ce7810f5de68443b46598b4100fcdb3720 Author: Michael E Brown Date: Mon Aug 20 02:42:44 2007 -0500 new install function api. commit e23b4d77b876443c11bd682892108310d7870405 Author: Michael E Brown Date: Mon Aug 20 00:50:22 2007 -0500 fix displayname for bmc commit 11a05563e0499bda9f59fd4fea7f785d1cfff0ee Author: Michael E Brown Date: Mon Aug 20 00:44:04 2007 -0500 version bump commit 8704da9be371bba1a06329c730e906c11e378ea5 Author: Michael E Brown Date: Mon Aug 20 00:43:36 2007 -0500 changes for API conformance. commit 56f2fd98f94be02e18ddffadf7d6b76c3d4e4286 Author: Michael E Brown Date: Sat Aug 18 00:34:56 2007 -0500 version bump commit 4a346c370ba3c502e2ef9448476f1907aab69814 Author: Michael E Brown Date: Sat Aug 18 00:34:13 2007 -0500 critical fix for system-specific bootstrap. module path changed. commit 606d28562261464d563e0ba692d958783d6ffc7f Author: Michael E Brown Date: Sat Aug 18 00:12:39 2007 -0500 fix unit tests for displayname commit ba52eb8d4afb5b54c97aa286fcbbc8167471ead7 Author: Michael E Brown Date: Fri Aug 17 22:47:24 2007 -0500 version bump commit 3dec5fcf7216c1ce575f3dc0cdd7f0a797d4410a Author: Michael E Brown Date: Fri Aug 17 22:43:59 2007 -0500 make sure to build from clean source tree. commit 4704589c82faccbb0ec1bdae3c2b8f2d2530f1f1 Author: Michael E Brown Date: Fri Aug 17 22:40:22 2007 -0500 fixed wrong name friendlyname -> displayname commit 70e7a64b522cebe9dff1a3bdb17177cdafe4fb9d Author: Michael E Brown Date: Fri Aug 17 17:49:03 2007 -0500 fix license for new fedora guidelines commit 909be1271490cb82cba4eea1e17fea434d6e3323 Author: Michael E Brown Date: Fri Aug 17 17:48:13 2007 -0500 fix modes commit 1df1625ec0d18c854ab6b3b0e5ec1e5dd9e1e33e Author: Michael E Brown Date: Fri Aug 17 17:40:58 2007 -0500 change InstalledPackage to Device class commit 93ba1183224bccdb79838241d42788d9e5da5146 Author: Michael E Brown Date: Fri Aug 17 17:40:52 2007 -0500 change InstalledPackage to Device class commit a8a93bee77773faed97b2c91de106d915a44db14 Author: Michael E Brown Date: Fri Aug 17 17:40:28 2007 -0500 fix rpmlint non-executable script error commit 5ea1dd9ff1936d5e67b46a33a25bd0c37216340d Author: Michael E Brown Date: Fri Aug 17 15:06:40 2007 -0500 fix release script to use dist/ dir and push tags properly commit 98d09cca49e0deb924ff392f68b5f828972871e7 Author: Michael E Brown Date: Fri Aug 17 15:06:20 2007 -0500 return a pretty display name for inventory commit 3643ba833dadee0b711c9143cb42516e8381da42 Author: Michael E Brown Date: Fri Aug 17 15:05:57 2007 -0500 add function to get system name. fix error output for service tag function commit 6a68e5a1d49cc002f0dd6187abac9403fd002f51 Merge: 75585f5... 5d5fed1... Author: Michael E Brown Date: Mon Aug 13 03:12:54 2007 -0500 Merge branch 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell * 'master' of /var/ftp/pub/Applications/git/firmware-addon-dell: move generated output rpm/tarballs into dist/ commit 5d5fed1192857c0a25ddceaad433598b27066454 Author: Michael E Brown Date: Thu Aug 9 20:32:00 2007 -0500 move generated output rpm/tarballs into dist/ commit 75585f5cfc60b50d678ee79ba22a63e13594d96b Author: Michael E Brown Date: Thu Aug 9 13:22:57 2007 -0500 prevent DUPs from trying to display anything in X commit cfef310accd31c562fab17395da6423016a99981 Author: Michael E Brown Date: Thu Aug 9 13:05:50 2007 -0500 version bump commit 210f0d286a8edc307eb1ef3acfec91c220cd25d7 Author: Michael E Brown Date: Thu Aug 9 13:05:08 2007 -0500 fix typo from conversion to new-style pkg commit a72632618b5399c805f34619fbc13325c26ea058 Author: Michael E Brown Date: Thu Aug 9 12:05:48 2007 -0500 add git push to the release script after successful build. commit 38ac8c091c7f88bc50890f02a63fe13458babe58 Author: Michael E Brown Date: Thu Aug 9 12:05:02 2007 -0500 bump version commit 486a08f5af444f870b80bff8a1a67d00db35bf49 Author: Michael E Brown Date: Thu Aug 9 10:24:46 2007 -0500 move extract plugins to their respective modules commit 83f9d9444de63eacbeead7a9d51b9e0fd2648cc4 Author: Michael E Brown Date: Wed Aug 8 02:38:04 2007 -0500 version bump commit 76818e38d79ed6ff73052794230c907350a408ca Author: Michael E Brown Date: Tue Aug 7 16:36:53 2007 -0500 disable debuginfo package. commit 3edc003e73bb669a9f82ea78a9cc65e59b22d234 Author: Michael E Brown Date: Tue Aug 7 12:21:40 2007 -0500 version bump commit d1a5748664b68cdb419992eee4ecd0d10760388d Author: Michael E Brown Date: Tue Aug 7 12:21:35 2007 -0500 update config for new module path commit 2c1ac6be61567ab852750d33e8e98a07ccc650ea Author: Michael E Brown Date: Tue Aug 7 00:27:38 2007 -0500 typo commit c19131433b24640644fcb28519bbda93d7ea3192 Author: Michael E Brown Date: Tue Aug 7 00:25:47 2007 -0500 new package path commit ef094dc1c0418763af885939511e7099f4a24981 Author: Michael E Brown Date: Tue Aug 7 00:25:32 2007 -0500 fix constructor to take *args, **kargs commit 4ea618fc715542801af6f3b3c7d1f7de441174c7 Author: Michael E Brown Date: Mon Aug 6 22:46:58 2007 -0500 move to new-style commit f0de3b40109334e64852a47e8c387c556645114d Author: Michael E Brown Date: Mon Aug 6 20:15:22 2007 -0500 version bump commit 86249013fe3949a1ed7d11ac6535a5bd27174256 Author: Michael E Brown Date: Mon Aug 6 20:14:01 2007 -0500 add in __init__ file that is now required commit bb93e232f70529e64836c12e6a82b87da61cd1f7 Author: Michael E Brown Date: Mon Aug 6 19:56:53 2007 -0500 change package to be firmware_addon_dell as that fits more nicely with how python packages should be packaged. commit 43668919e9ef4c06bcfbda501c2be04fad2e87b4 Author: Michael E Brown Date: Fri Aug 3 12:10:36 2007 -0500 release script fixes. commit 4bcdce3faaf36ebfdfcea5009196996d6c5d1913 Author: Michael E Brown Date: Thu Jul 12 14:59:49 2007 -0500 remove refs to dell-hardware.conf commit 53f6271a9f9cc3ba44247b86985fa608d5c049d0 Author: Michael E Brown Date: Wed Jul 11 17:30:29 2007 -0500 remove up2date_repo_autoconf from version.mk as it no longer exists. commit 4bd34b11698c2d4f6a6af5e7ace1e0f9c79ecc9d Author: Michael E Brown Date: Wed Jul 11 15:46:52 2007 -0500 update upload_rpm.sh script for official release commit fc5fd168db3af01ab90b15e0ca19b54c886d519b Author: Michael E Brown Date: Wed Jul 11 15:46:33 2007 -0500 - remove up2date_repo_autoconf as it is no longer used. - bump version to prep for next release. commit 45f979b02910f9311542119391d3d96dd8e72186 Author: Michael E Brown Date: Wed Jun 13 17:06:15 2007 -0500 add service tag adn repo config options to yum plugin commit adaa89ff897d0c3ff1c7909e0a54359d22ac2050 Author: Michael E Brown Date: Thu May 31 01:18:49 2007 -0500 add svm module to setup commit 1fdef31dd8d042a2de0bacf84ba3809bdea7ce50 Author: Michael E Brown Date: Wed May 30 23:55:48 2007 -0500 more tests -- multiple packages in svm inventory. commit 6b8701b228520a16bb88d13f31673b6d1c5fbc4d Author: Michael E Brown Date: Wed May 30 23:47:25 2007 -0500 add parser for SVM XML output. commit d0b2b969ab31714fba3bff5edb1bdc125376d7eb Author: Michael E Brown Date: Wed May 30 22:10:28 2007 -0500 add vim textwidth decl. commit 702af955efeac516e7a587faf595fd1e276c7ca3 Author: Michael E Brown Date: Wed May 30 22:09:46 2007 -0500 add vim textwidth decl. commit 179e323393ecbc09b42d2a0e87c21071ee0c6249 Author: Michael E Brown Date: Wed May 30 22:09:31 2007 -0500 add vim textwidth decl. Add more unit tests to illustrate advanced usage. commit d4ae0ad9df8d7ab29f0e92dbb96597a148d2e57c Author: Michael E Brown Date: Wed May 30 22:07:17 2007 -0500 add tests for bios version comparison commit 2d2d969c1fc2bbc7e0c2f3ee2be0360a7780f213 Author: Michael E Brown Date: Wed May 30 22:06:33 2007 -0500 add textwidth vim declaration. commit 59f1e7dba1ee8606795a2209e7b68b779af1b9e0 Author: Michael E Brown Date: Wed May 30 22:06:17 2007 -0500 add textwidth vim declaration. fix compare function to match system 'strnlen' output. commit ee8fba99f6a32cedba8227eb3a585566c6b2d319 Author: Michael E Brown Date: Wed May 30 22:05:38 2007 -0500 add textwidth vim declaration. commit 40ef031f31b75ceb3f0c274b0a3401eb091a66e2 Author: Michael E Brown Date: Tue May 29 17:28:02 2007 -0500 remove extra whitespace commit 1cdf042a1f22752b0112b123f6c81ee8ee035450 Author: Michael E Brown Date: Tue May 29 17:08:27 2007 -0500 use autobuilder template build scripts. commit d6572a9e159fd516d3f9c76164db975928ba7a34 Author: Michael E Brown Date: Thu May 24 17:05:26 2007 -0500 add makefile to tarball commit e70163364c9e483fca8562bc30c607bbcf200272 Author: Michael E Brown Date: Thu May 24 17:03:46 2007 -0500 clean up leftover, generated files from build commit ca7fbbb7a1e8765765c5613e52eb7c753f860891 Author: Michael E Brown Date: Thu May 24 17:02:57 2007 -0500 update autobuilder to produce debs with correct versioning information commit 006d1d8da4324e587fcaf64ec91768eb0b018a91 Author: Michael E Brown Date: Thu May 24 10:39:50 2007 -0500 uniform umask. Uniform 'set -e' enable after source version.mk. Use common code for plague submission. commit 593e8dccb8cbeef255c39d1c2d5b03475e861be2 Author: Michael E Brown Date: Wed May 23 17:21:55 2007 -0500 finish fixing everything to move to firmwaretools package. bump version to 1.3.0 commit 783864c31aac1e09d84638a7f37b28e05d67a7d4 Author: Michael E Brown Date: Wed May 23 14:58:53 2007 -0500 move modules to firmwaretools package commit 30244c42bfe1c6dc3eda491b344043fc97d52c0f Author: Michael E Brown Date: Wed May 23 01:27:08 2007 -0500 add umask so all repo files are group writeable commit 0a7055a8493a2f5902f8f7e6f1f80400e65739fe Author: Michael E Brown Date: Tue May 22 17:48:46 2007 -0500 relax error checking when importing version.mk as it has non-shell stuff in it (harmless) commit 512baa94dd670643dd70bea0b25eac3d0af56b32 Author: Michael E Brown Date: Tue May 22 16:33:15 2007 -0500 update firmware-addon-dell build/autobuild scripts per firmware-tools templates commit 78cef044f03bce69cf3264050b89664bcf6cd73b Author: Michael E Brown Date: Tue May 22 15:59:22 2007 -0500 update autobuilder scripts per firmware-tools template commit d0deff554421dbfe339652b4562b3853a8d8874d Merge: e30d96a... 9c8eae3... Author: Michael E Brown Date: Mon May 21 14:25:48 2007 -0500 Merge branch 'master' of http://hb.us.dell.com/pub/Applications/git/firmware-addon-dell commit e30d96a8e85e2225637bbc165045d50e248a2e00 Author: Michael E Brown Date: Mon May 21 14:25:08 2007 -0500 add autobuild hooks commit 9c8eae389ad1d422275fb60983f1bb76891f35b7 Author: Michael E Brown Date: Fri May 18 13:51:44 2007 -0500 firmware-addon-dell should be 'arch: all' for now. commit 2896e6854b5b416fbdec4476f289023221f27084 Author: Michael E Brown Date: Fri May 18 00:06:56 2007 -0500 update copyrights and readme for OSL3 and gpl text commit 111dd04264e4f8eff43b6a2ddccae8c8113f4c8e Author: Sadhana B Date: Thu May 17 19:12:39 2007 +0530 Update debian packaging per review comments. Incorporated review comments from Martin Pitt from Ubuntu Signed-off-by: Michael E Brown commit 9c7f6c7c94263eeae197c8f4c4e650cd3aff9a42 Author: Michael E Brown Date: Wed May 16 10:10:47 2007 -0500 bugfix: rpm_release was improperly replaced with sub. commit 76fd93134505cddb8013319cece267e1a54c29a4 Author: Michael E Brown Date: Wed May 16 01:07:22 2007 -0500 update debian build rules to synchronize makefiles between firmware-tools and firmware-addon-dell Makefiles are now identical. commit 90bc51b095dafe690f6634a6cfc79307445f494c Author: Michael E Brown Date: Wed May 16 00:09:57 2007 -0500 Update debian build files per sadhanas latest patch. Use cdbs build system. commit cfa2f7dae48a75a80b00587005d7a85cc0e6497b Author: Michael E Brown Date: Tue May 15 13:30:34 2007 -0500 Initial commit, import from clearcase firmware-addon-dell-2.2.9/INSTALL0000644001765400176540000002713611377015106022744 0ustar00michael_e_brownmichael_e_brown00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 6. Often, you can also type `make uninstall' to remove the installed files again. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *Note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. firmware-addon-dell-2.2.9/NEWS0000664001765400176540000000000011376537330022400 0ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/TODO0000664001765400176540000000005510622407053022372 0ustar00michael_e_brownmichael_e_brown00000000000000 -- Add SHA1SUM to package.ini for each file firmware-addon-dell-2.2.9/doc/0000777001765400176540000000000011376537330022462 5ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/doc/bios.spec.in0000664001765400176540000000636511376537330024707 0ustar00michael_e_brownmichael_e_brown00000000000000 %define safe_name #safe_name# %define name #name# %define vendor_id #vendor_id# %define device_id #device_id# %define version #version# %if "#shortname#" != "" %define shortname #shortname# %endif %define epoch #epoch# # if passed a "shortname" variable, obsolete older, generated name %{?shortname: %{expand: %%define oldname_exists 1}} %{!?shortname: %{expand: %%define oldname_exists 0}} # if not passed a "shortname", generate one %{?shortname: %{expand: %%define system_shortname %{shortname} }} %{!?shortname: %{expand: %%define system_shortname ven_%{vendor_id}_dev_%{device_id} }} Summary: BIOS upgrade package for System: %{system_shortname} Name: system_bios_%{system_shortname} Epoch: %{epoch} Version: %{version} Release: 20 Vendor: Dell License: Proprietary Group: System Environment/Base BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -u)-buildroot/ Source0: %{safe_name}-%{version}.tar.bz2 Requires: firmware-addon-dell >= 0:2.0 Requires: firmware-tools >= 0:2.0 Provides: system_bios(ven_%{vendor_id}_dev_%{device_id}) = %{epoch}:%{version}-%{release} %if %{oldname_exists} Obsoletes: system_bios_ven_%{vendor_id}_dev_%{device_id} < %{epoch}:%{version}-%{release} Provides: system_bios_ven_%{vendor_id}_dev_%{device_id} = %{epoch}:%{version}-%{release} %endif %description This package contains BIOS update version %{version} for System %{system_shortname} This is an _UNOFFICIAL_ package, not supported by Dell. Do not call Dell technical support concerning this package, because you will not get help there. Please use the mailing lists for support. firmware-tools-devel@lists.us.dell.com would be a good place to start. If this package is useful to you, feedback is appreciated. %prep %setup -n #tar_dir# %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios/%{safe_name}_version_%{version}/ install -m 644 bios.hdr $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios/%{safe_name}_version_%{version}/ install -m 644 package.ini $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios/%{safe_name}_version_%{version}/ install -m 644 *.xml $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios/%{safe_name}_version_%{version}/ || true install -m 644 *.txt $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios/%{safe_name}_version_%{version}/ || true install -m 644 *.log $RPM_BUILD_ROOT/%{_datadir}/firmware/dell/bios/%{safe_name}_version_%{version}/ || true %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc dell-std-license.txt %{_datadir}/firmware/dell/* %posttrans # only attempt to update after we have gotten to the end of the # transaction and all the requisite rpms have been installed. we might # have deps on other rpms. /usr/sbin/firmwaretool --update --rpm -y %changelog * Fri Feb 1 2008 Michael Brown - 20-1 - change subdir for packaged bios files to /dell/bios/ * Thu Jan 31 2008 Michael Brown - 20-1 - Add changelog entries. :) - Small packaging changes only to make bios work with firmware-tools 2.0 - Check for release notes in /usr/share/firmware/dell/SYSTEM/relnotes.txt NOTE: not all systems have release notes. This is due to current limitations with the extraction process. firmware-addon-dell-2.2.9/doc/bootstrap.txt0000664001765400176540000000521410622407053025227 0ustar00michael_e_brownmichael_e_brown00000000000000 1) Run dell-repository bootstrap: # wget -q -O - http://linux.dell.com/yum/software/bootstrap.sh | bash 2) Run firmware bootstrap # wget -q -O - http://linux.dell.com/yum/firmware/bootstrap.sh | bash Firmware bootstrap does the following: 1) Install firmware-tools (which pulls libsmbios-bin, libsmbios-libs) 2) Install firmware-raw-inventory pkgs. These are packages that "provide:" a virtual package named "firmware_inventory(*capability*)", where "*capability*" varies. proposed packages: - firmware_inventory(bios) *included in firmware-tools* - firmware_inventory(bmc) *included in firmware-tools* - firmware_inventory(pci) *included in firmware-tools* - firmware_inventory(scsi) *optional* - firmware_inventory(sas) *optional* - firmware_inventory(rac) *optional* For optional modules, cmdline option to pull in all unconditionally, or hints module to pull in based on, eg. sysid. 3) run 'inventory-firmware --bootstrap' output: system_bios(ven_0x1028_dev_0x0152) system_firmware(ven_0x1028_dev_0x0152) pci_firmware(ven_0x8086_dev_0x3580_subven_0x1028_subdev_0x0152) pci_firmware(ven_0x8086_dev_0x2448) scsi_enclosure_firmware(ven_0x9999_dev_0x9999) sas_enclosure_firmware(ven_0x9999_dev_0x9999) ... etc ... 4) Install the RPMs that 'provide' the above raw output. This pulls in the firmware data RPM, plus any execution/inventory RPMs that may be necessary. 5) run 'apply-updates' firmware-tools RPM has the skeleton for everything: 1) system-raw-inventory 2) system-inventory 2) apply-updates apply-updates 1) get complete system inventory 2) get installed firmware update list 3) calculate list of updates to install 4) check prereqs for each update prereqs: Each update is composed of a firmware data file, plus an optional prereq file. Prereqs have the following format: src_pkg: REQTYPE pkg [op version] [if Condition] REQTYPE: Requires: Conflicts: src_pkg cannot be installed if pkg meets op version and condition PreRequires: Target pkg must be running required level before src_pkg can go. Implies reboot if pkg must be updated first and cannot be updated without reboot (like rbu). Condition: match_sysid SYSID pci_present PCI_ID match_pkg PKG_NAME [op version] op: > >= = <= < != <> examples: lsi_fw_upd: Requires backplane firmware-addon-dell-2.2.9/doc/dell-std-license.txt0000664001765400176540000001601210750171367026350 0ustar00michael_e_brownmichael_e_brown00000000000000DELL SOFTWARE LICENSE AGREEMENT This is a legal agreement between you, the user, and Dell Products, L.P ("Dell"). This agreement covers all software that is distributed with the Dell product, for which there is no separate license agreement between you and the manufacturer or owner of the software (collectively the "Software"). This agreement is not for the sale of Software or any other intellectual property. All title and intellectual property rights in and to Software is owned by the manufacturer or owner of the Software. All rights not expressly granted under this agreement are reserved by the manufacturer or owner of the Software. By opening or breaking the seal on the Software packet(s), installing or downloading the Software, or using the Software that has been preloaded or is embedded in your product, you agree to be bound by the terms of this agreement. If you do not agree to these terms, promptly return all Software items (disks, written materials, and packaging) and delete any preloaded or embedded Software. You may use one copy of the Software on only one computer at a time. If you have multiple licenses for the Software, you may use as many copies at any time as you have licenses. "Use" means loading the Software in temporary memory or permanent storage on the computer. Installation on a network server solely for distribution to other computers is not "use" if (but only if) you have a separate license for each computer to which the Software is distributed. You must ensure that the number of persons using the Software installed on a network server does not exceed the number of licenses that you have. If the number of users of Software installed on a network server will exceed the number of licenses, you must purchase additional licenses until the number of licenses equals the number of users before allowing additional users to use the Software. If you are a commercial customer of Dell or a Dell affiliate, you hereby grant Dell, or an agent selected by Dell, the right to perform an audit of your use of the Software during normal business hours, you agree to cooperate with Dell in such audit, and you agree to provide Dell with all records reasonably related to your use of the Software. The audit will be limited to verification of your compliance with the terms of this agreement. The Software is protected by United States copyright laws and international treaties. You may make one copy of the Software solely for backup or archival purposes or transfer it to a single hard disk provided you keep the original solely for backup or archival purposes. You may not rent or lease the Software or copy the written materials accompanying the Software, but you may transfer the Software and all accompanying materials on a permanent basis as part of a sale or transfer of the Dell product if you retain no copies and the recipient agrees to the terms hereof. Any transfer must include the most recent update and all prior versions. You may not reverse engineer, decompile or disassemble the Software. If the package accompanying your computer contains compact discs, 3.5" and/or 5.25" disks, you may use only the disks appropriate for your computer. You may not use the disks on another computer or network, or loan, rent, lease, or transfer them to another user except as permitted by this agreement. LIMITED WARRANTY Dell warrants that the Software disks will be free from defects in materials and workmanship under normal use for ninety (90) days from the date you receive them. This warranty is limited to you and is not transferable. Any implied warranties are limited to ninety (90) days from the date you receive the Software. Some jurisdictions do not allow limits on the duration of an implied warranty, so this limitation may not apply to you. The entire liability of Dell and its suppliers, and your exclusive remedy, shall be (a) return of the price paid for the Software or (b) replacement of any disk not meeting this warranty that is sent with a return authorization number to Dell, at your cost and risk. This limited warranty is void if any disk damage has resulted from accident, abuse, misapplication, or service or modification by someone other than Dell. Any replacement disk is warranted for the remaining original warranty period or thirty (30) days, whichever is longer. Dell does NOT warrant that the functions of the Software will meet your requirements or that operation of the Software will be uninterrupted or error free. You assume responsibility for selecting the Software to achieve your intended results and for the use and results obtained from the Software. DELL, ON BEHALF OF ITSELF AND ITS SUPPLIERS, DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, FOR THE SOFTWARE AND ALL ACCOMPANYING WRITTEN MATERIALS. This limited warranty gives you specific legal rights; you may have others, which vary from jurisdiction to jurisdiction. IN NO EVENT SHALL DELL OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING OUT OF USE OR INABILITY TO USE THE SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Because some jurisdictions do not allow an exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. U.S. GOVERNMENT RESTRICTED RIGHTS The software and documentation are "commercial items" as that term is defined at 48 C.F.R. 2.101, consisting of "commercial computer software" and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212. Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4, all U.S. Government end users acquire the software and documentation with only those rights set forth herein. Contractor/manufacturer is Dell Products, L.P., One Dell Way, Round Rock, Texas 78682. GENERAL This license is effective until terminated. It will terminate upon the conditions set forth above or if you fail to comply with any of its terms. Upon termination, you agree that the Software and accompanying materials, and all copies thereof, will be destroyed. This agreement is governed by the laws of the State of Texas. Each provision of this agreement is severable. If a provision is found to be unenforceable, this finding does not affect the enforceability of the remaining provisions, terms, or conditions of this agreement. This agreement is binding on successors and assigns. Dell agrees and you agree to waive, to the maximum extent permitted by law, any right to a jury trial with respect to the Software or this agreement. Because this waiver may not be effective in some jurisdictions, this waiver may not apply to you. You acknowledge that you have read this agreement, that you understand it, that you agree to be bound by its terms, and that this is the complete and exclusive statement of the agreement between you and Dell regarding the Software. firmware-addon-dell-2.2.9/doc/firmware-addon-dell.conf0000664001765400176540000000075710750162144027145 0ustar00michael_e_brownmichael_e_brown00000000000000# vim:et:ts=4:sw=4:tw=80 # # INI file. # This file is read by python ConfigParser module. You can do # variable interpolation using python-style string interpolation rules. [plugin:dellbios] enabled=1 module=firmware_addon_dell.dellbios [plugin:dellbios_extract] enabled=1 module=firmware_addon_dell.extract_bios system_id2name_map=%(datadir)s/firmware-tools/system_id2name.ini BiosPackageSpec=%(datadir)s/firmware-tools/bios.spec.in license=%(datadir)s/firmware-tools/dell-std-license.txt firmware-addon-dell-2.2.9/doc/system_id2name.ini0000664001765400176540000003325610754605334026114 0ustar00michael_e_brownmichael_e_brown00000000000000[id_to_name] SHORTNAME_ven_0x1028_dev_0x004C = "Inspiron_300m_0x004C" SHORTNAME_ven_0x1028_dev_0x006C = "PowerEdge_2100" SHORTNAME_ven_0x1028_dev_0x006F = "OptiPlex_GXa" SHORTNAME_ven_0x1028_dev_0x0072 = "PowerEdge_2200" # Thredbo SHORTNAME_ven_0x1028_dev_0x0076 = # Thredbo SHORTNAME_ven_0x1028_dev_0x007B = SHORTNAME_ven_0x1028_dev_0x007C = "PowerEdge_4300" SHORTNAME_ven_0x1028_dev_0x007F = "PowerEdge_6300" SHORTNAME_ven_0x1028_dev_0x0080 = "Precision_410" SHORTNAME_ven_0x1028_dev_0x0081 = "PowerEdge_2300" # Banff SHORTNAME_ven_0x1028_dev_0x0082 = SHORTNAME_ven_0x1028_dev_0x0083 = "PowerEdge_6350" SHORTNAME_ven_0x1028_dev_0x0084 = "PowerEdge_4350" SHORTNAME_ven_0x1028_dev_0x0087 = "Precision_610" SHORTNAME_ven_0x1028_dev_0x0088 = "Latitude_CPi_A" # Durango SHORTNAME_ven_0x1028_dev_0x0089 = # Apex SHORTNAME_ven_0x1028_dev_0x008A = SHORTNAME_ven_0x1028_dev_0x008B = "Latitude_CP_0x008B" SHORTNAME_ven_0x1028_dev_0x008C = "PowerEdge_8450" SHORTNAME_ven_0x1028_dev_0x008E = "PowerEdge_1300" SHORTNAME_ven_0x1028_dev_0x0090 = "Precision_210" SHORTNAME_ven_0x1028_dev_0x0091 = "Latitude_CS" # Poblano SHORTNAME_ven_0x1028_dev_0x0092 = # Serrano SHORTNAME_ven_0x1028_dev_0x0093 = # Tobasco SHORTNAME_ven_0x1028_dev_0x0094 = # Poblano SHORTNAME_ven_0x1028_dev_0x0095 = SHORTNAME_ven_0x1028_dev_0x0096 = "Precision_420" SHORTNAME_ven_0x1028_dev_0x0097 = "Precision_620" SHORTNAME_ven_0x1028_dev_0x009A = "PowerEdge_4400" SHORTNAME_ven_0x1028_dev_0x009B = "PowerEdge_2400" SHORTNAME_ven_0x1028_dev_0x009C = "PowerEdge_6400" SHORTNAME_ven_0x1028_dev_0x00A2 = "PowerEdge_6450" SHORTNAME_ven_0x1028_dev_0x00A3 = "Latitude_C800" SHORTNAME_ven_0x1028_dev_0x00A4 = "Inspiron_8000" SHORTNAME_ven_0x1028_dev_0x00A6 = "PowerEdge_2450_0x00A6" SHORTNAME_ven_0x1028_dev_0x00AA = "Latitude_CP_0x00AA" SHORTNAME_ven_0x1028_dev_0x00AB = "Latitude_CP_Inspiron_3700" SHORTNAME_ven_0x1028_dev_0x00B0 = "Inspiron_4000" SHORTNAME_ven_0x1028_dev_0x00B1 = "Latitude_C600_0x00B1" # Jalepeno SHORTNAME_ven_0x1028_dev_0x00B4 = SHORTNAME_ven_0x1028_dev_0x00BB = "Latitude_CP_0x00BB" SHORTNAME_ven_0x1028_dev_0x00BC = "Inspiron_3800" SHORTNAME_ven_0x1028_dev_0x00BE = "Optiplex_GX150" SHORTNAME_ven_0x1028_dev_0x00C6 = "Precision_330" SHORTNAME_ven_0x1028_dev_0x00C8 = "Latitude_C400" SHORTNAME_ven_0x1028_dev_0x00C9 = "SmartStep_100N" SHORTNAME_ven_0x1028_dev_0x00CA = "PowerApp_100" SHORTNAME_ven_0x1028_dev_0x00CB = "PowerApp_200" SHORTNAME_ven_0x1028_dev_0x00CD = "PowerVault_530F" SHORTNAME_ven_0x1028_dev_0x00CE = "PowerEdge_1400SC" SHORTNAME_ven_0x1028_dev_0x00D1 = "PowerEdge_2550" SHORTNAME_ven_0x1028_dev_0x00D4 = "Inspiron_8200" SHORTNAME_ven_0x1028_dev_0x00D5 = "Latitude_C840" SHORTNAME_ven_0x1028_dev_0x00D7 = "OptiPlex_GX115" SHORTNAME_ven_0x1028_dev_0x00D8 = "Precision_530" SHORTNAME_ven_0x1028_dev_0x00D9 = "PowerEdge_2500" SHORTNAME_ven_0x1028_dev_0x00DA = "PowerApp_120" SHORTNAME_ven_0x1028_dev_0x00DE = "PowerEdge_300SC" SHORTNAME_ven_0x1028_dev_0x00DF = "PowerEdge_1550" SHORTNAME_ven_0x1028_dev_0x00E0 = "PowerApp_110" SHORTNAME_ven_0x1028_dev_0x00E2 = "PowerVault_735N" SHORTNAME_ven_0x1028_dev_0x00E3 = "Latitude_C610" SHORTNAME_ven_0x1028_dev_0x00E4 = "Inspiron_4100" SHORTNAME_ven_0x1028_dev_0x00E5 = "Latitude_C810" SHORTNAME_ven_0x1028_dev_0x00E6 = "Dimension_8100" SHORTNAME_ven_0x1028_dev_0x00E7 = "Latitude_V700" SHORTNAME_ven_0x1028_dev_0x00EC = SHORTNAME_ven_0x1028_dev_0x00ED = "PowerEdge_350" SHORTNAME_ven_0x1028_dev_0x00EE = "PowerVault_750N" SHORTNAME_ven_0x1028_dev_0x00EF = "PowerVault_755N" SHORTNAME_ven_0x1028_dev_0x00F3 = "Inspiron_2650" SHORTNAME_ven_0x1028_dev_0x00F4 = "Latitude_V740" SHORTNAME_ven_0x1028_dev_0x00F8 = "Inspiron_300m_0x00F8" SHORTNAME_ven_0x1028_dev_0x0106 = "PowerEdge_4600" SHORTNAME_ven_0x1028_dev_0x0109 = "PowerEdge_6600" SHORTNAME_ven_0x1028_dev_0x010A = "PowerEdge_6650" SHORTNAME_ven_0x1028_dev_0x010B = "PowerEdge_500SC" SHORTNAME_ven_0x1028_dev_0x010C = "Inspiron_8200_0x10C" SHORTNAME_ven_0x1028_dev_0x010D = "Precision_340" SHORTNAME_ven_0x1028_dev_0x010E = "Optiplex_GX240" SHORTNAME_ven_0x1028_dev_0x0110 = "Dimension_4300" SHORTNAME_ven_0x1028_dev_0x0119 = "SmartStep_150D" SHORTNAME_ven_0x1028_dev_0x011B = "PowerEdge_1650" SHORTNAME_ven_0x1028_dev_0x011C = "PowerEdge_1500SC" SHORTNAME_ven_0x1028_dev_0x011D = "Latitude_C600_0x011D" SHORTNAME_ven_0x1028_dev_0x011E = "Inspiron_600m" SHORTNAME_ven_0x1028_dev_0x0121 = "PowerEdge_2650" SHORTNAME_ven_0x1028_dev_0x0122 = "Latitude_X200" SHORTNAME_ven_0x1028_dev_0x0123 = "PowerEdge_2600" SHORTNAME_ven_0x1028_dev_0x0124 = "PowerEdge_1655MC" SHORTNAME_ven_0x1028_dev_0x0126 = "OptiPlex_GX620_0x0126" SHORTNAME_ven_0x1028_dev_0x0127 = "Dimension_4500S" SHORTNAME_ven_0x1028_dev_0x0129 = "Dimension_4500C" SHORTNAME_ven_0x1028_dev_0x012A = "Latitude_C640" SHORTNAME_ven_0x1028_dev_0x012B = "Inspiron_4150" SHORTNAME_ven_0x1028_dev_0x012C = "Precision_650" SHORTNAME_ven_0x1028_dev_0x012D = "Precision_450" SHORTNAME_ven_0x1028_dev_0x0130 = "PowerVault_775N" SHORTNAME_ven_0x1028_dev_0x0131 = "PowerVault_770N" SHORTNAME_ven_0x1028_dev_0x0134 = "PowerEdge_600SC" SHORTNAME_ven_0x1028_dev_0x0135 = "PowerEdge_1600SC" SHORTNAME_ven_0x1028_dev_0x0138 = "OptiPlex_SX260" SHORTNAME_ven_0x1028_dev_0x0139 = "Latitude_D400" SHORTNAME_ven_0x1028_dev_0x013A = "OptiPlex_GX60" SHORTNAME_ven_0x1028_dev_0x013B = "PowerEdge_2755MC" SHORTNAME_ven_0x1028_dev_0x013E = "Inspiron_8500" SHORTNAME_ven_0x1028_dev_0x013F = "Precision_M60" SHORTNAME_ven_0x1028_dev_0x0141 = "PowerEdge_650" SHORTNAME_ven_0x1028_dev_0x0142 = "Dimension_4550" SHORTNAME_ven_0x1028_dev_0x0143 = "PowerVault_725N" SHORTNAME_ven_0x1028_dev_0x0145 = "Dimension_8250" SHORTNAME_ven_0x1028_dev_0x0146 = "Dimension_2300C" SHORTNAME_ven_0x1028_dev_0x0148 = "OptiPlex_L60" SHORTNAME_ven_0x1028_dev_0x0149 = "Inspiron_51_1100" SHORTNAME_ven_0x1028_dev_0x014A = "PowerEdge_1750" SHORTNAME_ven_0x1028_dev_0x014E = "Latitude_D800" SHORTNAME_ven_0x1028_dev_0x014F = "Latitude_X300" SHORTNAME_ven_0x1028_dev_0x0150 = "Inspiron_300m_0x0150" SHORTNAME_ven_0x1028_dev_0x0151 = "OptiPlex_GX270" SHORTNAME_ven_0x1028_dev_0x0152 = "Latitude_D500" SHORTNAME_ven_0x1028_dev_0x0153 = "Inspiron_500m" SHORTNAME_ven_0x1028_dev_0x0154 = "Dimension_2400C_4600C" SHORTNAME_ven_0x1028_dev_0x0155 = "Dimension_4600_0x0155" SHORTNAME_ven_0x1028_dev_0x0156 = "Precision_360" SHORTNAME_ven_0x1028_dev_0x0157 = "Dimension_8300" SHORTNAME_ven_0x1028_dev_0x0158 = "OptiPlex_SX270" SHORTNAME_ven_0x1028_dev_0x0159 = "Inspiron_9100" SHORTNAME_ven_0x1028_dev_0x015B = "XPS" SHORTNAME_ven_0x1028_dev_0x015E = "Dimension_4590T" SHORTNAME_ven_0x1028_dev_0x015F = "Inspiron_5150" SHORTNAME_ven_0x1028_dev_0x0160 = "Dimension_2400" SHORTNAME_ven_0x1028_dev_0x0161 = "OptiPlex_160" SHORTNAME_ven_0x1028_dev_0x0162 = "PowerEdge_400" SHORTNAME_ven_0x1028_dev_0x0163 = "Latitude_D505" SHORTNAME_ven_0x1028_dev_0x0164 = "Inspiron_510m" SHORTNAME_ven_0x1028_dev_0x0165 = "PowerEdge_750" SHORTNAME_ven_0x1028_dev_0x0166 = "PowerVault_745N" SHORTNAME_ven_0x1028_dev_0x0167 = "PowerEdge_700" SHORTNAME_ven_0x1028_dev_0x0168 = "Precision_670" SHORTNAME_ven_0x1028_dev_0x0169 = "Precision_470" SHORTNAME_ven_0x1028_dev_0x016A = "Inspiron_8600" SHORTNAME_ven_0x1028_dev_0x016C = "PowerEdge_1850" SHORTNAME_ven_0x1028_dev_0x016D = "PowerEdge_2850" SHORTNAME_ven_0x1028_dev_0x016E = "PowerEdge_2800" SHORTNAME_ven_0x1028_dev_0x016F = "PowerEdge_6800" SHORTNAME_ven_0x1028_dev_0x0170 = "PowerEdge_6850" SHORTNAME_ven_0x1028_dev_0x0172 = "XPS_Gen2" SHORTNAME_ven_0x1028_dev_0x0173 = "PowerEdge_1420SC" SHORTNAME_ven_0x1028_dev_0x0174 = "Dimension_4600_0x0174" SHORTNAME_ven_0x1028_dev_0x0175 = "Precision_370" SHORTNAME_ven_0x1028_dev_0x0176 = "XPS_0x0176" SHORTNAME_ven_0x1028_dev_0x0177 = "Dimension_8400" SHORTNAME_ven_0x1028_dev_0x0178 = "OptiPlex_SX280" SHORTNAME_ven_0x1028_dev_0x0179 = "OptiPlex_GX280_0x0179" SHORTNAME_ven_0x1028_dev_0x017A = "OptiPlex_170L" SHORTNAME_ven_0x1028_dev_0x017B = "Dimension_4700c" SHORTNAME_ven_0x1028_dev_0x017C = "Inspiron_XPS" SHORTNAME_ven_0x1028_dev_0x017D = "PowerVault_785N" SHORTNAME_ven_0x1028_dev_0x017E = "PowerVault_780N" SHORTNAME_ven_0x1028_dev_0x017F = "Inspiron_1150" SHORTNAME_ven_0x1028_dev_0x0180 = "PowerEdge_420SC" SHORTNAME_ven_0x1028_dev_0x0181 = "Dimension_4700" SHORTNAME_ven_0x1028_dev_0x0182 = "Latitude_D610" SHORTNAME_ven_0x1028_dev_0x0183 = "PowerEdge_1800" SHORTNAME_ven_0x1028_dev_0x0184 = "PowerEdge_850" SHORTNAME_ven_0x1028_dev_0x0185 = "PowerEdge_800" SHORTNAME_ven_0x1028_dev_0x0186 = "Latitude_D810" SHORTNAME_ven_0x1028_dev_0x0187 = "Precision_M70" SHORTNAME_ven_0x1028_dev_0x0188 = "Inspiron_6000" SHORTNAME_ven_0x1028_dev_0x0189 = "Inspiron_9300" SHORTNAME_ven_0x1028_dev_0x018A = "PowerEdge_1855" SHORTNAME_ven_0x1028_dev_0x018E = "Latitude_100L" SHORTNAME_ven_0x1028_dev_0x018F = "Latitude_D410" SHORTNAME_ven_0x1028_dev_0x0190 = "PowerEdge_840_0x0190" SHORTNAME_ven_0x1028_dev_0x0195 = SHORTNAME_ven_0x1028_dev_0x0196 = "Inspiron_5160" SHORTNAME_ven_0x1028_dev_0x0197 = "OptiPlex_GX280_0x0197" SHORTNAME_ven_0x1028_dev_0x019A = "PowerEdge_1425" SHORTNAME_ven_0x1028_dev_0x019D = "Dimension_3000" SHORTNAME_ven_0x1028_dev_0x01A0 = "Precision_M20" SHORTNAME_ven_0x1028_dev_0x01A2 = "Inspiron_9200" SHORTNAME_ven_0x1028_dev_0x01A3 = "Latitude_X1" SHORTNAME_ven_0x1028_dev_0x01A4 = "Inspiron_2200" SHORTNAME_ven_0x1028_dev_0x01A5 = "Latitude_110L" SHORTNAME_ven_0x1028_dev_0x01A6 = "Inspiron_1200" SHORTNAME_ven_0x1028_dev_0x01A7 = "Dimension_9100" SHORTNAME_ven_0x1028_dev_0x01A9 = "XPS_Gen5" SHORTNAME_ven_0x1028_dev_0x01AA = "Inspiron_XPS_Gen2" SHORTNAME_ven_0x1028_dev_0x01AB = "Dimension_5100" SHORTNAME_ven_0x1028_dev_0x01AC = "Dimension_5100C" SHORTNAME_ven_0x1028_dev_0x01AD = "OptiPlex_GX620_0x01AD" SHORTNAME_ven_0x1028_dev_0x01AE = "PowerEdge_430SC" SHORTNAME_ven_0x1028_dev_0x01AF = "Latitude_D510" SHORTNAME_ven_0x1028_dev_0x01B1 = "PowerEdge_2900" SHORTNAME_ven_0x1028_dev_0x01B2 = "PowerEdge_2950" SHORTNAME_ven_0x1028_dev_0x01B3 = "PowerEdge_1950" SHORTNAME_ven_0x1028_dev_0x01B5 = "MXC051" SHORTNAME_ven_0x1028_dev_0x01B6 = "PowerEdge_850" SHORTNAME_ven_0x1028_dev_0x01B7 = "PowerEdge_830" SHORTNAME_ven_0x1028_dev_0x01B8 = "PowerEdge_1900" SHORTNAME_ven_0x1028_dev_0x01B9 = "PowerEdge_1430SC" SHORTNAME_ven_0x1028_dev_0x01BA = "PowerEdge_1435SC_0x01BA" SHORTNAME_ven_0x1028_dev_0x01BB = "PowerEdge_1955" SHORTNAME_ven_0x1028_dev_0x01BC = "OptiPlex_GX620_0x01BC" SHORTNAME_ven_0x1028_dev_0x01BD = "MM061" SHORTNAME_ven_0x1028_dev_0x01BF = "MXP061" SHORTNAME_ven_0x1028_dev_0x01C0 = "Precision_690" SHORTNAME_ven_0x1028_dev_0x01C1 = "Precision_490" SHORTNAME_ven_0x1028_dev_0x01C2 = "Latitude_D620" SHORTNAME_ven_0x1028_dev_0x01C3 = "DXG051" SHORTNAME_ven_0x1028_dev_0x01C4 = "DV051" SHORTNAME_ven_0x1028_dev_0x01C5 = "OptiPlex_210L" SHORTNAME_ven_0x1028_dev_0x01C7 = "DC051" SHORTNAME_ven_0x1028_dev_0x01C8 = "Precision_M65" SHORTNAME_ven_0x1028_dev_0x01C9 = "ME051" SHORTNAME_ven_0x1028_dev_0x01CB = "Latitude_120L" SHORTNAME_ven_0x1028_dev_0x01CC = "Latitude_D820" SHORTNAME_ven_0x1028_dev_0x01CD = "MP061" SHORTNAME_ven_0x1028_dev_0x01CE = "MXG061" SHORTNAME_ven_0x1028_dev_0x01CF = "Precision_M90" SHORTNAME_ven_0x1028_dev_0x01D0 = "DXC051" SHORTNAME_ven_0x1028_dev_0x01D1 = "DXP051" SHORTNAME_ven_0x1028_dev_0x01D2 = "DM051" SHORTNAME_ven_0x1028_dev_0x01D4 = "Latitude_D520" SHORTNAME_ven_0x1028_dev_0x01D6 = "Latitude_D420" SHORTNAME_ven_0x1028_dev_0x01D7 = "MXC062" SHORTNAME_ven_0x1028_dev_0x01D8 = "MXC061" SHORTNAME_ven_0x1028_dev_0x01D9 = "OptiPlex_745c" SHORTNAME_ven_0x1028_dev_0x01DA = "OptiPlex_745" SHORTNAME_ven_0x1028_dev_0x01DB = "DXP061" SHORTNAME_ven_0x1028_dev_0x01DC = "DXC061" SHORTNAME_ven_0x1028_dev_0x01DD = "DM061" SHORTNAME_ven_0x1028_dev_0x01DE = "Precision_390" SHORTNAME_ven_0x1028_dev_0x01DF = "PowerEdge_440SC" SHORTNAME_ven_0x1028_dev_0x01E0 = "DXG061" SHORTNAME_ven_0x1028_dev_0x01E1 = "XPS720" SHORTNAME_ven_0x1028_dev_0x01E5 = "OptiPlex_320" SHORTNAME_ven_0x1028_dev_0x01E6 = "PowerEdge_860" SHORTNAME_ven_0x1028_dev_0x01E7 = "PowerEdge_840_0x1E7" SHORTNAME_ven_0x1028_dev_0x01EA = "PowerEdge_6950" SHORTNAME_ven_0x1028_dev_0x01EB = "PowerEdge_1435SC_0x01EB" SHORTNAME_ven_0x1028_dev_0x01F0 = "PowerEdge_r900" SHORTNAME_ven_0x1028_dev_0x01F1 = "Inspiron_1520" SHORTNAME_ven_0x1028_dev_0x01F2 = "Inspiron_1720" SHORTNAME_ven_0x1028_dev_0x01F3 = "Inspiron_1420" SHORTNAME_ven_0x1028_dev_0x01F9 = "Latitude_D630" SHORTNAME_ven_0x1028_dev_0x01FA = "Latitude_D631" SHORTNAME_ven_0x1028_dev_0x01FB = "NX1950" SHORTNAME_ven_0x1028_dev_0x01FC = "Inspiron_1521" SHORTNAME_ven_0x1028_dev_0x01FD = "Inspiron_1721" SHORTNAME_ven_0x1028_dev_0x01FE = "Latitude_D830" SHORTNAME_ven_0x1028_dev_0x01FF = "Precision_M4300" SHORTNAME_ven_0x1028_dev_0x0201 = "Latitude_D430" SHORTNAME_ven_0x1028_dev_0x0205 = "PowerEdge_2970" SHORTNAME_ven_0x1028_dev_0x0206 = "Latitude_D531" SHORTNAME_ven_0x1028_dev_0x0207 = "XPS710" SHORTNAME_ven_0x1028_dev_0x0208 = "PowerEdge_M600" SHORTNAME_ven_0x1028_dev_0x0209 = "XPS_M1330" SHORTNAME_ven_0x1028_dev_0x020B = "PowerEdge_T605" SHORTNAME_ven_0x1028_dev_0x020C = "PowerEdge_M605" SHORTNAME_ven_0x1028_dev_0x020F = "PowerEdge_R300" SHORTNAME_ven_0x1028_dev_0x0210 = "PowerEdge_T200" SHORTNAME_ven_0x1028_dev_0x0221 = "PowerEdge_R805" SHORTNAME_ven_0x1028_dev_0x022E = "XPS_M1530" SHORTNAME_ven_0x1028_dev_0x022F = "Inspiron_1525" SHORTNAME_ven_0x1028_dev_0x0223 = "PowerEdge_R905v" SHORTNAME_ven_0x1028_dev_0x0225 = "PowerEdge_T105" SHORTNAME_ven_0x1028_dev_0x0227 = "Vostro_1400" SHORTNAME_ven_0x1028_dev_0x0228 = "Vostro_1500" SHORTNAME_ven_0x1028_dev_0x0229 = "Vostro_1700" SHORTNAME_ven_0x1028_dev_0x0230 = "Inspiron_1526" SHORTNAME_ven_0x1028_dev_0x023C = "PowerEdge_r200" SHORTNAME_ven_0x1028_dev_0x023E = "PowerVault_100" SHORTNAME_ven_0x1028_dev_0x023F = "PowerVault_500" SHORTNAME_ven_0x1028_dev_0x0240 = "PowerVault_600" SHORTNAME_ven_0x1028_dev_0x0301 = "CPS_510D" SHORTNAME_ven_0x1028_dev_0x0303 = "CPS_610D" SHORTNAME_ven_0x1028_dev_0x1BE0 = "Inspiron_300m_0x1BE0" SHORTNAME_ven_0x1028_dev_0x1FFF = "Latitude_X200_0x1FFF" firmware-addon-dell-2.2.9/test/0000777001765400176540000000000011376544166022701 5ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/test/TestLib.py0000775001765400176540000000234510756402561024617 0ustar00michael_e_brownmichael_e_brown00000000000000#!/usr/bin/python # VIM declarations # vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: #alphabetical order import os import unittest def usage(): print "wrong command line options." #need better help eventually def parseOptions(*args): pass def runTests( testCase ): testToRun = 'test' myTestSuite = unittest.TestSuite() for i in testCase: try: temp = unittest.makeSuite( i, testToRun ) myTestSuite.addTest(temp) except ValueError: pass runner = unittest.TextTestRunner( verbosity=3 ) retval = runner.run(myTestSuite) return retval.wasSuccessful() #END main( testCase ): main = runTests def areFilesDifferent( orig, copy ): ret = os.system( "diff -q %s %s >/dev/null 2>&1" % (orig, copy) ) >> 8 if ret == 0: return 0 if ret == 1: return 1 raise "something bad happened" def copyFile( source, dest ): fileOrig = open( source, "r" ) fileCopy = open( dest, "w" ) line = fileOrig.read( 512 ) while line != "": fileCopy.write(line) line = fileOrig.read( 512 ) fileOrig.close() fileCopy.close() if __name__ == "__main__": print "This file is not executable." firmware-addon-dell-2.2.9/test/__init__.py0000664001765400176540000000000010622407053024760 0ustar00michael_e_brownmichael_e_brown00000000000000firmware-addon-dell-2.2.9/test/testAll.py0000775001765400176540000000216310756402547024663 0ustar00michael_e_brownmichael_e_brown00000000000000#!/usr/bin/python # VIM declarations # vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: #alphabetical import os import sys import glob # all of the variables below are substituted by the build system __VERSION__="1.0.0" import TestLib exeName = os.path.realpath(sys.argv[0]) top_srcdir = os.path.join(os.path.dirname(exeName), "..") top_builddir = os.getcwd() sys.path.insert(0,top_srcdir) sys.path.insert(0,"%s/ft-cli/" % top_srcdir) # runs all modules TestCase() classes in files that match test*.py if __name__ == "__main__": testModulePath="%s/test/" % top_srcdir moduleNames = glob.glob( "%s/test*.py" % testModulePath ) moduleNames = [ m[len(testModulePath):-3] for m in moduleNames ] tests = [] for moduleName in moduleNames: if "testAll" in moduleName: continue module = __import__(moduleName, globals(), locals(), []) module.TestCase.top_srcdir=top_srcdir module.TestCase.top_builddir=top_builddir tests.append(module.TestCase) retval = 1 if tests: retval = TestLib.runTests( tests ) sys.exit( not retval ) firmware-addon-dell-2.2.9/test/testBiosInventory.py0000775001765400176540000000146310765775222026772 0ustar00michael_e_brownmichael_e_brown00000000000000#!/usr/bin/python # vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: """ """ from __future__ import generators import sys import unittest class TestCase(unittest.TestCase): def setUp(self): import firmware_addon_dell.biosHdr as biosHdr biosHdr.unit_test_mode = 1 def tearDown(self): import firmware_addon_dell.biosHdr as biosHdr biosHdr.unit_test_mode = 0 def testInventory(self): import firmware_addon_dell.dellbios # need to figure out a way to write a test for this.... def testBootstrap(self): import firmware_addon_dell.dellbios # need to figure out a way to write a test for this.... if __name__ == "__main__": import test.TestLib sys.exit(not test.TestLib.runTests( [TestCase] )) firmware-addon-dell-2.2.9/test/testHelperXml.py0000775001765400176540000000560410756402556026056 0ustar00michael_e_brownmichael_e_brown00000000000000#!/usr/bin/python # vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: """ """ import getopt import sys import xml.dom.minidom import unittest import firmware_addon_dell.HelperXml as HelperXml testXml = """ this is the text we want other text we may want FOO BAR """ class TestCase(unittest.TestCase): def setUp(self): self.dom = xml.dom.minidom.parseString(testXml) def tearDown(self): self.dom = None def testOldFashionedAttr(self): result = [] expected = ["1", "2", "3"] root = HelperXml.getNodeElement( self.dom, "root") for rootChild in root.childNodes: if rootChild.nodeName == "node": result.append(HelperXml.getNodeAttribute( rootChild, "attr" )) self.assertEqual( result, expected ) def testFindSpecific(self): self.assertEqual( "this is the text we want", HelperXml.getNodeText(self.dom, "root", ("node", {"attr": "2"}), "subnode")) self.assertEqual( "other text we may want", HelperXml.getNodeText(self.dom, "root", ("node", {"attr": "3"}), "subnode")) def testIterNodeAttrManual(self): result = [] expected = ["1", "2", "3"] for nodeElem in HelperXml.iterNodeElement( self.dom, "root", "node" ): result.append(HelperXml.getNodeAttribute(nodeElem, "attr")) self.assertEqual( result, expected ) def testIterNodeAttrAuto(self): result = [] expected = ["1", "2", "3"] for attr in HelperXml.iterNodeAttribute( self.dom, "attr", "root", "node" ): result.append(attr) self.assertEqual( result, expected ) def testOldFashionedNode(self): result = [] expected = ["FOO", "BAR"] elem = HelperXml.getNodeElement( self.dom, "root", "blap") for blapChild in elem.childNodes: if blapChild.nodeName == "subnode": for subnodeChild in blapChild.childNodes: if subnodeChild.nodeName == "name": result.append(HelperXml.getNodeText( subnodeChild )) self.assertEqual( result, expected ) def testIterNode(self): result = [] expected = ["FOO", "BAR"] for nameElem in HelperXml.iterNodeElement( self.dom, "root", "blap", "subnode", "name" ): result.append(HelperXml.getNodeText(nameElem)) self.assertEqual( result, expected ) if __name__ == "__main__": import test.TestLib sys.exit(not test.TestLib.runTests( [TestCase] )) firmware-addon-dell-2.2.9/COPYING-GPL0000664001765400176540000004311010622407053023354 0ustar00michael_e_brownmichael_e_brown00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. firmware-addon-dell-2.2.9/COPYING-OSL0000664001765400176540000002605210723314124023373 0ustar00michael_e_brownmichael_e_brown00000000000000Open Software License ("OSL") v. 3.0 This Open Software License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following licensing notice adjacent to the copyright notice for the Original Work: Licensed under the Open Software License version 3.0 1. Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, for the duration of the copyright, to do the following: 1. to reproduce the Original Work in copies, either alone or as part of a collective work; 2. to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work; 3. to distribute or communicate copies of the Original Work and Derivative Works to the public, with the proviso that copies of Original Work or Derivative Works that You distribute or communicate shall be licensed under this Open Software License; 4. to perform the Original Work publicly; and 5. to display the Original Work publicly. 2. Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, for the duration of the patents, to make, use, sell, offer for sale, have made, and import the Original Work and Derivative Works. 3. Grant of Source Code License. The term "Source Code" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of the Source Code in an information repository reasonably calculated to permit inexpensive and convenient access by You for as long as Licensor continues to distribute the Original Work. 4. Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors to the Original Work, nor any of their trademarks or service marks, may be used to endorse or promote products derived from this Original Work without express prior permission of the Licensor. Except as expressly stated herein, nothing in this License grants any license to Licensor's trademarks, copyrights, patents, trade secrets or any other intellectual property. No patent license is granted to make, use, sell, offer for sale, have made, or import embodiments of any patent claims other than the licensed claims defined in Section 2. No license is granted to the trademarks of Licensor even if such marks are included in the Original Work. Nothing in this License shall be interpreted to prohibit Licensor from licensing under terms different from this License any Original Work that Licensor otherwise would have a right to license. 5. External Deployment. The term "External Deployment" means the use, distribution, or communication of the Original Work or Derivative Works in any way such that the Original Work or Derivative Works may be used by anyone other than You, whether those works are distributed or communicated to those persons or made available as an application intended for use over a network. As an express condition for the grants of license hereunder, You must treat any External Deployment by You of the Original Work or a Derivative Work as a distribution under section 1(c). 6. Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create, all copyright, patent, or trademark notices from the Source Code of the Original Work, as well as any notices of licensing and any descriptive text identified therein as an "Attribution Notice." You must cause the Source Code for any Derivative Works that You create to carry a prominent Attribution Notice reasonably calculated to inform recipients that You have modified the Original Work. 7. Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to the Original Work and the patent rights granted herein by Licensor are owned by the Licensor or are sublicensed to You under the terms of this License with the permission of the contributor(s) of those copyrights and patent rights. Except as expressly stated in the immediately preceding sentence, the Original Work is provided under this License on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without limitation, the warranties of non-infringement, merchantability or fitness for a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No license to the Original Work is granted by this License except under this disclaimer. 8. Limitation of Liability. Under no circumstances and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Licensor be liable to anyone for any indirect, special, incidental, or consequential damages of any character arising as a result of this License or the use of the Original Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses. This limitation of liability shall not apply to the extent applicable law prohibits such limitation. 9. Acceptance and Termination. If, at any time, You expressly assented to this License, that assent indicates your clear and irrevocable acceptance of this License and all of its terms and conditions. If You distribute or communicate copies of the Original Work or a Derivative Work, You must make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License. This License conditions your rights to undertake the activities listed in Section 1, including your right to create Derivative Works based upon the Original Work, and doing so without honoring these terms and conditions is prohibited by copyright law and international treaty. Nothing in this License is intended to affect copyright exceptions and limitations (including 'fair use' or 'fair dealing'). This License shall terminate immediately and You may no longer exercise any of the rights granted to You by this License upon your failure to honor the conditions in Section 1(c). 10. Termination for Patent Action. This License shall terminate automatically and You may no longer exercise any of the rights granted to You by this License as of the date You commence an action, including a cross-claim or counterclaim, against Licensor or any licensee alleging that the Original Work infringes a patent. This termination provision shall not apply for an action alleging patent infringement by combinations of the Original Work with other software or hardware. 11. Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor conducts its primary business, and under the laws of that jurisdiction excluding its conflict-of-law provisions. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any use of the Original Work outside the scope of this License or after its termination shall be subject to the requirements and penalties of copyright or patent law in the appropriate jurisdiction. This section shall survive the termination of this License. 12. Attorneys' Fees. In any action to enforce the terms of this License or seeking damages relating thereto, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. This section shall survive the termination of this License. 13. Miscellaneous. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. 14. Definition of "You" in This License. "You" throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with you. For purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. 15. Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned by this License or by law, and Licensor promises not to interfere with or be responsible for such uses by You. 16. Modification of This License. This License is Copyright (c) 2005 Lawrence Rosen. Permission is granted to copy, distribute, or communicate this License without modification. Nothing in this License permits You to modify this License as applied to the Original Work or to Derivative Works. However, You may modify the text of this License and copy, distribute or communicate your modified version (the "Modified License") and apply it to other original works of authorship subject to the following conditions: (i) You may not indicate in any way that your Modified License is the "Open Software License" or "OSL" and you may not use those names in the name of your Modified License; (ii) You must replace the notice specified in the first paragraph above with the notice "Licensed under " or with a notice of your own that is not confusingly similar to the notice in this License; and (iii) You may not claim that your original works are open source software unless your Modified License has been approved by Open Source Initiative (OSI) and You comply with its license review and certification process.