Browse Source

remove old sources hwinfo

mango 1 year ago
parent
commit
924668f6ea
100 changed files with 0 additions and 39679 deletions
  1. 0
    44
      h/hal_0.5.14-8ubuntu2ppa5.dsc
  2. 0
    3
      h/hwinfo/.bzr/README
  3. 0
    1
      h/hwinfo/.bzr/branch-format
  4. 0
    1
      h/hwinfo/.bzr/branch/branch.conf
  5. 0
    1
      h/hwinfo/.bzr/branch/format
  6. 0
    1
      h/hwinfo/.bzr/branch/last-revision
  7. 0
    1
      h/hwinfo/.bzr/branch/tags
  8. 0
    1
      h/hwinfo/.bzr/checkout/conflicts
  9. BIN
      h/hwinfo/.bzr/checkout/dirstate
  10. 0
    1
      h/hwinfo/.bzr/checkout/format
  11. 0
    0
      h/hwinfo/.bzr/checkout/views
  12. 0
    1
      h/hwinfo/.bzr/repository/format
  13. BIN
      h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.cix
  14. BIN
      h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.iix
  15. BIN
      h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.rix
  16. 0
    5
      h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.six
  17. BIN
      h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.tix
  18. 0
    6
      h/hwinfo/.bzr/repository/pack-names
  19. BIN
      h/hwinfo/.bzr/repository/packs/1d1e7dc4ec9f25c2b2a0218dcaa8d777.pack
  20. 0
    341
      h/hwinfo/COPYING
  21. 0
    2658
      h/hwinfo/Changelog
  22. 0
    93
      h/hwinfo/Makefile
  23. 0
    68
      h/hwinfo/Makefile.common
  24. 0
    149
      h/hwinfo/README
  25. 0
    1
      h/hwinfo/VERSION
  26. 0
    12
      h/hwinfo/debian/README.Debian
  27. 0
    57
      h/hwinfo/debian/README.source
  28. 0
    9
      h/hwinfo/debian/TODO
  29. 0
    370
      h/hwinfo/debian/changelog
  30. 0
    1
      h/hwinfo/debian/compat
  31. 0
    80
      h/hwinfo/debian/control
  32. 0
    55
      h/hwinfo/debian/copyright
  33. 0
    1
      h/hwinfo/debian/hwinfo.install
  34. 0
    1
      h/hwinfo/debian/hwinfo.manpages
  35. 0
    4
      h/hwinfo/debian/libhd-dev.install
  36. 0
    11
      h/hwinfo/debian/libhd-doc.doc-base
  37. 0
    1
      h/hwinfo/debian/libhd16.install
  38. 0
    20
      h/hwinfo/debian/patches/as-needed.patch
  39. 0
    28
      h/hwinfo/debian/patches/cpu.c-alpha_bogo
  40. 0
    21
      h/hwinfo/debian/patches/dbus_pkg_config.patch
  41. 0
    19
      h/hwinfo/debian/patches/fix-ftbfs
  42. 0
    24
      h/hwinfo/debian/patches/fix_segfault_in_hd_is_xen_on_amd64
  43. 0
    23
      h/hwinfo/debian/patches/hwinfo.8-strip_suse
  44. 0
    18
      h/hwinfo/debian/patches/kbd.c-tiocgdev_undefined
  45. 0
    19
      h/hwinfo/debian/patches/new_archs
  46. 0
    31
      h/hwinfo/debian/patches/serial_struct
  47. 0
    11
      h/hwinfo/debian/patches/series
  48. 0
    14
      h/hwinfo/debian/patches/sh_support.patch
  49. 0
    21
      h/hwinfo/debian/patches/sparc_kioc
  50. 0
    129
      h/hwinfo/debian/rules
  51. 0
    6
      h/hwinfo/debian/watch
  52. 0
    26
      h/hwinfo/doc/example1.c
  53. 0
    26
      h/hwinfo/doc/example2.c
  54. 0
    1
      h/hwinfo/doc/footer.html
  55. 0
    92
      h/hwinfo/doc/hwinfo.8
  56. 0
    109
      h/hwinfo/doc/libhd.doc
  57. 0
    898
      h/hwinfo/doc/libhd.doxy
  58. 0
    50
      h/hwinfo/gen-hwcfg-disk.sh
  59. 0
    88
      h/hwinfo/getsysinfo
  60. 0
    15
      h/hwinfo/hwbootscan
  61. 0
    101
      h/hwinfo/hwbootscan.rc
  62. 0
    1863
      h/hwinfo/hwinfo.c
  63. 0
    12
      h/hwinfo/hwinfo.pc.in
  64. 0
    625
      h/hwinfo/hwscan.c
  65. 0
    257
      h/hwinfo/hwscand.c
  66. 0
    126
      h/hwinfo/hwscanqueue.c
  67. 0
    17
      h/hwinfo/init_message.h
  68. 0
    113
      h/hwinfo/scripts/mci
  69. 0
    38
      h/hwinfo/src/Makefile
  70. 0
    16
      h/hwinfo/src/hd/Makefile
  71. 0
    1176
      h/hwinfo/src/hd/bios.c
  72. 0
    8
      h/hwinfo/src/hd/bios.h
  73. 0
    1691
      h/hwinfo/src/hd/block.c
  74. 0
    2
      h/hwinfo/src/hd/block.h
  75. 0
    584
      h/hwinfo/src/hd/braille.c
  76. 0
    1
      h/hwinfo/src/hd/braille.h
  77. 0
    797
      h/hwinfo/src/hd/cpu.c
  78. 0
    1
      h/hwinfo/src/hd/cpu.h
  79. 0
    364
      h/hwinfo/src/hd/edd.c
  80. 0
    5
      h/hwinfo/src/hd/edd.h
  81. 0
    140
      h/hwinfo/src/hd/fb.c
  82. 0
    1
      h/hwinfo/src/hd/fb.h
  83. 0
    168
      h/hwinfo/src/hd/floppy.c
  84. 0
    1
      h/hwinfo/src/hd/floppy.h
  85. 0
    760
      h/hwinfo/src/hd/hal.c
  86. 0
    3
      h/hwinfo/src/hd/hal.h
  87. 0
    6284
      h/hwinfo/src/hd/hd.c
  88. 0
    2905
      h/hwinfo/src/hd/hd.h
  89. 0
    259
      h/hwinfo/src/hd/hd_int.h
  90. 0
    3054
      h/hwinfo/src/hd/hddb.c
  91. 0
    7
      h/hwinfo/src/hd/hddb.h
  92. 0
    56
      h/hwinfo/src/hd/hddb_int.h
  93. 0
    1337
      h/hwinfo/src/hd/hdp.c
  94. 0
    0
      h/hwinfo/src/hd/hdp.h
  95. 0
    96
      h/hwinfo/src/hd/hwclass_names.h
  96. 0
    9486
      h/hwinfo/src/hd/ibm-notebooks.h
  97. 0
    347
      h/hwinfo/src/hd/input.c
  98. 0
    1
      h/hwinfo/src/hd/input.h
  99. 0
    1310
      h/hwinfo/src/hd/int.c
  100. 0
    0
      h/hwinfo/src/hd/int.h

+ 0
- 44
h/hal_0.5.14-8ubuntu2ppa5.dsc View File

@@ -1,44 +0,0 @@
1
------BEGIN PGP SIGNED MESSAGE-----
2
-Hash: SHA1
3
-
4
-Format: 3.0 (quilt)
5
-Source: hal
6
-Binary: hal, hal-doc, libhal1, libhal-storage1, libhal-dev, libhal-storage-dev
7
-Architecture: any all
8
-Version: 0.5.14-8ubuntu2ppa5
9
-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
10
-Uploaders: Sjoerd Simons <sjoerd@debian.org>, Sebastian Dröge <slomo@debian.org>, Michael Biebl <biebl@debian.org>
11
-Homepage: http://hal.freedesktop.org/
12
-Standards-Version: 3.9.3
13
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/
14
-Vcs-Svn: svn://svn.debian.org/pkg-utopia/packages/unstable/hal/
15
-Build-Depends: debhelper (>= 8), cdbs, autotools-dev, libdbus-glib-1-dev (>= 0.61), libglib2.0-dev, libsysfs-dev, libexpat1-dev, libpopt-dev, pkg-config, pciutils, doxygen, intltool (>= 0.22), libusb-dev [linux-any], libusb2-dev [kfreebsd-any], libusbhid-dev [kfreebsd-any], libcam-dev [kfreebsd-any], libblkid-dev (>= 2.15), libudev-dev (>= 185), xmlto, libxml2-utils, gtk-doc-tools, dh-autoreconf
16
-Package-List: 
17
- hal deb admin optional
18
- hal-doc deb doc optional
19
- libhal-dev deb libdevel optional
20
- libhal-storage-dev deb libdevel optional
21
- libhal-storage1 deb libs optional
22
- libhal1 deb libs optional
23
-Checksums-Sha1: 
24
- 95bdc8141b0bce197d0d47f5bec491b08c6e3853 1238766 hal_0.5.14.orig.tar.gz
25
- 4142652ef57b1301819594b41860e15b72775ab2 55440 hal_0.5.14-8ubuntu2ppa5.debian.tar.gz
26
-Checksums-Sha256: 
27
- 323aacfa52f12def3b0d1e76456e34f027c345adc344aad19a8cc0c59c1a8d02 1238766 hal_0.5.14.orig.tar.gz
28
- 7b97860ca933ef74f3353a1ca88ae7408bc65a111a374eb0f33e445f71d2eb83 55440 hal_0.5.14-8ubuntu2ppa5.debian.tar.gz
29
-Files: 
30
- e9163df591a6f38f59fdbfe33e73bf20 1238766 hal_0.5.14.orig.tar.gz
31
- bc746fc491bd5f51d3cca081fa4e5ba3 55440 hal_0.5.14-8ubuntu2ppa5.debian.tar.gz
32
-Original-Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
33
-
34
------BEGIN PGP SIGNATURE-----
35
-Version: GnuPG v1.4.12 (GNU/Linux)
36
-
37
-iQEcBAEBAgAGBQJR0WjyAAoJEPVq74PThdMi4soH/0ZxZ7+oLK56vrexa21EeGm1
38
-LRB9NI4VMDxxmeB+g6pTm7bkfDMKXkWYyj1wnKa2fSlIqbpwdxFY5kFGELm9C+p3
39
-7y37i7QeFG2V4VI4PRJDECX/5p0Q51ldSEw2MhVWPir6zyUKVzoNGKOAZEG2YyLC
40
-eXXUqjked8AOxZa9Pix5MdkjLSuY/bADSB/OGvEfV0gBosUTaKjRbPWgBRKuGR0Z
41
-A1nsIqhlTwsgkHb9wx/frBo7Uj5hM6al1j78VtJD7A+R4W7iIcLcH1D8ftlp6R0m
42
-7jHr/0IK2AzFYJe4hlan5WRagaAwf4qlVwsoUC0MtCd+0TQ1HLxRlbGA/pkCoJ0=
43
-=Jy7m
44
------END PGP SIGNATURE-----

+ 0
- 3
h/hwinfo/.bzr/README View File

@@ -1,3 +0,0 @@
1
-This is a Bazaar control directory.
2
-Do not change any files in this directory.
3
-See http://bazaar.canonical.com/ for more information about Bazaar.

+ 0
- 1
h/hwinfo/.bzr/branch-format View File

@@ -1 +0,0 @@
1
-Bazaar-NG meta directory, format 1

+ 0
- 1
h/hwinfo/.bzr/branch/branch.conf View File

@@ -1 +0,0 @@
1
-parent_location = http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/hwinfo/trusty/

+ 0
- 1
h/hwinfo/.bzr/branch/format View File

@@ -1 +0,0 @@
1
-Bazaar Branch Format 7 (needs bzr 1.6)

+ 0
- 1
h/hwinfo/.bzr/branch/last-revision View File

@@ -1 +0,0 @@
1
-12 package-import@ubuntu.com-20120116110229-v2746hwnn6yqh6u9

+ 0
- 1
h/hwinfo/.bzr/branch/tags View File

@@ -1 +0,0 @@
1
-d13:12.9-1ubuntu155:james.westby@ubuntu.com-20060311141834-o1o81rcn2yffaxka6:13.0-355:james.westby@ubuntu.com-20060716161608-p1809qw2ivuxrzu712:13.0-3build155:james.westby@ubuntu.com-20060830220221-b5uhiia8kridwm9413:13.0-3ubuntu155:james.westby@ubuntu.com-20060831183817-helayhke2zl4d17g13:13.0-5ubuntu155:james.westby@ubuntu.com-20060831232645-tx581eyhydl0lh7y7:13.11-355:james.westby@ubuntu.com-20061103072815-nfw3ksi6wzscd6jd7:13.28-155:james.westby@ubuntu.com-20070313103819-62w6qevokq0zycq07:13.35-155:james.westby@ubuntu.com-20070618205402-j9x2u2zpii7ccw7m6:13.4-155:james.westby@ubuntu.com-20060928205606-bgxl69hts04xbx517:13.41-155:james.westby@ubuntu.com-20070809093401-68hi8fjl5166jjj07:14.19-155:james.westby@ubuntu.com-20080606184844-rb0oclu9h11hxno37:14.19-255:james.westby@ubuntu.com-20080613195316-lx6x6ej7a6vvunrs14:14.19-2ubuntu155:james.westby@ubuntu.com-20080921184922-zhnuv8y8323ptko06:15.3-155:james.westby@ubuntu.com-20080810142434-zqzqnfeg9acb0swm13:15.3-1ubuntu155:james.westby@ubuntu.com-20081105181044-vad5mgc1fkfgsg576:15.3-255:james.westby@ubuntu.com-20090513144042-i34vxkdvxfgofyeu6:16.0-155:james.westby@ubuntu.com-20090608221836-1ss2hutt4xhq414c6:16.0-255:james.westby@ubuntu.com-20091024192016-law2bd5i53fny0fz8:16.0-2.157:package-import@ubuntu.com-20111201171026-a23m7xp4qbv6h5qv8:16.0-2.257:package-import@ubuntu.com-20120116110229-v2746hwnn6yqh6u913:16.0-2ubuntu157:package-import@ubuntu.com-20110903144740-bq1yfwe9ya09q8056:7.30-255:james.westby@ubuntu.com-20040418112918-j9ao2cualcfhrgb76:8.38-355:james.westby@ubuntu.com-20041005192914-kdkb09omjhdc8f3h6:8.38-555:james.westby@ubuntu.com-20051126231852-umxunkbv5cyrwhll13:upstream-12.955:james.westby@ubuntu.com-20060311141834-dcnl1r5b3xx1m30613:upstream-13.055:james.westby@ubuntu.com-20060716161608-w8j3bze5vhxeuv9z14:upstream-13.1155:james.westby@ubuntu.com-20061103072815-ty2su7p62r5dard214:upstream-13.2855:james.westby@ubuntu.com-20070313103819-018w3m19nd3exehk14:upstream-13.3555:james.westby@ubuntu.com-20070618205402-nsskbsm6a0yehldf13:upstream-13.455:james.westby@ubuntu.com-20060928205606-2gv5q52erafqm0jf14:upstream-13.4155:james.westby@ubuntu.com-20070809093401-elrvwscpsl3kkn1r14:upstream-14.1955:james.westby@ubuntu.com-20080606184844-15bns4kbsrh78yiu13:upstream-15.355:james.westby@ubuntu.com-20080810142434-fwmq95m8xveke6bj13:upstream-16.055:james.westby@ubuntu.com-20090608221836-p2o9tg1ezekk3wcf13:upstream-7.3055:james.westby@ubuntu.com-20040418112918-nv8so08aefj0v9w913:upstream-8.3855:james.westby@ubuntu.com-20041005192914-laft7ci43k2l2lmke

