diff options
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | debian/copyright | 8 | ||||
-rw-r--r-- | debian/watch | 17 | ||||
-rw-r--r-- | doc/AUTHORS.upstream | 70 | ||||
-rw-r--r-- | doc/README.upstream | 116 | ||||
-rw-r--r-- | doc/changelog | 2 |
6 files changed, 202 insertions, 23 deletions
@@ -9,6 +9,8 @@ VERSION := 2.10 PY := $(shell python -V 2>&1 |sed -e 's/.\(ython\) \(2\.[0-9]\)\..*/p\1\2/') PY_VER := $(subst python,,$(PY)) +PACKAGE := python-dmidecode +SRCSRV := /var/www/nima/sites/src.autonomy.net.au/pub CC := gcc RM := rm -f @@ -39,18 +41,20 @@ build: dmidecode.so dmidecode.so: $(SO) cp $< $(PY)-$@ -.src: - cd .. && tar czvf python-dmidecode_$(VERSION).orig.tar.gz \ +.src: $(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz +$(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: . + cd .. && tar czvf $@ \ --exclude .svn \ --exclude debian \ --exclude makefile \ --exclude BUILD.Linux \ --exclude private \ - python-dmidecode; - touch $@ + $(PACKAGE) .dpkg: debian dpkg-buildpackage -us -uc -rfakeroot -enima@it.net.au + lintian --verbose -c ../$(PACKAGE)_$(VERSION)-1_i386.deb + lintian --verbose -iI ../$(PACKAGE)_$(VERSION)-1_i386.changes touch $< $(SO): diff --git a/debian/copyright b/debian/copyright index 10ccba4..fbf7852 100644 --- a/debian/copyright +++ b/debian/copyright @@ -12,18 +12,20 @@ It was downloaded from http://projects.autonomy.net.au/dmidecode/ Upstream Author: Nima Talebi <nima@autonomy.net.au> -License: GPLv3 - The Debian packaging is (C) 2008, Nima Talebi <nima@it.net.au> and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +License: GPLv3 + DMIDecode ========= +Original Author: Alan Cox <alan@redhat.com> + Developer & Maintainer: Jean Delvare <khali@linux-fr.org> -Original Author: Alan Cox <alan@redhat.com> +License: GNU GPLv2 Copyrights diff --git a/debian/watch b/debian/watch index 5c80b8e..569b587 100644 --- a/debian/watch +++ b/debian/watch @@ -6,18 +6,5 @@ # Compulsory line, this is a version 3 file version=3 -# Uncomment to examine a Webpage -# <Webpage URL> <string match> -#http://www.example.com/downloads.php dmidecode-(.*)\.tar\.gz - -# Uncomment to examine a Webserver directory -#http://www.example.com/pub/dmidecode-(.*)\.tar\.gz -http://ftp.twaren.net/Unix/NonGNU/dmidecode/dmidecode-(.*)\.tar\.gz - -# Uncommment to examine a FTP server -#ftp://ftp.example.com/pub/dmidecode-(.*)\.tar\.gz debian uupdate - -# Uncomment to find new files on sourceforge, for debscripts >= 2.9 -# http://sf.net/dmidecode/dmidecode-(.*)\.tar\.gz - - +#http://ftp.twaren.net/Unix/NonGNU/dmidecode/dmidecode-(.*)\.tar\.gz +http://src.autonomy.net.au/python-dmidecode/python-dmidecode_(.*).orig.tar.gz diff --git a/doc/AUTHORS.upstream b/doc/AUTHORS.upstream new file mode 100644 index 0000000..1ad50db --- /dev/null +++ b/doc/AUTHORS.upstream @@ -0,0 +1,70 @@ +DEVELOPER AND MAINTAINER +Jean Delvare <khali@linux-fr.org> + +ORIGINAL AUTHOR +Alan Cox <alan@redhat.com> + +CODE CONTRIBUTORS (IN CHRONOLOGICAL ORDER) +Matt Domsch <Matt_Domsch@dell.com> +Arjan van de Ven <arjanv@redhat.com> +Mark D. Studebaker <mds@paradyne.com> +Larry Lile <llile@dreamworks.com> +Dave Johnson <ddj@cascv.brown.edu> +Petter Reinholdtsen <pere@hungry.com> +Roberto Nibali <ratz@tac.ch> +John Cagle <jcagle@kernel.org> +Jens Elkner <elkner@linofee.org> + +MANY THANKS TO (IN CHRONOLOGICAL ORDER) +Werner Heuser +Alexandre Duret-Lutz +Xavier Roche +Pamela Huntley +Gael Stephan +Sebastian Henschel +Richard Sharpe +David Wilson +Glen Foster +Chad Smith +Joshua Goldenhar +Luc Van de Velde +Mario Lang +Hugues Lepesant +Sergey Leonovich +Mike Cooper +Marc Rieffel +Jeff Moyer +Josef Moellers +Zing Zing Shishak +Rafael Avila de Espindola +Roger Koot +Martin Pool +Doug Brenner +Alex Williamson +Durval Menezes +Raphael Raimbault +Raul Nunez de Arenas Coronado +Francois Revol +Dominik Klein +Erwan Velu +Don Howard +Frans Pop +Tomek Mateja +Myke Olson +Torsten Seemann +Garry Belka +Klaus Muth +Antoine Fuselier +Matthew Garrett +Landry Breuil +Luke Suchocki +Attila Nagy +Alex Iribarren +Sebastien Douche +William Lallemand +Olivier Guerrier +Pascal Terjan +Stuart Hayes +Sofian Brabez +Vincent Pelletier +Andreas Gruenbacher diff --git a/doc/README.upstream b/doc/README.upstream new file mode 100644 index 0000000..391a5cb --- /dev/null +++ b/doc/README.upstream @@ -0,0 +1,116 @@ +** INTRODUCTION ** + +Dmidecode reports information about your system's hardware as described in +your system BIOS according to the SMBIOS/DMI standard. This information +typically includes system manufacturer, model name, serial number, BIOS +version, asset tag as well as a lot of other details of varying level of +interest and reliability depending on the manufacturer. This will often +include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, +ISA) and memory module slots, and the list of I/O ports (e.g. serial, +parallel, USB). + +DMI data can be used to enable or disable specific portions of kernel code +depending on the specific hardware. Thus, one use of dmidecode is for kernel +developers to detect system "signatures" and add them to the kernel source +code when needed. + +Beware that DMI data have proven to be too unreliable to be blindly trusted. +Dmidecode does not scan your hardware, it only reports what the BIOS told it +to. + + +** INSTALLATION ** + +The home web page for dmidecode is hosted on Savannah: + http://www.nongnu.org/dmidecode/ +You will find the latest version (including CVS) there, as well as fresh news +and other interesting material, such as a list of related projects and +articles. + +This program was first written for Linux, and has since been reported to work +on FreeBSD, NetBSD, OpenBSD, BeOS, Cygwin and Solaris as well. + +There's no configure script, so simply run "make" to build dmidecode, and +"make install" to install it. You also can use "make uninstall" to remove +all the files you installed. By default, files are installed in /usr/local +but you can change this behavior by editing the Makefile file and setting +prefix to wherever you want. You may change the C compiler and the +compilation flags as well. + +Optionally, you can run "make strip" prior to "make install" if you want +smaller binaries. However, be aware that this will prevent any further +attempt to debug the programs. + +Two parameters can be set in the Makefile file to make dmidecode work on +non-i386 systems. They should be used if your system uses the big endian +byte ordering (Motorola) or doesn't support unaligned memory accesses, +respectively. For example, compiling for a SPARC processor would require +both (but I am not aware of SPARC-based systems implementing SMBIOS). +Compiling for an IA64 processor requires the memory alignment workaround, +and it is enabled automatically. + + +** DOCUMENTATION ** + +Each tool has a manual page, found in the "man" subdirectory. Manual pages +are installed by "make install". See these manual pages for command line +interface details and tool specific information. + +For an history of the changes made to dmidecode, see the CHANGELOG file. + +If you need help, your best chances are to visit the web page (see the +INSTALLATION section above) or to get in touch with the developers directly. +Have a look at the AUTHORS file and contact one of the maintainers. + +If you want to help with the development of dmidecode, please consider +joining the dmidecode-devel discussion list: + http://lists.nongnu.org/mailman/listinfo/dmidecode-devel + + +** COMMON PROBLEMS ** + +IA-64 + +Non-Linux systems are not yet supported. + +MMAP + +Note that mmap() is now used by default wherever possible, since this seems +to solve a number of problems. This default behavior can be changed in +config.h. Just to make sure this is clear, mmap() is not used for performance +reasons but to increase the number of systems on which dmidecode can be +successfully run. + +CYGWIN + +Dmidecode was reported to work under Cygwin. It seems that /dev/mem doesn't +work properly before version 1.5.10 though, so you will need to use at least +this version. + + +** MISCELLANEOUS TOOLS ** + +Three other tools come along with dmidecode: biosdecode, ownership and +vpddecode. These tools are only useful on systems with a BIOS, so they +are not built on IA-64 by default. + +BIOSDECODE + +This one prints all BIOS related information it can find in /dev/mem. +It used to be part of dmidecode itself, but as dmidecode was growing, +we felt that the non-DMI part had to be moved to a separate tool. + +OWNERSHIP + +This tool was written on a request by Luc Van de Velde for use with Novell +tools in his company. It retrieves the "ownership tag" that can be set on +most Compaq computers. Since it uses the same mechanisms dmidecode and +biosdecode use, and could be of some use for other people as well, we +decided to make it part of the project. + +VPDDECODE + +This tool prints the contents of the "vital product data" structure as +found in most IBM and Lenovo computers. It used to have a lookup table +for the machine name, but it was unreliable and hard to maintain so it +was ultimately dropped. It has a command line interface. diff --git a/doc/changelog b/doc/changelog index 664841a..2598187 100644 --- a/doc/changelog +++ b/doc/changelog @@ -1,4 +1,4 @@ -dmidecode (0.1) unstable; urgency=low +python-dmidecode (2.10) unstable; urgency=low * Initial release. |