Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hwinfo for openSUSE:Factory checked in at 2021-10-11 15:30:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hwinfo (Old) and /work/SRC/openSUSE:Factory/.hwinfo.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hwinfo" Mon Oct 11 15:30:34 2021 rev:181 rq:922570 version:21.77 Changes: -------- --- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes 2021-07-29 21:30:56.176846998 +0200 +++ /work/SRC/openSUSE:Factory/.hwinfo.new.2443/hwinfo.changes 2021-10-11 15:31:06.170795485 +0200 @@ -1,0 +2,11 @@ +Fri Oct 1 11:55:16 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/hwinfo#105 +- Use license file from gnu.org +- Fix spelling +- Add missing final newline +- Trim excess whitespace +- Simple maintenance improvements +- 21.77 + +-------------------------------------------------------------------- Old: ---- hwinfo-21.76.tar.xz New: ---- hwinfo-21.77.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hwinfo.spec ++++++ --- /var/tmp/diff_new_pack.T0kpdK/_old 2021-10-11 15:31:06.630796223 +0200 +++ /var/tmp/diff_new_pack.T0kpdK/_new 2021-10-11 15:31:06.634796229 +0200 @@ -37,7 +37,7 @@ License: GPL-2.0-or-later Group: Hardware/Other Url: http://gitorious.org/opensuse/hwinfo -Version: 21.76 +Version: 21.77 Release: 0 Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ hwinfo-21.76.tar.xz -> hwinfo-21.77.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/COPYING new/hwinfo-21.77/COPYING --- old/hwinfo-21.76/COPYING 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/COPYING 2021-10-01 13:55:16.000000000 +0200 @@ -1,14 +1,12 @@ ----------------------------------------------------------------------- + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -17,7 +15,7 @@ General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not @@ -57,8 +55,8 @@ The precise terms and conditions for copying, distribution and modification follow. - - GNU GENERAL PUBLIC LICENSE + + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains @@ -112,7 +110,7 @@ License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in @@ -170,7 +168,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is @@ -227,7 +225,7 @@ This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License @@ -257,7 +255,7 @@ of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -279,9 +277,9 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it @@ -293,7 +291,7 @@ the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> - Copyright (C) 19yy <name of author> + Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -305,16 +303,16 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. @@ -337,5 +335,5 @@ This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/README.md new/hwinfo-21.77/README.md --- old/hwinfo-21.76/README.md 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/README.md 2021-10-01 13:55:16.000000000 +0200 @@ -8,7 +8,7 @@ This project provides a hardware probing library `libhd.so` and a command line tool `hwinfo` using it. A major project using this library is [YaST](https://yast.github.io), the SUSE installation tool. -To give you an idea what kind of information it provides, here's the output it gives when asked about the graphcs card: +To give you an idea what kind of information it provides, here's the output it gives when asked about the graphics card: ```sh # hwinfo --gfxcard diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/VERSION new/hwinfo-21.77/VERSION --- old/hwinfo-21.76/VERSION 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/VERSION 2021-10-01 13:55:16.000000000 +0200 @@ -1 +1 @@ -21.76 +21.77 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/changelog new/hwinfo-21.77/changelog --- old/hwinfo-21.76/changelog 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/changelog 2021-10-01 13:55:16.000000000 +0200 @@ -1,3 +1,11 @@ +2021-10-01: 21.77 + - merge gh#openSUSE/hwinfo#105 + - Use license file from gnu.org + - Fix spelling + - Add missing final newline + - Trim excess whitespace + - Simple maintenance improvements + 2021-07-23: 21.76 - merge gh#openSUSE/hwinfo#104 - Fix timezone issue in SOURCE_DATE_EPOCH code diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/doc/hwinfo.8 new/hwinfo-21.77/doc/hwinfo.8 --- old/hwinfo-21.76/doc/hwinfo.8 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/doc/hwinfo.8 2021-10-01 13:55:16.000000000 +0200 @@ -23,7 +23,7 @@ Probe for a particular \fIHARDWARE_ITEM\fR. Available hardware items are: all, arch, bios, block, bluetooth, braille, bridge, camera, cdrom, chipcard, -cpu, disk, dsl, dvb, fingerprint, floppy, framebuffer, gfxcard, hub, ide, +cpu, disk, dsl, dvb, fingerprint, floppy, framebuffer, gfxcard, hub, ide, isapnp, isdn, joystick, keyboard, memory, mmc-ctrl, modem, monitor, mouse, netcard, network, partition, pci, pcmcia, pcmcia-ctrl, pppoe, printer, redasd, reallyall, scanner, scsi, smp, sound, storage-ctrl, sys, tape, tv, uml, usb, @@ -33,7 +33,7 @@ .TP \fB--short\fR Show only a summary. Use this option in addition to a hardware probing -option. +option. .TP \fB--listmd\fR Normally hwinfo does not report RAID devices. Add this option to see them. @@ -81,8 +81,8 @@ .\" .SH ENVIRONMENT \fBhwprobe\fR can hold a comma-separated list of probing flags preceded by '+' -or '-' to be turned on or off. To get a complete list of supported flags, -run 'hwinfo -all' (note: not '--all') and look at the top of the output. +or '-' to be turned on or off. To get a complete list of supported flags, +run 'hwinfo -all' (note: not '--all') and look at the top of the output. hwinfo also looks at /proc/cmdline for a \fBhwprobe\fR option. .\" @@ -92,7 +92,7 @@ hwinfo --disk .TP - just an overview -hwinfo --short --block +hwinfo --short --block .TP - show a particular disk hwinfo --disk --only /dev/sdb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/hwinfo.c new/hwinfo-21.77/hwinfo.c --- old/hwinfo-21.76/hwinfo.c 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/hwinfo.c 2021-10-01 13:55:16.000000000 +0200 @@ -126,7 +126,7 @@ { "storage-ctrl", 0, NULL, 1000 + hw_storage_ctrl }, { "storage_ctrl", 0, NULL, 1000 + hw_storage_ctrl }, { "netcard", 0, NULL, 1000 + hw_network_ctrl }, - { "netcards", 0, NULL, 1000 + hw_network_ctrl }, // outdated, just kept for comaptibility + { "netcards", 0, NULL, 1000 + hw_network_ctrl }, // outdated, just kept for compatibility { "network-ctrl", 0, NULL, 1000 + hw_network_ctrl }, { "network_ctrl", 0, NULL, 1000 + hw_network_ctrl }, { "printer", 0, NULL, 1000 + hw_printer }, @@ -193,7 +193,7 @@ FILE *f = NULL; int i; unsigned first_probe = 1; - + hd_data = calloc(1, sizeof *hd_data); hd_data->progress = isatty(1) ? progress2 : NULL; hd_data->debug=~(HD_DEB_DRIVER_INFO | HD_DEB_HDDB); @@ -831,14 +831,14 @@ " Note that you also have to specify --<HARDWARE_ITEM> to trigger\n" " any device probing.\n" " --save-config SPEC\n" - " Store config for a particular device below /var/lib/hardware.\n" + " Store config for a particular device below /var/lib/hardware.\n" " SPEC can be a device name, an UDI, or 'all'. This option must be\n" " given in addition to a hardware probing option.\n" " --show-config UDI\n" " Show saved config data for a particular device.\n" " --map\n" - " If disk names have changed (e.g. after a kernel update) this\n" - " prints a list of disk name mappings. Note that you must have\n" + " If disk names have changed (e.g. after a kernel update) this\n" + " prints a list of disk name mappings. Note that you must have\n" " used --save-config at some point before for this can work.\n" " --debug N\n" " Set debug level to N. The debug info is shown only in the log\n" @@ -985,7 +985,7 @@ perror(INSTALL_INF); return 1; } - + for(sl = sl0; sl; sl = sl->next) { if( strstr(sl->str, "Braille:") != sl->str && @@ -997,7 +997,7 @@ fprintf(f, "Braille: %s\n", braille); fprintf(f, "Brailledevice: %s\n", braille_dev); - + fclose(f); return 0; @@ -1125,7 +1125,7 @@ if(*display) return display; - if(c == 0) c = '4'; /* default to XF 4, if nothing else is known */ + if(c == 0) c = '4'; /* default to XF 4, if nothing else is known */ xf86_ver[0] = c; xf86_ver[1] = 0; @@ -1181,7 +1181,7 @@ perror(INSTALL_INF); return 1; } - + for(sl = sl0; sl; sl = sl->next) { if( strstr(sl->str, "Framebuffer:") != sl->str && @@ -1896,4 +1896,3 @@ return err; } - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/hwscan.c new/hwinfo-21.77/hwscan.c --- old/hwinfo-21.76/hwscan.c 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/hwscan.c 2021-10-01 13:55:16.000000000 +0200 @@ -336,7 +336,7 @@ ") %s\n", hd1->model ); - + } if(err) break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/hwscand.c new/hwinfo-21.77/hwscand.c --- old/hwinfo-21.76/hwscand.c 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/hwscand.c 2021-10-01 13:55:16.000000000 +0200 @@ -132,16 +132,16 @@ last = time(0L); // config calls commands[lines] = strdup(p+1); - lines++; + lines++; } - if ( p[0] == 'A' && dev_nr < BUFFERS ){ + if ( p[0] == 'A' && dev_nr < BUFFERS ){ // add scan devices devices[dev_nr] = strdup(p+1); dev_last_state[dev_nr] = 0; dev_counter[dev_nr] = 0; dev_nr++; } - if ( p[0] == 'R' && dev_nr < BUFFERS ){ + if ( p[0] == 'R' && dev_nr < BUFFERS ){ for ( i=0; i<dev_nr; i++ ){ if ( !strcmp(p+1, devices[i]) ){ int j; @@ -186,7 +186,7 @@ } } } - + if ( last && (last+TIMEOUT <= time(0L)) ){ char buf[MESSAGE_BUFFER * NR_COMMANDS]; int run_really = 0; @@ -233,7 +233,7 @@ printf("RUN %s\n", buf); #endif system(buf); -#if DEBUG +#if DEBUG printf("RUN quit %s\n", buf); #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.76/specifications.md new/hwinfo-21.77/specifications.md --- old/hwinfo-21.76/specifications.md 2021-07-23 15:26:49.000000000 +0200 +++ new/hwinfo-21.77/specifications.md 2021-10-01 13:55:16.000000000 +0200 @@ -1,4 +1,4 @@ -# Links to external technical documentaion +# Links to external technical documentation ## System Management BIOS (SMBIOS)