Source: libscca
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru libscca-20200717/debian/changelog libscca-20200717/debian/changelog
--- libscca-20200717/debian/changelog   2021-02-02 14:16:20.000000000 +0000
+++ libscca-20200717/debian/changelog   2024-02-28 18:09:38.000000000 +0000
@@ -1,3 +1,10 @@
+libscca (20200717-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062621
+
+ -- Benjamin Drung <[email protected]>  Wed, 28 Feb 2024 18:09:38 +0000
+
 libscca (20200717-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru libscca-20200717/debian/control libscca-20200717/debian/control
--- libscca-20200717/debian/control     2021-02-02 14:16:20.000000000 +0000
+++ libscca-20200717/debian/control     2024-02-28 18:09:38.000000000 +0000
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Security Tools <[email protected]>
 Uploaders: Hilko Bengen <[email protected]>
-Build-Depends: debhelper-compat (= 11), dh-python,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 11), dh-python,
  pkg-config,
  python3-dev, libbfio-dev,
 Standards-Version: 4.5.1
@@ -16,14 +16,17 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libscca1 (= ${binary:Version})
+ libscca1t64 (= ${binary:Version})
 Description: Windows Prefetch File access library -- development files
  libscca is a library to access the Windows Prefetch File (SCCA)
  format.
  .
  This package includes the development support files.
 
-Package: libscca1
+Package: libscca1t64
+Provides: ${t64:Provides}
+Replaces: libscca1
+Breaks: libscca1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -39,7 +42,7 @@
 Architecture: any
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libscca1,
+ libscca1t64,
 Description: Windows Prefetch File access library -- Utilities
  libscca is a library to access the Windows Prefetch File (SCCA)
  format.
@@ -49,7 +52,7 @@
 Package: python3-libscca
 Section: python
 Architecture: any
-Depends: libscca1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, 
${python3:Depends}
+Depends: libscca1t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, ${python3:Depends}
 Description: Windows Prefetch File access library -- Python 3 bindings
  libscca is a library to access the Windows Prefetch File (SCCA)
  format.
diff -Nru libscca-20200717/debian/libscca1.install 
libscca-20200717/debian/libscca1.install
--- libscca-20200717/debian/libscca1.install    2021-02-02 14:16:20.000000000 
+0000
+++ libscca-20200717/debian/libscca1.install    1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*-*/lib*.so.*
diff -Nru libscca-20200717/debian/libscca1.symbols 
libscca-20200717/debian/libscca1.symbols
--- libscca-20200717/debian/libscca1.symbols    2021-02-02 14:16:20.000000000 
+0000
+++ libscca-20200717/debian/libscca1.symbols    1970-01-01 00:00:00.000000000 
+0000
@@ -1,110 +0,0 @@
-libscca.so.1 libscca1 #MINVER#
- (optional|regex)^libcdata_.* 0
- (optional|regex)^libcerror_.* 0
- (optional|regex)^libcfile_.* 0
- (optional|regex)^libclocale_.* 0
- (optional|regex)^libcnotify_.* 0
- (optional|regex)^libcpath_.* 0
- (optional|regex)^libcsplit_.* 0
- (optional|regex)^libcthreads_.* 0
- (optional|regex)^libfcache_.* 0
- (optional|regex)^libfdata_.* 0
- (optional|regex)^libfdatetime_.* 0
- (optional|regex)^libfvalue_.* 0
- (optional|regex)^libfwnt_.* 0
- (optional|regex)^libuna_.* 0
- libscca_check_file_signature@Base 20160108
- libscca_check_file_signature_file_io_handle@Base 20160108
- libscca_compressed_block_free@Base 20160108
- libscca_compressed_block_initialize@Base 20160108
- libscca_compressed_block_read@Base 20160108
- libscca_compressed_block_read_element_data@Base 20160108
- libscca_compressed_blocks_stream_data_handle_free@Base 20160108
- libscca_compressed_blocks_stream_data_handle_initialize@Base 20160108
- libscca_compressed_blocks_stream_data_handle_read_segment_data@Base 20160108
- libscca_compressed_blocks_stream_data_handle_seek_segment_offset@Base 20160108
- libscca_compressed_blocks_stream_initialize@Base 20160108
- libscca_error_backtrace_fprint@Base 20160108
- libscca_error_backtrace_sprint@Base 20160108
- libscca_error_fprint@Base 20160108
- libscca_error_free@Base 20160108
- libscca_error_sprint@Base 20160108
- libscca_file_close@Base 20160108
- libscca_file_free@Base 20160108
- libscca_file_get_file_metrics_entry@Base 20160108
- libscca_file_get_format_version@Base 20160108
- libscca_file_get_last_run_time@Base 20160108
- libscca_file_get_number_of_file_metrics_entries@Base 20160108
- libscca_file_get_number_of_filenames@Base 20160108
- libscca_file_get_number_of_volumes@Base 20160108
- libscca_file_get_prefetch_hash@Base 20160108
- libscca_file_get_run_count@Base 20160108
- libscca_file_get_utf16_executable_filename@Base 20160108
- libscca_file_get_utf16_executable_filename_size@Base 20160108
- libscca_file_get_utf16_filename@Base 20160108
- libscca_file_get_utf16_filename_size@Base 20160108
- libscca_file_get_utf8_executable_filename@Base 20160108
- libscca_file_get_utf8_executable_filename_size@Base 20160108
- libscca_file_get_utf8_filename@Base 20160108
- libscca_file_get_utf8_filename_size@Base 20160108
- libscca_file_get_volume_information@Base 20160108
- libscca_file_information_free@Base 20160108
- libscca_file_information_initialize@Base 20160108
- libscca_file_information_read_data@Base 20181227
- libscca_file_information_read_stream@Base 20181227
- libscca_file_initialize@Base 20160108
- libscca_file_metrics_free@Base 20160108
- libscca_file_metrics_get_file_reference@Base 20160108
- libscca_file_metrics_get_utf16_filename@Base 20160108
- libscca_file_metrics_get_utf16_filename_size@Base 20160108
- libscca_file_metrics_get_utf8_filename@Base 20160108
- libscca_file_metrics_get_utf8_filename_size@Base 20160108
- libscca_file_metrics_initialize@Base 20160108
- libscca_file_metrics_read_data@Base 20181227
- libscca_file_open@Base 20160108
- libscca_file_open_file_io_handle@Base 20160108
- libscca_file_open_read@Base 20160108
- libscca_file_signal_abort@Base 20160108
- libscca_filename_string_offset_free@Base 20160108
- libscca_filename_strings_clear@Base 20160108
- libscca_filename_strings_free@Base 20160108
- libscca_filename_strings_get_index_by_offset@Base 20160108
- libscca_filename_strings_get_number_of_filenames@Base 20160108
- libscca_filename_strings_get_utf16_filename@Base 20160108
- libscca_filename_strings_get_utf16_filename_size@Base 20160108
- libscca_filename_strings_get_utf8_filename@Base 20160108
- libscca_filename_strings_get_utf8_filename_size@Base 20160108
- libscca_filename_strings_initialize@Base 20160108
- libscca_filename_strings_read_data@Base 20181227
- libscca_filename_strings_read_stream@Base 20181227
- libscca_get_access_flags_read@Base 20160108
- libscca_get_codepage@Base 20160108
- libscca_get_version@Base 20160108
- libscca_internal_file_metrics_free@Base 20160108
- libscca_internal_volume_information_free@Base 20160108
- libscca_io_handle_clear@Base 20160108
- libscca_io_handle_free@Base 20160108
- libscca_io_handle_initialize@Base 20160108
- libscca_io_handle_read_compressed_blocks@Base 20160108
- libscca_io_handle_read_compressed_file_header@Base 20160108
- libscca_io_handle_read_file_metrics_array@Base 20160108
- libscca_io_handle_read_segment_data@Base 20160108
- libscca_io_handle_read_trace_chain_array@Base 20160108
- libscca_io_handle_read_uncompressed_file_header@Base 20160108
- libscca_io_handle_read_volumes_information@Base 20160108
- libscca_io_handle_seek_segment_offset@Base 20160108
- libscca_notify_set_stream@Base 20160108
- libscca_notify_set_verbose@Base 20160108
- libscca_notify_stream_close@Base 20160108
- libscca_notify_stream_open@Base 20160108
- libscca_set_codepage@Base 20160108
- libscca_volume_information_free@Base 20160108
- libscca_volume_information_get_creation_time@Base 20160108
- libscca_volume_information_get_serial_number@Base 20160108
- libscca_volume_information_get_utf16_device_path@Base 20160108
- libscca_volume_information_get_utf16_device_path_size@Base 20160108
- libscca_volume_information_get_utf8_device_path@Base 20160108
- libscca_volume_information_get_utf8_device_path_size@Base 20160108
- libscca_volume_information_initialize@Base 20160108
- scca_file_signature@Base 20160108
- scca_mam_file_signature_win10@Base 20160108
diff -Nru libscca-20200717/debian/libscca1t64.install 
libscca-20200717/debian/libscca1t64.install
--- libscca-20200717/debian/libscca1t64.install 1970-01-01 00:00:00.000000000 
+0000
+++ libscca-20200717/debian/libscca1t64.install 2021-02-02 14:16:20.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*-*/lib*.so.*
diff -Nru libscca-20200717/debian/libscca1t64.lintian-overrides 
libscca-20200717/debian/libscca1t64.lintian-overrides
--- libscca-20200717/debian/libscca1t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ libscca-20200717/debian/libscca1t64.lintian-overrides       2024-02-28 
18:09:34.000000000 +0000
@@ -0,0 +1 @@
+libscca1t64: package-name-doesnt-match-sonames libscca1
diff -Nru libscca-20200717/debian/libscca1t64.symbols 
libscca-20200717/debian/libscca1t64.symbols
--- libscca-20200717/debian/libscca1t64.symbols 1970-01-01 00:00:00.000000000 
+0000
+++ libscca-20200717/debian/libscca1t64.symbols 2024-02-28 18:09:34.000000000 
+0000
@@ -0,0 +1,110 @@
+libscca.so.1 libscca1t64 #MINVER#
+ (optional|regex)^libcdata_.* 0
+ (optional|regex)^libcerror_.* 0
+ (optional|regex)^libcfile_.* 0
+ (optional|regex)^libclocale_.* 0
+ (optional|regex)^libcnotify_.* 0
+ (optional|regex)^libcpath_.* 0
+ (optional|regex)^libcsplit_.* 0
+ (optional|regex)^libcthreads_.* 0
+ (optional|regex)^libfcache_.* 0
+ (optional|regex)^libfdata_.* 0
+ (optional|regex)^libfdatetime_.* 0
+ (optional|regex)^libfvalue_.* 0
+ (optional|regex)^libfwnt_.* 0
+ (optional|regex)^libuna_.* 0
+ libscca_check_file_signature@Base 20160108
+ libscca_check_file_signature_file_io_handle@Base 20160108
+ libscca_compressed_block_free@Base 20160108
+ libscca_compressed_block_initialize@Base 20160108
+ libscca_compressed_block_read@Base 20160108
+ libscca_compressed_block_read_element_data@Base 20160108
+ libscca_compressed_blocks_stream_data_handle_free@Base 20160108
+ libscca_compressed_blocks_stream_data_handle_initialize@Base 20160108
+ libscca_compressed_blocks_stream_data_handle_read_segment_data@Base 20160108
+ libscca_compressed_blocks_stream_data_handle_seek_segment_offset@Base 20160108
+ libscca_compressed_blocks_stream_initialize@Base 20160108
+ libscca_error_backtrace_fprint@Base 20160108
+ libscca_error_backtrace_sprint@Base 20160108
+ libscca_error_fprint@Base 20160108
+ libscca_error_free@Base 20160108
+ libscca_error_sprint@Base 20160108
+ libscca_file_close@Base 20160108
+ libscca_file_free@Base 20160108
+ libscca_file_get_file_metrics_entry@Base 20160108
+ libscca_file_get_format_version@Base 20160108
+ libscca_file_get_last_run_time@Base 20160108
+ libscca_file_get_number_of_file_metrics_entries@Base 20160108
+ libscca_file_get_number_of_filenames@Base 20160108
+ libscca_file_get_number_of_volumes@Base 20160108
+ libscca_file_get_prefetch_hash@Base 20160108
+ libscca_file_get_run_count@Base 20160108
+ libscca_file_get_utf16_executable_filename@Base 20160108
+ libscca_file_get_utf16_executable_filename_size@Base 20160108
+ libscca_file_get_utf16_filename@Base 20160108
+ libscca_file_get_utf16_filename_size@Base 20160108
+ libscca_file_get_utf8_executable_filename@Base 20160108
+ libscca_file_get_utf8_executable_filename_size@Base 20160108
+ libscca_file_get_utf8_filename@Base 20160108
+ libscca_file_get_utf8_filename_size@Base 20160108
+ libscca_file_get_volume_information@Base 20160108
+ libscca_file_information_free@Base 20160108
+ libscca_file_information_initialize@Base 20160108
+ libscca_file_information_read_data@Base 20181227
+ libscca_file_information_read_stream@Base 20181227
+ libscca_file_initialize@Base 20160108
+ libscca_file_metrics_free@Base 20160108
+ libscca_file_metrics_get_file_reference@Base 20160108
+ libscca_file_metrics_get_utf16_filename@Base 20160108
+ libscca_file_metrics_get_utf16_filename_size@Base 20160108
+ libscca_file_metrics_get_utf8_filename@Base 20160108
+ libscca_file_metrics_get_utf8_filename_size@Base 20160108
+ libscca_file_metrics_initialize@Base 20160108
+ libscca_file_metrics_read_data@Base 20181227
+ libscca_file_open@Base 20160108
+ libscca_file_open_file_io_handle@Base 20160108
+ libscca_file_open_read@Base 20160108
+ libscca_file_signal_abort@Base 20160108
+ libscca_filename_string_offset_free@Base 20160108
+ libscca_filename_strings_clear@Base 20160108
+ libscca_filename_strings_free@Base 20160108
+ libscca_filename_strings_get_index_by_offset@Base 20160108
+ libscca_filename_strings_get_number_of_filenames@Base 20160108
+ libscca_filename_strings_get_utf16_filename@Base 20160108
+ libscca_filename_strings_get_utf16_filename_size@Base 20160108
+ libscca_filename_strings_get_utf8_filename@Base 20160108
+ libscca_filename_strings_get_utf8_filename_size@Base 20160108
+ libscca_filename_strings_initialize@Base 20160108
+ libscca_filename_strings_read_data@Base 20181227
+ libscca_filename_strings_read_stream@Base 20181227
+ libscca_get_access_flags_read@Base 20160108
+ libscca_get_codepage@Base 20160108
+ libscca_get_version@Base 20160108
+ libscca_internal_file_metrics_free@Base 20160108
+ libscca_internal_volume_information_free@Base 20160108
+ libscca_io_handle_clear@Base 20160108
+ libscca_io_handle_free@Base 20160108
+ libscca_io_handle_initialize@Base 20160108
+ libscca_io_handle_read_compressed_blocks@Base 20160108
+ libscca_io_handle_read_compressed_file_header@Base 20160108
+ libscca_io_handle_read_file_metrics_array@Base 20160108
+ libscca_io_handle_read_segment_data@Base 20160108
+ libscca_io_handle_read_trace_chain_array@Base 20160108
+ libscca_io_handle_read_uncompressed_file_header@Base 20160108
+ libscca_io_handle_read_volumes_information@Base 20160108
+ libscca_io_handle_seek_segment_offset@Base 20160108
+ libscca_notify_set_stream@Base 20160108
+ libscca_notify_set_verbose@Base 20160108
+ libscca_notify_stream_close@Base 20160108
+ libscca_notify_stream_open@Base 20160108
+ libscca_set_codepage@Base 20160108
+ libscca_volume_information_free@Base 20160108
+ libscca_volume_information_get_creation_time@Base 20160108
+ libscca_volume_information_get_serial_number@Base 20160108
+ libscca_volume_information_get_utf16_device_path@Base 20160108
+ libscca_volume_information_get_utf16_device_path_size@Base 20160108
+ libscca_volume_information_get_utf8_device_path@Base 20160108
+ libscca_volume_information_get_utf8_device_path_size@Base 20160108
+ libscca_volume_information_initialize@Base 20160108
+ scca_file_signature@Base 20160108
+ scca_mam_file_signature_win10@Base 20160108

Reply via email to