Source: libfvde
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 libfvde-20190104/debian/changelog libfvde-20190104/debian/changelog
--- libfvde-20190104/debian/changelog   2020-01-18 21:35:22.000000000 +0000
+++ libfvde-20190104/debian/changelog   2024-02-28 12:10:37.000000000 +0000
@@ -1,3 +1,10 @@
+libfvde (20190104-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062304
+
+ -- Benjamin Drung <[email protected]>  Wed, 28 Feb 2024 12:10:37 +0000
+
 libfvde (20190104-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru libfvde-20190104/debian/control libfvde-20190104/debian/control
--- libfvde-20190104/debian/control     2020-01-18 21:35:22.000000000 +0000
+++ libfvde-20190104/debian/control     2024-02-28 12:10:37.000000000 +0000
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Debian Security Tools <[email protected]>
 Uploaders: Hilko Bengen <[email protected]>
-Build-Depends: debhelper (>= 11), dh-python,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 11), dh-python,
  pkg-config,
  python3-dev,
  libbfio-dev,
@@ -18,14 +18,17 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libfvde1 (= ${binary:Version})
+ libfvde1t64 (= ${binary:Version})
 Description: FileVault Drive Encryption access library -- development files
  The FVDE format is used by Mac OS X, as of Lion, to encrypt data on a
  storage media volume.
  .
  This package includes the development support files.
 
-Package: libfvde1
+Package: libfvde1t64
+Provides: ${t64:Provides}
+Replaces: libfvde1
+Breaks: libfvde1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -42,7 +45,7 @@
 Architecture: any
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libfvde1,
+ libfvde1t64,
 Description: FileVault Drive Encryption access library -- Utilities
  The FVDE format is used by Mac OS X, as of Lion, to encrypt data on a
  storage media volume.
@@ -53,7 +56,7 @@
 Package: python3-libfvde
 Section: python
 Architecture: any
-Depends: libfvde1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, 
${python3:Depends}
+Depends: libfvde1t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, ${python3:Depends}
 Description: FileVault Drive Encryption access library -- Python 3 bindings
  The FVDE format is used by Mac OS X, as of Lion, to encrypt data on a
  storage media volume.
diff -Nru libfvde-20190104/debian/libfvde1.install 
libfvde-20190104/debian/libfvde1.install
--- libfvde-20190104/debian/libfvde1.install    2020-01-18 21:35:22.000000000 
+0000
+++ libfvde-20190104/debian/libfvde1.install    1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*-*/lib*.so.*
diff -Nru libfvde-20190104/debian/libfvde1.symbols 
libfvde-20190104/debian/libfvde1.symbols
--- libfvde-20190104/debian/libfvde1.symbols    2020-01-18 21:35:22.000000000 
+0000
+++ libfvde-20190104/debian/libfvde1.symbols    1970-01-01 00:00:00.000000000 
+0000
@@ -1,145 +0,0 @@
-libfvde.so.1 libfvde1 #MINVER#
- (optional|regex)^libcaes_.* 0
- (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)^libfguid_.* 0
- (optional|regex)^libfplist_.* 0
- (optional|regex)^libfvalue_.* 0
- (optional|regex)^libhmac_.* 0
- (optional|regex)^libuna_.* 0
- (optional|regex)^xml_.* 0
- additional_offset_encrypted_volume_start@Base 20160801
- libfvde_check_volume_signature@Base 20160801
- libfvde_check_volume_signature_file_io_handle@Base 20160801
- libfvde_checksum_calculate_weak_crc32@Base 20160801
- libfvde_checksum_crc32_table@Base 20160801
- libfvde_checksum_crc32_table_computed@Base 20160801
- libfvde_checksum_initialize_crc32_table@Base 20160801
- libfvde_core_storage_signature@Base 20160801
- libfvde_data_area_descriptor_free@Base 20160801
- libfvde_data_area_descriptor_initialize@Base 20160801
- libfvde_decompress_data@Base 20160801
- libfvde_deflate_bit_stream_get_huffman_encoded_value@Base 20160801
- libfvde_deflate_bit_stream_get_value@Base 20160801
- libfvde_deflate_calculate_adler32@Base 20160801
- libfvde_deflate_decode_huffman@Base 20160801
- libfvde_deflate_decompress@Base 20160801
- libfvde_deflate_huffman_table_construct@Base 20160801
- libfvde_deflate_initialize_dynamic_huffman_tables@Base 20160801
- libfvde_deflate_initialize_fixed_huffman_tables@Base 20160801
- libfvde_encrypted_metadata_free@Base 20160801
- libfvde_encrypted_metadata_get_data_area_descriptor_by_index@Base 20170930
- libfvde_encrypted_metadata_get_number_of_data_area_descriptors@Base 20170930
- libfvde_encrypted_metadata_get_volume_master_key@Base 20160801
- libfvde_encrypted_metadata_initialize@Base 20160801
- libfvde_encrypted_metadata_read@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0012@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0013@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0014@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0016@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0017@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0018@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0019@Base 20160801
- libfvde_encrypted_metadata_read_type_0x001a@Base 20160801
- libfvde_encrypted_metadata_read_type_0x001c@Base 20160801
- libfvde_encrypted_metadata_read_type_0x001d@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0021@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0022@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0025@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0105@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0304@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0305@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0404@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0405@Base 20160801
- libfvde_encrypted_metadata_read_type_0x0505@Base 20160801
- libfvde_encrypted_metadata_wrapped_kek_initialization_vector@Base 20160801
- libfvde_encryption_aes_key_unwrap@Base 20160801
- libfvde_encryption_context_plist_copy_data@Base 20160801
- libfvde_encryption_context_plist_decrypt@Base 20160801
- libfvde_encryption_context_plist_free@Base 20160801
- libfvde_encryption_context_plist_get_conversion_status@Base 20160801
- libfvde_encryption_context_plist_get_data_size@Base 20160801
- libfvde_encryption_context_plist_get_kek_wrapped_volume_key@Base 20160801
- libfvde_encryption_context_plist_get_passphrase_wrapped_kek@Base 20160801
- libfvde_encryption_context_plist_initialize@Base 20160801
- libfvde_encryption_context_plist_read_file_io_handle@Base 20160801
- libfvde_encryption_context_plist_read_xml@Base 20160801
- libfvde_encryption_context_plist_set_data@Base 20160801
- libfvde_error_backtrace_fprint@Base 20160801
- libfvde_error_backtrace_sprint@Base 20160801
- libfvde_error_fprint@Base 20160801
- libfvde_error_free@Base 20160801
- libfvde_error_sprint@Base 20160801
- libfvde_get_access_flags_read@Base 20160801
- libfvde_get_codepage@Base 20160801
- libfvde_get_version@Base 20160801
- libfvde_internal_volume_group_free@Base 20160801
- libfvde_internal_volume_read_buffer_from_file_io_handle@Base 20160801
- libfvde_internal_volume_seek_offset@Base 20160801
- libfvde_io_handle_clear@Base 20160801
- libfvde_io_handle_free@Base 20160801
- libfvde_io_handle_initialize@Base 20160801
- libfvde_io_handle_read_logical_volume_header@Base 20160801
- libfvde_io_handle_read_sector@Base 20160801
- libfvde_io_handle_read_volume_header@Base 20160801
- libfvde_keyring_free@Base 20160801
- libfvde_keyring_initialize@Base 20160801
- libfvde_metadata_block_check_for_empty_block@Base 20160801
- libfvde_metadata_block_free@Base 20160801
- libfvde_metadata_block_initialize@Base 20160801
- libfvde_metadata_block_read_data@Base 20170930
- libfvde_metadata_free@Base 20160801
- libfvde_metadata_initialize@Base 20160801
- libfvde_metadata_read@Base 20160801
- libfvde_metadata_read_core_storage_plist@Base 20160801
- libfvde_metadata_read_type_0x0011@Base 20160801
- libfvde_notify_set_stream@Base 20160801
- libfvde_notify_set_verbose@Base 20160801
- libfvde_notify_stream_close@Base 20160801
- libfvde_notify_stream_open@Base 20160801
- libfvde_password_pbkdf2@Base 20160801
- libfvde_sector_data_free@Base 20160801
- libfvde_sector_data_initialize@Base 20160801
- libfvde_sector_data_read@Base 20160801
- libfvde_segment_descriptor_free@Base 20190104
- libfvde_segment_descriptor_initialize@Base 20190104
- libfvde_set_codepage@Base 20160801
- libfvde_volume_close@Base 20160801
- libfvde_volume_free@Base 20160801
- libfvde_volume_get_encryption_method@Base 20160801
- libfvde_volume_get_logical_volume_encryption_method@Base 20160801
- libfvde_volume_get_logical_volume_group_identifier@Base 20160801
- libfvde_volume_get_logical_volume_identifier@Base 20160801
- libfvde_volume_get_logical_volume_size@Base 20160801
- libfvde_volume_get_offset@Base 20160801
- libfvde_volume_get_physical_volume_encryption_method@Base 20160801
- libfvde_volume_get_physical_volume_identifier@Base 20160801
- libfvde_volume_get_physical_volume_size@Base 20160801
- libfvde_volume_get_size@Base 20160801
- libfvde_volume_group_free@Base 20160801
- libfvde_volume_group_initialize@Base 20160801
- libfvde_volume_initialize@Base 20160801
- libfvde_volume_is_locked@Base 20160801
- libfvde_volume_open@Base 20160801
- libfvde_volume_open_file_io_handle@Base 20160801
- libfvde_volume_open_read@Base 20160801
- libfvde_volume_open_read_keys_from_encrypted_metadata@Base 20160801
- libfvde_volume_read_buffer@Base 20160801
- libfvde_volume_read_buffer_at_offset@Base 20160801
- libfvde_volume_read_encrypted_root_plist@Base 20160801
- libfvde_volume_read_encrypted_root_plist_file_io_handle@Base 20160801
- libfvde_volume_seek_offset@Base 20160801
- libfvde_volume_set_keys@Base 20160801
- libfvde_volume_set_utf16_password@Base 20160801
- libfvde_volume_set_utf16_recovery_password@Base 20160801
- libfvde_volume_set_utf8_password@Base 20160801
- libfvde_volume_set_utf8_recovery_password@Base 20160801
- libfvde_volume_signal_abort@Base 20160801
diff -Nru libfvde-20190104/debian/libfvde1t64.install 
libfvde-20190104/debian/libfvde1t64.install
--- libfvde-20190104/debian/libfvde1t64.install 1970-01-01 00:00:00.000000000 
+0000
+++ libfvde-20190104/debian/libfvde1t64.install 2020-01-18 21:35:22.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*-*/lib*.so.*
diff -Nru libfvde-20190104/debian/libfvde1t64.lintian-overrides 
libfvde-20190104/debian/libfvde1t64.lintian-overrides
--- libfvde-20190104/debian/libfvde1t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ libfvde-20190104/debian/libfvde1t64.lintian-overrides       2024-02-28 
12:10:32.000000000 +0000
@@ -0,0 +1 @@
+libfvde1t64: package-name-doesnt-match-sonames libfvde1
diff -Nru libfvde-20190104/debian/libfvde1t64.symbols 
libfvde-20190104/debian/libfvde1t64.symbols
--- libfvde-20190104/debian/libfvde1t64.symbols 1970-01-01 00:00:00.000000000 
+0000
+++ libfvde-20190104/debian/libfvde1t64.symbols 2024-02-28 12:10:32.000000000 
+0000
@@ -0,0 +1,145 @@
+libfvde.so.1 libfvde1t64 #MINVER#
+ (optional|regex)^libcaes_.* 0
+ (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)^libfguid_.* 0
+ (optional|regex)^libfplist_.* 0
+ (optional|regex)^libfvalue_.* 0
+ (optional|regex)^libhmac_.* 0
+ (optional|regex)^libuna_.* 0
+ (optional|regex)^xml_.* 0
+ additional_offset_encrypted_volume_start@Base 20160801
+ libfvde_check_volume_signature@Base 20160801
+ libfvde_check_volume_signature_file_io_handle@Base 20160801
+ libfvde_checksum_calculate_weak_crc32@Base 20160801
+ libfvde_checksum_crc32_table@Base 20160801
+ libfvde_checksum_crc32_table_computed@Base 20160801
+ libfvde_checksum_initialize_crc32_table@Base 20160801
+ libfvde_core_storage_signature@Base 20160801
+ libfvde_data_area_descriptor_free@Base 20160801
+ libfvde_data_area_descriptor_initialize@Base 20160801
+ libfvde_decompress_data@Base 20160801
+ libfvde_deflate_bit_stream_get_huffman_encoded_value@Base 20160801
+ libfvde_deflate_bit_stream_get_value@Base 20160801
+ libfvde_deflate_calculate_adler32@Base 20160801
+ libfvde_deflate_decode_huffman@Base 20160801
+ libfvde_deflate_decompress@Base 20160801
+ libfvde_deflate_huffman_table_construct@Base 20160801
+ libfvde_deflate_initialize_dynamic_huffman_tables@Base 20160801
+ libfvde_deflate_initialize_fixed_huffman_tables@Base 20160801
+ libfvde_encrypted_metadata_free@Base 20160801
+ libfvde_encrypted_metadata_get_data_area_descriptor_by_index@Base 20170930
+ libfvde_encrypted_metadata_get_number_of_data_area_descriptors@Base 20170930
+ libfvde_encrypted_metadata_get_volume_master_key@Base 20160801
+ libfvde_encrypted_metadata_initialize@Base 20160801
+ libfvde_encrypted_metadata_read@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0012@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0013@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0014@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0016@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0017@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0018@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0019@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x001a@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x001c@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x001d@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0021@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0022@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0025@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0105@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0304@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0305@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0404@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0405@Base 20160801
+ libfvde_encrypted_metadata_read_type_0x0505@Base 20160801
+ libfvde_encrypted_metadata_wrapped_kek_initialization_vector@Base 20160801
+ libfvde_encryption_aes_key_unwrap@Base 20160801
+ libfvde_encryption_context_plist_copy_data@Base 20160801
+ libfvde_encryption_context_plist_decrypt@Base 20160801
+ libfvde_encryption_context_plist_free@Base 20160801
+ libfvde_encryption_context_plist_get_conversion_status@Base 20160801
+ libfvde_encryption_context_plist_get_data_size@Base 20160801
+ libfvde_encryption_context_plist_get_kek_wrapped_volume_key@Base 20160801
+ libfvde_encryption_context_plist_get_passphrase_wrapped_kek@Base 20160801
+ libfvde_encryption_context_plist_initialize@Base 20160801
+ libfvde_encryption_context_plist_read_file_io_handle@Base 20160801
+ libfvde_encryption_context_plist_read_xml@Base 20160801
+ libfvde_encryption_context_plist_set_data@Base 20160801
+ libfvde_error_backtrace_fprint@Base 20160801
+ libfvde_error_backtrace_sprint@Base 20160801
+ libfvde_error_fprint@Base 20160801
+ libfvde_error_free@Base 20160801
+ libfvde_error_sprint@Base 20160801
+ libfvde_get_access_flags_read@Base 20160801
+ libfvde_get_codepage@Base 20160801
+ libfvde_get_version@Base 20160801
+ libfvde_internal_volume_group_free@Base 20160801
+ libfvde_internal_volume_read_buffer_from_file_io_handle@Base 20160801
+ libfvde_internal_volume_seek_offset@Base 20160801
+ libfvde_io_handle_clear@Base 20160801
+ libfvde_io_handle_free@Base 20160801
+ libfvde_io_handle_initialize@Base 20160801
+ libfvde_io_handle_read_logical_volume_header@Base 20160801
+ libfvde_io_handle_read_sector@Base 20160801
+ libfvde_io_handle_read_volume_header@Base 20160801
+ libfvde_keyring_free@Base 20160801
+ libfvde_keyring_initialize@Base 20160801
+ libfvde_metadata_block_check_for_empty_block@Base 20160801
+ libfvde_metadata_block_free@Base 20160801
+ libfvde_metadata_block_initialize@Base 20160801
+ libfvde_metadata_block_read_data@Base 20170930
+ libfvde_metadata_free@Base 20160801
+ libfvde_metadata_initialize@Base 20160801
+ libfvde_metadata_read@Base 20160801
+ libfvde_metadata_read_core_storage_plist@Base 20160801
+ libfvde_metadata_read_type_0x0011@Base 20160801
+ libfvde_notify_set_stream@Base 20160801
+ libfvde_notify_set_verbose@Base 20160801
+ libfvde_notify_stream_close@Base 20160801
+ libfvde_notify_stream_open@Base 20160801
+ libfvde_password_pbkdf2@Base 20160801
+ libfvde_sector_data_free@Base 20160801
+ libfvde_sector_data_initialize@Base 20160801
+ libfvde_sector_data_read@Base 20160801
+ libfvde_segment_descriptor_free@Base 20190104
+ libfvde_segment_descriptor_initialize@Base 20190104
+ libfvde_set_codepage@Base 20160801
+ libfvde_volume_close@Base 20160801
+ libfvde_volume_free@Base 20160801
+ libfvde_volume_get_encryption_method@Base 20160801
+ libfvde_volume_get_logical_volume_encryption_method@Base 20160801
+ libfvde_volume_get_logical_volume_group_identifier@Base 20160801
+ libfvde_volume_get_logical_volume_identifier@Base 20160801
+ libfvde_volume_get_logical_volume_size@Base 20160801
+ libfvde_volume_get_offset@Base 20160801
+ libfvde_volume_get_physical_volume_encryption_method@Base 20160801
+ libfvde_volume_get_physical_volume_identifier@Base 20160801
+ libfvde_volume_get_physical_volume_size@Base 20160801
+ libfvde_volume_get_size@Base 20160801
+ libfvde_volume_group_free@Base 20160801
+ libfvde_volume_group_initialize@Base 20160801
+ libfvde_volume_initialize@Base 20160801
+ libfvde_volume_is_locked@Base 20160801
+ libfvde_volume_open@Base 20160801
+ libfvde_volume_open_file_io_handle@Base 20160801
+ libfvde_volume_open_read@Base 20160801
+ libfvde_volume_open_read_keys_from_encrypted_metadata@Base 20160801
+ libfvde_volume_read_buffer@Base 20160801
+ libfvde_volume_read_buffer_at_offset@Base 20160801
+ libfvde_volume_read_encrypted_root_plist@Base 20160801
+ libfvde_volume_read_encrypted_root_plist_file_io_handle@Base 20160801
+ libfvde_volume_seek_offset@Base 20160801
+ libfvde_volume_set_keys@Base 20160801
+ libfvde_volume_set_utf16_password@Base 20160801
+ libfvde_volume_set_utf16_recovery_password@Base 20160801
+ libfvde_volume_set_utf8_password@Base 20160801
+ libfvde_volume_set_utf8_recovery_password@Base 20160801
+ libfvde_volume_signal_abort@Base 20160801

Reply via email to