+ 0
- 1
h/hwinfo/.bzr/checkout/conflicts View File

@@ -1 +0,0 @@
1
-BZR conflict list format 1

BIN
h/hwinfo/.bzr/checkout/dirstate View File


+ 0
- 1
h/hwinfo/.bzr/checkout/format View File

@@ -1 +0,0 @@
1
-Bazaar Working Tree Format 6 (bzr 1.14)

+ 0
- 0
h/hwinfo/.bzr/checkout/views View File


+ 0
- 1
h/hwinfo/.bzr/repository/format View File

@@ -1 +0,0 @@
1
-Bazaar repository format 2a (needs bzr 1.16 or later)

BIN
h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.cix View File


BIN
h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.iix View File


BIN
h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.rix View File


+ 0
- 5
h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.six View File

@@ -1,5 +0,0 @@
1
-B+Tree Graph Index 2
2
-node_ref_lists=0
3
-key_elements=1
4
-len=0
5
-row_lengths=

BIN
h/hwinfo/.bzr/repository/indices/1d1e7dc4ec9f25c2b2a0218dcaa8d777.tix View File


+ 0
- 6
h/hwinfo/.bzr/repository/pack-names View File

@@ -1,6 +0,0 @@
1
-B+Tree Graph Index 2
2
-node_ref_lists=0
3
-key_elements=1
4
-len=1
5
-row_lengths=1
6
-xœÁ1€ PgOÁ⇢C‡AÀ©¡¡¥Û÷Þû=yÝi»rpj¸¤Ï�æX°<ÂÍF¨j),*Är‚:zcR0Gý®ÎR

BIN
h/hwinfo/.bzr/repository/packs/1d1e7dc4ec9f25c2b2a0218dcaa8d777.pack View File


+ 0
- 341
h/hwinfo/COPYING View File

@@ -1,341 +0,0 @@
1
-----------------------------------------------------------------------
2
-
3
-		    GNU GENERAL PUBLIC LICENSE
4
-		       Version 2, June 1991
5
-
6
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
7
-                          675 Mass Ave, Cambridge, MA 02139, USA
8
- Everyone is permitted to copy and distribute verbatim copies
9
- of this license document, but changing it is not allowed.
10
-
11
-			    Preamble
12
-
13
-  The licenses for most software are designed to take away your
14
-freedom to share and change it.  By contrast, the GNU General Public
15
-License is intended to guarantee your freedom to share and change free
16
-software--to make sure the software is free for all its users.  This
17
-General Public License applies to most of the Free Software
18
-Foundation's software and to any other program whose authors commit to
19
-using it.  (Some other Free Software Foundation software is covered by
20
-the GNU Library General Public License instead.)  You can apply it to
21
-your programs, too.
22
-
23
-  When we speak of free software, we are referring to freedom, not
24
-price.  Our General Public Licenses are designed to make sure that you
25
-have the freedom to distribute copies of free software (and charge for
26
-this service if you wish), that you receive source code or can get it
27
-if you want it, that you can change the software or use pieces of it
28
-in new free programs; and that you know you can do these things.
29
-
30
-  To protect your rights, we need to make restrictions that forbid
31
-anyone to deny you these rights or to ask you to surrender the rights.
32
-These restrictions translate to certain responsibilities for you if you
33
-distribute copies of the software, or if you modify it.
34
-
35
-  For example, if you distribute copies of such a program, whether
36
-gratis or for a fee, you must give the recipients all the rights that
37
-you have.  You must make sure that they, too, receive or can get the
38
-source code.  And you must show them these terms so they know their
39
-rights.
40
-
41
-  We protect your rights with two steps: (1) copyright the software, and
42
-(2) offer you this license which gives you legal permission to copy,
43
-distribute and/or modify the software.
44
-
45
-  Also, for each author's protection and ours, we want to make certain
46
-that everyone understands that there is no warranty for this free
47
-software.  If the software is modified by someone else and passed on, we
48
-want its recipients to know that what they have is not the original, so
49
-that any problems introduced by others will not reflect on the original
50
-authors' reputations.
51
-
52
-  Finally, any free program is threatened constantly by software
53
-patents.  We wish to avoid the danger that redistributors of a free
54
-program will individually obtain patent licenses, in effect making the
55
-program proprietary.  To prevent this, we have made it clear that any
56
-patent must be licensed for everyone's free use or not licensed at all.
57
-
58
-  The precise terms and conditions for copying, distribution and
59
-modification follow.
60
-
61
-		    GNU GENERAL PUBLIC LICENSE
62
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
63
-
64
-  0. This License applies to any program or other work which contains
65
-a notice placed by the copyright holder saying it may be distributed
66
-under the terms of this General Public License.  The "Program", below,
67
-refers to any such program or work, and a "work based on the Program"
68
-means either the Program or any derivative work under copyright law:
69
-that is to say, a work containing the Program or a portion of it,
70
-either verbatim or with modifications and/or translated into another
71
-language.  (Hereinafter, translation is included without limitation in
72
-the term "modification".)  Each licensee is addressed as "you".
73
-
74
-Activities other than copying, distribution and modification are not
75
-covered by this License; they are outside its scope.  The act of
76
-running the Program is not restricted, and the output from the Program
77
-is covered only if its contents constitute a work based on the
78
-Program (independent of having been made by running the Program).
79
-Whether that is true depends on what the Program does.
80
-
81
-  1. You may copy and distribute verbatim copies of the Program's
82
-source code as you receive it, in any medium, provided that you
83
-conspicuously and appropriately publish on each copy an appropriate
84
-copyright notice and disclaimer of warranty; keep intact all the
85
-notices that refer to this License and to the absence of any warranty;
86
-and give any other recipients of the Program a copy of this License
87
-along with the Program.
88
-
89
-You may charge a fee for the physical act of transferring a copy, and
90
-you may at your option offer warranty protection in exchange for a fee.
91
-
92
-  2. You may modify your copy or copies of the Program or any portion
93
-of it, thus forming a work based on the Program, and copy and
94
-distribute such modifications or work under the terms of Section 1
95
-above, provided that you also meet all of these conditions:
96
-
97
-    a) You must cause the modified files to carry prominent notices
98
-    stating that you changed the files and the date of any change.
99
-
100
-    b) You must cause any work that you distribute or publish, that in
101
-    whole or in part contains or is derived from the Program or any
102
-    part thereof, to be licensed as a whole at no charge to all third
103
-    parties under the terms of this License.
104
-
105
-    c) If the modified program normally reads commands interactively
106
-    when run, you must cause it, when started running for such
107
-    interactive use in the most ordinary way, to print or display an
108
-    announcement including an appropriate copyright notice and a
109
-    notice that there is no warranty (or else, saying that you provide
110
-    a warranty) and that users may redistribute the program under
111
-    these conditions, and telling the user how to view a copy of this
112
-    License.  (Exception: if the Program itself is interactive but
113
-    does not normally print such an announcement, your work based on
114
-    the Program is not required to print an announcement.)
115
-
116
-These requirements apply to the modified work as a whole.  If
117
-identifiable sections of that work are not derived from the Program,
118
-and can be reasonably considered independent and separate works in
119
-themselves, then this License, and its terms, do not apply to those
120
-sections when you distribute them as separate works.  But when you
121
-distribute the same sections as part of a whole which is a work based
122
-on the Program, the distribution of the whole must be on the terms of
123
-this License, whose permissions for other licensees extend to the
124
-entire whole, and thus to each and every part regardless of who wrote it.
125
-
126
-Thus, it is not the intent of this section to claim rights or contest
127
-your rights to work written entirely by you; rather, the intent is to
128
-exercise the right to control the distribution of derivative or
129
-collective works based on the Program.
130
-
131
-In addition, mere aggregation of another work not based on the Program
132
-with the Program (or with a work based on the Program) on a volume of
133
-a storage or distribution medium does not bring the other work under
134
-the scope of this License.
135
-
136
-  3. You may copy and distribute the Program (or a work based on it,
137
-under Section 2) in object code or executable form under the terms of
138
-Sections 1 and 2 above provided that you also do one of the following:
139
-
140
-    a) Accompany it with the complete corresponding machine-readable
141
-    source code, which must be distributed under the terms of Sections
142
-    1 and 2 above on a medium customarily used for software interchange; or,
143
-
144
-    b) Accompany it with a written offer, valid for at least three
145
-    years, to give any third party, for a charge no more than your
146
-    cost of physically performing source distribution, a complete
147
-    machine-readable copy of the corresponding source code, to be
148
-    distributed under the terms of Sections 1 and 2 above on a medium
149
-    customarily used for software interchange; or,
150
-
151
-    c) Accompany it with the information you received as to the offer
152
-    to distribute corresponding source code.  (This alternative is
153
-    allowed only for noncommercial distribution and only if you
154
-    received the program in object code or executable form with such
155
-    an offer, in accord with Subsection b above.)
156
-
157
-The source code for a work means the preferred form of the work for
158
-making modifications to it.  For an executable work, complete source
159
-code means all the source code for all modules it contains, plus any
160
-associated interface definition files, plus the scripts used to
161
-control compilation and installation of the executable.  However, as a
162
-special exception, the source code distributed need not include
163
-anything that is normally distributed (in either source or binary
164
-form) with the major components (compiler, kernel, and so on) of the
165
-operating system on which the executable runs, unless that component
166
-itself accompanies the executable.
167
-
168
-If distribution of executable or object code is made by offering
169
-access to copy from a designated place, then offering equivalent
170
-access to copy the source code from the same place counts as
171
-distribution of the source code, even though third parties are not
172
-compelled to copy the source along with the object code.
173
-
174
-  4. You may not copy, modify, sublicense, or distribute the Program
175
-except as expressly provided under this License.  Any attempt
176
-otherwise to copy, modify, sublicense or distribute the Program is
177
-void, and will automatically terminate your rights under this License.
178
-However, parties who have received copies, or rights, from you under
179
-this License will not have their licenses terminated so long as such
180
-parties remain in full compliance.
181
-
182
-  5. You are not required to accept this License, since you have not
183
-signed it.  However, nothing else grants you permission to modify or
184
-distribute the Program or its derivative works.  These actions are
185
-prohibited by law if you do not accept this License.  Therefore, by
186
-modifying or distributing the Program (or any work based on the
187
-Program), you indicate your acceptance of this License to do so, and
188
-all its terms and conditions for copying, distributing or modifying
189
-the Program or works based on it.
190
-
191
-  6. Each time you redistribute the Program (or any work based on the
192
-Program), the recipient automatically receives a license from the
193
-original licensor to copy, distribute or modify the Program subject to
194
-these terms and conditions.  You may not impose any further
195
-restrictions on the recipients' exercise of the rights granted herein.
196
-You are not responsible for enforcing compliance by third parties to
197
-this License.
198
-
199
-  7. If, as a consequence of a court judgment or allegation of patent
200
-infringement or for any other reason (not limited to patent issues),
201
-conditions are imposed on you (whether by court order, agreement or
202
-otherwise) that contradict the conditions of this License, they do not
203
-excuse you from the conditions of this License.  If you cannot
204
-distribute so as to satisfy simultaneously your obligations under this
205
-License and any other pertinent obligations, then as a consequence you
206
-may not distribute the Program at all.  For example, if a patent
207
-license would not permit royalty-free redistribution of the Program by
208
-all those who receive copies directly or indirectly through you, then
209
-the only way you could satisfy both it and this License would be to
210
-refrain entirely from distribution of the Program.
211
-
212
-If any portion of this section is held invalid or unenforceable under
213
-any particular circumstance, the balance of the section is intended to
214
-apply and the section as a whole is intended to apply in other
215
-circumstances.
216
-
217
-It is not the purpose of this section to induce you to infringe any
218
-patents or other property right claims or to contest validity of any
219
-such claims; this section has the sole purpose of protecting the
220
-integrity of the free software distribution system, which is
221
-implemented by public license practices.  Many people have made
222
-generous contributions to the wide range of software distributed
223
-through that system in reliance on consistent application of that
224
-system; it is up to the author/donor to decide if he or she is willing
225
-to distribute software through any other system and a licensee cannot
226
-impose that choice.
227
-
228
-This section is intended to make thoroughly clear what is believed to
229
-be a consequence of the rest of this License.
230
-
231
-  8. If the distribution and/or use of the Program is restricted in
232
-certain countries either by patents or by copyrighted interfaces, the
233
-original copyright holder who places the Program under this License
234
-may add an explicit geographical distribution limitation excluding
235
-those countries, so that distribution is permitted only in or among
236
-countries not thus excluded.  In such case, this License incorporates
237
-the limitation as if written in the body of this License.
238
-
239
-  9. The Free Software Foundation may publish revised and/or new versions
240
-of the General Public License from time to time.  Such new versions will
241
-be similar in spirit to the present version, but may differ in detail to
242
-address new problems or concerns.
243
-
244
-Each version is given a distinguishing version number.  If the Program
245
-specifies a version number of this License which applies to it and "any
246
-later version", you have the option of following the terms and conditions
247
-either of that version or of any later version published by the Free
248
-Software Foundation.  If the Program does not specify a version number of
249
-this License, you may choose any version ever published by the Free Software
250
-Foundation.
251
-
252
-  10. If you wish to incorporate parts of the Program into other free
253
-programs whose distribution conditions are different, write to the author
254
-to ask for permission.  For software which is copyrighted by the Free
255
-Software Foundation, write to the Free Software Foundation; we sometimes
256
-make exceptions for this.  Our decision will be guided by the two goals
257
-of preserving the free status of all derivatives of our free software and
258
-of promoting the sharing and reuse of software generally.
259
-
260
-			    NO WARRANTY
261
-
262
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
263
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
264
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
265
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
266
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
267
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
268
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
269
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
270
-REPAIR OR CORRECTION.
271
-
272
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
273
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
274
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
275
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
276
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
277
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
278
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
279
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
280
-POSSIBILITY OF SUCH DAMAGES.
281
-
282
-		     END OF TERMS AND CONDITIONS
283
-
284
-	    How to Apply These Terms to Your New Programs
285
-
286
-  If you develop a new program, and you want it to be of the greatest
287
-possible use to the public, the best way to achieve this is to make it
288
-free software which everyone can redistribute and change under these terms.
289
-
290
-  To do so, attach the following notices to the program.  It is safest
291
-to attach them to the start of each source file to most effectively
292
-convey the exclusion of warranty; and each file should have at least
293
-the "copyright" line and a pointer to where the full notice is found.
294
-
295
-    <one line to give the program's name and a brief idea of what it does.>
296
-    Copyright (C) 19yy  <name of author>
297
-
298
-    This program is free software; you can redistribute it and/or modify
299
-    it under the terms of the GNU General Public License as published by
300
-    the Free Software Foundation; either version 2 of the License, or
301
-    (at your option) any later version.
302
-
303
-    This program is distributed in the hope that it will be useful,
304
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
305
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
306
-    GNU General Public License for more details.
307
-
308
-    You should have received a copy of the GNU General Public License
309
-    along with this program; if not, write to the Free Software
310
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
311
-
312
-Also add information on how to contact you by electronic and paper mail.
313
-
314
-If the program is interactive, make it output a short notice like this
315
-when it starts in an interactive mode:
316
-
317
-    Gnomovision version 69, Copyright (C) 19yy name of author
318
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
319
-    This is free software, and you are welcome to redistribute it
320
-    under certain conditions; type `show c' for details.
321
-
322
-The hypothetical commands `show w' and `show c' should show the appropriate
323
-parts of the General Public License.  Of course, the commands you use may
324
-be called something other than `show w' and `show c'; they could even be
325
-mouse-clicks or menu items--whatever suits your program.
326
-
327
-You should also get your employer (if you work as a programmer) or your
328
-school, if any, to sign a "copyright disclaimer" for the program, if
329
-necessary.  Here is a sample; alter the names:
330
-
331
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
332
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
333
-
334
-  <signature of Ty Coon>, 1 April 1989
335
-  Ty Coon, President of Vice
336
-
337
-This General Public License does not permit incorporating your program into
338
-proprietary programs.  If your program is a subroutine library, you may
339
-consider it more useful to permit linking proprietary applications with the
340
-library.  If this is what you want to do, use the GNU Library General
341
-Public License instead of this License.

