From f6c550c8727e4ed679e9f8a5c4242c796290d929 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 16 Oct 2023 23:26:47 +0000 Subject: [PATCH] libstoragemgmt: Autospec creation for update from version 1.9.6 to version 1.9.8 Tony Asleson (11): Update configuration Adding support for packit.dev Update CI hpsa: Fix typo Reformat py with `make format` Megaraid: Handle missing 'Enable JBOD' in 'Capabilities' Add addl. targets Packit: remove el7 build new release Correction for fips error New release 1.9.8: Apr 17 2023 * FIPS correction https://github.com/libstorage/libstoragemgmt/pull/528 1.9.7: Jan 27 2023 * Fix megaraid for PERC H330 Adapter https://github.com/libstorage/libstoragemgmt/issues/520 --- Makefile | 2 +- NEWS | 8 + buildreq_cache | 3 + configure_misses | 4 + libstoragemgmt.spec | 469 ++++++++++++++++++++++++++++++++++++++++++-- options.conf | 6 +- release | 2 +- series | 2 +- symbols | 2 + upstream | 2 +- used_libs | 2 - 11 files changed, 480 insertions(+), 22 deletions(-) create mode 100644 buildreq_cache create mode 100644 configure_misses diff --git a/Makefile b/Makefile index dd9db32..2e822b6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := libstoragemgmt -URL = https://github.com/libstorage/libstoragemgmt/releases/download/1.9.6/libstoragemgmt-1.9.6.tar.gz +URL = https://github.com/libstorage/libstoragemgmt/releases/download/1.9.8/libstoragemgmt-1.9.8.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/NEWS b/NEWS index 5a15933..f10fc31 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,13 @@ News for libStorageMgmt +1.9.8: Apr 17 2023 + * FIPS correction + https://github.com/libstorage/libstoragemgmt/pull/528 + +1.9.7: Jan 27 2023 + * Fix megaraid for PERC H330 Adapter + https://github.com/libstorage/libstoragemgmt/issues/520 + 1.9.6: Nov 8 2022 * Correct run directory diff --git a/buildreq_cache b/buildreq_cache new file mode 100644 index 0000000..3a3897d --- /dev/null +++ b/buildreq_cache @@ -0,0 +1,3 @@ +1.9.8 +procps-ng +valgrind \ No newline at end of file diff --git a/configure_misses b/configure_misses new file mode 100644 index 0000000..6e4502d --- /dev/null +++ b/configure_misses @@ -0,0 +1,4 @@ +Configure miss: g++ option to enable C++11 features +Configure miss: g++ option to enable C++11 features +Configure miss: x86_64-generic-linux-gnu-file +Configure miss: x86_64-generic-linux-gnu-file \ No newline at end of file diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec index cd224f1..47a89a2 100644 --- a/libstoragemgmt.spec +++ b/libstoragemgmt.spec @@ -1,15 +1,26 @@ # # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py +# Using build pattern: configure # Name : libstoragemgmt -Version : 1.9.6 -Release : 45 -URL : https://github.com/libstorage/libstoragemgmt/releases/download/1.9.6/libstoragemgmt-1.9.6.tar.gz -Source0 : https://github.com/libstorage/libstoragemgmt/releases/download/1.9.6/libstoragemgmt-1.9.6.tar.gz +Version : 1.9.8 +Release : 46 +URL : https://github.com/libstorage/libstoragemgmt/releases/download/1.9.8/libstoragemgmt-1.9.8.tar.gz +Source0 : https://github.com/libstorage/libstoragemgmt/releases/download/1.9.8/libstoragemgmt-1.9.8.tar.gz Summary : Storage array management library Group : Development/Tools License : LGPL-2.0+ LGPL-2.1 +Requires: libstoragemgmt-bin = %{version}-%{release} +Requires: libstoragemgmt-config = %{version}-%{release} +Requires: libstoragemgmt-lib = %{version}-%{release} +Requires: libstoragemgmt-libexec = %{version}-%{release} +Requires: libstoragemgmt-license = %{version}-%{release} +Requires: libstoragemgmt-man = %{version}-%{release} +Requires: libstoragemgmt-python = %{version}-%{release} +Requires: libstoragemgmt-python3 = %{version}-%{release} +Requires: libstoragemgmt-services = %{version}-%{release} +BuildRequires : buildreq-configure BuildRequires : chrpath BuildRequires : openssl-dev BuildRequires : pkgconfig(check) @@ -18,9 +29,13 @@ BuildRequires : pkgconfig(libconfig) BuildRequires : pkgconfig(libudev) BuildRequires : pkgconfig(python3) BuildRequires : pkgconfig(sqlite3) +BuildRequires : procps-ng BuildRequires : pypi(pywbem) +BuildRequires : valgrind BuildRequires : yajl-dev -Patch1: no-var-run.patch +# Suppress stripping binaries +%define __strip /bin/true +%define debug_package %{nil} %description The libStorageMgmt library will provide a vendor agnostic open source storage @@ -29,25 +44,139 @@ arrays. The library includes a command line interface for interactive use and scripting (command lsmcli). The library also has a daemon that is used for executing plug-ins in a separate process (lsmd). +%package bin +Summary: bin components for the libstoragemgmt package. +Group: Binaries +Requires: libstoragemgmt-libexec = %{version}-%{release} +Requires: libstoragemgmt-config = %{version}-%{release} +Requires: libstoragemgmt-license = %{version}-%{release} +Requires: libstoragemgmt-services = %{version}-%{release} + +%description bin +bin components for the libstoragemgmt package. + + +%package config +Summary: config components for the libstoragemgmt package. +Group: Default + +%description config +config components for the libstoragemgmt package. + + +%package dev +Summary: dev components for the libstoragemgmt package. +Group: Development +Requires: libstoragemgmt-lib = %{version}-%{release} +Requires: libstoragemgmt-bin = %{version}-%{release} +Provides: libstoragemgmt-devel = %{version}-%{release} +Requires: libstoragemgmt = %{version}-%{release} + +%description dev +dev components for the libstoragemgmt package. + + +%package lib +Summary: lib components for the libstoragemgmt package. +Group: Libraries +Requires: libstoragemgmt-libexec = %{version}-%{release} +Requires: libstoragemgmt-license = %{version}-%{release} + +%description lib +lib components for the libstoragemgmt package. + + +%package libexec +Summary: libexec components for the libstoragemgmt package. +Group: Default +Requires: libstoragemgmt-config = %{version}-%{release} +Requires: libstoragemgmt-license = %{version}-%{release} + +%description libexec +libexec components for the libstoragemgmt package. + + +%package license +Summary: license components for the libstoragemgmt package. +Group: Default + +%description license +license components for the libstoragemgmt package. + + +%package man +Summary: man components for the libstoragemgmt package. +Group: Default + +%description man +man components for the libstoragemgmt package. + + +%package python +Summary: python components for the libstoragemgmt package. +Group: Default +Requires: libstoragemgmt-python3 = %{version}-%{release} + +%description python +python components for the libstoragemgmt package. + + +%package python3 +Summary: python3 components for the libstoragemgmt package. +Group: Default +Requires: python3-core +Requires: pypi(six) + +%description python3 +python3 components for the libstoragemgmt package. + + +%package services +Summary: services components for the libstoragemgmt package. +Group: Systemd services +Requires: systemd + +%description services +services components for the libstoragemgmt package. + + %prep -%setup -q -n libstoragemgmt-1.9.6 -cd %{_builddir}/libstoragemgmt-1.9.6 -%patch1 -p1 +%setup -q -n libstoragemgmt-1.9.8 +cd %{_builddir}/libstoragemgmt-1.9.8 +pushd .. +cp -a libstoragemgmt-1.9.8 buildavx2 +popd %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1672183409 +export SOURCE_DATE_EPOCH=1697498801 export GCC_IGNORE_WERROR=1 -export CFLAGS="$CFLAGS -fno-lto " -export FCFLAGS="$FFLAGS -fno-lto " -export FFLAGS="$FFLAGS -fno-lto " -export CXXFLAGS="$CXXFLAGS -fno-lto " +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" %configure --disable-static --with-python3 make %{?_smp_mflags} +unset PKG_CONFIG_PATH +pushd ../buildavx2/ +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 " +LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " +%configure --disable-static --with-python3 +make %{?_smp_mflags} +popd %check export LANG=C.UTF-8 export http_proxy=http://127.0.0.1:9/ @@ -56,11 +185,321 @@ export no_proxy=localhost,127.0.0.1,0.0.0.0 make check || : %install -export SOURCE_DATE_EPOCH=1672183409 +export GCC_IGNORE_WERROR=1 +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" +export SOURCE_DATE_EPOCH=1697498801 rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/libstoragemgmt -cp %{_builddir}/libstoragemgmt-%{version}/COPYING.LIB %{buildroot}/usr/share/package-licenses/libstoragemgmt/448ab4f9f4c0c4f5b7eea423fabe48c1aba4f96f +cp %{_builddir}/libstoragemgmt-%{version}/COPYING.LIB %{buildroot}/usr/share/package-licenses/libstoragemgmt/448ab4f9f4c0c4f5b7eea423fabe48c1aba4f96f || : +pushd ../buildavx2/ +%make_install_v3 +popd %make_install +/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name} %files %defattr(-,root,root,-) + +%files bin +%defattr(-,root,root,-) +/V3/usr/bin/lsmd +/V3/usr/bin/simc_lsmplugin +/usr/bin/arcconf_lsmplugin +/usr/bin/hpsa_lsmplugin +/usr/bin/local_lsmplugin +/usr/bin/lsmcli +/usr/bin/lsmd +/usr/bin/megaraid_lsmplugin +/usr/bin/nfs_lsmplugin +/usr/bin/sim_lsmplugin +/usr/bin/simc_lsmplugin +/usr/bin/smispy_lsmplugin +/usr/bin/targetd_lsmplugin + +%files config +%defattr(-,root,root,-) +/usr/lib/tmpfiles.d/libstoragemgmt.conf + +%files dev +%defattr(-,root,root,-) +/usr/include/libstoragemgmt/libstoragemgmt.h +/usr/include/libstoragemgmt/libstoragemgmt_accessgroups.h +/usr/include/libstoragemgmt/libstoragemgmt_battery.h +/usr/include/libstoragemgmt/libstoragemgmt_blockrange.h +/usr/include/libstoragemgmt/libstoragemgmt_capabilities.h +/usr/include/libstoragemgmt/libstoragemgmt_common.h +/usr/include/libstoragemgmt/libstoragemgmt_disk.h +/usr/include/libstoragemgmt/libstoragemgmt_error.h +/usr/include/libstoragemgmt/libstoragemgmt_fs.h +/usr/include/libstoragemgmt/libstoragemgmt_hash.h +/usr/include/libstoragemgmt/libstoragemgmt_local_disk.h +/usr/include/libstoragemgmt/libstoragemgmt_nfsexport.h +/usr/include/libstoragemgmt/libstoragemgmt_plug_interface.h +/usr/include/libstoragemgmt/libstoragemgmt_pool.h +/usr/include/libstoragemgmt/libstoragemgmt_snapshot.h +/usr/include/libstoragemgmt/libstoragemgmt_systems.h +/usr/include/libstoragemgmt/libstoragemgmt_targetport.h +/usr/include/libstoragemgmt/libstoragemgmt_types.h +/usr/include/libstoragemgmt/libstoragemgmt_version.h +/usr/include/libstoragemgmt/libstoragemgmt_volumes.h +/usr/lib64/libstoragemgmt.so +/usr/lib64/pkgconfig/libstoragemgmt.pc +/usr/share/man/man3/libstoragemgmt.h.3 +/usr/share/man/man3/lsm_access_group_create.3 +/usr/share/man/man3/lsm_access_group_delete.3 +/usr/share/man/man3/lsm_access_group_id_get.3 +/usr/share/man/man3/lsm_access_group_init_type_get.3 +/usr/share/man/man3/lsm_access_group_initiator_add.3 +/usr/share/man/man3/lsm_access_group_initiator_delete.3 +/usr/share/man/man3/lsm_access_group_initiator_id_get.3 +/usr/share/man/man3/lsm_access_group_list.3 +/usr/share/man/man3/lsm_access_group_name_get.3 +/usr/share/man/man3/lsm_access_group_record_array_free.3 +/usr/share/man/man3/lsm_access_group_record_copy.3 +/usr/share/man/man3/lsm_access_group_record_free.3 +/usr/share/man/man3/lsm_access_group_system_id_get.3 +/usr/share/man/man3/lsm_access_groups_granted_to_volume.3 +/usr/share/man/man3/lsm_available_plugins_list.3 +/usr/share/man/man3/lsm_battery_id_get.3 +/usr/share/man/man3/lsm_battery_list.3 +/usr/share/man/man3/lsm_battery_name_get.3 +/usr/share/man/man3/lsm_battery_record_array_free.3 +/usr/share/man/man3/lsm_battery_record_copy.3 +/usr/share/man/man3/lsm_battery_record_free.3 +/usr/share/man/man3/lsm_battery_status_get.3 +/usr/share/man/man3/lsm_battery_system_id_get.3 +/usr/share/man/man3/lsm_battery_type_get.3 +/usr/share/man/man3/lsm_block_range_block_count_get.3 +/usr/share/man/man3/lsm_block_range_dest_start_get.3 +/usr/share/man/man3/lsm_block_range_record_alloc.3 +/usr/share/man/man3/lsm_block_range_record_array_alloc.3 +/usr/share/man/man3/lsm_block_range_record_array_free.3 +/usr/share/man/man3/lsm_block_range_record_copy.3 +/usr/share/man/man3/lsm_block_range_record_free.3 +/usr/share/man/man3/lsm_block_range_source_start_get.3 +/usr/share/man/man3/lsm_capabilities.3 +/usr/share/man/man3/lsm_capability_get.3 +/usr/share/man/man3/lsm_capability_record_free.3 +/usr/share/man/man3/lsm_capability_supported.3 +/usr/share/man/man3/lsm_connect_close.3 +/usr/share/man/man3/lsm_connect_password.3 +/usr/share/man/man3/lsm_connect_timeout_get.3 +/usr/share/man/man3/lsm_connect_timeout_set.3 +/usr/share/man/man3/lsm_disk_block_size_get.3 +/usr/share/man/man3/lsm_disk_id_get.3 +/usr/share/man/man3/lsm_disk_link_type_get.3 +/usr/share/man/man3/lsm_disk_list.3 +/usr/share/man/man3/lsm_disk_location_get.3 +/usr/share/man/man3/lsm_disk_name_get.3 +/usr/share/man/man3/lsm_disk_number_of_blocks_get.3 +/usr/share/man/man3/lsm_disk_record_array_free.3 +/usr/share/man/man3/lsm_disk_record_copy.3 +/usr/share/man/man3/lsm_disk_record_free.3 +/usr/share/man/man3/lsm_disk_rpm_get.3 +/usr/share/man/man3/lsm_disk_status_get.3 +/usr/share/man/man3/lsm_disk_system_id_get.3 +/usr/share/man/man3/lsm_disk_type_get.3 +/usr/share/man/man3/lsm_disk_vpd83_get.3 +/usr/share/man/man3/lsm_error_debug_data_get.3 +/usr/share/man/man3/lsm_error_debug_get.3 +/usr/share/man/man3/lsm_error_exception_get.3 +/usr/share/man/man3/lsm_error_free.3 +/usr/share/man/man3/lsm_error_last_get.3 +/usr/share/man/man3/lsm_error_message_get.3 +/usr/share/man/man3/lsm_error_number_get.3 +/usr/share/man/man3/lsm_fs_child_dependency.3 +/usr/share/man/man3/lsm_fs_child_dependency_delete.3 +/usr/share/man/man3/lsm_fs_clone.3 +/usr/share/man/man3/lsm_fs_create.3 +/usr/share/man/man3/lsm_fs_delete.3 +/usr/share/man/man3/lsm_fs_file_clone.3 +/usr/share/man/man3/lsm_fs_free_space_get.3 +/usr/share/man/man3/lsm_fs_id_get.3 +/usr/share/man/man3/lsm_fs_list.3 +/usr/share/man/man3/lsm_fs_name_get.3 +/usr/share/man/man3/lsm_fs_pool_id_get.3 +/usr/share/man/man3/lsm_fs_record_array_free.3 +/usr/share/man/man3/lsm_fs_record_copy.3 +/usr/share/man/man3/lsm_fs_record_free.3 +/usr/share/man/man3/lsm_fs_resize.3 +/usr/share/man/man3/lsm_fs_ss_create.3 +/usr/share/man/man3/lsm_fs_ss_delete.3 +/usr/share/man/man3/lsm_fs_ss_id_get.3 +/usr/share/man/man3/lsm_fs_ss_list.3 +/usr/share/man/man3/lsm_fs_ss_name_get.3 +/usr/share/man/man3/lsm_fs_ss_record_array_free.3 +/usr/share/man/man3/lsm_fs_ss_record_copy.3 +/usr/share/man/man3/lsm_fs_ss_record_free.3 +/usr/share/man/man3/lsm_fs_ss_restore.3 +/usr/share/man/man3/lsm_fs_ss_time_stamp_get.3 +/usr/share/man/man3/lsm_fs_system_id_get.3 +/usr/share/man/man3/lsm_fs_total_space_get.3 +/usr/share/man/man3/lsm_initiator_id_verify.3 +/usr/share/man/man3/lsm_iscsi_chap_auth.3 +/usr/share/man/man3/lsm_job_free.3 +/usr/share/man/man3/lsm_job_status_fs_get.3 +/usr/share/man/man3/lsm_job_status_get.3 +/usr/share/man/man3/lsm_job_status_pool_get.3 +/usr/share/man/man3/lsm_job_status_ss_get.3 +/usr/share/man/man3/lsm_job_status_volume_get.3 +/usr/share/man/man3/lsm_local_disk_fault_led_off.3 +/usr/share/man/man3/lsm_local_disk_fault_led_on.3 +/usr/share/man/man3/lsm_local_disk_health_status_get.3 +/usr/share/man/man3/lsm_local_disk_ident_led_off.3 +/usr/share/man/man3/lsm_local_disk_ident_led_on.3 +/usr/share/man/man3/lsm_local_disk_led_status_get.3 +/usr/share/man/man3/lsm_local_disk_link_speed_get.3 +/usr/share/man/man3/lsm_local_disk_link_type_get.3 +/usr/share/man/man3/lsm_local_disk_list.3 +/usr/share/man/man3/lsm_local_disk_rpm_get.3 +/usr/share/man/man3/lsm_local_disk_serial_num_get.3 +/usr/share/man/man3/lsm_local_disk_vpd83_get.3 +/usr/share/man/man3/lsm_local_disk_vpd83_search.3 +/usr/share/man/man3/lsm_nfs_auth_types.3 +/usr/share/man/man3/lsm_nfs_export_anon_gid_get.3 +/usr/share/man/man3/lsm_nfs_export_anon_uid_get.3 +/usr/share/man/man3/lsm_nfs_export_auth_type_get.3 +/usr/share/man/man3/lsm_nfs_export_delete.3 +/usr/share/man/man3/lsm_nfs_export_export_path_get.3 +/usr/share/man/man3/lsm_nfs_export_fs.3 +/usr/share/man/man3/lsm_nfs_export_fs_id_get.3 +/usr/share/man/man3/lsm_nfs_export_id_get.3 +/usr/share/man/man3/lsm_nfs_export_options_get.3 +/usr/share/man/man3/lsm_nfs_export_read_only_get.3 +/usr/share/man/man3/lsm_nfs_export_read_write_get.3 +/usr/share/man/man3/lsm_nfs_export_record_array_free.3 +/usr/share/man/man3/lsm_nfs_export_record_copy.3 +/usr/share/man/man3/lsm_nfs_export_record_free.3 +/usr/share/man/man3/lsm_nfs_export_root_get.3 +/usr/share/man/man3/lsm_nfs_list.3 +/usr/share/man/man3/lsm_plugin_info_get.3 +/usr/share/man/man3/lsm_pool_element_type_get.3 +/usr/share/man/man3/lsm_pool_free_space_get.3 +/usr/share/man/man3/lsm_pool_id_get.3 +/usr/share/man/man3/lsm_pool_list.3 +/usr/share/man/man3/lsm_pool_member_info.3 +/usr/share/man/man3/lsm_pool_name_get.3 +/usr/share/man/man3/lsm_pool_record_array_free.3 +/usr/share/man/man3/lsm_pool_record_copy.3 +/usr/share/man/man3/lsm_pool_record_free.3 +/usr/share/man/man3/lsm_pool_status_get.3 +/usr/share/man/man3/lsm_pool_status_info_get.3 +/usr/share/man/man3/lsm_pool_system_id_get.3 +/usr/share/man/man3/lsm_pool_total_space_get.3 +/usr/share/man/man3/lsm_pool_unsupported_actions_get.3 +/usr/share/man/man3/lsm_string_list_alloc.3 +/usr/share/man/man3/lsm_string_list_append.3 +/usr/share/man/man3/lsm_string_list_copy.3 +/usr/share/man/man3/lsm_string_list_delete.3 +/usr/share/man/man3/lsm_string_list_elem_get.3 +/usr/share/man/man3/lsm_string_list_elem_set.3 +/usr/share/man/man3/lsm_string_list_free.3 +/usr/share/man/man3/lsm_string_list_size.3 +/usr/share/man/man3/lsm_system_fw_version_get.3 +/usr/share/man/man3/lsm_system_id_get.3 +/usr/share/man/man3/lsm_system_list.3 +/usr/share/man/man3/lsm_system_mode_get.3 +/usr/share/man/man3/lsm_system_name_get.3 +/usr/share/man/man3/lsm_system_read_cache_pct_get.3 +/usr/share/man/man3/lsm_system_read_cache_pct_update.3 +/usr/share/man/man3/lsm_system_record_array_free.3 +/usr/share/man/man3/lsm_system_record_copy.3 +/usr/share/man/man3/lsm_system_record_free.3 +/usr/share/man/man3/lsm_system_status_get.3 +/usr/share/man/man3/lsm_target_port_copy.3 +/usr/share/man/man3/lsm_target_port_id_get.3 +/usr/share/man/man3/lsm_target_port_list.3 +/usr/share/man/man3/lsm_target_port_network_address_get.3 +/usr/share/man/man3/lsm_target_port_physical_address_get.3 +/usr/share/man/man3/lsm_target_port_physical_name_get.3 +/usr/share/man/man3/lsm_target_port_record_array_free.3 +/usr/share/man/man3/lsm_target_port_record_free.3 +/usr/share/man/man3/lsm_target_port_service_address_get.3 +/usr/share/man/man3/lsm_target_port_system_id_get.3 +/usr/share/man/man3/lsm_target_port_type_get.3 +/usr/share/man/man3/lsm_volume_admin_state_get.3 +/usr/share/man/man3/lsm_volume_block_size_get.3 +/usr/share/man/man3/lsm_volume_cache_info.3 +/usr/share/man/man3/lsm_volume_child_dependency.3 +/usr/share/man/man3/lsm_volume_child_dependency_delete.3 +/usr/share/man/man3/lsm_volume_create.3 +/usr/share/man/man3/lsm_volume_delete.3 +/usr/share/man/man3/lsm_volume_disable.3 +/usr/share/man/man3/lsm_volume_enable.3 +/usr/share/man/man3/lsm_volume_id_get.3 +/usr/share/man/man3/lsm_volume_ident_led_off.3 +/usr/share/man/man3/lsm_volume_ident_led_on.3 +/usr/share/man/man3/lsm_volume_list.3 +/usr/share/man/man3/lsm_volume_mask.3 +/usr/share/man/man3/lsm_volume_name_get.3 +/usr/share/man/man3/lsm_volume_number_of_blocks_get.3 +/usr/share/man/man3/lsm_volume_physical_disk_cache_update.3 +/usr/share/man/man3/lsm_volume_pool_id_get.3 +/usr/share/man/man3/lsm_volume_raid_create.3 +/usr/share/man/man3/lsm_volume_raid_create_cap_get.3 +/usr/share/man/man3/lsm_volume_raid_info.3 +/usr/share/man/man3/lsm_volume_read_cache_policy_update.3 +/usr/share/man/man3/lsm_volume_record_array_free.3 +/usr/share/man/man3/lsm_volume_record_copy.3 +/usr/share/man/man3/lsm_volume_record_free.3 +/usr/share/man/man3/lsm_volume_replicate.3 +/usr/share/man/man3/lsm_volume_replicate_range.3 +/usr/share/man/man3/lsm_volume_replicate_range_block_size.3 +/usr/share/man/man3/lsm_volume_resize.3 +/usr/share/man/man3/lsm_volume_system_id_get.3 +/usr/share/man/man3/lsm_volume_unmask.3 +/usr/share/man/man3/lsm_volume_vpd83_get.3 +/usr/share/man/man3/lsm_volume_vpd83_verify.3 +/usr/share/man/man3/lsm_volume_write_cache_policy_update.3 +/usr/share/man/man3/lsm_volumes_accessible_by_access_group.3 + +%files lib +%defattr(-,root,root,-) +/V3/usr/lib64/libstoragemgmt.so.1.9.8 +/usr/lib64/libstoragemgmt.so.1 +/usr/lib64/libstoragemgmt.so.1.9.8 + +%files libexec +%defattr(-,root,root,-) +/usr/libexec/lsm.d/find_unused_lun.py +/usr/libexec/lsm.d/local_check.py + +%files license +%defattr(0644,root,root,0755) +/usr/share/package-licenses/libstoragemgmt/448ab4f9f4c0c4f5b7eea423fabe48c1aba4f96f + +%files man +%defattr(0644,root,root,0755) +/usr/share/man/man1/arcconf_lsmplugin.1 +/usr/share/man/man1/hpsa_lsmplugin.1 +/usr/share/man/man1/local_lsmplugin.1 +/usr/share/man/man1/lsmcli.1 +/usr/share/man/man1/lsmd.1 +/usr/share/man/man1/megaraid_lsmplugin.1 +/usr/share/man/man1/nfs_lsmplugin.1 +/usr/share/man/man1/sim_lsmplugin.1 +/usr/share/man/man1/simc_lsmplugin.1 +/usr/share/man/man1/smispy_lsmplugin.1 +/usr/share/man/man1/targetd_lsmplugin.1 +/usr/share/man/man5/lsmd.conf.5 + +%files python +%defattr(-,root,root,-) + +%files python3 +%defattr(-,root,root,-) +/V3/usr/lib/python3*/* +/usr/lib/python3*/* + +%files services +%defattr(-,root,root,-) +/usr/lib/systemd/system/libstoragemgmt.service diff --git a/options.conf b/options.conf index 5e082d3..c9fbc48 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = libstoragemgmt -url = https://github.com/libstorage/libstoragemgmt/releases/download/1.9.6/libstoragemgmt-1.9.6.tar.gz +url = https://github.com/libstorage/libstoragemgmt/releases/download/1.9.8/libstoragemgmt-1.9.8.tar.gz archives = giturl = https://github.com/libstorage/libstoragemgmt.git domain = @@ -19,6 +19,8 @@ autoupdate = false broken_c++ = false # disable parallelization during build broken_parallel_build = false +# create vendor archive with cargo +cargo_vendor = false # this package is a library compatibility package and only ships versioned library files compat = false # set conservative build flags @@ -27,6 +29,8 @@ conservative_flags = false dev_requires_extras = false # pass -ffast-math to compiler fast-math = false +# compile full (traditional) debug info +full-debug-info = false # optimize build for speed over size funroll-loops = false # set flags to smallest -02 flags possible diff --git a/release b/release index ea90ee3..9e5feb5 100644 --- a/release +++ b/release @@ -1 +1 @@ -45 +46 diff --git a/series b/series index aeb74c7..b9dfd80 100644 --- a/series +++ b/series @@ -1 +1 @@ -no-var-run.patch +#no-var-run.patch diff --git a/symbols b/symbols index f886ffe..fefc8fa 100644 --- a/symbols +++ b/symbols @@ -57,7 +57,9 @@ libstoragemgmt.so.1:lsm_disk_location_get libstoragemgmt.so.1:lsm_disk_location_set libstoragemgmt.so.1:lsm_disk_name_get libstoragemgmt.so.1:lsm_disk_number_of_blocks_get +libstoragemgmt.so.1:lsm_disk_plugin_data_get libstoragemgmt.so.1:lsm_disk_record_alloc +libstoragemgmt.so.1:lsm_disk_record_alloc_pd libstoragemgmt.so.1:lsm_disk_record_array_alloc libstoragemgmt.so.1:lsm_disk_record_array_free libstoragemgmt.so.1:lsm_disk_record_copy diff --git a/upstream b/upstream index bf51567..e15be02 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -0f4f81ba2fbe0976cbbeb2e8186c5100b2e72438/libstoragemgmt-1.9.6.tar.gz +47780eb4a3271a45c545a14a246104e7c818cf87/libstoragemgmt-1.9.8.tar.gz diff --git a/used_libs b/used_libs index f67be99..00b4be9 100644 --- a/used_libs +++ b/used_libs @@ -1,9 +1,7 @@ libc.so.6 libconfig.so.11 -libcrypto.so.3 libgcc_s.so.1 libglib-2.0.so.0 libsqlite3.so.0 libstdc++.so.6 libudev.so.1 -libxml2.so.2