[-]
[+]
|
Added |
lshw.changes
|
|
[-]
[+]
|
Added |
lshw.spec
^
|
|
[-]
[+]
|
Added |
lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch
^
|
@@ -0,0 +1,13 @@
+Import buffer overflow fix from lshw-development : svn commit 2528.
+Index: src/core/fat.cc
+===================================================================
+--- a/src/core/fat.cc (révision 2527)
++++ b/src/core/fat.cc (révision 2528)
+@@ -81,6 +81,7 @@
+ uint8_t dummy2[164];
+ uint8_t pmagic[2];
+ } __attribute__((__packed__)) fat32;
++ char sector[512]; // to make sure the whole struct is at least 512 bytes long
+ } __attribute__((__packed__)) type;
+ } __attribute__((__packed__));
+
|
[-]
[+]
|
Added |
lshw-malloc.diff
^
|
@@ -0,0 +1,11 @@
+--- src/core/osutils.h.orig 2008-05-14 14:20:22.000000000 +0200
++++ src/core/osutils.h 2008-05-14 14:20:30.000000000 +0200
+@@ -5,7 +5,7 @@
+ #include <vector>
+ #include <sys/types.h>
+ #include <stdint.h>
+-
++#include <malloc.h>
+ bool pushd(const std::string & dir = "");
+ std::string popd();
+ std::string pwd();
|
[-]
[+]
|
Added |
lshw-scsi-scan.patch
^
|
@@ -0,0 +1,100 @@
+Index: packages/lshw/development/src/core/scsi.cc
+===================================================================
+--- a/packages/lshw/development/src/core/scsi.cc
++++ b/packages/lshw/development/src/core/scsi.cc
+@@ -30,5 +30,5 @@
+ __ID("@(#) $Id$");
+
+-#define SG_X "/dev/sg%d"
++#define SG_X "/dev/sg*"
+ #define SG_MAJOR 21
+
+@@ -654,8 +654,7 @@
+
+
+-static bool scan_sg(int sg,
+-hwNode & n)
+-{
+- char buffer[20];
++static void scan_sg(hwNode & n)
++{
++ int sg;
+ int fd = -1;
+ My_sg_scsi_id m_id;
+@@ -666,14 +665,22 @@
+ int emulated = 0;
+ bool ghostdeventry = false;
+-
+- snprintf(buffer, sizeof(buffer), SG_X, sg);
+-
+- ghostdeventry = !exists(buffer);
+-
+- if(ghostdeventry) mknod(buffer, (S_IFCHR | S_IREAD), MKDEV(SG_MAJOR, sg));
+- fd = open(buffer, OPEN_FLAG | O_NONBLOCK);
+- if(ghostdeventry) unlink(buffer);
++ size_t j;
++ glob_t entries;
++
++ if(glob(SG_X, 0, NULL, &entries) == 0)
++ {
++ for(j=0; j < entries.gl_pathc; j++)
++ {
++ sg = strtol(strpbrk(entries.gl_pathv[j], "0123456789"), NULL, 10);
++
++ ghostdeventry = !exists(entries.gl_pathv[j]);
++
++ if(ghostdeventry)
++ mknod(entries.gl_pathv[j], (S_IFCHR | S_IREAD), MKDEV(SG_MAJOR, sg));
++ fd = open(entries.gl_pathv[j], OPEN_FLAG | O_NONBLOCK);
++ if(ghostdeventry)
++ unlink(entries.gl_pathv[j]);
+ if (fd < 0)
+- return false;
++ continue;
+
+ memset(&m_id, 0, sizeof(m_id));
+@@ -681,5 +688,5 @@
+ {
+ close(fd);
+- return true; // we failed to get info but still hope we can continue
++ continue; // we failed to get info but still hope we can continue
+ }
+
+@@ -774,9 +781,6 @@
+ parent = n.addChild(hwNode("scsi", hw::storage));
+
+- if (!parent)
+- {
+- close(fd);
+- return true;
+- }
++ if (parent)
++ {
+
+ if(parent->getBusInfo() == "")
+@@ -790,8 +794,10 @@
+ }
+ parent->addChild(device);
++ }
+
+ close(fd);
+-
+- return true;
++ }
++ globfree(&entries);
++ }
+ }
+
+@@ -890,10 +896,7 @@
+ bool scan_scsi(hwNode & n)
+ {
+- int i = 0;
+-
+ scan_devices();
+
+- while (scan_sg(i, n))
+- i++;
++ scan_sg(n);
+
+ scan_hosts(n);
+
|
[-]
[+]
|
Added |
lshw_02.16-1.diff.gz
^
|
@@ -0,0 +1,1467 @@
+--- lshw-02.16.orig/debian/lshw-gtk.manpages
++++ lshw-02.16/debian/lshw-gtk.manpages
+@@ -0,0 +1 @@
++debian/patches/lshw-gtk.1
+--- lshw-02.16.orig/debian/control
++++ lshw-02.16/debian/control
+@@ -0,0 +1,32 @@
++Source: lshw
++Section: utils
++Priority: optional
++Maintainer: Ghe Rivero <ghe@debian.org>
++Build-Depends: debhelper (>> 6.0.0), libgtk2.0-dev, quilt, libsqlite3-dev
++Standards-Version: 3.9.1
++
++Package: lshw
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Recommends: pciutils, usbutils
++Description: information about hardware configuration
++ A small tool to provide detailed information on the hardware
++ configuration of the machine. It can report exact memory
++ configuration, firmware version, mainboard configuration, CPU version
++ and speed, cache configuration, bus speed, etc. on DMI-capable x86
++ systems, on some PowerPC machines (PowerMac G4 is known to work) and AMD64.
++ .
++ Information can be output in plain text, HTML or XML.
++
++Package: lshw-gtk
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Recommends: pciutils, usbutils
++Description: graphical information about hardware configuration
++ A small tool to provide detailed information on the hardware
++ configuration of the machine. It can report exact memory
++ configuration, firmware version, mainboard configuration, CPU version
++ and speed, cache configuration, bus speed, etc. on DMI-capable x86
++ systems, on some PowerPC machines (PowerMac G4 is known to work) and AMD64.
++ .
++ This package provides lshw-gtk (the GTK+ version)
+--- lshw-02.16.orig/debian/watch
++++ lshw-02.16/debian/watch
+@@ -0,0 +1,2 @@
++version=3
++http://ezix.org/software/files/ lshw-B.([\d.]*).tar.gz debian uupdate
+\ No newline at end of file
+--- lshw-02.16.orig/debian/changelog
++++ lshw-02.16/debian/changelog
+@@ -0,0 +1,251 @@
++lshw (02.16-1) unstable; urgency=low
++
++ * New upstream release
++
++ -- Ghe Rivero <ghe@debian.org> Sat, 30 Jun 2012 10:15:18 +0200
++
++lshw (02.15-2) unstable; urgency=low
++
++ * Relaxed depends on pciutils and usbutils. Closes: #540119
++
++ -- Ghe Rivero <ghe.rivero@gmail.com> Sun, 18 Dec 2011 13:26:10 +0100
++
++lshw (02.15-1) unstable; urgency=low
++
++ * [bbfc08f] Imported Upstream version 02.15
++ * [927e643] Updated debian/watch file
++ * [7ce089a] Clean some patches
++ * [2ef1ea7] Added libsqlite3-dev as build-depend
++ * [ea1f7f5] Bumped policy version
++ * [2254715] New upstream release fixed FTBFS gcc4.5 (Closes: #565031)
++ * [abac6bb] Added Spanish translation to .desktop.
++ Thanks to Javier Fernández-Sanguino Peña (JFS) (Closes: #537904)
++ * [ef94e6e] Added gksu launcher to .desktop.
++ Thanks to Javier Fernández-Sanguino Peña (JFS) (Closes: #537903)
++ * [ed92c99] Lintian clean again
++ * [5e64767] Fixed manpage
++
++ -- Ghe Rivero <ghe@debian.org> Thu, 17 Feb 2011 10:10:08 +0100
++
++lshw (02.14-1) unstable; urgency=low
++
++ * New upstream release
++ * Some lintian clean
++ * Standars Version 3.8.2
++
++ -- Ghe Rivero <ghe@debian.org> Sat, 25 Jul 2009 15:30:52 +0200
++
++lshw (02.13-2) unstable; urgency=low
++
++ * Added patch sparc: FTBFS in sparc arch. (Closes: #480628)
++
++ -- Ghe Rivero <ghe@debian.org> Sun, 11 May 2008 16:09:55 +0200
++
++lshw (02.13-1) unstable; urgency=low
++
++ * New upstream release
++ - Fixe lshw: no output for memory (Closes: #456896)
++ * Migrated dpatch to quilt
++ * Clean lintian (no more copyright-without-copyright-notice)
++
++ -- Ghe Rivero <ghe@debian.org> Sat, 10 May 2008 15:36:31 +0200
++
++lshw (02.12.01-4) unstable; urgency=low
++
++ * DudesConf2 release
++ * Added patch 09-sysfs-hang
++ * Added patch 10-privacy
++
++ -- Ghe Rivero <ghe@debian.org> Sat, 03 May 2008 12:37:32 +0200
++
++lshw (02.12.01-3) unstable; urgency=low
++
++ * Now really updated Debian-Policy Standards-Version to 3.7.3
++ * watch file working again. (Closes: #453535)
++ * lintian cleans:
++ - debian-rules-ignores-make-clean-error
++ - debian-rules-sets-DH_COMPAT
++ - dpatch-missing-description
++
++ -- Ghe Rivero <ghe@debian.org> Sat, 2 Feb 2008 18:04:41 +0100
++
++lshw (02.12.01-2) unstable; urgency=low
++
++ * More fixes for gcc4.3. Closes: #462000
++ * Updated Debian-Policy Standards-Version to 3.7.3
++
++ -- Ghe Rivero <ghe@debian.org> Wed, 23 Jan 2008 14:20:46 +0100
++
++lshw (02.12.01-1) unstable; urgency=low
++
++ * New upstream release
++ * More fixes for gcc4.3 (Ubuntu Patch). Closes: #441569
++ * Some Lintian cleans:
++ Remove homepage from page description
++ * Static man-page (no build-depends on docbook-utils)
++ * Moved icon menu to /usr/share/pixmaps
++ * Added /usr/share/pixmpas and /usr/share/applications to lshw-gtk.dir
++
++ -- Ghe Rivero <ghe@debian.org> Wed, 26 Dec 2007 13:22:07 +0100
++
++lshw (02.11.01-2) unstable; urgency=low
++
++ * s/gtk-lshw/lshw-gtk/g Closes: #443771
++ * Some lintian cleans (new menu Applications section)
++
++ -- Ghe Rivero <ghe@debian.org> Mon, 8 Oct 2007 17:29:45 +0200
++
++lshw (02.11.01-1) unstable; urgency=low
++
++ * New upstream release
++ * Fixed ftbfs with g++-4.3/gcc-snapshot (07-gcc43.dpath). Closes: #441569
++ * Explain why lshw -X fail in non X environment. Closes: #434644
++
++ -- Ghe Rivero <ghe@debian.org> Wed, 12 Sep 2007 09:54:48 +0200
++
++lshw (02.10-4) unstable; urgency=low
++
++ * Added Upstream Homepage to package description. Closes: #426698
++ * Updated Debian-Policy Standards-Version to 3.7.2
++
++ -- Ghe Rivero <ghe@debian.org> Wed, 30 May 2007 13:02:26 +0200
++
++lshw (02.10-3) unstable; urgency=low
++
++ * New URL at debian/copyright. Closes: #405452
++
++ -- Ghe Rivero <ghe@debian.org> Mon, 28 May 2007 18:09:22 +0200
++
++lshw (02.10-2) unstable; urgency=low
++
++ * New upstream release. Closes: #413800
++ * New Maintainer mail address in control file
++
++ -- Ghe Rivero <ghe@debian.org> Fri, 25 May 2007 11:02:42 +0200
++
++lshw (02.10-1) unstable; urgency=low
++
++ * New upstream release. Closes: #405452
++ * Remove lshw-common package. manuf.txt and oui.txt aren't used at all,
++ and we now depend on pciutils and usbutils for pci.ids and usb.ids
++ respectively (ubuntu patch)
++ * New URL at debian/copyright. Closes: #405452
++ * Fix FTBFS with GCC 4.3: missing #includes. Closes: #417381
++
++ -- Ghe Rivero <ghe@debian.org> Thu, 03 May 2007 20:02:07 +0200
++
++lshw (02.08.01-1) unstable; urgency=low
++
++ * New upstream release. Closes: #360182
++ * Added AMD64 to the known platforms that works properly. Closes: #349619
++
++ -- Ghe Rivero <ghe@upsa.es> Thu, 20 Jul 2006 00:35:07 +0200
++
++lshw (02.06-3) unstable; urgency=low
++
++ * "See you in GUA, Debconf-es2" Release
++ * Change CXX flags on alpha, so no more segfaults.
++ Closes: #243752 and similar not reported to BTS.
++ * Small fix on code for alpha (dpatch 06-alpha)
++ * gxx transition
++ * Dedicated to Endesa to switch off the electricity from my university
|
|
Added |
lshw-B.02.16.tar.bz2
^
|
|
Added |
lshw-B.02.17.tar.bz2
^
|
[-]
[+]
|
Added |
lshw_02.16-1.dsc
^
|
@@ -0,0 +1,31 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+Format: 1.0
+Source: lshw
+Binary: lshw, lshw-gtk
+Architecture: any
+Version: 02.16-1
+Maintainer: Ghe Rivero <ghe@debian.org>
+Standards-Version: 3.9.1
+Build-Depends: debhelper (>> 6.0.0), libgtk2.0-dev, quilt, libsqlite3-dev
+Package-List:
+ lshw deb utils optional
+ lshw-gtk deb utils optional
+Checksums-Sha1:
+ d2359c79c28568d8b717060314422542b7fd813c 1845891 lshw_02.16.orig.tar.gz
+ 7f0abec180b84b34418110afecf86da63e09b369 13263 lshw_02.16-1.diff.gz
+Checksums-Sha256:
+ 809882429555b93259785cc261dbff04c16c93d064db5f445a51945bc47157cb 1845891 lshw_02.16.orig.tar.gz
+ 57c9b3ff7bac1afa9fa9a72f9e507fcc352f17ca6f20822d0418e2bc95868179 13263 lshw_02.16-1.diff.gz
+Files:
+ 67479167add605e8f001097c30e96d0d 1845891 lshw_02.16.orig.tar.gz
+ 61c4b70d7805ddfbb398b59d8b98a4f3 13263 lshw_02.16-1.diff.gz
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+iEYEARECAAYFAk/uuS4ACgkQZttaNibwIPchtACg3KeR+RWI8WflvcYJIT6UQEcY
+ZdkAn1IWdiGFgfPWq7WVVu2Yt2meAJzT
+=ZhR4
+-----END PGP SIGNATURE-----
|
|
Added |
lshw_02.16.orig.tar.gz
^
|