+ 0
- 2658
h/hwinfo/Changelog
File diff suppressed because it is too large
View File


+ 0
- 93
h/hwinfo/Makefile View File

@@ -1,93 +0,0 @@
1
-TOPDIR		= $(CURDIR)
2
-SUBDIRS		= src
3
-TARGETS		= hwinfo hwinfo.pc
4
-CLEANFILES	= hwinfo hwinfo.pc hwinfo.static hwscan hwscan.static hwscand hwscanqueue doc/libhd doc/*~
5
-LIBDIR		= /usr/lib
6
-ULIBDIR		= $(LIBDIR)
7
-LIBS		= -lhd
8
-SLIBS		= -lhd -ldbus-1 -lhal
9
-TLIBS		= -lhd_tiny -ldbus-1 -lhal
10
-SO_LIBS		= -ldbus-1 -lhal
11
-TSO_LIBS	= -ldbus-1 -lhal
12
-
13
-export SO_LIBS
14
-
15
-include Makefile.common
16
-
17
-SHARED_FLAGS	=
18
-OBJS_NO_TINY	= names.o parallel.o modem.o
19
-
20
-.PHONY:	fullstatic static shared tiny doc diet tinydiet uc tinyuc
21
-
22
-hwscan: hwscan.o $(LIBHD)
23
-	$(CC) hwscan.o $(LDFLAGS) $(LIBS) -o $@
24
-
25
-hwinfo: hwinfo.o $(LIBHD)
26
-	$(CC) hwinfo.o $(LDFLAGS) $(LIBS) -o $@
27
-
28
-hwscand: hwscand.o
29
-	$(CC) $< $(LDFLAGS) -o $@
30
-
31
-hwscanqueue: hwscanqueue.o
32
-	$(CC) $< $(LDFLAGS) -o $@
33
-
34
-hwinfo.pc: hwinfo.pc.in
35
-	VERSION=`cat VERSION`; \
36
-	sed -e "s,@VERSION@,$${VERSION},g" -e 's,@LIBDIR@,$(ULIBDIR),g;s,@LIBS@,$(LIBS),g' $< > $@.tmp && mv $@.tmp $@
37
-
38
-# kept for compatibility
39
-shared:
40
-	@make
41
-
42
-tiny:
43
-	@make EXTRA_FLAGS=-DLIBHD_TINY LIBHD_BASE=libhd_tiny LIBS="$(TLIBS)" SO_LIBS="$(TSO_LIBS)"
44
-
45
-tinyinstall:
46
-	@make EXTRA_FLAGS=-DLIBHD_TINY LIBHD_BASE=libhd_tiny LIBS="$(TLIBS)" SO_LIBS="$(TSO_LIBS)" install
47
-
48
-tinystatic:
49
-	@make EXTRA_FLAGS=-DLIBHD_TINY LIBHD_BASE=libhd_tiny SHARED_FLAGS= LIBS="$(TLIBS)" SO_LIBS="$(TSO_LIBS)"
50
-
51
-diet:
52
-	@make CC="diet gcc" EXTRA_FLAGS="-fno-pic -DDIET" SHARED_FLAGS= LIBS="$(SLIBS)"
53
-
54
-tinydiet:
55
-	@make CC="diet gcc" EXTRA_FLAGS="-fno-pic -DLIBHD_TINY -DDIET" SHARED_FLAGS= LIBS="$(SLIBS)"
56
-
57
-uc:
58
-	@make CC="/opt/i386-linux-uclibc/bin/i386-uclibc-gcc" EXTRA_FLAGS="-fno-pic -DUCLIBC" SHARED_FLAGS= LIBS="$(SLIBS)"
59
-
60
-tinyuc:
61
-	@make CC="/opt/i386-linux-uclibc/usr/bin/gcc" EXTRA_FLAGS="-fno-pic -DLIBHD_TINY -DUCLIBC" SHARED_FLAGS= LIBS="$(SLIBS)"
62
-
63
-static:
64
-	make SHARED_FLAGS= LIBS="$(SLIBS)"
65
-
66
-fullstatic: static
67
-	$(CC) -static hwinfo.o $(LDFLAGS) $(SLIBS) -o hwinfo.static
68
-	strip -R .note -R .comment hwinfo.static
69
-
70
-doc:
71
-	@cd doc ; doxygen libhd.doxy
72
-
73
-install:
74
-	install -d -m 755 $(DESTDIR)/sbin $(DESTDIR)/usr/sbin $(DESTDIR)$(ULIBDIR) \
75
-		$(DESTDIR)$(ULIBDIR)/pkgconfig $(DESTDIR)/usr/include
76
-	install -m 755 hwinfo $(DESTDIR)/usr/sbin
77
-	install -m 755 src/ids/check_hd $(DESTDIR)/usr/sbin
78
-	install -m 755 src/ids/convert_hd $(DESTDIR)/usr/sbin
79
-	if [ -f $(LIBHD_SO) ] ; then \
80
-		install $(LIBHD_SO) $(DESTDIR)$(ULIBDIR) ; \
81
-		ln -snf $(LIBHD_NAME) $(DESTDIR)$(ULIBDIR)/$(LIBHD_SONAME) ; \
82
-		ln -snf $(LIBHD_SONAME) $(DESTDIR)$(ULIBDIR)/$(LIBHD_BASE).so ; \
83
-	else \
84
-		install -m 644 $(LIBHD) $(DESTDIR)$(ULIBDIR) ; \
85
-	fi
86
-	install -m 644 hwinfo.pc $(DESTDIR)$(ULIBDIR)/pkgconfig
87
-	install -m 644 src/hd/hd.h $(DESTDIR)/usr/include
88
-	install -m 755 getsysinfo $(DESTDIR)/usr/sbin
89
-	install -m 755 src/isdn/cdb/mk_isdnhwdb $(DESTDIR)/usr/sbin
90
-	install -d -m 755 $(DESTDIR)/usr/share/hwinfo
91
-	install -m 644 src/isdn/cdb/ISDN.CDB.txt $(DESTDIR)/usr/share/hwinfo
92
-	install -m 644 src/isdn/cdb/ISDN.CDB.hwdb $(DESTDIR)/usr/share/hwinfo
93
-

+ 0
- 68
h/hwinfo/Makefile.common View File

@@ -1,68 +0,0 @@
1
-# libhd/Makefile.common
2
-
3
-ARCH	:= $(shell uname -m)
4
-ifeq "$(ARCH)" "i486"
5
-ARCH	:= i386
6
-endif
7
-ifeq "$(ARCH)" "i586"
8
-ARCH	:= i386
9
-endif
10
-ifeq "$(ARCH)" "i686"
11
-ARCH	:= i386
12
-endif
13
-ifeq "$(ARCH)" "parisc"
14
-EXTRA_FLAGS := -fPIC $(EXTRA_FLAGS)
15
-endif
16
-
17
-LIBHD_VERSION		:= $(shell cat $(TOPDIR)/VERSION)
18
-LIBHD_MINOR_VERSION	:= $(shell cut -d . -f 2 $(TOPDIR)/VERSION)
19
-LIBHD_MAJOR_VERSION	:= $(shell cut -d . -f 1 $(TOPDIR)/VERSION)
20
-
21
-RPM_OPT_FLAGS	?= -O2
22
-
23
-CC	= gcc
24
-LD	= ld
25
-CFLAGS	= $(RPM_OPT_FLAGS) -Wall -Wno-pointer-sign -pipe -g $(SHARED_FLAGS) $(EXTRA_FLAGS) -I$(TOPDIR)/src/hd
26
-SHARED_FLAGS	= -fPIC
27
-
28
-LDFLAGS	= -Lsrc
29
-
30
-CFILES		= $(wildcard *.c)
31
-OBJS		= $(CFILES:.c=.o)
32
-LIBHD_BASE	= libhd
33
-LIBHD		= $(TOPDIR)/src/$(LIBHD_BASE).a
34
-LIBHD_SONAME	= $(LIBHD_BASE).so.$(LIBHD_MAJOR_VERSION)
35
-LIBHD_NAME	= $(LIBHD_BASE).so.$(LIBHD_VERSION)
36
-LIBHD_SO	= $(TOPDIR)/src/$(LIBHD_NAME)
37
-LIBHD_D		= $(TOPDIR)/src/.lib
38
-
39
-export CC TOPDIR CFLAGS LIBHD ARCH
40
-
41
-.PHONY: all distclean clean install subdirs
42
-
43
-%.o: %.c
44
-	$(CC) -c $(CFLAGS) $<
45
-
46
-all: subdirs $(TARGETS)
47
-
48
-install: all
49
-
50
-ifneq "$(SUBDIRS)" ""
51
-subdirs:
52
-	@for i in $(SUBDIRS) ; do make -C $$i $(MAKECMDGOALS) || exit ; done
53
-endif
54
-
55
-clean: subdirs
56
-	@rm -rf $(OBJS) .depend $(CLEANFILES) *~
57
-
58
-distclean: subdirs
59
-	@rm -rf $(OBJS) .depend $(CLEANFILES) $(DISTCLEANFILES) *~
60
-
61
-ifneq "$(CFILES)" ""
62
-ifeq ($(findstring $(MAKECMDGOALS), clean distclean),)
63
-.depend: $(CFILES)
64
-	@$(CC) -MG -MM $(CFLAGS) $(CFILES) >$@
65
-
66
--include .depend
67
-endif
68
-endif

+ 0
- 149
h/hwinfo/README View File

@@ -1,149 +0,0 @@
1
-1. Usage
2
-========
3
-
4
-  hwinfo [debug=deb_flag] [log=log_file] [list[+]=hw_item] [[+|-]probe_option1] [[+|-]probe_option2] ...
5
-
6
-Examples:
7
-
8
-  hwinfo
9
-    - probes for nearly everything
10
-
11
-  hwinfo +all
12
-    - probes for everything
13
-
14
-  hwinfo log=hw_log
15
-    - default probing, output is written to hw_log
16
-      *** Please don't use "hwinfo >some_log 2>&1" to store the output into a
17
-      log file! ***
18
-
19
-  hwinfo -all +ide
20
-    - probe for ide drives only
21
-
22
-  hwinfo +all -isapnp -floppy
23
-    - probe for everything *except* isapnp and floppies
24
-
25
-Some probing flags do not stand for complete modules but enable additional
26
-features; e.g. "pci.range" or "cdrom.info".
27
-
28
-Example:
29
-  hwinfo -all +cdrom
30
-  gives a list of all cdrom's
31
-
32
-  hwinfo -all +cdrom.info
33
-  additionally reads the iso9660 info
34
-
35
-To get a list of all supported probing flags, call 'hwinfo -all'.
36
-
37
-
38
-2. Environment variables/kernel cmdline parameters
39
-==================================================
40
-
41
-You can control the hardware probing using the environment variable
42
-"hwprobe" and the kernel cmdline parameters "hwprobe" & "x11".
43
-
44
-If "hwprobe" is set on the kernel cmdline, the environment variable
45
-"hwprobe" is ignored. Otherwise, the meaning of both is exactly the same.
46
-
47
-  x11
48
-    - Controls the X server/X version to prefer. It is either "3" or "4" or the
49
-      name of the X server/X server module to use (XF3: server name without
50
-      the leading "XF86_", XF4: the server module name).
51
-
52
-      Examples:
53
-        x11=3
54
-          o prefer XFree86 3.x over 4.x (if possible)
55
-
56
-        x11=SVGA
57
-          o use the XF86_SVGA server (*** Even if the server does not
58
-            support the card! ***)
59
-
60
-        x11=nv
61
-          o use the XF4 nv_drv.o driver (*** Even if the module does not
62
-            support the card! ***)
63
-
64
-  hwprobe
65
-    - Controls which probing flags should *always* be set/cleared. (These
66
-      settings *cannot* be overridden by command line switches.)
67
-
68
-      Examples:
69
-        hwprobe=-isapnp
70
-          o *never* do any isapnp probing
71
-
72
-        hwprobe=-braille,-modem
73
-          o don't look for braille displays & modems
74
-
75
-    - Allows you to add and remove hardware from the probing results. In this case
76
-      the syntax is (-: remove, +: add at end of list, <nothing>: add at begin of
77
-      list):
78
-        hwprobe=[+-]<device_class>:<vendor_id>:<device_id>[:<unix_device_file>]
79
-
80
-      <device_class>, <vendor_id> and <device_id> are device ids as used by libhd.
81
-      See the output of hwinfo for examples. In connection with "-", you can use
82
-      "*" as a placeholder that matches every id.
83
-
84
-      Note: <unix_device_file> is optional.
85
-
86
-      Note2: you cannot usefully *add* hardware that needs more info than that
87
-      given by the hwprobe entry. Disks & floppies are notable examples.
88
-      (But you can *remove* them.)
89
-
90
-      Here is a typical hwinfo output for a mouse, with the relevant ids
91
-      underlined (<device_class> is the combined base_class & sub_class),
92
-      [see 1st example below]:
93
-
94
-        14: PS/2 00.0: 10500 PS/2 Mouse
95
-                       ^^^^^ -->	<device_class>
96
-          [Created at mouse.110]
97
-          Vendor: s0200 "Unknown"
98
-                  ^^^^^  -->		<vendor_id>
99
-          Model: 0002 "Generic PS/2 Mouse"
100
-                 ^^^^  -->		<device_id>
101
-          Device File: /dev/psaux
102
-                       ^^^^^^^^^^ -->	<unix_device_file>
103
-          Driver Info #0:
104
-            XFree86 Protocol: ps/2
105
-            GPM Protocol: ps2
106
-          Attached to: #8 (PS/2 Controller)
107
-
108
-
109
-      Examples:
110
-        hwprobe=+10500:s200:2:/dev/psaux
111
-          o add a ps/2 mouse [at the end of the hardware list]
112
-
113
-        hwprobe=10500:s200:2:/dev/psaux
114
-          o add a ps/2 mouse [at the start of the hardware list, so it
115
-            is our default mouse]
116
-
117
-        hwprobe=+10b00:s5001:0:/dev/ttyS0
118
-          o add a braille display connected to /dev/ttyS0
119
-
120
-        hwprobe=-10500:s200:2:/dev/psaux
121
-          o remove ps/2 mice attached to /dev/psaux
122
-
123
-        hwprobe=-10500:s200:2
124
-          o remove all ps/2 mice
125
-
126
-        hwprobe=-10500:*:*
127
-          o remove all ps/2 mice
128
-
129
-        hwprobe=-*:*:*:/dev/hdc
130
-          o remove /dev/hdc
131
-
132
-        hwprobe=+401:1274:5000
133
-          o add an ensoniq sound card
134
-
135
-      Grafics cards are are slightly trickier:
136
-
137
-        hwprobe=+300:1014:b7
138
-          o add a Fire GL1 card
139
-            Note: this way you'll get a multihead config. You'll probably
140
-            rather want the following example.
141
-
142
-        hwprobe=-300:*:*,+300:1014:b7
143
-          o remove all graphics cards; then add a Fire GL1 card
144
-
145
-        hwprobe=+400:121a:1
146
-          o add a 3fx voodoo card (Note the class "400", not "300"!)
147
-
148
-    - for more ids, see "src/ids/names.*" and "src/ids/drivers.*"
149
-

+ 0
- 1
h/hwinfo/VERSION View File

@@ -1 +0,0 @@
1
-16.0

+ 0
- 12
h/hwinfo/debian/README.Debian View File

@@ -1,12 +0,0 @@
1
-hwinfo for Debian
2
------------------
3
-
4
-The source for this package was downloaded from Suse's FTP-archives:
5
-http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/hwinfo-13.0-2.src.rpm
6
-
7
-This package does not include the binaries hwscan, hwscand and
8
-hwscanqueue. If you miss one of those, please contact the maintainer at
9
-hwinfo@packages.debian.org.
10
-
11
- -- Morten Werner Olsen <werner@debian.org>, Sun,  9 Jul 2006 14:12:04 +0200
12
-

+ 0
- 57
h/hwinfo/debian/README.source View File

@@ -1,57 +0,0 @@
1
-This package uses quilt to manage all modifications to the upstream
2
-source.  Changes are stored in the source package as diffs in
3
-debian/patches and applied during the build.
4
-
5
-To configure quilt to use debian/patches instead of patches, you want
6
-either to export QUILT_PATCHES=debian/patches in your environment
7
-or use this snippet in your ~/.quiltrc:
8
-
9
-    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
10
-        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
11
-                export QUILT_PATCHES=debian/patches
12
-        fi
13
-    done
14
-
15
-To get the fully patched source after unpacking the source package, cd to
16
-the root level of the source package and run:
17
-
18
-    quilt push -a
19
-
20
-The last patch listed in debian/patches/series will become the current
21
-patch.
22
-
23
-To add a new set of changes, first run quilt push -a, and then run:
24
-
25
-    quilt new <patch>
26
-
27
-where <patch> is a descriptive name for the patch, used as the filename in
28
-debian/patches.  Then, for every file that will be modified by this patch,
29
-run:
30
-
31
-    quilt add <file>
32
-
33
-before editing those files.  You must tell quilt with quilt add what files
34
-will be part of the patch before making changes or quilt will not work
35
-properly.  After editing the files, run:
36
-
37
-    quilt refresh
38
-
39
-to save the results as a patch.
40
-
41
-Alternately, if you already have an external patch and you just want to
42
-add it to the build system, run quilt push -a and then:
43
-
44
-    quilt import -P <patch> /path/to/patch
45
-    quilt push -a
46
-
47
-(add -p 0 to quilt import if needed). <patch> as above is the filename to
48
-use in debian/patches.  The last quilt push -a will apply the patch to
49
-make sure it works properly.
50
-
51
-To remove an existing patch from the list of patches that will be applied,
52
-run:
53
-
54
-    quilt delete <patch>
55
-
56
-You may need to run quilt pop -a to unapply patches first before running
57
-this command.

+ 0
- 9
h/hwinfo/debian/TODO View File

@@ -1,9 +0,0 @@
1
-TODO for the hwinfo Debian package
2
-----------------------------------
3
-
4
-  * Write man-pages for check_hd, convert_hd, getsysinfo and mk_isdnhwdb.
5
-  * Include the binaries that isn't included, and maybe make it possible to
6
-    use hwinfo as the hardware detection tool that loads modules at boot.
7
-
8
- -- Morten Werner Olsen <werner@skolelinux.no>  Sun, 30 May 2004 21:26:11 +0200
9
-

+ 0
- 370
h/hwinfo/debian/changelog View File

@@ -1,370 +0,0 @@
1
-hwinfo (16.0-2.2easyVDR0) trusty; urgency=high
2
-
3
-  * rebuild
4
-
5
- -- easyVDR-Developer <easyvdr-dev@easy-vdr.de>  Tue, 22 Oct 2013 15:19:15 +0200
6
-
7
-hwinfo (16.0-2.2) unstable; urgency=low
8
-
9
-  * Non-maintainer upload.
10
-  * Add patch fix_segfault_in_hd_is_xen_on_amd64 which fixes segfaults
11
-    on amd64. Thanks Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
12
-    (Closes: #652146)
13
-
14
- -- Michael Prokop <mika@debian.org>  Mon, 16 Jan 2012 11:02:29 +0100
15
-
16
-hwinfo (16.0-2.1) unstable; urgency=low
17
-
18
-  * Non-maintainer upload.
19
-
20
-  [ Simon McVittie ]
21
-  * Use pkg-config for D-Bus' cpp flags instead of hard-coding them
22
-    (Closes: #634451, LP: #749278)
23
-
24
-  [ Ilya Barygin ]
25
-  * as-needed.patch: fix FTBFS with --as-needed linker option.
26
-  (Closes: #640202)
27
-
28
- -- gregor herrmann <gregoa@debian.org>  Thu, 01 Dec 2011 17:10:26 +0100
29
-
30
-hwinfo (16.0-2) unstable; urgency=low
31
-
32
-  * Added the patch to port to sh4 (Closes: #546151). 
33
-  * Updated Standards Version to 3.8.3. 
34
-  * Added README.source (quilt). 
35
-  * Modified debian/rules to fix FTBFS (Closes: #538551). 
36
-
37
- -- William Vera <billy@billy.com.mx>  Sat, 24 Oct 2009 19:20:16 -0500
38
-
39
-hwinfo (16.0-1) unstable; urgency=low
40
-
41
-  * New upstream release
42
-  * Renamed libhd15 to libhd16 according to new soname.
43
-  * Updated the watch file
44
-
45
- -- William Vera <billy@billy.com.mx>  Mon, 08 Jun 2009 22:18:36 -0500
46
-
47
-hwinfo (15.3-2) unstable; urgency=low
48
-
49
-  * Renamed libhd15-doc and libhd15-dev. 
50
-  * Library packages are now co-installable (Closes: #495866). 
51
-  * Updated Standards-Version to 3.8.1. 
52
-  * Updated compat to 5. 
53
-  * Updated debhelper version in control file. 
54
-  * Deleted useless manpage into debian path. 
55
-  * Added BSD License at copyright file to src/int10/AsmMacros.h. 
56
-  * Added a patch from gentoo to fix the FTBFS issue. (Closes: #528578).
57
-  * Updated the GPL License version at the copyright file. 
58
-
59
- -- William Vera <billy@billy.com.mx>  Wed, 13 May 2009 14:40:42 -0500
60
-
61
-hwinfo (15.3-1) unstable; urgency=low
62
-
63
-  * New upstream release
64
-  * Renamed libhd14 to libhd15 according to new soname. 
65
-
66
- -- William Vera <billy@billy.com.mx>  Sun, 10 Aug 2008 14:24:34 -0500
67
-
68
-hwinfo (14.19-2) unstable; urgency=low
69
-
70
-  * Fixed quilt option (-p0) (Closes: 485256)
71
-  * Updated Standards Version to 3.8.0
72
-
73
- -- William Vera <billy@billy.com.mx>  Fri, 13 Jun 2008 19:53:16 -0500
74
-
75
-hwinfo (14.19-1) unstable; urgency=low
76
-
77
-  * New upstream release
78
-
79
- -- William Vera <billy@billy.com.mx>  Fri, 06 Jun 2008 18:48:44 -0500
80
-
81
-hwinfo (14.17-1) unstable; urgency=low
82
-
83
-  * New upstream release (Closes: #438700)
84
-  * Updated libhd13-doc control file.
85
-  * Corrected spelling error in the control file Debian-Edu Debian Edu.
86
-  * Updated copyright with the upstream information.
87
-  * Renamed libhd13 to libhd14 according to new soname. 
88
-
89
- -- William Vera <billy@billy.com.mx>  Sun, 25 May 2008 19:14:49 -0500
90
-
91
-hwinfo (13.41-1) unstable; urgency=low
92
-
93
-  * New upstream release
94
-
95
- -- William Vera <billy@billy.com.mx>  Thu, 09 Aug 2007 09:34:01 -0500
96
-
97
-hwinfo (13.39-1) unstable; urgency=low
98
-
99
-  * New upstream release
100
-  * Added command in debian/rules to erase .pc, related with quilt
101
-
102
- -- William Vera <billy@billy.com.mx>  Wed, 01 Aug 2007 05:03:00 -0500
103
-
104
-hwinfo (13.35-2) unstable; urgency=low
105
-
106
-  * New maintainer (Closes: #412637).
107
-  * Changed deprecated variables at control file.
108
-
109
- -- William Vera <billy@billy.com.mx>  Tue, 03 Jul 2007 01:16:03 -0500
110
-
111
-hwinfo (13.35-1) unstable; urgency=low
112
-
113
-  * New upstream releases.
114
-  * Refresh patches against new upstream
115
-  * Update debian/watch to handle multi-digit revisions of a single version of
116
-    the upstream source rpm.
117
-  * Orphan package.
118
-    - Set maintainer to Debian QA Group
119
-
120
- -- James Vega <jamessan@debian.org>  Mon, 18 Jun 2007 20:54:02 +0100
121
-
122
-hwinfo (13.28-1) unstable; urgency=low
123
-
124
-  * New upstream releases.
125
-    - Fixes usage of x86 asm on non-x86 architectures
126
-      (Closes: #412713, #414723)
127
-
128
- -- James Vega <jamessan@debian.org>  Tue, 13 Mar 2007 10:38:19 -0400
129
-
130
-hwinfo (13.23-1) unstable; urgency=low
131
-
132
-  * New upstream releases
133
-  * debian/rules: Add a get-orig-source target which fetches the upstream RPM
134
-    and repacks as a tarball.
135
-
136
- -- James Vega <jamessan@debian.org>  Mon, 26 Feb 2007 07:24:26 -0500
137
-
138
-hwinfo (13.11-3) unstable; urgency=low
139
-
140
-  * Add cpu.c-alpha_bogo patch, which fixes a FTBFS on alpha because of an
141
-    undefined variable.
142
-
143
- -- James Vega <jamessan@debian.org>  Fri,  3 Nov 2006 07:28:15 -0500
144
-
145
-hwinfo (13.11-2) unstable; urgency=low
146
-
147
-  * Stop shipping our own hwinfo manpage, and use a patched version of
148
-    upstream's.  The patch removes references to items that are SUSE-specific.
149
-
150
- -- James Vega <jamessan@debian.org>  Thu,  2 Nov 2006 23:19:47 -0500
151
-
152
-hwinfo (13.11-1) unstable; urgency=low
153
-
154
-  * New upstream version.
155
-  * Re-add a previous patch (tiocgdev_undefined) which removes use of
156
-    TIOCGDEV, an ioctl that isn't supported in the mainline kernel anymore.
157
-
158
- -- James Vega <jamessan@debian.org>  Thu,  2 Nov 2006 22:35:50 -0500
159
-
160
-hwinfo (13.4-1) unstable; urgency=low
161
-
162
-  * New upstream version.
163
-  * Switch from dbs to quilt
164
-    - Revamp debian/rules
165
-    - Add quilt and remove dbs from Build-Depends in debian/control
166
-  * Remove reference to hwscan(8) from manpage. (closes: #388245)
167
-  * Re-wrote manpage from scratch.  Drop docbook-to-man from Build-Depends.
168
-  * Remove NEWS.Debian since it is no longer applicable.
169
-
170
- -- James Vega <jamessan@debian.org>  Thu, 28 Sep 2006 20:56:06 -0400
171
-
172
-hwinfo (13.3-3) unstable; urgency=low
173
-
174
-  * Add debian/patches/93_serial_struct to fix a FTBFS on sparc. Thanks Clint
175
-    Adams.  (closes: #387952)
176
-
177
- -- James Vega <jamessan@debian.org>  Sun, 17 Sep 2006 13:56:18 -0400
178
-
179
-hwinfo (13.3-2) unstable; urgency=low
180
-
181
-  * debian/control:
182
-    - Move doxygen from Build-Depends-Indep to Build-Depends.
183
-      (closes: #387872)
184
-  * debian/copyright:
185
-    - Update the download URL.
186
-
187
- -- James Vega <jamessan@debian.org>  Sun, 17 Sep 2006 09:30:12 -0400
188
-
189
-hwinfo (13.3-1) unstable; urgency=low
190
-
191
-  * New maintainer. (closes: #386035)
192
-  * New upstream releases.
193
-    - hwinfo --pci no longer lists everything as an ISDN adapter
194
-      (closes: #381387)
195
-  * debian/patches:
196
-    - Remove 01_sysfsutils2 and 02_sysfsutils2_s390, sysfs isn't used in the
197
-      new release.
198
-    - Remove 03_dbus-api-fix-thoenig, applied upstream.
199
-  * debian/control:
200
-    - Update maintainer address.
201
-    - Remove libsysfs-dev Build-Depends.
202
-    - Remove libhd13-dev's libsysfs-dev Depends.
203
-    - Add libhd13-doc package.
204
-    - Add doxygen Build-Depends-Indep.
205
-  * debian/rules:
206
-    - Add build/binary-indep to build libhd's documentation.
207
-  * Add debian/watch file.
208
-
209
- -- James Vega <jamessan@debian.org>  Fri, 15 Sep 2006 01:15:00 -0400
210
-
211
-hwinfo (13.0-6) unstable; urgency=low
212
-
213
-  * Added patch from upstream to change dbus connection-close function.
214
-    Thanks to Sebastian Dröge for bugreport and patch. (Closes: #385527)
215
-
216
- -- Morten Werner Olsen <werner@debian.org>  Mon,  4 Sep 2006 21:47:48 +0200
217
-
218
-hwinfo (13.0-5) unstable; urgency=low
219
-
220
-  * Fixed a cut'n'paste error in sysfsutils2 patch which caused all the PCI
221
-    interfaces to be reported as ISDN adapters. (Closes: #381387)
222
-  * Corrected a typo in debian/copyright (URL to .src.rpm).
223
-
224
- -- Morten Werner Olsen <werner@debian.org>  Sun, 20 Aug 2006 13:34:08 +0200
225
-
226
-hwinfo (13.0-4) unstable; urgency=low
227
-
228
-  * Patch src/hd/kbd.c to not include asm/kbio.h or use KIOC* defines
229
-    (thanks to Clint Adams). (Closes: #378653)
230
-
231
- -- Morten Werner Olsen <werner@debian.org>  Tue, 18 Jul 2006 11:23:17 +0200
232
-
233
-hwinfo (13.0-3) unstable; urgency=low
234
-
235
-  * Added separate Section-fileds for libhd13 and libhd13-dev in
236
-    debian/control. Thanks to the Debian distribution maintenance software
237
-    for notifying me. :)
238
-
239
- -- Morten Werner Olsen <werner@debian.org>  Sun, 16 Jul 2006 16:16:08 +0200
240
-
241
-hwinfo (13.0-2) unstable; urgency=low
242
-
243
-  * New sysfsutils2-patch for src/hd/s390.c to fix FTBFS on S/390.
244
-    (Closes: #377611)
245
-  * New patch to remove the redefine of serial_struct in src/hd/kbd.c.
246
-  * Added linux-kernel-headers to Build-Depends as it has some files needed
247
-    for at least Sparc.
248
-
249
- -- Morten Werner Olsen <werner@debian.org>  Sun, 16 Jul 2006 15:12:43 +0200
250
-
251
-hwinfo (13.0-1) unstable; urgency=low
252
-
253
-  * New upstream release.
254
-  * Upstream is bumping the soname, so changing libhd12 and libhd12-dev
255
-    to libhd13 and libhd13-dev.
256
-  * Removed debian/patches/02_tiocgdev_undeclared as the TIOCGDEV is
257
-    commented out by upstream.
258
-  * Added patch from Steinar H. Gunderson and Filippo Giunchedi that ports
259
-    hwinfo to use sysfsutils2. Thanks a lot for this patch, Steinar and
260
-    Filippo! (Closes: #356352)
261
-
262
- -- Morten Werner Olsen <werner@debian.org>  Sun,  9 Jul 2006 21:26:26 +0200
263
-
264
-hwinfo (12.9-2experimental1) experimental; urgency=low
265
-
266
-  * Added the libhd12 and libhd12-dev packages again. (Closes: #362865)
267
-  * Added Build-Dependency to perl (dbs-script in debian/rules).
268
-  * Bumped Standards-Version to 3.7.2 (no changes needed).
269
-
270
- -- Morten Werner Olsen <werner@debian.org>  Sun,  4 Jun 2006 13:53:40 +0200
271
-
272
-hwinfo (12.9-2) unstable; urgency=low
273
-
274
-  * Added patch that prevents segfault on architectures where the size
275
-    of a pointer is greater than the size of an integer (thanks to
276
-    Dann Frazier). (Closes: #356393)
277
-
278
- -- Morten Werner Olsen <werner@debian.org>  Sun, 30 Apr 2006 23:00:25 +0200
279
-
280
-hwinfo (12.9-1) unstable; urgency=low
281
-
282
-  * New upstream release.
283
-     - Rewrote debian/patches/800_new_arches to debian/patches/80_new_archs
284
-       as some parts was included upstream and other parts is afaik not
285
-       needed.
286
-     - Removed debian/patches/810_gcc4_fix (fixed upstream).
287
-     - Removed debian/patches/820_amd64_fix (fixed upstream)
288
-  * Updated debian/copyright:
289
-     - Changed Copyright to License (thanks to Justin Pryzby).
290
-       (Closes: #290182)
291
-     - FSF's address (thanks to Lintian).
292
-  * Added Build-Dependency on libdbus-1-dev and libhal-dev.
293
-  * Now building against the new version of sysfsutils (2.0.0).
294
-    (Closes: #347633, #355335)
295
-  * Added debian/patches/01_sysfsutils with missing structs and functions
296
-    from old version of sysfsutils (thanks to Petter Reinholdtsen).
297
-  * Added debian/NEWS with info about the missing functionality due to the
298
-    changes in debian/patches/01_sysfsutils.
299
-  * Added debian/patches/02_tiocgdev_undefined which remove one test in a
300
-    serial console test where TIOCGDEV is used (a SuSE-specific thing). :/
301
-  * New maintainer email address. :)
302
-
303
- -- Morten Werner Olsen <werner@debian.org>  Sat, 11 Mar 2006 09:25:08 +0100
304
-
305
-hwinfo (8.38-5) unstable; urgency=low
306
-
307
-  * The patches/820_amd64_fix seems to have disappeared. (Closes: #329185)
308
-
309
- -- Morten Werner Olsen <werner@skolelinux.no>  Sat, 26 Nov 2005 23:18:52 +0100
310
-
311
-hwinfo (8.38-4) unstable; urgency=low
312
-
313
-  * Replaced 810_hppa_and_m68k_port with 800_new_archs which now includes
314
-    hppa, m68k, and ppc64 (thanks to Andreas Jochens).
315
-    (Closes: #304079, #329240)
316
-  * Added 810_gcc4_fix to make hwinfo build with gcc4 (thanks to
317
-    Andreas Johens). (Closes: #304079)
318
-  * Added 820_amd64_fix which fixes some assembly bugs with 64bit arch
319
-    (thanks to Andreas Johens). (Closes: #329185)
320
-  * Bumped Standards-Version to 3.6.2 (no changes).
321
-
322
- -- Morten Werner Olsen <werner@skolelinux.no>  Mon, 14 Nov 2005 18:58:17 +0100
323
-
324
-hwinfo (8.38-3) unstable; urgency=low
325
-
326
-  * 810_hppa_and_m68k_port: replaced both occurances of __m68k__ with
327
-    __mc68000__ to make hwinfo build on m68k-archs (thanks to Adam Conrad).
328
-    (Closes: #270408)
329
-
330
- -- Morten Werner Olsen <werner@skolelinux.no>  Tue,  5 Oct 2004 19:29:14 +0200
331
-
332
-hwinfo (8.38-2) unstable; urgency=low
333
-
334
-  * Removed conflicts to libhd, libhd-dev and libhd-doc to provide an easier
335
-    upgrade path.
336
-
337
- -- Morten Werner Olsen <werner@skolelinux.no>  Mon,  2 Aug 2004 12:25:30 +0200
338
-
339
-hwinfo (8.38-1) unstable; urgency=low
340
-
341
-  * New upstream release.
342
-  * Major change: now building a static version of the hwinfo binary, and
343
-    dropping the libhd* packages due to upstream's way of maintaining the
344
-    otherwise shared library in the hwinfo package (thanks to my AM,
345
-    Michael Banck, for pointing out this problem for me).
346
-  * Added conflicts to libhd, libhd-dev and libhd-doc.
347
-  * Added man-page for hwinfo.
348
-  * Added patch to make hwinfo build on hppa and m68k (thanks to Joel Soete
349
-    and Martin-Ãric Racine). (Closes: #252298, #253673)
350
-  * Tried to improve package descriptions. (Closes: #245080)
351
-  * Removed the binary hwscan from the package.
352
-
353
- -- Morten Werner Olsen <werner@skolelinux.no>  Mon,  5 Jul 2004 22:13:29 +0000
354
-
355
-hwinfo (7.30-2) unstable; urgency=low
356
-
357
-  * Moved /usr/lib/libhd.a and /usr/lib/libhd_tiny.a from libhd to libhd-dev.
358
-    (Thanks to Petter Reinholdtsen for pointing this out.)
359
-  * Added gcc option -D_REENTRANT to Makefile and Makefile.common
360
-    (debian/patches/010_makefile and debian/patches/020_makefile_common).
361
-  * Fixed a typo in debian/control (hdlib -> libhd).
362
-
363
- -- Morten Werner Olsen <werner@skolelinux.no>  Sun, 18 Apr 2004 11:29:18 +0200
364
-
365
-hwinfo (7.30-1) unstable; urgency=low
366
-
367
-  * Initial Release. (Closes: #242208)
368
-
369
- -- Morten Werner Olsen <werner@skolelinux.no>  Tue,  6 Apr 2004 09:50:03 +0200
370
-

+ 0
- 1
h/hwinfo/debian/compat View File

@@ -1 +0,0 @@
1
-5

+ 0
- 80
h/hwinfo/debian/control View File

@@ -1,80 +0,0 @@
1
-Source: hwinfo
2
-Section: admin
3
-Priority: optional
4
-Maintainer: William Vera <billy@billy.com.mx>
5
-Build-Depends: debhelper (>= 7.2.11), quilt, perl, flex, libdbus-1-dev, libhal-dev, linux-kernel-headers, doxygen, pkg-config
6
-Standards-Version: 3.8.3
7
-
8
-Package: hwinfo
9
-Architecture: any
10
-Depends: ${shlibs:Depends}, ${misc:Depends}
11
-Description: Hardware identification system
12
- hwinfo is the hardware detection tool used in SuSE Linux.
13
- .
14
- In Debian Edu (Skolelinux) hwinfo has shown better results than discover when
15
- detecting mouse, keyboard and monitor.
16
- .
17
- hwinfo collects information about the hardware installed on a system.  Among
18
- others, libhd contains information about cdrom, zip, floppy, disks and
19
- partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe,
20
- isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.
21
- .
22
- This package does not include the binaries hwscan, hwscand and hwscanqueue. If
23
- you think one or more of these should be included in the package, please
24
- contact the maintainer at hwinfo@packages.debian.org.
25
-
26
-Package: libhd16
27
-Section: libs
28
-Architecture: any
29
-Depends: ${shlibs:Depends}, ${misc:Depends}
30
-Description: Hardware identification system library
31
- hwinfo is the hardware detection tool used in SuSE Linux.
32
- .
33
- In Debian Edu (Skolelinux) hwinfo has shown better results than discover when
34
- detecting mouse, keyboard and monitor.
35
- .
36
- hwinfo collects information about the hardware installed on a system.  Among
37
- others, libhd contains information about cdrom, zip, floppy, disks and
38
- partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe,
39
- isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.
40
- .
41
- This package contains the shared library from the hwinfo package.
42
-
43
-Package: libhd-doc
44
-Section: doc
45
-Architecture: all
46
-Suggests: doc-base
47
-Enhances: libhd-dev
48
-Provides: libhd12-doc, libhd13-doc, libhd14-doc, libhd15-doc, libhd16-doc
49
-Description: Hardware identification system library documentation
50
- hwinfo is the hardware detection tool used in SuSE Linux.
51
- .
52
- In Debian Edu (Skolelinux) hwinfo has shown better results than discover when
53
- detecting mouse, keyboard and monitor.
54
- .
55
- hwinfo collects information about the hardware installed on a system.  Among
56
- others, libhd contains information about cdrom, zip, floppy, disks and
57
- partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe,
58
- isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.
59
- .
60
- This package contains the documentation for the libhd13-dev package.
61
-
62
-Package: libhd-dev
63
-Section: libdevel
64
-Architecture: any
65
-Depends: libhd16 (= ${binary:Version}), libdbus-1-dev (>= 0.61), libhal-dev (>= 0.5)
66
-Suggests: libhd-doc
67
-Provides: libhd12-dev, libhd13-dev, libhd14-dev, libhd15-dev, libhd16-dev
68
-Description: Hardware identification system library and headers
69
- hwinfo is the hardware detection tool used in SuSE Linux.
70
- .
71
- In Debian Edu (Skolelinux) hwinfo has shown better results than discover when
72
- detecting mouse, keyboard and monitor.
73
- .
74
- hwinfo collects information about the hardware installed on a system.  Among
75
- others, libhd contains information about cdrom, zip, floppy, disks and
76
- partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe,
77
- isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.
78
- .
79
- This package contains the static library and header files from the hwinfo
80
- package.

+ 0
- 55
h/hwinfo/debian/copyright View File

@@ -1,55 +0,0 @@
1
-This package was debianized by Morten Werner Olsen <werner@skolelinux.no> on
2
-Sun, 30 May 2004 21:39:25 +0200.
3
-
4
-It was downloaded from:
5
-   http://mirrors.kernel.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/
6
-
7
-Upstream Author:
8
-   Steffen Winterfeldt <snwint@suse.de> 
9
-
10
-Copyright:
11
-   2008 © Steffen Winterfeldt
12
-   SuSE Linux AG, Nuernberg, Germany
13
-   (http://www.suse.de/feedback)
14
-
15
-License:
16
-
17
-   This package is free software; you can redistribute it and/or modify
18
-   it under the terms of the GNU General Public License as published by
19
-   the Free Software Foundation; version 2 dated June, 1991.
20
-
21
-   This package is distributed in the hope that it will be useful,
22
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
23
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
-   GNU General Public License for more details.
25
-
26
-   You should have received a copy of the GNU General Public License
27
-   along with this package; if not, write to the Free Software Foundation,
28
-   Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
29
-
30
-On Debian systems, the complete text of the GNU General
31
-Public License can be found in `/usr/share/common-licenses/GPL-2'.
32
-
33
--------------------------------------------------------------------------
34
-
35
-src/int10/AsmMacros.h
36
-
37
-(c) Copyright 1993,1994 by David Wexelblat <dwex@xfree86.org>
38
-
39
-Copyright (c) The Regents of the University of California.
40
-All rights reserved.
41
-
42
-Redistribution and use in source and binary forms, with or without
43
-modification, are permitted provided that the following conditions
44
-are met:
45
-1. Redistributions of source code must retain the above copyright
46
-   notice, this list of conditions and the following disclaimer.
47
-2. Redistributions in binary form must reproduce the above copyright
48
-   notice, this list of conditions and the following disclaimer in the
49
-   documentation and/or other materials provided with the distribution.
50
-3. Neither the name of the University nor the names of its contributors
51
-   may be used to endorse or promote products derived from this software
52
-   without specific prior written permission.
53
-
54
-On Debian systems, the complete text of the BSD
55
-License can be found in `/usr/share/common-licenses/BSD'.

+ 0
- 1
h/hwinfo/debian/hwinfo.install View File

@@ -1 +0,0 @@
1
-debian/tmp/usr/sbin/hwinfo

+ 0
- 1
h/hwinfo/debian/hwinfo.manpages View File

@@ -1 +0,0 @@
1
-doc/hwinfo.8

+ 0
- 4
h/hwinfo/debian/libhd-dev.install View File

@@ -1,4 +0,0 @@
1
-debian/tmp/usr/include/hd.h
2
-debian/tmp/usr/lib/libhd.a
3
-debian/tmp/usr/lib/libhd.so
4
-debian/tmp/usr/lib/pkgconfig/

+ 0
- 11
h/hwinfo/debian/libhd-doc.doc-base View File

@@ -1,11 +0,0 @@
1
-Document: hwinfo
2
-Title: C hwinfo Library
3
-Author: Steffen Winterfeldt <snwint@suse.de> 
4
-Section: Programming
5
-Abstract: Hardware identification system library documentation.
6
-
7
-Format: HTML
8
-Index: /usr/share/doc/libhd-doc/html/index.html
9
-Files: /usr/share/doc/libhd-doc/html/*.html
10
-
11
-

+ 0
- 1
h/hwinfo/debian/libhd16.install View File

@@ -1 +0,0 @@
1
-debian/tmp/usr/lib/libhd.so.*

+ 0
- 20
h/hwinfo/debian/patches/as-needed.patch View File

@@ -1,20 +0,0 @@
1
-Description: Place libraries after archive file to have dependencies resolved
2
- when --as-needed linker option is being used.
3
-Author: Ilya Barygin <barygin@gmail.com>
4
-Bug-Debian: http://bugs.debian.org/640202
5
-
6
---- hwinfo-16.0.orig/src/Makefile
7
-+++ hwinfo-16.0/src/Makefile
8
-@@ -23,9 +23,10 @@
9
- 
10
- ifdef SHARED_FLAGS
11
- $(LIBHD_SO): $(LIBHD)
12
--	$(CC) -shared $(SO_LIBS) -Wl,--whole-archive $(LIBHD) -Wl,--no-whole-archive \
13
-+	$(CC) -shared -Wl,--whole-archive $(LIBHD) -Wl,--no-whole-archive \
14
- 		-Wl,-soname=$(LIBHD_SONAME) \
15
--		-o $(LIBHD_SO) 
16
-+		-o $(LIBHD_SO) \
17
-+		$(SO_LIBS)
18
- 	ln -snf $(LIBHD_NAME) $(LIBHD_SONAME)
19
- 	ln -snf $(LIBHD_SONAME) $(LIBHD_BASE).so
20
- else

+ 0
- 28
h/hwinfo/debian/patches/cpu.c-alpha_bogo View File

@@ -1,28 +0,0 @@
1
-Index: src/hd/cpu.c
2
-===================================================================
3
---- hwinfo-14.19.orig/src/hd/cpu.c.orig
4
-+++ hwinfo-14.19/src/hd/cpu.c
5
-@@ -104,6 +104,7 @@
6
- #ifdef __alpha__
7
-   char model_id[80], system_id[80], serial_number[80], platform[80];
8
-   unsigned cpu_variation, cpu_revision, u, hz;
9
-+  double bogo;
10
-   cpu_info_t *ct1;
11
- #endif
12
- 
13
-@@ -133,6 +134,7 @@
14
- #ifdef __alpha__
15
-   *model_id = *system_id = *serial_number = *platform = 0;
16
-   cpu_variation = cpu_revision = hz = 0;
17
-+  bogo = 0;
18
- 
19
-   for(sl = hd_data->cpu; sl; sl = sl->next) {
20
-     if(sscanf(sl->str, "cpu model : %79[^\n]", model_id) == 1) continue;
21
-@@ -143,6 +145,7 @@
22
-     if(sscanf(sl->str, "cpus detected : %u", &cpus) == 1) continue;
23
-     if(sscanf(sl->str, "cycle frequency [Hz] : %u", &hz) == 1) continue;
24
-     if(sscanf(sl->str, "system variation : %79[^\n]", platform) == 1) continue;
25
-+    if(sscanf(sl->str, "BogoMIPS : %lg", &bogo) == 1) continue;
26
-   }
27
- 
28
-   if(*model_id || *system_id) {	/* at least one of those */

