Hello community, here is the log from the commit of package lsvpd for openSUSE:Factory checked in at 2020-11-11 20:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lsvpd (Old) and /work/SRC/openSUSE:Factory/.lsvpd.new.26437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lsvpd" Wed Nov 11 20:48:26 2020 rev:54 rq:847896 version:1.7.11 Changes: -------- --- /work/SRC/openSUSE:Factory/lsvpd/lsvpd.changes 2020-05-13 22:56:20.247038879 +0200 +++ /work/SRC/openSUSE:Factory/.lsvpd.new.26437/lsvpd.changes 2020-11-11 20:48:28.991764800 +0100 @@ -1,0 +2,10 @@ +Thu Nov 5 11:14:16 UTC 2020 - Michal Suchanek <[email protected]> + +- Update to upstream version 1.7.11 (jsc#SLE-12938). + * lsvpd: Dont byteswap the CD field in Description + * nvme: Update config file with f1h Logpage version 0002 + * lsvpd: Add version and debug options to man page + - Drop upstreamed patch bsc1163284-Add_version_and_debug_options_to_man_page.patch + - Update project URL + +------------------------------------------------------------------- Old: ---- bsc1163284-Add_version_and_debug_options_to_man_page.patch lsvpd-1.7.10.tar.gz New: ---- lsvpd-1.7.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lsvpd.spec ++++++ --- /var/tmp/diff_new_pack.JOjrwe/_old 2020-11-11 20:48:29.499765277 +0100 +++ /var/tmp/diff_new_pack.JOjrwe/_new 2020-11-11 20:48:29.503765281 +0100 @@ -17,16 +17,17 @@ Name: lsvpd -Version: 1.7.10 +Version: 1.7.11 Release: 0 Summary: VPD Hardware Inventory Utilities for Linux License: GPL-2.0-or-later Group: System/Monitoring -URL: http://sourceforge.net/projects/linux-diag/ -Source0: http://sourceforge.net/projects/linux-diag/files/lsvpd-new/%{version}/%{name}-%{version}.tar.gz -Patch0: bsc1163284-Add_version_and_debug_options_to_man_page.patch +URL: https://github.com/power-ras/lsvpd +Source0: https://github.com/power-ras/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: librtas-devel +BuildRequires: libtool BuildRequires: libvpd2-devel BuildRequires: sg3_utils-devel BuildRequires: zlib-devel @@ -47,11 +48,11 @@ %prep %setup -q -%patch0 -p1 %build export CFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"%{_datadir}/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"%{_datadir}/usb.ids\"'" export CXXFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"%{_datadir}/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"%{_datadir}/usb.ids\"'" +sh bootstrap.sh %configure make %{?_smp_mflags} chmod 644 README* COPYING NEWS @@ -82,7 +83,8 @@ %files %defattr(-,root,root) -%doc README COPYING NEWS +%license COPYING +%doc README NEWS %dir %{_sysconfdir}/lsvpd %attr (644,root,root) %config %{_sysconfdir}/lsvpd/* /sbin/* ++++++ lsvpd-1.7.10.tar.gz -> lsvpd-1.7.11.tar.gz ++++++ ++++ 45203 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/.gitignore new/lsvpd-1.7.11/.gitignore --- old/lsvpd-1.7.10/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/lsvpd-1.7.11/.gitignore 2020-04-06 10:37:16.000000000 +0200 @@ -0,0 +1,91 @@ +# +# NOTE! Don't add files that are generated in specific +# subdirectories here. Add them in the ".gitignore" file +# in that subdirectory instead. +# +# NOTE! Please use 'git ls-files -i --exclude-standard' +# command after changing this file, to see if there are +# any tracked files which get ignored after the change. +# +# Normal rules +# +.* +*.o +*.o.* +*.a +*.s +*.so +*.so.dbg +*.mod.c +*.i +*.order +*.gz +*.bz2 +*.lzma +*.zip +*.lzo +*.patch +*.gcno + +# +# Build files +# + +/aclocal.m4 +/autom4te.cache/ +/config.guess +/config.log +/config.status +/config.sub +/configure +/depcomp +/install-sh +/libtool +/missing +/lt-main.sh +/src/include/config.h +/src/include/config.h.in +/Makefile +/Makefile.in +/lsvpd.spec + +# +# git files that we don't want to ignore even it they are dot-files +# +!.gitignore +!.travis.yml + +# stgit generated dirs +patches-* + +# quilt's files +patches +series + +# cscope files +cscope.* +ncscope.* + +# ctags +tags +TAGS + +# gnu global files +GPATH +GRTAGS +GSYMS +GTAGS + +# Executables +/lsvpd +/lsmcode +/lsvio +/lscfg +/vpdupdate + +# Man pages +/docs/*.gz + +*.orig +*~ +\#*# diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/.travis.yml new/lsvpd-1.7.11/.travis.yml --- old/lsvpd-1.7.10/.travis.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/lsvpd-1.7.11/.travis.yml 2020-04-06 10:37:16.000000000 +0200 @@ -0,0 +1,15 @@ +language: cpp + +os: linux-ppc64le + +sudo: required + +services: docker + +env: + matrix: + - RUN_ON_CONTAINER=fedora-rawhide + +script: + - docker build --pull -t ${RUN_ON_CONTAINER} -f lsvpd-ci/Dockerfile-${RUN_ON_CONTAINER} . && + docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./lsvpd-ci/build-${RUN_ON_CONTAINER}.sh"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/ChangeLog new/lsvpd-1.7.11/ChangeLog --- old/lsvpd-1.7.10/ChangeLog 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/ChangeLog 2020-04-06 10:37:16.000000000 +0200 @@ -1,3 +1,7 @@ +1.7.11: Vasant Hegde <[email protected]> - Mon Apr 06 2020 +- Add Travis build support +- Add NVME f1h log page version 0002 support + 1.7.10: Vasant Hegde <[email protected]> - Thu Oct 24 2019 - vpdupdate: Delete vpd.db when program gets aborted - Enable NVME f1h log page VPD information parsing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/README new/lsvpd-1.7.11/README --- old/lsvpd-1.7.10/README 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/README 2020-04-06 10:37:16.000000000 +0200 @@ -10,12 +10,7 @@ Source: ------- -http://linux-diag.sf.net/lsvpd.html - -Mailing list: -------------- [email protected] -Info/subscribe : https://lists.sourceforge.net/lists/listinfo/linux-diag-devel +https://github.com/power-ras/lsvpd License: -------- @@ -63,24 +58,32 @@ $ rpmbuild -ba [--target=ppc/ppc64] <path-to-spec-file> +Reporting issue: +---------------- +Create a GitHub issue if you have any request for change, assuming one does +not already exist. Clearly describe the issue including steps to reproduce +if it is a bug. + +How to contribute: +------------------ +If you plan to submit the changes, submit a pull request based on top of +master. Include a descriptive commit message. Changes contributed should +focus on a single issue at a time to the extent possible. + Hacking: -------- -All patches should be sent to the mailing list with linux-kernel style -'Signed-Off-By'. The following git commands are your friends: -- git commit -s -- git format-patch +The following workflow should work for you: +- Fork the repository on GitHub into your account. +- Create a topic branch from where you want to base your work. + This is usually the master branch. +- Make sure you have added the necessary tests for your changes and make sure + all tests pass. +- Push your changes to the topic branch in your fork of the repository. +- Include a descriptive commit message, and each commit should have + linux-kernel style 'Signed-Off-By'. +- Submit a pull request to this repository. You probably want to read the linux kernel Documentation/SubmittingPatches as much of it applies to lsvpd. -Submitting patch: ------------------ -We use same mailing list for all Power Linux VPD and diagnostics projects -(ppc64-diag, libvpd, lsvpd, [lib]servicelog). It is common convention to -prefix your subject line with project name. This lets maintainer and other -developers more easily identify patches from patches targeted to other -projects. For example, - - Subject: [lsvpd PATCH 01/10] Summary phrase - -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/config/config.h.in new/lsvpd-1.7.11/config/config.h.in --- old/lsvpd-1.7.10/config/config.h.in 2019-10-24 12:31:23.000000000 +0200 +++ new/lsvpd-1.7.11/config/config.h.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,185 +0,0 @@ -/* config/config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if the `closedir' function returns void instead of `int'. */ -#undef CLOSEDIR_VOID - -/* Define to 1 if you have the <arpa/inet.h> header file. */ -#undef HAVE_ARPA_INET_H - -/* Define to 1 if you have the <ctype.h> header file. */ -#undef HAVE_CTYPE_H - -/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. - */ -#undef HAVE_DIRENT_H - -/* Define to 1 if you have the <dlfcn.h> header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the `rtas' library (-lrtas). */ -#undef HAVE_LIBRTAS - -/* Define to 1 if you have the `sqlite3' library (-lsqlite3). */ -#undef HAVE_LIBSQLITE3 - -/* Define to 1 if you have the `vpd' library (-lvpd). */ -#undef HAVE_LIBVPD - -/* Define to 1 if `lstat' has the bug that it succeeds when given the - zero-length file name argument. */ -#undef HAVE_LSTAT_EMPTY_STRING_BUG - -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ -#undef HAVE_MALLOC - -/* Define to 1 if you have the `memmove' function. */ -#undef HAVE_MEMMOVE - -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `memset' function. */ -#undef HAVE_MEMSET - -/* Define to 1 if you have the `mkdir' function. */ -#undef HAVE_MKDIR - -/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - -/* Define to 1 if you have the <regex.h> header file. */ -#undef HAVE_REGEX_H - -/* Define to 1 if you have the `socket' function. */ -#undef HAVE_SOCKET - -/* Define to 1 if `stat' has the bug that it succeeds when given the - zero-length file name argument. */ -#undef HAVE_STAT_EMPTY_STRING_BUG - -/* Define to 1 if stdbool.h conforms to C99. */ -#undef HAVE_STDBOOL_H - -/* Define to 1 if you have the <stdint.h> header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the `strchr' function. */ -#undef HAVE_STRCHR - -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - -/* Define to 1 if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strndup' function. */ -#undef HAVE_STRNDUP - -/* Define to 1 if you have the `strtol' function. */ -#undef HAVE_STRTOL - -/* Define to 1 if you have the <syslog.h> header file. */ -#undef HAVE_SYSLOG_H - -/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - -/* Define to 1 if you have the <sys/ioctl.h> header file. */ -#undef HAVE_SYS_IOCTL_H - -/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H - -/* Define to 1 if you have the <sys/param.h> header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the `uname' function. */ -#undef HAVE_UNAME - -/* Define to 1 if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if the system has the type `_Bool'. */ -#undef HAVE__BOOL - -/* Define to 1 if `lstat' dereferences a symlink specified with a trailing - slash. */ -#undef LSTAT_FOLLOWS_SLASHED_SYMLINK - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - -/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>. - */ -#undef MAJOR_IN_MKDEV - -/* Define to 1 if `major', `minor', and `makedev' are declared in - <sysmacros.h>. */ -#undef MAJOR_IN_SYSMACROS - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Version number of package */ -#undef VERSION - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif - -/* Define to rpl_malloc if the replacement function should be used. */ -#undef malloc - -/* Define to `unsigned int' if <sys/types.h> does not define. */ -#undef size_t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/config/missing new/lsvpd-1.7.11/config/missing --- old/lsvpd-1.7.10/config/missing 2019-10-24 12:31:24.000000000 +0200 +++ new/lsvpd-1.7.11/config/missing 1970-01-01 01:00:00.000000000 +0100 @@ -1,215 +0,0 @@ -#! /bin/sh -# Common wrapper for a few potentially missing GNU programs. - -scriptversion=2012-06-26.16; # UTC - -# Copyright (C) 1996-2013 Free Software Foundation, Inc. -# Originally written by Fran,cois Pinard <[email protected]>, 1996. - -# 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 -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# 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, see <http://www.gnu.org/licenses/>. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try '$0 --help' for more information" - exit 1 -fi - -case $1 in - - --is-lightweight) - # Used by our autoconf macros to check whether the available missing - # script is modern enough. - exit 0 - ;; - - --run) - # Back-compat with the calling convention used by older automake. - shift - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due -to PROGRAM being missing or too old. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - -Supported PROGRAM values: - aclocal autoconf autoheader autom4te automake makeinfo - bison yacc flex lex help2man - -Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and -'g' are ignored when checking the name. - -Send bug reports to <[email protected]>." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: unknown '$1' option" - echo 1>&2 "Try '$0 --help' for more information" - exit 1 - ;; - -esac - -# Run the given program, remember its exit status. -"$@"; st=$? - -# If it succeeded, we are done. -test $st -eq 0 && exit 0 - -# Also exit now if we it failed (or wasn't found), and '--version' was -# passed; such an option is passed most likely to detect whether the -# program is present and works. -case $2 in --version|--help) exit $st;; esac - -# Exit code 63 means version mismatch. This often happens when the user -# tries to use an ancient version of a tool on a file that requires a -# minimum version. -if test $st -eq 63; then - msg="probably too old" -elif test $st -eq 127; then - # Program was missing. - msg="missing on your system" -else - # Program was found and executed, but failed. Give up. - exit $st -fi - -perl_URL=http://www.perl.org/ -flex_URL=http://flex.sourceforge.net/ -gnu_software_URL=http://www.gnu.org/software - -program_details () -{ - case $1 in - aclocal|automake) - echo "The '$1' program is part of the GNU Automake package:" - echo "<$gnu_software_URL/automake>" - echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" - echo "<$gnu_software_URL/autoconf>" - echo "<$gnu_software_URL/m4/>" - echo "<$perl_URL>" - ;; - autoconf|autom4te|autoheader) - echo "The '$1' program is part of the GNU Autoconf package:" - echo "<$gnu_software_URL/autoconf/>" - echo "It also requires GNU m4 and Perl in order to run:" - echo "<$gnu_software_URL/m4/>" - echo "<$perl_URL>" - ;; - esac -} - -give_advice () -{ - # Normalize program name to check for. - normalized_program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - - printf '%s\n' "'$1' is $msg." - - configure_deps="'configure.ac' or m4 files included by 'configure.ac'" - case $normalized_program in - autoconf*) - echo "You should only need it if you modified 'configure.ac'," - echo "or m4 files included by it." - program_details 'autoconf' - ;; - autoheader*) - echo "You should only need it if you modified 'acconfig.h' or" - echo "$configure_deps." - program_details 'autoheader' - ;; - automake*) - echo "You should only need it if you modified 'Makefile.am' or" - echo "$configure_deps." - program_details 'automake' - ;; - aclocal*) - echo "You should only need it if you modified 'acinclude.m4' or" - echo "$configure_deps." - program_details 'aclocal' - ;; - autom4te*) - echo "You might have modified some maintainer files that require" - echo "the 'automa4te' program to be rebuilt." - program_details 'autom4te' - ;; - bison*|yacc*) - echo "You should only need it if you modified a '.y' file." - echo "You may want to install the GNU Bison package:" - echo "<$gnu_software_URL/bison/>" - ;; - lex*|flex*) - echo "You should only need it if you modified a '.l' file." - echo "You may want to install the Fast Lexical Analyzer package:" - echo "<$flex_URL>" - ;; - help2man*) - echo "You should only need it if you modified a dependency" \ - "of a man page." - echo "You may want to install the GNU Help2man package:" - echo "<$gnu_software_URL/help2man/>" - ;; - makeinfo*) - echo "You should only need it if you modified a '.texi' file, or" - echo "any other file indirectly affecting the aspect of the manual." - echo "You might want to install the Texinfo package:" - echo "<$gnu_software_URL/texinfo/>" - echo "The spurious makeinfo call might also be the consequence of" - echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" - echo "want to install GNU make:" - echo "<$gnu_software_URL/make/>" - ;; - *) - echo "You might have modified some files without having the proper" - echo "tools for further handling them. Check the 'README' file, it" - echo "often tells you about the needed prerequisites for installing" - echo "this package. You may also peek at any GNU archive site, in" - echo "case some other package contains this missing '$1' program." - ;; - esac -} - -give_advice "$1" | sed -e '1s/^/WARNING: /' \ - -e '2,$s/^/ /' >&2 - -# Propagate the correct exit status (expected to be 127 for a program -# not found, 63 for a program that failed due to version mismatch). -exit $st - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/configure.ac new/lsvpd-1.7.11/configure.ac --- old/lsvpd-1.7.10/configure.ac 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/configure.ac 2020-04-06 10:37:16.000000000 +0200 @@ -3,7 +3,7 @@ AC_PREREQ([2.69]) #base -AC_INIT([lsvpd],[1.7.10],[[email protected], [email protected]]) +AC_INIT([lsvpd],[1.7.11],[[email protected], [email protected]]) AC_CONFIG_HEADER([config/config.h]) AC_SUBST(DATE, [`date`]) AC_CONFIG_MACRO_DIR([m4]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/lsvpd-ci/Dockerfile-fedora-rawhide new/lsvpd-1.7.11/lsvpd-ci/Dockerfile-fedora-rawhide --- old/lsvpd-1.7.10/lsvpd-ci/Dockerfile-fedora-rawhide 1970-01-01 01:00:00.000000000 +0100 +++ new/lsvpd-1.7.11/lsvpd-ci/Dockerfile-fedora-rawhide 2020-04-06 10:37:16.000000000 +0200 @@ -0,0 +1,6 @@ +FROM fedora:rawhide + +RUN dnf -y install gcc-g++ make sg3_utils-devel zlib-devel iprutils +RUN dnf -y install libvpd-devel librtas-devel libtool automake rpm-build git +COPY . /build/ +WORKDIR /build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/lsvpd-ci/build-fedora-rawhide.sh new/lsvpd-1.7.11/lsvpd-ci/build-fedora-rawhide.sh --- old/lsvpd-1.7.10/lsvpd-ci/build-fedora-rawhide.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/lsvpd-1.7.11/lsvpd-ci/build-fedora-rawhide.sh 2020-04-06 10:37:16.000000000 +0200 @@ -0,0 +1,15 @@ +#!/bin/bash + +set -uo pipefail +set -e +set -vx +MAKE_J=$(grep -c processor /proc/cpuinfo) + +./bootstrap.sh +./configure +make -j $MAKE_J +make -j $MAKE_J check +mkdir -p /root/rpmbuild/SOURCES/ +make dist-gzip +cp *.tar.gz /root/rpmbuild/SOURCES/ +rpmbuild -ba lsvpd.spec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/lsvpd.spec.in new/lsvpd-1.7.11/lsvpd.spec.in --- old/lsvpd-1.7.10/lsvpd.spec.in 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/lsvpd.spec.in 2020-04-06 10:37:16.000000000 +0200 @@ -13,8 +13,8 @@ License: GPLv2+ Vendor: IBM Corp. ExclusiveArch: ppc64 ppc ppc64le -URL: http://linux-diag.sf.net/Lsvpd.html -Source: http://downloads.sourceforge.net/linux-diag/files/%{name}-new/%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/power-ras/%{name}/releases +Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Requires: iprutils >= 2.3.12 Requires(pre): iprutils >= 2.3.12 @@ -77,6 +77,10 @@ %changelog +* Mon Apr 06 2020 - Vasant Hegde <[email protected]> - 1.7.11 +- Add Travis build support +- Add NVME f1h log page version 0002 support + * Thu Oct 24 2019 - Vasant Hegde <[email protected]> - 1.7.10 - vpdupdate: Delete vpd.db when program gets aborted - Enable NVME f1h log page VPD information parsing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/man/lsvpd.8 new/lsvpd-1.7.11/man/lsvpd.8 --- old/lsvpd-1.7.10/man/lsvpd.8 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/man/lsvpd.8 2020-04-06 10:37:16.000000000 +0200 @@ -24,7 +24,17 @@ .ad l .hy 0 .HP 6 -\fBlsvpd\fR [\fB\-l<device>\fR | \fB\-\-list=<device>\fR] [\fB\-m\fR | \fB\-\-mark\fR] [\fB\-s<serial#>\fR | \fB\-\-serial=<serial#>\fR] [\fB\-t<type/model#>\fR | \fB\-\-type=<type/model#>\fR] [\fB\-p<database\-directory>\fR | \fB\-\-path=<database\-directory>\fR] [\fB\-z<database\-archive>\fR | \fB\-\-zip=<database\-archive>\fR] [\fB\-h\fR | \fB\-\-help\fR] +\fBlsvpd\fR [\fB\-l<device>\fR | \fB\-\-list=<device>\fR] + [\fB\-m\fR | \fB\-\-mark\fR] + [\fB\-s<serial#>\fR | \fB\-\-serial=<serial#>\fR] + [\fB\-t<type/model#>\fR | \fB\-\-type=<type/model#>\fR] + [\fB\-p<database\-directory>\fR | \fB\-\-path=<database\-directory>\fR] + [\fB\-z<database\-archive>\fR | \fB\-\-zip=<database\-archive>\fR] + [\fB\-D\fR | \fB\-\-debug\fR] +.HP 6 +\fBlsvpd\fR [\fB\-v\fR | \fB\-\-version\fR] +.HP 6 +\fBlsvpd\fR [\fB\-h\fR | \fB\-\-help\fR] .ad .hy @@ -67,6 +77,14 @@ This option is useful for producing output for old hardware inventory databases that have been archived by the system\&. .TP +\-D|\-\-debug +Use this option to print extra information about devices (sysfs locations, etc)\&. + +.TP +\-v|\-\-version +Print the version of the command and exit. + +.TP \-h|\-\-help Display a help screen and quit\&. @@ -87,5 +105,5 @@ Eric Munson <ebmunson@us\&.ibm\&.com>\&. Brad Peters <bpeters@us\&.ibm\&.com>\&. .PP -Copyright (c) 2002 - 2013 IBM\&. +Copyright (c) 2002 - 2020 IBM\&. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/nvme_templates.conf new/lsvpd-1.7.11/nvme_templates.conf --- old/lsvpd-1.7.10/nvme_templates.conf 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/nvme_templates.conf 2020-04-06 10:37:16.000000000 +0200 @@ -1 +1,2 @@ "0001", "_:4,ID:40,PN:12,EC:10,FN:12,AN:12,FC:4,CC:4,SN:8,Z0:8,Z1:4,Z2:10,Z3:12,Z4:1,Z5:2,Z6:8,Z7:3,Z8:5,Z9:2,ZA:4,ZB:4,ZC:2,MN:20,FR:8" +"0002", "_:4,ID:40,PN:12,EC:10,FN:12,AN:12,FC:4,CC:4,SN:8,Z0:8,Z1:4,Z2:10,Z3:12,Z4:1,Z5:2,Z6:8,Z7:3,Z8:5,Z9:2,ZA:4,ZB:4,ZC:2,MN:20,RM:8" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/src/include/sysfstreecollector.hpp new/lsvpd-1.7.11/src/include/sysfstreecollector.hpp --- old/lsvpd-1.7.10/src/include/sysfstreecollector.hpp 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/src/include/sysfstreecollector.hpp 2020-04-06 10:37:16.000000000 +0200 @@ -65,7 +65,7 @@ #define NVME_NSID_ALL 0xffffffff /* NVME f1h log page VPD size */ - #define NVME_VPD_INFO_SIZE 199 + #define NVME_VPD_INFO_SIZE 1024 /** * SysFSTreeCollector contains the logic for device discovery and VPD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/src/output/lscfg.cpp new/lsvpd-1.7.11/src/output/lscfg.cpp --- old/lsvpd-1.7.10/src/output/lscfg.cpp 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/src/output/lscfg.cpp 2020-04-06 10:37:16.000000000 +0200 @@ -332,25 +332,6 @@ } string val = string( root->getCD( ) ); - - if( val != "" ) - { - char s1, s2; - s1 = val[ 0 ]; - s2 = val[ 1 ]; - val[ 0 ] = val[ 2 ]; - val[ 1 ] = val[ 3 ]; - val[ 2 ] = s1; - val[ 3 ] = s2; - - s1 = val[ 4 ]; - s2 = val[ 5 ]; - val[ 4 ] = val[ 6 ]; - val[ 5 ] = val[ 7 ]; - val[ 6 ] = s1; - val[ 7 ] = s2; - } - ostringstream os; os << root->getDescription( ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lsvpd-1.7.10/src/output/lsvpd.cpp new/lsvpd-1.7.11/src/output/lsvpd.cpp --- old/lsvpd-1.7.10/src/output/lsvpd.cpp 2019-10-24 12:29:53.000000000 +0200 +++ new/lsvpd-1.7.11/src/output/lsvpd.cpp 2020-04-06 10:37:16.000000000 +0200 @@ -168,25 +168,9 @@ root->getDescription( ); string val = string( root->getCD( ) ); - if( val != "" ) - { - char s1, s2; - s1 = val[ 0 ]; - s2 = val[ 1 ]; - val[ 0 ] = val[ 2 ]; - val[ 1 ] = val[ 3 ]; - val[ 2 ] = s1; - val[ 3 ] = s2; - - s1 = val[ 4 ]; - s2 = val[ 5 ]; - val[ 4 ] = val[ 6 ]; - val[ 5 ] = val[ 7 ]; - val[ 6 ] = s1; - val[ 7 ] = s2; - + if ( val != "" ) cout << " (" << val << ")"; - } + cout << endl; } _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
