--- libsmbios-2.2.13.orig/debian/libsmbios-doc.install +++ libsmbios-2.2.13/debian/libsmbios-doc.install @@ -0,0 +1,3 @@ +doc/* usr/share/doc/libsmbios-doc +out/libsmbios_c++/html/* usr/share/doc/libsmbios-doc/doxygen/libsmbios_c++ +out/libsmbios_c/html/* usr/share/doc/libsmbios-doc/doxygen/libsmbios_c --- libsmbios-2.2.13.orig/debian/Makefile +++ libsmbios-2.2.13/debian/Makefile @@ -0,0 +1,10 @@ +.PHONY: tidy + +SUBDIRS += additions manpages patches po + +tidy: + rm -f *~ + +mrproper: tidy + for dir in $(SUBDIRS); do $(MAKE) -C $$dir tidy; done + --- libsmbios-2.2.13.orig/debian/smbios-utils.links +++ libsmbios-2.2.13/debian/smbios-utils.links @@ -0,0 +1,4 @@ +usr/sbin/smbios-wireless-ctl usr/sbin/dellWirelessCtl +usr/sbin/smbios-sys-info usr/sbin/getSystemId +usr/sbin/smbios-lcd-brightness usr/sbin/dellLcdBrightness +usr/sbin/smbios-rbu-bios-update usr/sbin/dellBiosUpdate --- libsmbios-2.2.13.orig/debian/libsmbios2.install +++ libsmbios-2.2.13/debian/libsmbios2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libsmbios*.so.* --- libsmbios-2.2.13.orig/debian/smbios-utils.install +++ libsmbios-2.2.13/debian/smbios-utils.install @@ -0,0 +1,4 @@ +debian/tmp/usr/sbin/* usr/sbin +debian/tmp/usr/share/smbios* usr/share +debian/tmp/etc/* etc + --- libsmbios-2.2.13.orig/debian/changelog +++ libsmbios-2.2.13/debian/changelog @@ -0,0 +1,286 @@ +libsmbios (2.2.13-0ubuntu4.1) lucid-proposed; urgency=low + + * Add missing struct import (LP: #604029) + + -- Stefano Rivera Wed, 21 Jul 2010 20:17:58 +0200 + +libsmbios (2.2.13-0ubuntu4) lucid; urgency=low + + * Fix spelling mistake. (LP: #357212) + + -- arky Sat, 13 Feb 2010 15:23:01 +0530 + +libsmbios (2.2.13-0ubuntu3) lucid; urgency=low + + * Enable building with gcc 4.4: + - gcc44.dpatch: add necessary headers + - debian/rules: adjust CXXFLAGS to ignore warning about unknown + compiler + * Enable building with python 2.6: + - debian/rules: run autoreconf before configure + - for this, add autoconf, automake, libtool to Build-Depends + - amlcmessages.dpatch: reflect renaming of AM_LC_MESSAGES to + gt_LC_MESSAGES + + -- Ilya Barygin Thu, 18 Feb 2010 21:37:23 +0300 + +libsmbios (2.2.13-0ubuntu2) jaunty; urgency=low + + * debian/libsmbios-dev.install: + - Install include files to the right place. + - Make sure to install development files for libsmbios_c too. + * debian/control: + - Conflicts with libsmbios-bin. + + -- Mario Limonciello Tue, 24 Feb 2009 21:02:55 -0600 + +libsmbios (2.2.13-0ubuntu1) jaunty; urgency=low + + * New upstream version. We're jumping ahead of Debian here because they are + in a freeze still, but we want all the python support for jaunty. + (LP: #318518) + * debian/rules: + - Adjust find command + - Add sysconfdir option + - Adjust the chrpath behavior to only + work on old legacy C++ binaries that + aren't yet ported over. + - Run dh_link in arch dependent section + for smbios-utils to get links populated. + * debian/libsmbios2.install: + - Make sure to install both C & c++ libraries + * debian/control: + - Add python library. + - Rename libsmbios-bin to smbios-utils + - Remove references to smbios-tools + - Add build dependency on libxml2-dev + - Add build dependency on pkg-config + * debian/python-libsmbios.install: + - Installs python functions + - Install CLI library + - Install etc/ directory + * debian/smbios-utils.links: + - Install compatibility links for deprecated + binary names that are /known/ to be used + in other packages. + * debian/libsmbios-doc.install: + - Adjust to install all documentation that upstream would + like distributed. + * debian/libsmbios-dev.install: + - Adjust includes for headers for both libraries. + + -- Mario Limonciello Fri, 21 Nov 2008 12:38:50 -0600 + +libsmbios (2.0.3.dfsg-1) unstable; urgency=low + + [ Jose Luis Tallon ] + * New upstream version (Closes: #494316) + - merged enhancements from Ubuntu (thanks, guys) + + * debian/control: + - Drop build depend on libxml2, xml packages since they are no longer + supported upstream + - Build libsmbios2 packages (soname bump) + - Add dpatch to build-depends + - Enable building on lpia (Closes: #488278) + + * debian/rules: + - Add dpatch support + - Don't clean up ltmain.sh, config.sub, or config.guess + as they are shipped in the upstream tarball (Closes: #491795) + + * Additions: + - removed (lib)smbiosxml.pc; it isn't needed anymore + + [ Loic Minier ] + * Add empty dpatch 00list. + * Add myself as Uploader. + * Wrap build-deps and deps. + * Drop useless debian/*.dirs. + * Cleanup rules; drop useless vars, commented out sample constructs etc. + * Pass -s to dh_* in binary-arch; call dh_testroot, and dh_install*, + _compress, _fixperms, _installdeb, _gencontrol, _md5sums, _builddeb in + binary-indep (with -i). + * Drop useless dh_installdirs, dh_installexamples and dh_link calls. + * Actually pass CFLAGS to ./configure; set LDFLAGS in the same way. + * Prepend -z defs to LDFLAGS for safety with --as-needed. + * Move configure flags to their own var, configure_flags. + * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE + differ. + * Honor distclean exit status. + * Drop configure from .PHONY, no such target. + * Add patch and unpatch to .PHONY as dpatch.make doesn't do so. + * Drop debian/README.Debian which only has a description of the packages and + still listed libsmbiosxml. + * Cleanup watch file. + * Drop maintainer scripts which were mostly unused except for a manual + ldconfig call which is handled by debhelper anyway. + * Drop --disable-rpath configure flag; doesn't seem to be supported. + * Drop duplicate dh_installman call and move man page symlinks to + binary-arch. + * Refactor man page symlinks shell snippet. + * Drop useless debian/libsmbios-bin.docs. + * Cleanup debian/Makefile. + * Fix watch file. + * Cleanup debian/*.install files. + * Add ${shlibs:Depends} and ${misc:Depends} to libsmbios-dev. + * Don't fixup the perms or include/smbios; these should be fixed on the + package's dirs and dh_fixperms will fix them anyway. + * Let config.status depend on $(DPATCH_STAMPFN) instead of build depending + on patch-stamp. + * Bump up debhelper compat level to 5; build-dep on >= 5. + * Disable manpage and symlinks for now; closes: #394898. + * Build-dep on chpath and chrpath -d binaries in usr/sbin after install to + drop the RPATHes on the binaries (usually caused by a broken upstream + libtool). + * Do update build/config.guess and build/config.sub; this is safe and + actually recommended; see autotools-dev README.Debian for rationale; + ideally, we'd also save and restore upstream's files to keep a minimum + Debian .diff, but this isn't too nice with the dpatch include. + * Drop now useless libtool bdep. + * Mention full download address in copyright. + * Redo copyright and stop installing COPYING-OSL; do some copyright holders + research aside of the upstream's COPYING information. + * Don't ship README which only has licensing and build/install information. + * Stop shipping obsolete TODO. + * Jump on the SONAME package renaming train to stop shipping *.la files. + * Fix snippet to avoid shipping boost_LICENSE_1_0_txt in libsmbios-dev. + * Run testsuite after build unless nocheck is set in DEB_BUILD_OPTIONS. + * Remove build-stamp in clean. + * Strip binary blobs from the tarball (hence use a .dfsg version suffix) as + the upstream tarball includes binary blobs in cppunit/platform/ which are + memory dumps including a proprietary BIOS; document this in copyright; + NB: upstream was contacted and will reply ASAP. Comment out testsuite as + a result. Update watch file to mangle version number appropriately. + + -- Jose Luis Tallon Wed, 1 Oct 2008 1:15:56 +0200 + +libsmbios (0.13.13-1) unstable; urgency=low + + * Fixed FTBFS with gcc4.3 *again* (Closes: 455641) + - Thanks to Cyril Brulebois for providing the patch + + * Added missing additional README files (Closes: #443723) + + + -- Jose Luis Tallon Fri, 07 Mar 2008 23:40:37 +0100 + +libsmbios (0.13.10-2) unstable; urgency=low + + * Fixed FTBFS with gcc4.3 *again* (Closes: 455641) + - Thanks to Cyril Brulebois for providing the patch + + * Added missing additional README files (Closes: #443723) + + * Kudos to Julien Blache for his support and sponsoring + + -- Jose Luis Tallon Sun, 7 Sep 2007 23:46:42 +0200 + +libsmbios (0.13.10-1) unstable; urgency=low + + * New upstream version (Closes: #441288) + + * Build process fixes/enhancements + - Fixed debian/control to be binNMU-safe + - Upstream's libtool had enabled 'rpath': re-libtoolize'd source + - Added dependency on libtool following fix above + + * Kudos to Julien Blache for his support and sponsoring + + -- Jose Luis Tallon Sun, 7 Sep 2007 23:46:42 +0200 + +libsmbios (0.13.6-1) unstable; urgency=low + + * New upstream version + - Adds complete support for EFI (i.e. intel-based Macs) + + * Fixed FTBFS with gcc4.3 (missing includes) (Closes: #418621) + + -- Jose Luis Tallon Sun, 22 Apr 2007 13:04:55 +0200 + +libsmbios (0.13.5-1) unstable; urgency=medium + + * New upstream version (Closes: #418018) + - Fix broken libtool in previous version (Closes: #418425) + - New libtool version used: relibtoolized source (Closes: #418134) + + * Fixed debian/rules to put config.{sub,guess} into proper place + + -- Jose Luis Tallon Tue, 10 Apr 2007 22:06:25 +0200 + +libsmbios (0.13.4-1) unstable; urgency=low + + * New upstream version + - Xerces is not a build-dep anymore + + * Source tarball cleanup: do not ship generated binaries (Closes: 399201) + + * libsmbios-doc: package now contains the Doxy-generated + libsmbios documentation (in HTML format) (Closes: #399200) + + * Enhanced man page a bit, barring proper documentation from upstream + A separate, complete version for every binary shipped is still pending, + though + + -- Jose Luis Tallon Wed, 14 Mar 2007 13:17:20 +0100 + +libsmbios (0.12.1-3) unstable; urgency=low + + * Ensure including libsmbios.so in -dev (Closes: #399205) + + -- Jose Luis Tallon Sat, 18 Nov 2006 16:57:48 +0100 + +libsmbios (0.12.1-2) unstable; urgency=low + + * Acknowledge NMU (Closes: #393443) + - Thanks, Bas + + -- Jose Luis Tallon Mon, 23 Oct 2006 19:32:27 +0200 + +libsmbios (0.12.1-1.1) unstable; urgency=medium + + * Non-maintainer upload + * Moved the binaries of libsmbios-bin to /usr/sbin (closes: #393443) + + -- Bas Zoetekouw Mon, 23 Oct 2006 17:33:42 +0200 + +libsmbios (0.12.1-1) unstable; urgency=low + + * New upstream version + + -- Jose Luis Tallon Fri, 1 Sep 2006 18:59:08 +0200 + +libsmbios (0.11.5-2) unstable; urgency=low + + * Fix FTBFS due to bashisms in debian/rules (Closes: #380610) + + -- Jose Luis Tallon Thu, 31 Aug 2006 22:36:31 +0200 + +libsmbios (0.11.5-1) unstable; urgency=low + + * New upstream version (Closes: #354900) + + * Packaging + - Depend on libxerces27-dev now (Closes: #368915) + - Upgraded to Standards-Version 3.7.2 with no changes + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Sat, 10 Jun 2006 14:54:36 +0200 + +libsmbios (0.10.6-2) unstable; urgency=low + + * FTBFS: Restrict building to supported architectures (Closes: #344652) + - moved 'doxygen' to Build-Depends (from -Indep) (Closes: #344745) + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Thu, 29 Dec 2005 3:52:25 +0100 + +libsmbios (0.10.6-1) unstable; urgency=low + + * New upstream version. Initial upload to Debian (Closes: #316502) + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Sun, 11 Dec 2005 20:40:43 +0100 --- libsmbios-2.2.13.orig/debian/libsmbios-dev.install +++ libsmbios-2.2.13/debian/libsmbios-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/libsmbios.so +debian/tmp/usr/lib/libsmbios_c.so +debian/tmp/usr/lib/libsmbios_c.a +debian/tmp/usr/lib/libsmbios.a +src/include usr --- libsmbios-2.2.13.orig/debian/control +++ libsmbios-2.2.13/debian/control @@ -0,0 +1,107 @@ +Source: libsmbios +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Jose Luis Tallon +Uploaders: Loic Minier +Build-Depends: debhelper (>= 5), + autotools-dev, + libcppunit-dev, + doxygen, + graphviz, + python, + dpatch, + chrpath, + libxml2-dev, + pkg-config, + autoconf, + automake, + libtool +Standards-Version: 3.8.0 +Section: libs + +Package: libsmbios2 +Section: libs +Architecture: i386 amd64 ia64 lpia +Depends: ${shlibs:Depends}, + ${misc:Depends} +Suggests: libsmbios-doc +Description: Provide access to (SM)BIOS information -- dynamic library + libsmbios aims towards providing access to as much BIOS information as + possible. It does this by providing a library of functions that can be used + as well as sample binaries. + . + It incorporates extensible access to SMBIOS information capabilities and + ability to perform unit tests across multiple systems without using physical + hardware. Moreover, centralized, data-driven exception handling for broken + BIOS tables is provided. Currently, full access to the SMBIOS table and its + items is implemented. Additionally, access and manipulation of Dell Indexed + IO Token (type 0xD4) is implemented. This token is a vendor-extention + SMBIOS structure which allows uniform access to manipulate the system CMOS + to enable, disable, or otherwise manipulate normal BIOS functions or features. + +Package: libsmbios-dev +Section: libdevel +Architecture: i386 amd64 ia64 lpia +Depends: libsmbios2 (= ${binary:Version}), + ${shlibs:Depends}, + ${misc:Depends} +Description: Provide access to (SM)BIOS information - development files + libsmbios aims towards providing access to as much BIOS information as + possible. It does this by providing a library of functions that can be + used as well as sample binaries. + . + It incorporates extensible access to SMBIOS information capabilities and + ability to perform unit tests across multiple systems without using physical + hardware. Moreover, centralized, data-driven exception handling for broken + BIOS tables is provided. + . + To start out with, the focus is on the SMBIOS tables. Currently, full access + to the SMBIOS table and its items is implemented. In the future, it will + provide $PIR, MPTABLE, RCI, RBU, and other tables as well. + . + Additionally, access and manipulation of Dell Indexed IO Token (type 0xD4) + is implemented. This token is a vendor-extention SMBIOS structure which + allows uniform access to manipulate the system CMOS to enable, disable, or + otherwise manipulate normal BIOS functions or features. + +Package: smbios-utils +Section: admin +Provides: libsmbios-bin +Conflicts: libsmbios-bin +Replaces: libsmbios-bin +Architecture: i386 amd64 ia64 lpia +Depends: ${shlibs:Depends}, + ${misc:Depends}, + python-libsmbios +Suggests: libsmbios-doc +Description: Provide access to (SM)BIOS information -- utility binaries + libsmbios aims towards providing access to as much BIOS information as + possible. This package includes libsmbios' sample binaries/utilities. + +Package: python-libsmbios +Section: admin +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: libsmbios-doc +Description: Provide access to (SM)BIOS information -- python libraries + libsmbios aims towards providing access to as much BIOS information as + possible. This package provides python functions that can be imported + into userspace programs. + +Package: libsmbios-doc +Section: libs +Architecture: all +Depends: ${misc:Depends} +Description: Access to (SM)BIOS information in an OS-indepent way (docs) + libsmbios aims towards providing access to as much BIOS information as + possible. It does this by providing a library of functions that can be used + as well as sample binaries. + . + It incorporates extensible access to SMBIOS information capabilities and + ability to perform unit tests across multiple systems without using physical + hardware. Moreover, centralized, data-driven exception handling for broken + BIOS tables is provided. Currently, full access to the SMBIOS table and its + items is implemented. Additionally, access and manipulation of Dell Indexed + IO Token (type 0xD4) is implemented. This token is a vendor-extension + SMBIOS structure which allows uniform access to manipulate the system CMOS + to enable, disable, or otherwise manipulate normal BIOS functions or features. --- libsmbios-2.2.13.orig/debian/python-libsmbios.install +++ libsmbios-2.2.13/debian/python-libsmbios.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python* usr/lib --- libsmbios-2.2.13.orig/debian/copyright +++ libsmbios-2.2.13/debian/copyright @@ -0,0 +1,171 @@ +This package was debianized by Jose Luis Tallon on +Fri, 1 Jul 2005 23:34:21 +0200. + +It was downloaded from: + +and subsequently stripped of its cppunit/platform directory as it +included memory dumps of a proprietary BIOS. + +The files bin-{un,}supported/getopt.[ch] are copyright: + Copyright (c) 2001, 2002 Steve Mertz +and licensed under a BSD alike license: + +====================================================================== + + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * Neither the name of Dragon Ware nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS + * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +====================================================================== + +Portions of the configuration system under include/smbios/config/ are +taken and modified from the boost c++ library and are copyright: + (C) Copyright John Maddock 2001 - 2003. + (C) Copyright Aleksey Gurtovoy 2002 - 2003. + (C) Copyright Beman Dawes 2001 - 2003. + (C) Copyright Bill Kempf 2001 - 2002. + (C) Copyright Darin Adler 2001 - 2002. + (C) Copyright David Abrahams 2002 - 2003. + (C) Copyright Douglas Gregor 2002. + (C) Copyright Eric Friedman 2003. + (C) Copyright Gennaro Prota 2003. + (C) Copyright Guillaume Melquiond 2003. + (C) Copyright Jens Maurer 2001 - 2003. + (C) Copyright Martin Wille 2003. + (C) Copyright Peter Dimov 2001. + (C) Copyright Synge Todo 2003. + Copyright (C) 2005 Dell Inc. +and licensed under the boost 1.0 license: + +====================================================================== + + Boost Software License - Version 1.0 - August 17th, 2003 + + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +====================================================================== + +bin-supported/wakeupCtl.cpp is copyright: + * Copyright (C) 2005 David Greaves +and licensed under the GPL version 2 or later (see below). + +If not otherwise specified, libsmbios is copyright: + Copyright (C) 2005 Dell Inc. + by Michael Brown +and dual licensed under the Open Software License version 2.1 and the +GPL version 2 or later: + +====================================================================== + + * Licensed under the Open Software License version 2.1 + * + * 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. + * + * 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. + +====================================================================== + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +====================================================================== + +Open Software License version 2.1: + + Open Software License + v. 2.1 + This Open Software License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following notice immediately following the copyright notice for the Original Work: + + Licensed under the Open Software License version 2.1 + + 1) Grant of Copyright License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, sublicenseable license to do the following: + + * to reproduce the Original Work in copies; + * to prepare derivative works ("Derivative Works") based upon the Original Work; + * to distribute 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 shall be licensed under the Open Software License; + * to perform the Original Work publicly; and + * to display the Original Work publicly. + + 2) Grant of Patent License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, sublicenseable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, to make, use, sell and offer for sale 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 hereby 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, and by publishing the address of that information repository in a notice immediately following the copyright notice that applies to 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 written permission of the Licensor. Nothing in this License shall be deemed to grant any rights to trademarks, copyrights, patents, trade secrets or any other intellectual property of Licensor except as expressly stated herein. No patent license is granted to make, use, sell or offer to sell embodiments of any patent claims other than the licensed claims defined in Section 2. No right 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 different terms 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 or distribution 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 the Original Work or Derivative Works are distributed to those persons or made available as an application intended for use over a computer network. As an express condition for the grants of license hereunder, You agree that any External Deployment by You of a Derivative Work shall be deemed a distribution and shall be licensed to all under the terms of this License, as prescribed in section 1(c) herein. + + 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 proceeding 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 Original Work is granted hereunder 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 any person for any direct, 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 liability for death or personal injury resulting from Licensor's negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You. + + 9) Acceptance and Termination. If You distribute 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. Nothing else but this License (or another written agreement between Licensor and You) grants You permission to create Derivative Works based upon the Original Work or to exercise any of the rights granted in Section 1 herein, and any attempt to do so except under the terms of this License (or another written agreement between Licensor and You) is expressly prohibited by U.S. copyright law, the equivalent laws of other countries, and by international treaty. Therefore, by exercising any of the rights granted to You in Section 1 herein, You indicate Your acceptance of this License and all of its terms and conditions. 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 proviso in Section 1(c) herein. + + 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 the U.S. Copyright Act, 17 U.S.C. § 101 et seq., the equivalent laws of other countries, and international treaty. 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. This License represents the complete agreement concerning the subject matter hereof. 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. + + This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. Permission is hereby granted to copy and distribute this license without modification. This license may not be modified without the express written permission of its copyright owner. + --- libsmbios-2.2.13.orig/debian/rules +++ libsmbios-2.2.13/debian/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) +CXXFLAGS += -Wno-error +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +configure_flags += \ + --prefix=/usr \ + --with-cppunit-prefix=/usr \ + --with-gnu-ld \ + --sysconfdir=/etc + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +configure_flags += --build=$(DEB_BUILD_GNU_TYPE) +else +configure_flags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +config.status: $(DPATCH_STAMPFN) + dh_testdir + [ ! -e build/config.sub ] || cp -f /usr/share/misc/config.sub build + [ ! -e build/config.guess ] || cp -f /usr/share/misc/config.guess build + autoreconf -vf + ./configure \ + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + $(configure_flags) + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) +#ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),) +# $(MAKE) check +#endif + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) distclean + $(RM) -vf config.log Makefile + dh_clean build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + # get rid of RPATH on 64-bits arches (usually caused by broken upstream + # libtool) + # only the old legacy C++ binaries need this + cd debian/tmp/usr/sbin; ls | grep -v '\.sh$$' | grep dell | xargs chrpath -d + +binary-indep: build install + dh_testdir + dh_testroot + dh_install -i + dh_installchangelogs -i + dh_installdocs -i + dh_install -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -s + dh_installdocs -s + dh_install -s + $(RM) -vf debian/libsmbios-dev/usr/include/smbios/config/boost_LICENSE_1_0_txt + dh_installman -s +# manpage currently disabled, see #394898 +# cd $(CURDIR)/debian/libsmbios-bin; for f in usr/sbin/*; do \ +# ln -s smbios-bin.1 usr/share/man/man1/$$(basename $$f).1; \ + done + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_makeshlibs -s + dh_link -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch --- libsmbios-2.2.13.orig/debian/watch +++ libsmbios-2.2.13/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\.dfsg$// \ +http://linux.dell.com/libsmbios/download/libsmbios/ \ + libsmbios-([^/]*)/ --- libsmbios-2.2.13.orig/debian/smbios-utils.manpages +++ libsmbios-2.2.13/debian/smbios-utils.manpages @@ -0,0 +1,2 @@ +# manpage currently disabled, see #394898 +#debian/manpages/smbios-bin.1 --- libsmbios-2.2.13.orig/debian/compat +++ libsmbios-2.2.13/debian/compat @@ -0,0 +1 @@ +5 --- libsmbios-2.2.13.orig/debian/manpages/smbios-bin.1 +++ libsmbios-2.2.13/debian/manpages/smbios-bin.1 @@ -0,0 +1,58 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH WX-CONSOLE 1 "Apr 28, 2004" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + smbios-bin \- SMBIOS management/utility program +.SH SYNOPSIS +.B program +.RI [options] +.br +.SH DESCRIPTION +This manual page documents briefly the utility programs included with libsmbios +.PP +The files contained in usr/sbin retrieve and/or manipulate several +parameters via the SMBIOS calls: +.BR +.RI activateCmosToken +.RI ascii2enUS_scancode +.RI assetTag +retrieve the system's Asset Tag +.RI createUnitTestFiles +.RI dellBiosUpdate +.RI dellLcdBrightness +.RI dellWirelessCtl +.RI disable_console_redir +.RI dumpCmos +produce a dump of the CMOS +.RI dumpSmbios +produce a dump of the SMBIOS in this system +.RI getPasswordFormat +.RI getSystemId +.RI isCmosTokenActive +.RI probes +.RI propertyTag +retrieve the PropertyTag, if set +.RI serviceTag +retrieve the Service Tag, the same which can be read in the label at the +back (necessary to call DELL's customer service) +.RI smitest +perform SMI tests +.RI stateByteCtl +.RI tokenCtl +.RI upBootCtl +.RI verifySmiPassword +.RI wakeupCtl + +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- libsmbios-2.2.13.orig/debian/additions/smbios.pc +++ libsmbios-2.2.13/debian/additions/smbios.pc @@ -0,0 +1,12 @@ +prefix=/usr +exec_prefix=/usr/bin +libdir=/usr/lib +includedir=/usr/include + +Name: smbios +Description: Open BIOS access +Version: 0.10.6 + +Requires.private: libc6 +Libs: -L${libdir} -lsmbios +Cflags: -I${includedir}/smbios --- libsmbios-2.2.13.orig/debian/patches/00list +++ libsmbios-2.2.13/debian/patches/00list @@ -0,0 +1,4 @@ +gcc44.dpatch +amlcmessages.dpatch +fix-typo.dpatch +import-struct.dpatch --- libsmbios-2.2.13.orig/debian/patches/fix-typo.dpatch +++ libsmbios-2.2.13/debian/patches/fix-typo.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# +# Description: Fix spelling error in smbios-token-ctl +# Origin: other, http://launchpadlibrarian.net/24985783/wierd-typo.patch +# Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libsmbios/+bug/357212 +# Forwarded: no +# Author: Brian Murray +# Reviewed-by: James Westby +# Last-Update: 2010-03-11 + +@DPATCH@ + +=== modified file 'src/bin/smbios-token-ctl' +--- libsmbios.old/src/bin/smbios-token-ctl 2008-11-21 12:38:50 +0000 ++++ libsmbios/src/bin/smbios-token-ctl 2010-03-12 00:56:11 +0000 +@@ -175,7 +175,7 @@ + def tokenInfo(tokenObj, action): + exit_code=1 + +- type = _("") ++ type = _("") + value = _("") + if tokenObj.isBool(): + if action == "is-bool": exit_code = 0 + --- libsmbios-2.2.13.orig/debian/patches/amlcmessages.dpatch +++ libsmbios-2.2.13/debian/patches/amlcmessages.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## amlcmessages.dpatch by Ilya Barygin +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: AM_LC_MESSAGES was renamed to gt_LC_MESSAGES, change it here to fix +## DP: autoreconf errors. + +@DPATCH@ +diff -urNad libsmbios-2.2.13~/m4/gettext.m4 libsmbios-2.2.13/m4/gettext.m4 +--- libsmbios-2.2.13~/m4/gettext.m4 2009-02-02 21:51:39.000000000 +0300 ++++ libsmbios-2.2.13/m4/gettext.m4 2010-02-18 14:58:05.000000000 +0300 +@@ -427,7 +427,7 @@ + AM_ICONV + AM_LANGINFO_CODESET + if test $ac_cv_header_locale_h = yes; then +- AM_LC_MESSAGES ++ gt_LC_MESSAGES + fi + + dnl intl/plural.c is generated from intl/plural.y. It requires bison, --- libsmbios-2.2.13.orig/debian/patches/import-struct.dpatch +++ libsmbios-2.2.13/debian/patches/import-struct.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## import-struct.dpatch by Stefano Rivera +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add missing import, closes LP: #604029 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' libsmbios~/src/python/libsmbios_c/rbu_hdr.py libsmbios/src/python/libsmbios_c/rbu_hdr.py +--- libsmbios~/src/python/libsmbios_c/rbu_hdr.py 2010-07-10 18:14:14.000000000 +0200 ++++ libsmbios/src/python/libsmbios_c/rbu_hdr.py 2010-07-10 18:15:58.193990438 +0200 +@@ -14,6 +14,7 @@ + # imports (alphabetical) + import ctypes + import exceptions ++import struct + + from libsmbios_c import libsmbios_c_DLL as DLL + from _common import errorOnNullPtrFN, errorOnNegativeFN, freeLibStringFN --- libsmbios-2.2.13.orig/debian/patches/gcc44.dpatch +++ libsmbios-2.2.13/debian/patches/gcc44.dpatch @@ -0,0 +1,51 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc44.dpatch by Ilya Barygin +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add missing headers to enable building with gcc 4.4. + +@DPATCH@ +diff -urNad libsmbios-2.2.13~/src/libsmbios_c++/cmos/CmosRW.cpp libsmbios-2.2.13/src/libsmbios_c++/cmos/CmosRW.cpp +--- libsmbios-2.2.13~/src/libsmbios_c++/cmos/CmosRW.cpp 2008-11-12 22:22:58.000000000 +0300 ++++ libsmbios-2.2.13/src/libsmbios_c++/cmos/CmosRW.cpp 2010-02-18 14:39:29.000000000 +0300 +@@ -21,6 +21,7 @@ + #include "smbios/compat.h" + #include + #include ++#include + #include "CmosRWImpl.h" + + using namespace std; +diff -urNad libsmbios-2.2.13~/src/libsmbios_c++/memory/Memory_Linux.cpp libsmbios-2.2.13/src/libsmbios_c++/memory/Memory_Linux.cpp +--- libsmbios-2.2.13~/src/libsmbios_c++/memory/Memory_Linux.cpp 2008-11-12 22:22:58.000000000 +0300 ++++ libsmbios-2.2.13/src/libsmbios_c++/memory/Memory_Linux.cpp 2010-02-18 14:39:29.000000000 +0300 +@@ -24,6 +24,7 @@ + #include /* mmap */ + #include /* getpagesize */ + #include /* memcpy etc. */ ++#include + + #include "MemoryImpl.h" + +diff -urNad libsmbios-2.2.13~/src/libsmbios_c++/smbios/SmbiosStrategy_Linux.cpp libsmbios-2.2.13/src/libsmbios_c++/smbios/SmbiosStrategy_Linux.cpp +--- libsmbios-2.2.13~/src/libsmbios_c++/smbios/SmbiosStrategy_Linux.cpp 2008-11-12 22:22:58.000000000 +0300 ++++ libsmbios-2.2.13/src/libsmbios_c++/smbios/SmbiosStrategy_Linux.cpp 2010-02-18 14:39:52.000000000 +0300 +@@ -26,6 +26,7 @@ + + #include + #include ++#include + + #include "smbios/IMemory.h" + #include "SmbiosImpl.h" +diff -urNad libsmbios-2.2.13~/src/libsmbios_c++/smi/SmiImpl.h libsmbios-2.2.13/src/libsmbios_c++/smi/SmiImpl.h +--- libsmbios-2.2.13~/src/libsmbios_c++/smi/SmiImpl.h 2008-11-12 22:22:58.000000000 +0300 ++++ libsmbios-2.2.13/src/libsmbios_c++/smi/SmiImpl.h 2010-02-18 14:39:29.000000000 +0300 +@@ -18,6 +18,7 @@ + #ifndef SMIIMPL_H + #define SMIIMPL_H + ++#include + #include "smbios/ISmi.h" + #include "SmiLowLevel.h" + #include "ExceptionImpl.h"