+ 0
- 21
h/hwinfo/debian/patches/dbus_pkg_config.patch View File

@@ -1,21 +0,0 @@
1
-From: Simon McVittie <smcv@debian.org>
2
-Subject: pick up cpp flags for dbus-1 from pkg-config instead of hard-coding
3
- Hard-coding the include path for dbus-1 is not recommended, and was broken
4
- by the multiarch transition. The interface provided by upstream can be
5
- summarized as "use pkg-config".
6
-Bug-Debian: http://bugs.debian.org/634451
7
-Bug-Ubuntu: https://launchpad.net/bugs/749278
8
-
9
-diff --git a/src/hd/Makefile b/src/hd/Makefile
10
-index 3aa4819..be5b346 100644
11
---- a/src/hd/Makefile
12
-+++ b/src/hd/Makefile
13
-@@ -4,7 +4,7 @@ CLEANFILES	= version.h
14
- 
15
- include $(TOPDIR)/Makefile.common
16
- 
17
--CFLAGS		+= -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include
18
-+CFLAGS		+= $(shell pkg-config --cflags dbus-1)
19
- 
20
- version.h: $(TOPDIR)/VERSION
21
- 	@echo "#define HD_VERSION_STRING \"`cat $(TOPDIR)/VERSION`\"" >$@

