Skip to content

Commit 0005d9f

Browse files
author
nima
committed
Fixed watchfile now that I've created a src (orig.tar.gz) repository.
Added more copyright/lisencing information. More debianizing. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@145 abc39116-655e-4be6-ad55-d661dc543056
1 parent 3a79b7e commit 0005d9f

6 files changed

Lines changed: 202 additions & 23 deletions

File tree

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
VERSION := 2.10
1010
PY := $(shell python -V 2>&1 |sed -e 's/.\(ython\) \(2\.[0-9]\)\..*/p\1\2/')
1111
PY_VER := $(subst python,,$(PY))
12+
PACKAGE := python-dmidecode
13+
SRCSRV := /var/www/nima/sites/src.autonomy.net.au/pub
1214

1315
CC := gcc
1416
RM := rm -f
@@ -39,18 +41,20 @@ build: dmidecode.so
3941
dmidecode.so: $(SO)
4042
cp $< $(PY)-$@
4143

42-
.src:
43-
cd .. && tar czvf python-dmidecode_$(VERSION).orig.tar.gz \
44+
.src: $(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz
45+
$(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: .
46+
cd .. && tar czvf $@ \
4447
--exclude .svn \
4548
--exclude debian \
4649
--exclude makefile \
4750
--exclude BUILD.Linux \
4851
--exclude private \
49-
python-dmidecode;
50-
touch $@
52+
$(PACKAGE)
5153

5254
.dpkg: debian
5355
dpkg-buildpackage -us -uc -rfakeroot -enima@it.net.au
56+
lintian --verbose -c ../$(PACKAGE)_$(VERSION)-1_i386.deb
57+
lintian --verbose -iI ../$(PACKAGE)_$(VERSION)-1_i386.changes
5458
touch $<
5559

5660
$(SO):

debian/copyright

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,20 @@ It was downloaded from http://projects.autonomy.net.au/dmidecode/
1212

1313
Upstream Author: Nima Talebi <nima@autonomy.net.au>
1414

15-
License: GPLv3
16-
1715
The Debian packaging is (C) 2008, Nima Talebi <nima@it.net.au> and is licensed
1816
under the GPL, see `/usr/share/common-licenses/GPL'.
1917

18+
License: GPLv3
19+
2020

2121
DMIDecode
2222
=========
2323

24+
Original Author: Alan Cox <alan@redhat.com>
25+
2426
Developer & Maintainer: Jean Delvare <khali@linux-fr.org>
2527

26-
Original Author: Alan Cox <alan@redhat.com>
28+
License: GNU GPLv2
2729

2830

2931
Copyrights

debian/watch

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,5 @@
66
# Compulsory line, this is a version 3 file
77
version=3
88

9-
# Uncomment to examine a Webpage
10-
# <Webpage URL> <string match>
11-
#http://www.example.com/downloads.php dmidecode-(.*)\.tar\.gz
12-
13-
# Uncomment to examine a Webserver directory
14-
#http://www.example.com/pub/dmidecode-(.*)\.tar\.gz
15-
http://ftp.twaren.net/Unix/NonGNU/dmidecode/dmidecode-(.*)\.tar\.gz
16-
17-
# Uncommment to examine a FTP server
18-
#ftp://ftp.example.com/pub/dmidecode-(.*)\.tar\.gz debian uupdate
19-
20-
# Uncomment to find new files on sourceforge, for debscripts >= 2.9
21-
# http://sf.net/dmidecode/dmidecode-(.*)\.tar\.gz
22-
23-
9+
#http://ftp.twaren.net/Unix/NonGNU/dmidecode/dmidecode-(.*)\.tar\.gz
10+
http://src.autonomy.net.au/python-dmidecode/python-dmidecode_(.*).orig.tar.gz

doc/AUTHORS.upstream

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
DEVELOPER AND MAINTAINER
2+
Jean Delvare <khali@linux-fr.org>
3+
4+
ORIGINAL AUTHOR
5+
Alan Cox <alan@redhat.com>
6+
7+
CODE CONTRIBUTORS (IN CHRONOLOGICAL ORDER)
8+
Matt Domsch <Matt_Domsch@dell.com>
9+
Arjan van de Ven <arjanv@redhat.com>
10+
Mark D. Studebaker <mds@paradyne.com>
11+
Larry Lile <llile@dreamworks.com>
12+
Dave Johnson <ddj@cascv.brown.edu>
13+
Petter Reinholdtsen <pere@hungry.com>
14+
Roberto Nibali <ratz@tac.ch>
15+
John Cagle <jcagle@kernel.org>
16+
Jens Elkner <elkner@linofee.org>
17+
18+
MANY THANKS TO (IN CHRONOLOGICAL ORDER)
19+
Werner Heuser
20+
Alexandre Duret-Lutz
21+
Xavier Roche
22+
Pamela Huntley
23+
Gael Stephan
24+
Sebastian Henschel
25+
Richard Sharpe
26+
David Wilson
27+
Glen Foster
28+
Chad Smith
29+
Joshua Goldenhar
30+
Luc Van de Velde
31+
Mario Lang
32+
Hugues Lepesant
33+
Sergey Leonovich
34+
Mike Cooper
35+
Marc Rieffel
36+
Jeff Moyer
37+
Josef Moellers
38+
Zing Zing Shishak
39+
Rafael Avila de Espindola
40+
Roger Koot
41+
Martin Pool
42+
Doug Brenner
43+
Alex Williamson
44+
Durval Menezes
45+
Raphael Raimbault
46+
Raul Nunez de Arenas Coronado
47+
Francois Revol
48+
Dominik Klein
49+
Erwan Velu
50+
Don Howard
51+
Frans Pop
52+
Tomek Mateja
53+
Myke Olson
54+
Torsten Seemann
55+
Garry Belka
56+
Klaus Muth
57+
Antoine Fuselier
58+
Matthew Garrett
59+
Landry Breuil
60+
Luke Suchocki
61+
Attila Nagy
62+
Alex Iribarren
63+
Sebastien Douche
64+
William Lallemand
65+
Olivier Guerrier
66+
Pascal Terjan
67+
Stuart Hayes
68+
Sofian Brabez
69+
Vincent Pelletier
70+
Andreas Gruenbacher

doc/README.upstream

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
** INTRODUCTION **
2+
3+
Dmidecode reports information about your system's hardware as described in
4+
your system BIOS according to the SMBIOS/DMI standard. This information
5+
typically includes system manufacturer, model name, serial number, BIOS
6+
version, asset tag as well as a lot of other details of varying level of
7+
interest and reliability depending on the manufacturer. This will often
8+
include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI,
9+
ISA) and memory module slots, and the list of I/O ports (e.g. serial,
10+
parallel, USB).
11+
12+
DMI data can be used to enable or disable specific portions of kernel code
13+
depending on the specific hardware. Thus, one use of dmidecode is for kernel
14+
developers to detect system "signatures" and add them to the kernel source
15+
code when needed.
16+
17+
Beware that DMI data have proven to be too unreliable to be blindly trusted.
18+
Dmidecode does not scan your hardware, it only reports what the BIOS told it
19+
to.
20+
21+
22+
** INSTALLATION **
23+
24+
The home web page for dmidecode is hosted on Savannah:
25+
http://www.nongnu.org/dmidecode/
26+
You will find the latest version (including CVS) there, as well as fresh news
27+
and other interesting material, such as a list of related projects and
28+
articles.
29+
30+
This program was first written for Linux, and has since been reported to work
31+
on FreeBSD, NetBSD, OpenBSD, BeOS, Cygwin and Solaris as well.
32+
33+
There's no configure script, so simply run "make" to build dmidecode, and
34+
"make install" to install it. You also can use "make uninstall" to remove
35+
all the files you installed. By default, files are installed in /usr/local
36+
but you can change this behavior by editing the Makefile file and setting
37+
prefix to wherever you want. You may change the C compiler and the
38+
compilation flags as well.
39+
40+
Optionally, you can run "make strip" prior to "make install" if you want
41+
smaller binaries. However, be aware that this will prevent any further
42+
attempt to debug the programs.
43+
44+
Two parameters can be set in the Makefile file to make dmidecode work on
45+
non-i386 systems. They should be used if your system uses the big endian
46+
byte ordering (Motorola) or doesn't support unaligned memory accesses,
47+
respectively. For example, compiling for a SPARC processor would require
48+
both (but I am not aware of SPARC-based systems implementing SMBIOS).
49+
Compiling for an IA64 processor requires the memory alignment workaround,
50+
and it is enabled automatically.
51+
52+
53+
** DOCUMENTATION **
54+
55+
Each tool has a manual page, found in the "man" subdirectory. Manual pages
56+
are installed by "make install". See these manual pages for command line
57+
interface details and tool specific information.
58+
59+
For an history of the changes made to dmidecode, see the CHANGELOG file.
60+
61+
If you need help, your best chances are to visit the web page (see the
62+
INSTALLATION section above) or to get in touch with the developers directly.
63+
Have a look at the AUTHORS file and contact one of the maintainers.
64+
65+
If you want to help with the development of dmidecode, please consider
66+
joining the dmidecode-devel discussion list:
67+
http://lists.nongnu.org/mailman/listinfo/dmidecode-devel
68+
69+
70+
** COMMON PROBLEMS **
71+
72+
IA-64
73+
74+
Non-Linux systems are not yet supported.
75+
76+
MMAP
77+
78+
Note that mmap() is now used by default wherever possible, since this seems
79+
to solve a number of problems. This default behavior can be changed in
80+
config.h. Just to make sure this is clear, mmap() is not used for performance
81+
reasons but to increase the number of systems on which dmidecode can be
82+
successfully run.
83+
84+
CYGWIN
85+
86+
Dmidecode was reported to work under Cygwin. It seems that /dev/mem doesn't
87+
work properly before version 1.5.10 though, so you will need to use at least
88+
this version.
89+
90+
91+
** MISCELLANEOUS TOOLS **
92+
93+
Three other tools come along with dmidecode: biosdecode, ownership and
94+
vpddecode. These tools are only useful on systems with a BIOS, so they
95+
are not built on IA-64 by default.
96+
97+
BIOSDECODE
98+
99+
This one prints all BIOS related information it can find in /dev/mem.
100+
It used to be part of dmidecode itself, but as dmidecode was growing,
101+
we felt that the non-DMI part had to be moved to a separate tool.
102+
103+
OWNERSHIP
104+
105+
This tool was written on a request by Luc Van de Velde for use with Novell
106+
tools in his company. It retrieves the "ownership tag" that can be set on
107+
most Compaq computers. Since it uses the same mechanisms dmidecode and
108+
biosdecode use, and could be of some use for other people as well, we
109+
decided to make it part of the project.
110+
111+
VPDDECODE
112+
113+
This tool prints the contents of the "vital product data" structure as
114+
found in most IBM and Lenovo computers. It used to have a lookup table
115+
for the machine name, but it was unreliable and hard to maintain so it
116+
was ultimately dropped. It has a command line interface.

doc/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dmidecode (0.1) unstable; urgency=low
1+
python-dmidecode (2.10) unstable; urgency=low
22

33
* Initial release.
44

0 commit comments

Comments
 (0)