debian/0000755000000000000000000000000012152031117007157 5ustar debian/libsmbios2.install0000644000000000000000000000004312152031117012611 0ustar debian/tmp/usr/lib/libsmbios*.so.* debian/python-libsmbios.examples0000644000000000000000000000002512152031117014216 0ustar #./src/py-cli/cli.py debian/watch0000644000000000000000000000015512152031117010211 0ustar version=3 http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-([0-9.]+)/libsmbios-([0-9.]+)\.tar.gz debian/rules0000755000000000000000000000477612152031117010255 0ustar #!/usr/bin/make -f 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: 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 --verbose --force --install ./configure \ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ $(configure_flags) build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) #ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),) # $(MAKE) check #endif touch $@ clean: dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) distclean $(RM) -vf config.log Makefile dh_clean build-stamp install: build dh_testdir dh_testroot dh_prep $(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_installexamples -i dh_installdocs -i dh_install -i $(RM) -vf debian/libsmbios-doc/usr/share/doc/libsmbios-doc/getopt/LICENSE dh_python2 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 $(RM) -v debian/smbios-utils/usr/share/smbios-utils/cli.pyc $(RM) -v debian/smbios-utils/usr/share/smbios-utils/cli.pyo #$(RM) -v debian/smbios-utils/usr/share/smbios-utils/cli.py dh_python2 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 debian/libsmbios-dev.install0000644000000000000000000000022212152031117013302 0ustar 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 debian/changelog0000644000000000000000000002330012152031117011027 0ustar libsmbios (2.2.28-2) unstable; urgency=low * cli.py should in fact be part of python-smbios (Closes: LP: #1185871) * Fix FTBFS problems on sid: - Add patch to disable dist-lzma for automake. - Add --install argument to autoreconf during build. - Add autopoint to build-depends. * Bump Standards-Version to 3.9.4. * Remove extraneous LICENSE file from libsmbios-doc. -- tony mancill Thu, 30 May 2013 22:16:44 -0700 libsmbios (2.2.28-1) unstable; urgency=low * Upload to unstable. -- tony mancill Wed, 08 May 2013 20:51:06 -0700 libsmbios (2.2.28-1~exp1) experimental; urgency=low * New upstream release. (Closes: #607725) * Apply Jari Aalto's patch to update packaging. (Closes: #664393) - Remove deprecated dpatch and upgrade to packaging format 3.0 quilt. - Update to Standards-Version to 3.9.3 and debhelper to 9. * Sync up package with Ubuntu 2.2.28 - libsmbios-bin is now smbios-utils - python-libsmbios (python bindings) binary package is new - remove 01-gcc-4.4-fixes patch * Move cli.py from smbios-utils to python-smbios/examples * Change section of libsmbios-doc from libs to doc * Change section of python-smbios from admin to python * Add Vcs-Git and Vcs-Browser fields to d/control. * Add myself to Uploaders. -- tony mancill Wed, 26 Dec 2012 22:31:08 -0800 libsmbios (2.0.3.dfsg-1.1) unstable; urgency=low * Non-maintainer upload. * Fix compilation with GCC 4.4, thanks to Martin Michlmayr for the patch. (Closes: #505589) -- Philipp Kern Sun, 22 Aug 2010 16:28:25 +0200 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 debian/patches/0000755000000000000000000000000012152031117010606 5ustar debian/patches/amlcmessages.patch0000755000000000000000000000077412152031117014306 0ustar Origin: other, http://packages.ubuntu.com/source/quantal/libsmbios 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, debian/patches/series0000644000000000000000000000005112152031117012017 0ustar amlcmessages.patch am_disable_lzma.patch debian/patches/am_disable_lzma.patch0000644000000000000000000000201512152031117014730 0ustar diff --git a/Makefile.in b/Makefile.in index 660bcfa..1150d8f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3487,9 +3487,9 @@ dist-gzip: 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-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 diff --git a/configure.ac b/configure.ac index 7d97142..26b81c8 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_PREREQ(2.59) AC_CONFIG_AUX_DIR([pkg]) AC_CONFIG_MACRO_DIR([m4]) AC_CANONICAL_HOST -AM_INIT_AUTOMAKE([subdir-objects tar-ustar dist-bzip2 dist-lzma no-define -Wno-portability ]) +AM_INIT_AUTOMAKE([subdir-objects tar-ustar dist-bzip2 no-define -Wno-portability ]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.14]) AC_GNU_SOURCE debian/Makefile0000644000000000000000000000022012152031117010611 0ustar .PHONY: tidy SUBDIRS += additions manpages patches po tidy: rm -f *~ mrproper: tidy for dir in $(SUBDIRS); do $(MAKE) -C $$dir tidy; done debian/python-libsmbios.install0000644000000000000000000000004412152031117014047 0ustar debian/tmp/usr/lib/python* usr/lib debian/libsmbios-doc.install0000644000000000000000000000026712152031117013302 0ustar 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 debian/smbios-utils.manpages0000644000000000000000000000011012152031117013316 0ustar # manpage currently disabled, see #394898 #debian/manpages/smbios-bin.1 debian/source/0000755000000000000000000000000012152031117010457 5ustar debian/source/format0000644000000000000000000000001412152031117011665 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212152031117010355 0ustar 9 debian/copyright0000644000000000000000000003707512152031117011126 0ustar 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. debian/manpages/0000755000000000000000000000000012152031117010752 5ustar debian/manpages/smbios-bin.10000644000000000000000000000316312152031117013101 0ustar .\" 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). debian/smbios-utils.install0000644000000000000000000000015712152031117013204 0ustar debian/tmp/usr/sbin/* usr/sbin debian/tmp/usr/share/smbios* usr/share debian/tmp/etc/* etc debian/control0000644000000000000000000001120612152031117010562 0ustar Source: libsmbios Priority: optional Maintainer: Jose Luis Tallon Uploaders: Loic Minier , tony mancill Vcs-Git: git://git.debian.org/git/collab-maint/libsmbios.git Vcs-Browser: http://git.debian.org/?p=collab-maint/libsmbios.git Build-Depends: debhelper (>= 9), autotools-dev, libcppunit-dev, doxygen, graphviz, python (>= 2.6.5), chrpath, libxml2-dev, pkg-config, autoconf, automake, libtool, autopoint Standards-Version: 3.9.4 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, python 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: python Architecture: all Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, libsmbios2 Breaks: ${python:Breaks} 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: doc 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. debian/additions/0000755000000000000000000000000012152031117011135 5ustar debian/additions/smbios.pc0000644000000000000000000000033012152031117012751 0ustar 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 debian/smbios-utils.links0000644000000000000000000000034112152031117012651 0ustar 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