+ 0
- 19
h/hwinfo/debian/patches/fix-ftbfs View File

@@ -1,19 +0,0 @@
1
-Index: src/int10/i10_v86.c
2
-===================================================================
3
---- a/src/int10/i10_v86.c
4
-+++ b/src/int10/i10_v86.c
5
-@@ -27,6 +27,14 @@
6
- #include <string.h>
7
- #ifdef __i386__
8
- #include <sys/vm86.h>
9
-+/* 2.6.26+ kernels don't define the legacy masks. */
10
-+#if defined(__linux__) && !defined(TF_MASK)
11
-+      #define TF_MASK X86_EFLAGS_TF
12
-+      #define IF_MASK X86_EFLAGS_IF
13
-+      #define NT_MASK X86_EFLAGS_NT
14
-+      #define VIF_MASK X86_EFLAGS_VIF
15
-+      #define VIP_MASK X86_EFLAGS_VIP
16
-+#endif
17
- #else
18
- #include "vm86_struct.h"
19
- #endif

+ 0
- 24
h/hwinfo/debian/patches/fix_segfault_in_hd_is_xen_on_amd64 View File

@@ -1,24 +0,0 @@
1
-diff --git a/src/hd/hd.c b/src/hd/hd.c
2
-index 1539121..18e89c3 100644
3
---- a/src/hd/hd.c
4
-+++ b/src/hd/hd.c
5
-@@ -3245,16 +3245,16 @@ int hd_is_xen(hd_data_t *hd_data)
6
-     "mov %%edx,8(%%esi)\n\t"
7
-     "pop %%ebx"
8
- #else
9
--    "push %%rbx\n\t"
10
-+    "mov %%ebx,%%edi\n\t"
11
-     "cpuid\n\t"
12
-     "mov %%ebx,(%%rsi)\n\t"
13
-     "mov %%ecx,4(%%rsi)\n\t"
14
-     "mov %%edx,8(%%rsi)\n\t"
15
--    "pop %%rbx"
16
-+    "mov %%edi,%%ebx\n\t"
17
- #endif
18
-     : "=a" (u), "=c" (foo)
19
-     : "a" (0x40000000), "c" (0), "S" (signature)
20
--    : "%edx"
21
-+    : "%edx", "%edi"
22
-   );
23
- 
24
-   signature[12] = 0;

+ 0
- 23
h/hwinfo/debian/patches/hwinfo.8-strip_suse View File

@@ -1,23 +0,0 @@
1
-Index: doc/hwinfo.8
2
-===================================================================
3
---- hwinfo-14.19.orig/doc/hwinfo.8.orig
4
-+++ hwinfo-14.19/doc/hwinfo.8
5
-@@ -71,10 +71,6 @@
6
- .B zip.
7
- .\"
8
- .\"
9
--.SH FILES
10
--.B /var/lib/hardware/*
11
--.\"
12
--.\"
13
- .SH BUGS
14
- Not all hardware can be detected.
15
- .\"
16
-@@ -87,6 +83,6 @@
17
- .\"
18
- .\"
19
- .SH "SEE ALSO"
20
--Documentation in /usr/share/doc/packages/hwinfo.
21
-+discover(8).
22
- .\"
23
- .\" EOF

+ 0
- 18
h/hwinfo/debian/patches/kbd.c-tiocgdev_undefined View File

@@ -1,18 +0,0 @@
1
-Index: src/hd/kbd.c
2
-===================================================================
3
---- hwinfo-14.19.orig/src/hd/kbd.c.orig
4
-+++ hwinfo-14.19/src/hd/kbd.c
5
-@@ -121,11 +121,13 @@
6
-   }
7
- 
8
-   if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) {
9
-+    /* Removing since TIOCGDEV isn't supported in the mainline kernel
10
-     if(ioctl(fd, TIOCGDEV, &u) != -1) {
11
-       tty_major = (u >> 8) & 0xfff;
12
-       tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00);
13
-       ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor);
14
-     }
15
-+    */
16
- 
17
-     if(tty_major == 229 /* iseries hvc */) {
18
-       if (tty_minor >= 128) {

+ 0
- 19
h/hwinfo/debian/patches/new_archs View File

@@ -1,19 +0,0 @@
1
-Index: src/hd/hd.c
2
-===================================================================
3
---- hwinfo-14.19.orig/src/hd/hd.c.orig
4
-+++ hwinfo-14.19/src/hd/hd.c
5
-@@ -142,6 +142,14 @@
6
- #define HD_ARCH "hppa"
7
- #endif
8
- 
9
-+#ifdef __mc68000__
10
-+#define HD_ARCH "m68k"
11
-+#endif
12
-+
13
-+#ifdef __powerpc64__
14
-+#define HD_ARCH "ppc64"
15
-+#endif
16
-+
17
- typedef struct disk_s {
18
-   struct disk_s *next;
19
-   unsigned crc;

+ 0
- 31
h/hwinfo/debian/patches/serial_struct View File

@@ -1,31 +0,0 @@
1
-Index: src/hd/kbd.c
2
-===================================================================
3
---- hwinfo-14.19.orig/src/hd/kbd.c.orig
4
-+++ hwinfo-14.19/src/hd/kbd.c
5
-@@ -21,26 +21,6 @@
6
- 
7
- #ifdef __sparc__
8
- 
9
--struct serial_struct {
10
--  int     type;
11
--  int     line;
12
--  unsigned long   port;
13
--  int     irq;
14
--  int     flags;
15
--  int     xmit_fifo_size;
16
--  int     custom_divisor;
17
--  int     baud_base;
18
--  unsigned short  close_delay;
19
--  char    io_type;
20
--  char    reserved_char[1];
21
--  int     hub6;
22
--  unsigned short  closing_wait; /* time to wait before closing */
23
--  unsigned short  closing_wait2; /* no longer used... */
24
--  unsigned char   *iomem_base;
25
--  unsigned short  iomem_reg_shift;
26
--  int     reserved[2];
27
--};
28
--
29
- #ifdef DIET
30
- typedef unsigned int u_int;
31
- #endif

+ 0
- 11
h/hwinfo/debian/patches/series View File

@@ -1,11 +0,0 @@
1
-hwinfo.8-strip_suse 
2
-new_archs 
3
-sparc_kioc 
4
-serial_struct 
5
-kbd.c-tiocgdev_undefined 
6
-cpu.c-alpha_bogo
7
-fix-ftbfs 
8
-sh_support.patch
9
-dbus_pkg_config.patch
10
-as-needed.patch
11
-fix_segfault_in_hd_is_xen_on_amd64

+ 0
- 14
h/hwinfo/debian/patches/sh_support.patch View File

@@ -1,14 +0,0 @@
1
-diff -ruN hwinfo-16.0/src/hd/hd.c hwinfo-16.0.a/src/hd/hd.c
2
---- hwinfo-16.0/src/hd/hd.c	2009-09-11 15:10:30.000000000 +0900
3
-+++ hwinfo-16.0.a/src/hd/hd.c	2009-09-11 15:10:05.000000000 +0900
4
-@@ -150,6 +150,10 @@
5
- #define HD_ARCH "ppc64"
6
- #endif
7
- 
8
-+#ifdef __sh__
9
-+#define HD_ARCH "sh"
10
-+#endif
11
-+
12
- typedef struct disk_s {
13
-   struct disk_s *next;
14
-   unsigned crc;

+ 0
- 21
h/hwinfo/debian/patches/sparc_kioc View File

@@ -1,21 +0,0 @@
1
-Index: src/hd/kbd.c
2
-===================================================================
3
---- hwinfo-14.19.orig/src/hd/kbd.c.orig
4
-+++ hwinfo-14.19/src/hd/kbd.c
5
-@@ -45,7 +45,6 @@
6
- typedef unsigned int u_int;
7
- #endif
8
- 
9
--#include <asm/kbio.h>
10
- #include <asm/openpromio.h>
11
- #endif
12
- 
13
-@@ -253,8 +252,6 @@
14
- 
15
-   if((fd = open(DEV_KBD, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0)
16
-     {
17
--      if(ioctl(fd, KIOCTYPE, &kid)) kid = -1;
18
--      if(ioctl(fd, KIOCLAYOUT, &klay)) klay = -1;
19
-       close(fd);
20
- 
21
-       if(kid != -1)

+ 0
- 129
h/hwinfo/debian/rules View File

@@ -1,129 +0,0 @@
1
-#!/usr/bin/make -f
2
-# -*- makefile -*-
3
-# Sample debian/rules that uses debhelper.
4
-#
5
-# This file was originally written by Joey Hess and Craig Small.
6
-# As a special exception, when this file is copied by dh-make into a
7
-# dh-make output file, you may use that output file without restriction.
8
-# This special exception was added by Craig Small in version 0.37 of dh-make.
9
-#
10
-# Modified to make a template file for a multi-binary package with separated
11
-# build-arch and build-indep targets  by Bill Allombert 2001
12
-
13
-# Uncomment this to turn on verbose mode.
14
-#export DH_VERBOSE=1
15
-include /usr/share/quilt/quilt.make
16
-
17
-# This has to be exported to make some magic below work.
18
-export DH_OPTIONS
19
-export QUILT_PATCHES=debian/patches
20
-export QUILT_DIFF_ARGS="--no-timestamps -p 0"
21
-export QUILT_REFRESH_ARGS="--no-timestamps -p 0"
22
-
23
-CFLAGS = -Wall -g
24
-
25
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
26
-	CFLAGS += -O0
27
-else
28
-	CFLAGS += -O2
29
-endif
30
-
31
-UPURL=ftp://mirrors.kernel.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/
32
-UPVERSION=$(shell dpkg-parsechangelog | grep '^Version' | sed -e 's/^[^ ]* //' -e 's/-[^-]*$$//')
33
-
34
-get-orig-source:
35
-	@dh_testdir
36
-	@if [ ! -d ../tarballs ]; then \
37
-	  mkdir ../tarballs; \
38
-	fi
39
-	@if [ ! -e ../tarballs/hwinfo_$(UPVERSION).orig.tar.gz ]; then \
40
-	  echo "Fetching hwinfo $(UPVERSION)..."; \
41
-	  for f in $$(w3m -dump $(UPURL) | grep -o 'hwinfo-$(UPVERSION)-[[:digit:]]\+.src.rpm' | tail -n 1); do \
42
-	    cd ../tarballs && wget -q -O $$f $(UPURL)$$f; \
43
-	    echo "Repacking RPM as a tarball..."; \
44
-	    alien -d --nopatch -s $$f >/dev/null 2>&1; \
45
-	    bzcat hwinfo-$(UPVERSION)/hwinfo-$(UPVERSION).tar.bz2 | gzip -c - > hwinfo_$(UPVERSION).orig.tar.gz; \
46
-	    rm -rf hwinfo-$(UPVERSION) $$f; \
47
-	  done; \
48
-	fi
49
-
50
-patch: patch-stamp
51
-patch-stamp:
52
-	dh_testdir
53
-	quilt push -a || test $$? = 2
54
-	touch $@
55
-
56
-
57
-#Architecture 
58
-build: build-arch build-indep
59
-
60
-build-arch: build-arch-stamp
61
-build-arch-stamp: patch-stamp 
62
-	$(MAKE)
63
-	touch $@
64
-
65
-build-indep: build-indep-stamp
66
-build-indep-stamp: patch-stamp 
67
-	$(MAKE) doc
68
-	touch $@
69
-
70
-clean:
71
-	dh_testdir
72
-	dh_testroot
73
-	rm -f build-arch-stamp build-indep-stamp patch-stamp
74
-	
75
-	[ ! -f Makefile ] || $(MAKE) distclean
76
-
77
-	-quilt pop -a
78
-	rm -rf .pc
79
-	
80
-	dh_clean 
81
-
82
-install: install-indep install-arch
83
-install-indep:
84
-	dh_testdir
85
-	dh_testroot
86
-	dh_clean -k -i 
87
-	dh_installdirs -i
88
-	
89
-	dh_install -i doc/libhd/html usr/share/doc/libhd-doc
90
-
91
-install-arch:
92
-	dh_testdir
93
-	dh_testroot
94
-	dh_clean -k -s 
95
-	dh_installdirs -s
96
-	
97
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
98
-	install -D -m 644 src/libhd.a debian/tmp/usr/lib/libhd.a
99
-	
100
-	dh_install -s
101
-# Must not depend on anything. This is to be called by
102
-# binary-arch/binary-indep
103
-# in another 'make' thread.
104
-binary-common:
105
-	dh_testdir
106
-	dh_testroot
107
-	dh_installchangelogs Changelog
108
-	dh_installdocs
109
-	dh_installman
110
-	dh_link
111
-	dh_strip
112
-	dh_compress 
113
-	dh_fixperms
114
-	dh_makeshlibs
115
-	dh_installdeb
116
-	dh_shlibdeps
117
-	dh_gencontrol
118
-	dh_md5sums
119
-	dh_builddeb
120
-# Build architecture independant packages using the common target.
121
-binary-indep: build-indep install-indep
122
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
123
-
124
-# Build architecture dependant packages using the common target.
125
-binary-arch: build-arch install-arch
126
-	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
127
-
128
-binary: binary-arch binary-indep
129
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch patch get-orig-source

+ 0
- 6
h/hwinfo/debian/watch View File

@@ -1,6 +0,0 @@
1
-# Example watch control file for uscan
2
-# Rename this file to "watch" and then you can run the "uscan" command
3
-# to check for upstream updates and more.
4
-# Site		Directory		Pattern			Version	Script
5
-version=3
6
-ftp://mirrors.kernel.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/hwinfo-([\d.]+)-\d+.src.rpm

+ 0
- 26
h/hwinfo/doc/example1.c View File

@@ -1,26 +0,0 @@
1
-#include <stdio.h>
2
-#include <stdlib.h>
3
-
4
-#include <hd.h>
5
-
6
-int main(int argc, char **argv)
7
-{
8
-  hd_data_t *hd_data;
9
-  hd_t *hd;
10
-
11
-  hd_data = calloc(1, sizeof *hd_data);
12
-
13
-  hd = hd_list(hd_data, hw_scsi, 1, NULL);
14
-
15
-  for(; hd; hd = hd->next) {
16
-    hd_dump_entry(hd_data, hd, stdout)
17
-  }
18
-
19
-  hd_free_hd_list(hd);		/* free it */
20
-  hd_free_hd_data(hd_data);
21
-
22
-  free(hd_data);
23
-
24
-  return 0;
25
-}
26
-

+ 0
- 26
h/hwinfo/doc/example2.c View File

@@ -1,26 +0,0 @@
1
-#include <stdio.h>
2
-#include <stdlib.h>
3
-
4
-#include <hd.h>
5
-
6
-int main(int argc, char **argv)
7
-{
8
-  hd_data_t *hd_data;
9
-  hd_t *hd;
10
-  unsigned display_idx;
11
-
12
-  hd_data = calloc(1, sizeof *hd_data);
13
-
14
-  hd = hd_list(hd_data, hw_display, 1, NULL);
15
-  display_idx = hd_display_adapter(hd_data);
16
-
17
-  hd_dump_entry(hd_data, hd_get_device_by_idx(hd_data, display_idx), stdout)
18
-
19
-  hd_free_hd_list(hd);
20
-  hd_free_hd_data(hd_data);
21
-
22
-  free(hd_data);
23
-
24
-  return 0;
25
-}
26
-

+ 0
- 1
h/hwinfo/doc/footer.html View File

@@ -1 +0,0 @@
1
-</body></html>

+ 0
- 92
h/hwinfo/doc/hwinfo.8 View File

@@ -1,92 +0,0 @@
1
-.\" Michal Svec <msvec@suse.cz>
2
-.\"
3
-.\" Process this file with
4
-.\" groff -man -Tascii foo.1
5
-.\"
6
-.\"
7
-.TH HWINFO 8 "January 2003" "hwinfo" "System configuration"
8
-.\"
9
-.\"
10
-.SH NAME
11
-hwinfo \- probe for hardware
12
-.\"
13
-.\"
14
-.SH SYNOPSIS
15
-.B hwinfo [
16
-.I options
17
-.B ]
18
-.\"
19
-.\"
20
-.SH DESCRIPTION
21
-.B hwinfo
22
-is used to probe for the hardware present in the system. It can be used
23
-to generate a system overview log which can be later used for support.
24
-.\"
25
-.\"
26
-.SH OPTIONS
27
-.\"
28
-.TP
29
-.BI --debug " " level
30
-Set debug
31
-.B level.
32
-The debug info is shown only in the log file. If you specify a log file,
33
-the debug level is implicitly set to a reasonable value.
34
-.\"
35
-.TP
36
-.BI --dump-db " " n
37
-Dump hardware data base,
38
-.B n
39
-is either
40
-.B 0
41
-for the external data base, or
42
-.B 1
43
-for the internal data base.
44
-.\"
45
-.TP
46
-.BI --help
47
-Print a usage and exit.
48
-.\"
49
-.TP
50
-.BI --log " " logfile
51
-Write info to
52
-.B logfile.
53
-.\"
54
-.TP
55
-.BI --short
56
-Just a short listing.
57
-.\"
58
-.TP
59
-.BI --version
60
-Show libhd version.
61
-.\"
62
-.TP
63
-.BI --<hwitem>
64
-Probe for the particular hardware item. Available hardware items are:
65
-.B all, bios, block, bluetooth, braille, bridge, camera, cdrom, chipcard, cpu,
66
-.B disk, dsl, dvb, fingerprint, floppy, framebuffer, gfxcard, hub, ide, isapnp, isdn,
67
-.B joystick, keyboard, memory, modem, monitor, mouse, netcard, network,
68
-.B partition, pci, pcmcia, pcmcia-ctrl, pppoe, printer, scanner, scsi, smp,
69
-.B sound, storage-ctrl, sys, tape, tv, usb, usb-ctrl, vbe, wlan,
70
-and
71
-.B zip.
72
-.\"
73
-.\"
74
-.SH FILES
75
-.B /var/lib/hardware/*
76
-.\"
77
-.\"
78
-.SH BUGS
79
-Not all hardware can be detected.
80
-.\"
81
-.\"
82
-.SH AUTHOR
83
-.nf
84
-Steffen Winterfeldt <snwint@suse.de> - hwinfo
85
-Michal Svec <msvec@suse.cz> - manual page
86
-.fi
87
-.\"
88
-.\"
89
-.SH "SEE ALSO"
90
-Documentation in /usr/share/doc/packages/hwinfo.
91
-.\"
92
-.\" EOF

+ 0
- 109
h/hwinfo/doc/libhd.doc View File

@@ -1,109 +0,0 @@
1
-/*! \mainpage libhd documentation
2
-
3
-<h2>Introduction</h2>
4
-
5
-libhd is a hardware detection lib.
6
-
7
-<h2>Changes</h2>
8
-
9
-\ref libhd_5_12
10
-
11
-<h2>Examples</h2>
12
-
13
-\ref example1
14
-
15
-\ref example2
16
-
17
-*/
18
-
19
-
20
-/*! \page examples Examples
21
-
22
-\ref example1
23
-
24
-\ref example2
25
-
26
-<hr>
27
-
28
-\subsection example1 Get list of SCSI controllers
29
-
30
-\include example1.c
31
-
32
-<hr>
33
-
34
-\subsection example2 Get primary display controller
35
-
36
-\include example2.c
37
-
38
-*/
39
-
40
-/*! \page changes Changes
41
-
42
-\ref libhd_5_12
43
-
44
-<hr>
45
-
46
-\subsection libhd_5_12 libhd-5.12
47
-
48
-<ul>
49
-
50
-  <li>changes in \ref hd_t
51
-
52
-    <ul>
53
-
54
-    <li>\ref hd_t::bus "bus" is now a struct, use \ref hd_t::bus "bus.id" instead.
55
-
56
-    <li>\ref hd_t::base_class "base_class" is now a struct, use \ref hd_t::base_class "base_class.id" instead.
57
-
58
-    <li>\ref hd_t::sub_class "sub_class" is now a struct, use \ref hd_t::sub_class "sub_class.id" instead.
59
-
60
-    <li>\ref hd_t::prog_if "prog_if" is now a struct, use \ref hd_t::prog_if "prog_if.id" instead.
61
-
62
-    <li>\ref hd_t::vendor "vendor" is a struct replacing vend and vend_name.
63
-      Use \ref hd_t::vendor "vendor.id" and \ref hd_t::vendor "vendor.name" now.
64
-
65
-    <li>\ref hd_t::device "device" is a struct replacing dev and dev_name.
66
-      Use \ref hd_t::device "device.id" and \ref hd_t::device "device.name" now.
67
-
68
-    <li>\ref hd_t::sub_vendor "sub_vendor" is a struct replacing sub_vend and sub_vend_name.
69
-      Use \ref hd_t::sub_vendor "sub_vendor.id" and \ref hd_t::sub_vendor "sub_vendor.name" now.
70
-
71
-    <li>\ref hd_t::sub_device "sub_device" is a struct replacing sub_dev and sub_dev_name.
72
-      Use \ref hd_t::sub_device "sub_device.id" and \ref hd_t::sub_device "sub_device.name" now.
73
-
74
-    <li>\ref hd_t::revision "revision" is a struct replacing rev and rev_name.
75
-      Use \ref hd_t::revision "revision.id" and \ref hd_t::revision "revision.name" now.
76
-
77
-    <li>\ref hd_t::compat_vendor "compat_vendor" is a struct replacing compat_vend.
78
-      Use \ref hd_t::compat_vendor "compat_vendor.id" now.
79
-
80
-    <li>\ref hd_t::compat_device "compat_device" is a struct replacing compat_dev.
81
-      Use \ref hd_t::compat_device "compat_device.id" now.
82
-
83
-    </ul>
84
-
85
-  <li>interface functions removed
86
-
87
-    <ul>
88
-
89
-    <li>hd_bus_name is gone. Use \ref hd_t::bus "bus.name" instead.
90
-
91
-    <li>hd_class_name is gone. Use \ref hd_t::base_class "base_class.name",
92
-      \ref hd_t::sub_class "sub_class.name" or \ref hd_t::prog_if "prog_if.name" instead.
93
-
94
-    <li>hd_vendor_name is gone. Use \ref hd_t::vendor "vendor.name" instead.
95
-
96
-    <li>hd_device_name is gone. Use \ref hd_t::device "device.name" instead.
97
-
98
-    <li>hd_sub_device_name is gone. Use \ref hd_t::sub_device "sub_device.name" instead.
99
-
100
-    <li>hd_find_device_by_name is gone.
101
-
102
-    </ul>
103
-
104
-</ul>
105
-
106
-<hr>
107
-
108
-*/
109
-

+ 0
- 898
h/hwinfo/doc/libhd.doxy View File

@@ -1,898 +0,0 @@
1
-# Doxyfile 1.2.13.1
2
-
3
-# This file describes the settings to be used by the documentation system
4
-# doxygen (www.doxygen.org) for a project
5
-#
6
-# All text after a hash (#) is considered a comment and will be ignored
7
-# The format is:
8
-#       TAG = value [value, ...]
9
-# For lists items can also be appended using:
10
-#       TAG += value [value, ...]
11
-# Values that contain spaces should be placed between quotes (" ")
12
-
13
-#---------------------------------------------------------------------------
14
-# General configuration options
15
-#---------------------------------------------------------------------------
16
-
17
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
18
-# by quotes) that should identify the project.
19
-
20
-PROJECT_NAME           = libhd
21
-
22
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. 
23
-# This could be handy for archiving the generated documentation or 
24
-# if some version control system is used.
25
-
26
-PROJECT_NUMBER         = 5.0
27
-
28
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
29
-# base path where the generated documentation will be put. 
30
-# If a relative path is entered, it will be relative to the location 
31
-# where doxygen was started. If left blank the current directory will be used.
32
-
33
-OUTPUT_DIRECTORY       = libhd
34
-
35
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all 
36
-# documentation generated by doxygen is written. Doxygen will use this 
37
-# information to generate all constant output in the proper language. 
38
-# The default language is English, other supported languages are: 
39
-# Brazilian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French, 
40
-# German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, 
41
-# Portuguese, Romanian, Russian, Slovak, Slovene, Spanish and Swedish.
42
-
43
-OUTPUT_LANGUAGE        = English
44
-
45
-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in 
46
-# documentation are documented, even if no documentation was available. 
47
-# Private class members and static file members will be hidden unless 
48
-# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
49
-
50
-EXTRACT_ALL            = YES
51
-
52
-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class 
53
-# will be included in the documentation.
54
-
55
-EXTRACT_PRIVATE        = NO
56
-
57
-# If the EXTRACT_STATIC tag is set to YES all static members of a file 
58
-# will be included in the documentation.
59
-
60
-EXTRACT_STATIC         = YES
61
-
62
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) 
63
-# defined locally in source files will be included in the documentation. 
64
-# If set to NO only classes defined in header files are included.
65
-
66
-EXTRACT_LOCAL_CLASSES  = YES
67
-
68
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all 
69
-# undocumented members of documented classes, files or namespaces. 
70
-# If set to NO (the default) these members will be included in the 
71
-# various overviews, but no documentation section is generated. 
72
-# This option has no effect if EXTRACT_ALL is enabled.
73
-
74
-HIDE_UNDOC_MEMBERS     = NO
75
-
76
-# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all 
77
-# undocumented classes that are normally visible in the class hierarchy. 
78
-# If set to NO (the default) these class will be included in the various 
79
-# overviews. This option has no effect if EXTRACT_ALL is enabled.
80
-
81
-HIDE_UNDOC_CLASSES     = NO
82
-
83
-# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 
84
-# include brief member descriptions after the members that are listed in 
85
-# the file and class documentation (similar to JavaDoc). 
86
-# Set to NO to disable this.
87
-
88
-BRIEF_MEMBER_DESC      = YES
89
-
90
-# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 
91
-# the brief description of a member or function before the detailed description. 
92
-# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the 
93
-# brief descriptions will be completely suppressed.
94
-
95
-REPEAT_BRIEF           = YES
96
-
97
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then 
98
-# Doxygen will generate a detailed section even if there is only a brief 
99
-# description.
100
-
101
-ALWAYS_DETAILED_SEC    = NO
102
-
103
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited 
104
-# members of a class in the documentation of that class as if those members were 
105
-# ordinary class members. Constructors, destructors and assignment operators of 
106
-# the base classes will not be shown.
107
-
108
-INLINE_INHERITED_MEMB  = NO
109
-
110
-# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full 
111
-# path before files name in the file list and in the header files. If set 
112
-# to NO the shortest path that makes the file name unique will be used.
113
-
114
-FULL_PATH_NAMES        = NO
115
-
116
-# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag 
117
-# can be used to strip a user defined part of the path. Stripping is 
118
-# only done if one of the specified strings matches the left-hand part of 
119
-# the path. It is allowed to use relative paths in the argument list.
120
-
121
-STRIP_FROM_PATH        = 
122
-
123
-# The INTERNAL_DOCS tag determines if documentation 
124
-# that is typed after a \internal command is included. If the tag is set 
125
-# to NO (the default) then the documentation will be excluded. 
126
-# Set it to YES to include the internal documentation.
127
-
128
-INTERNAL_DOCS          = NO
129
-
130
-# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct 
131
-# doxygen to hide any special comment blocks from generated source code 
132
-# fragments. Normal C and C++ comments will always remain visible.
133
-
134
-STRIP_CODE_COMMENTS    = YES
135
-
136
-# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate 
137
-# file names in lower case letters. If set to YES upper case letters are also 
138
-# allowed. This is useful if you have classes or files whose names only differ 
139
-# in case and if your file system supports case sensitive file names. Windows 
140
-# users are adviced to set this option to NO.
141
-
142
-CASE_SENSE_NAMES       = YES
143
-
144
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter 
145
-# (but less readable) file names. This can be useful is your file systems 
146
-# doesn't support long names like on DOS, Mac, or CD-ROM.
147
-
148
-SHORT_NAMES            = NO
149
-
150
-# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen 
151
-# will show members with their full class and namespace scopes in the 
152
-# documentation. If set to YES the scope will be hidden.
153
-
154
-HIDE_SCOPE_NAMES       = NO
155
-
156
-# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen 
157
-# will generate a verbatim copy of the header file for each class for 
158
-# which an include is specified. Set to NO to disable this.
159
-
160
-VERBATIM_HEADERS       = YES
161
-
162
-# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen 
163
-# will put list of the files that are included by a file in the documentation 
164
-# of that file.
165
-
166
-SHOW_INCLUDE_FILES     = YES
167
-
168
-# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen 
169
-# will interpret the first line (until the first dot) of a JavaDoc-style 
170
-# comment as the brief description. If set to NO, the JavaDoc 
171
-# comments  will behave just like the Qt-style comments (thus requiring an 
172
-# explict @brief command for a brief description.
173
-
174
-JAVADOC_AUTOBRIEF      = YES
175
-
176
-# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented 
177
-# member inherits the documentation from any documented member that it 
178
-# reimplements.
179
-
180
-INHERIT_DOCS           = YES
181
-
182
-# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] 
183
-# is inserted in the documentation for inline members.
184
-
185
-INLINE_INFO            = YES
186
-
187
-# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen 
188
-# will sort the (detailed) documentation of file and class members 
189
-# alphabetically by member name. If set to NO the members will appear in 
190
-# declaration order.
191
-
192
-SORT_MEMBER_DOCS       = YES
193
-
194
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC 
195
-# tag is set to YES, then doxygen will reuse the documentation of the first 
196
-# member in the group (if any) for the other members of the group. By default 
197
-# all members of a group must be documented explicitly.
198
-
199
-DISTRIBUTE_GROUP_DOC   = NO
200
-
201
-# The TAB_SIZE tag can be used to set the number of spaces in a tab. 
202
-# Doxygen uses this value to replace tabs by spaces in code fragments.
203
-
204
-TAB_SIZE               = 8
205
-
206
-# The GENERATE_TODOLIST tag can be used to enable (YES) or 
207
-# disable (NO) the todo list. This list is created by putting \todo 
208
-# commands in the documentation.
209
-
210
-GENERATE_TODOLIST      = YES
211
-
212
-# The GENERATE_TESTLIST tag can be used to enable (YES) or 
213
-# disable (NO) the test list. This list is created by putting \test 
214
-# commands in the documentation.
215
-
216
-GENERATE_TESTLIST      = YES
217
-
218
-# The GENERATE_BUGLIST tag can be used to enable (YES) or 
219
-# disable (NO) the bug list. This list is created by putting \bug 
220
-# commands in the documentation.
221
-
222
-GENERATE_BUGLIST       = YES
223
-
224
-# This tag can be used to specify a number of aliases that acts 
225
-# as commands in the documentation. An alias has the form "name=value". 
226
-# For example adding "sideeffect=\par Side Effects:\n" will allow you to 
227
-# put the command \sideeffect (or @sideeffect) in the documentation, which 
228
-# will result in a user defined paragraph with heading "Side Effects:". 
229
-# You can put \n's in the value part of an alias to insert newlines.
230
-
231
-ALIASES                = 
232
-
233
-# The ENABLED_SECTIONS tag can be used to enable conditional 
234
-# documentation sections, marked by \if sectionname ... \endif.
235
-
236
-ENABLED_SECTIONS       = 
237
-
238
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines 
239
-# the initial value of a variable or define consist of for it to appear in 
240
-# the documentation. If the initializer consists of more lines than specified 
241
-# here it will be hidden. Use a value of 0 to hide initializers completely. 
242
-# The appearance of the initializer of individual variables and defines in the 
243
-# documentation can be controlled using \showinitializer or \hideinitializer 
244
-# command in the documentation regardless of this setting.
245
-
246
-MAX_INITIALIZER_LINES  = 30
247
-
248
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources 
249
-# only. Doxygen will then generate output that is more tailored for C. 
250
-# For instance some of the names that are used will be different. The list 
251
-# of all members will be omitted, etc.
252
-
253
-OPTIMIZE_OUTPUT_FOR_C  = YES
254
-
255
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated 
256
-# at the bottom of the documentation of classes and structs. If set to YES the 
257
-# list will mention the files that were used to generate the documentation.
258
-
259
-SHOW_USED_FILES        = YES
260
-
261
-#---------------------------------------------------------------------------
262
-# configuration options related to warning and progress messages
263
-#---------------------------------------------------------------------------
264
-
265
-# The QUIET tag can be used to turn on/off the messages that are generated 
266
-# by doxygen. Possible values are YES and NO. If left blank NO is used.
267
-
268
-QUIET                  = NO
269
-
270
-# The WARNINGS tag can be used to turn on/off the warning messages that are 
271
-# generated by doxygen. Possible values are YES and NO. If left blank 
272
-# NO is used.
273
-
274
-WARNINGS               = YES
275
-
276
-# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings 
277
-# for undocumented members. If EXTRACT_ALL is set to YES then this flag will 
278
-# automatically be disabled.
279
-
280
-WARN_IF_UNDOCUMENTED   = YES
281
-
282
-# The WARN_FORMAT tag determines the format of the warning messages that 
283
-# doxygen can produce. The string should contain the $file, $line, and $text 
284
-# tags, which will be replaced by the file and line number from which the 
285
-# warning originated and the warning text.
286
-
287
-WARN_FORMAT            = 
288
-
289
-# The WARN_LOGFILE tag can be used to specify a file to which warning 
290
-# and error messages should be written. If left blank the output is written 
291
-# to stderr.
292
-
293
-WARN_LOGFILE           = 
294
-
295
-#---------------------------------------------------------------------------
296
-# configuration options related to the input files
297
-#---------------------------------------------------------------------------
298
-
299
-# The INPUT tag can be used to specify the files and/or directories that contain 
300
-# documented source files. You may enter file names like "myfile.cpp" or 
301
-# directories like "/usr/src/myproject". Separate the files or directories 
302
-# with spaces.
303
-
304
-INPUT                  = libhd.doc ../src
305
-
306
-# If the value of the INPUT tag contains directories, you can use the 
307
-# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
308
-# and *.h) to filter out the source-files in the directories. If left 
309
-# blank the following patterns are tested: 
310
-# *.c *.cc *.cxx *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp 
311
-# *.h++ *.idl
312
-
313
-FILE_PATTERNS          = *.c *.h
314
-
315
-# The RECURSIVE tag can be used to turn specify whether or not subdirectories 
316
-# should be searched for input files as well. Possible values are YES and NO. 
317
-# If left blank NO is used.
318
-
319
-RECURSIVE              = YES
320
-