Source: tpm-tools
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 tpm-tools-1.3.9.2/debian/changelog tpm-tools-1.3.9.2/debian/changelog
--- tpm-tools-1.3.9.2/debian/changelog  2022-07-01 20:34:48.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/changelog  2024-02-29 18:27:21.000000000 +0000
@@ -1,3 +1,10 @@
+tpm-tools (1.3.9.2-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062991
+
+ -- Benjamin Drung <bdr...@debian.org>  Thu, 29 Feb 2024 18:27:21 +0000
+
 tpm-tools (1.3.9.2-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru tpm-tools-1.3.9.2/debian/control tpm-tools-1.3.9.2/debian/control
--- tpm-tools-1.3.9.2/debian/control    2022-07-01 20:34:48.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/control    2024-02-29 18:27:21.000000000 +0000
@@ -2,7 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Pierre Chifflier <pol...@debian.org>
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper (>= 10), automake, libopencryptoki-dev,
  libtspi-dev (>= 0.3.10),
  quilt, autopoint
@@ -38,7 +38,10 @@
  This package contains commands to utilize some of the capabilities available
  in the TPM PKCS#11 interface implemented in the openCryptoki project.
 
-Package: libtpm-unseal1
+Package: libtpm-unseal1t64
+Provides: ${t64:Provides}
+Replaces: libtpm-unseal1
+Breaks: libtpm-unseal1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -54,7 +57,7 @@
 Package: libtpm-unseal-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libtpm-unseal1 (= ${binary:Version})
+Depends: ${misc:Depends}, libtpm-unseal1t64 (= ${binary:Version})
 Description: Management tools for the TPM hardware (development)
  tpm-tools is a group of tools to manage and utilize the Trusted Computing
  Group's TPM hardware. TPM hardware can create, store and use RSA keys
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1.install 
tpm-tools-1.3.9.2/debian/libtpm-unseal1.install
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1.install     2022-07-01 
20:28:42.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1.install     1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/usr/lib/*/*.so.*
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols 
tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols     2022-07-01 
20:28:44.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols     1970-01-01 
00:00:00.000000000 +0000
@@ -1,103 +0,0 @@
-libtpm_unseal.so.1 libtpm-unseal1 #MINVER#
- NVDefineSpace@Base 1.3.8
- NVReadValue@Base 1.3.8
- NVReleaseSpace@Base 1.3.8
- NVWriteValue@Base 1.3.8
- SRK_UUID@Base 1.3.8
- __memset@Base 1.3.9
- _getPasswd12@Base 1.3.8
- _getPasswd@Base 1.3.8
- alg3Des@Base 1.3.8
- algAes@Base 1.3.8
- algDes@Base 1.3.8
- algHmac@Base 1.3.8
- algRsa@Base 1.3.8
- algSha@Base 1.3.8
- authUsageAlways@Base 1.3.8
- authUsageNever@Base 1.3.8
- contextClose@Base 1.3.8
- contextCloseObject@Base 1.3.8
- contextConnect@Base 1.3.8
- contextCreate@Base 1.3.8
- contextCreateObject@Base 1.3.8
- contextGetTpm@Base 1.3.8
- dataSeal@Base 1.3.8
- displayAlgorithmMap@Base 1.3.8
- displayAuthUsageMap@Base 1.3.8
- displayEncSchemeMap@Base 1.3.8
- displayKey@Base 1.3.8
- displayKeyFlagsMap@Base 1.3.8
- displayKeyUsageMap@Base 1.3.8
- displaySigSchemeMap@Base 1.3.8
- encNone@Base 1.3.8
- encRsaOaepSha1Mgf1@Base 1.3.8
- encRsaPkcs15@Base 1.3.8
- flagMap@Base 1.3.8
- flagMax@Base 1.3.8
- genericOptHandler@Base 1.3.8
- getAttribData@Base 1.3.8
- getAttribUint32@Base 1.3.8
- getCapability@Base 1.3.8
- getPasswd12@Base 1.3.8
- getPlainPasswd@Base 1.3.8
- getReply@Base 1.3.8
- hContext@Base 1.3.8
- iLogLevel@Base 1.3.8
- initIntlSys@Base 1.3.8
- isTpmOwned@Base 1.3.8
- keyCreateKey@Base 1.3.8
- keyGetKeyByUUID@Base 1.3.8
- keyGetPubKey@Base 1.3.8
- keyLoadKey@Base 1.3.8
- keyLoadKeyByUUID@Base 1.3.8
- logBool@Base 1.3.8
- logCmdHelp@Base 1.3.8
- logCmdHelpEx@Base 1.3.8
- logCmdOption@Base 1.3.8
- logDebug@Base 1.3.8
- logError@Base 1.3.8
- logGenericOptions@Base 1.3.8
- logHex@Base 1.3.8
- logInfo@Base 1.3.8
- logIt@Base 1.3.8
- logMsg@Base 1.3.8
- logNVIndexCmdOption@Base 1.3.8
- logOwnerPassCmdOption@Base 1.3.8
- logProcess@Base 1.3.8
- logSuccess@Base 1.3.8
- logUnicodeCmdOption@Base 1.3.8
- mapTssBool@Base 1.3.8
- mapUnknown@Base 1.3.8
- pcrcompositeSetPcrLocality@Base 1.3.8
- pcrcompositeSetPcrValue@Base 1.3.8
- policyAssign@Base 1.3.8
- policyFlushSecret@Base 1.3.8
- policyGet@Base 1.3.8
- policySetSecret@Base 1.3.8
- shredPasswd@Base 1.3.8
- sigNone@Base 1.3.8
- sigRsaPkcs15Der@Base 1.3.8
- sigRsaPkcs15Sha1@Base 1.3.8
- tpmGetPubEk@Base 1.3.8
- tpmGetRandom@Base 1.3.8
- tpmGetStatus@Base 1.3.8
- tpmPcrRead@Base 1.3.8
- tpmSetStatus@Base 1.3.8
- tpmUnsealFile@Base 1.3.8
- tpmUnsealShred@Base 1.3.8
- tpmUnsealStrerror@Base 1.3.8
- tpm_errno@Base 1.3.8
- tpm_error_buf@Base 1.3.8
- tspiDebug@Base 1.3.8
- tspiError@Base 1.3.8
- tspiResult@Base 1.3.8
- tspi_error_strings@Base 1.3.8
- unloadNVDataPublic@Base 1.3.8
- unloadVersionInfo@Base 1.3.8
- usageAuthChange@Base 1.3.8
- usageBind@Base 1.3.8
- usageIdentity@Base 1.3.8
- usageLegacy@Base 1.3.8
- usageSigning@Base 1.3.8
- usageStorage@Base 1.3.8
- useUnicode@Base 1.3.8
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install 
tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install  1970-01-01 
00:00:00.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install  2022-07-01 
20:28:42.000000000 +0000
@@ -0,0 +1 @@
+/usr/lib/*/*.so.*
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides 
tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides        
1970-01-01 00:00:00.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides        
2024-02-29 18:27:17.000000000 +0000
@@ -0,0 +1 @@
+libtpm-unseal1t64: package-name-doesnt-match-sonames libtpm-unseal1
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols 
tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols  1970-01-01 
00:00:00.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols  2024-02-29 
18:27:17.000000000 +0000
@@ -0,0 +1,103 @@
+libtpm_unseal.so.1 libtpm-unseal1t64 #MINVER#
+ NVDefineSpace@Base 1.3.8
+ NVReadValue@Base 1.3.8
+ NVReleaseSpace@Base 1.3.8
+ NVWriteValue@Base 1.3.8
+ SRK_UUID@Base 1.3.8
+ __memset@Base 1.3.9
+ _getPasswd12@Base 1.3.8
+ _getPasswd@Base 1.3.8
+ alg3Des@Base 1.3.8
+ algAes@Base 1.3.8
+ algDes@Base 1.3.8
+ algHmac@Base 1.3.8
+ algRsa@Base 1.3.8
+ algSha@Base 1.3.8
+ authUsageAlways@Base 1.3.8
+ authUsageNever@Base 1.3.8
+ contextClose@Base 1.3.8
+ contextCloseObject@Base 1.3.8
+ contextConnect@Base 1.3.8
+ contextCreate@Base 1.3.8
+ contextCreateObject@Base 1.3.8
+ contextGetTpm@Base 1.3.8
+ dataSeal@Base 1.3.8
+ displayAlgorithmMap@Base 1.3.8
+ displayAuthUsageMap@Base 1.3.8
+ displayEncSchemeMap@Base 1.3.8
+ displayKey@Base 1.3.8
+ displayKeyFlagsMap@Base 1.3.8
+ displayKeyUsageMap@Base 1.3.8
+ displaySigSchemeMap@Base 1.3.8
+ encNone@Base 1.3.8
+ encRsaOaepSha1Mgf1@Base 1.3.8
+ encRsaPkcs15@Base 1.3.8
+ flagMap@Base 1.3.8
+ flagMax@Base 1.3.8
+ genericOptHandler@Base 1.3.8
+ getAttribData@Base 1.3.8
+ getAttribUint32@Base 1.3.8
+ getCapability@Base 1.3.8
+ getPasswd12@Base 1.3.8
+ getPlainPasswd@Base 1.3.8
+ getReply@Base 1.3.8
+ hContext@Base 1.3.8
+ iLogLevel@Base 1.3.8
+ initIntlSys@Base 1.3.8
+ isTpmOwned@Base 1.3.8
+ keyCreateKey@Base 1.3.8
+ keyGetKeyByUUID@Base 1.3.8
+ keyGetPubKey@Base 1.3.8
+ keyLoadKey@Base 1.3.8
+ keyLoadKeyByUUID@Base 1.3.8
+ logBool@Base 1.3.8
+ logCmdHelp@Base 1.3.8
+ logCmdHelpEx@Base 1.3.8
+ logCmdOption@Base 1.3.8
+ logDebug@Base 1.3.8
+ logError@Base 1.3.8
+ logGenericOptions@Base 1.3.8
+ logHex@Base 1.3.8
+ logInfo@Base 1.3.8
+ logIt@Base 1.3.8
+ logMsg@Base 1.3.8
+ logNVIndexCmdOption@Base 1.3.8
+ logOwnerPassCmdOption@Base 1.3.8
+ logProcess@Base 1.3.8
+ logSuccess@Base 1.3.8
+ logUnicodeCmdOption@Base 1.3.8
+ mapTssBool@Base 1.3.8
+ mapUnknown@Base 1.3.8
+ pcrcompositeSetPcrLocality@Base 1.3.8
+ pcrcompositeSetPcrValue@Base 1.3.8
+ policyAssign@Base 1.3.8
+ policyFlushSecret@Base 1.3.8
+ policyGet@Base 1.3.8
+ policySetSecret@Base 1.3.8
+ shredPasswd@Base 1.3.8
+ sigNone@Base 1.3.8
+ sigRsaPkcs15Der@Base 1.3.8
+ sigRsaPkcs15Sha1@Base 1.3.8
+ tpmGetPubEk@Base 1.3.8
+ tpmGetRandom@Base 1.3.8
+ tpmGetStatus@Base 1.3.8
+ tpmPcrRead@Base 1.3.8
+ tpmSetStatus@Base 1.3.8
+ tpmUnsealFile@Base 1.3.8
+ tpmUnsealShred@Base 1.3.8
+ tpmUnsealStrerror@Base 1.3.8
+ tpm_errno@Base 1.3.8
+ tpm_error_buf@Base 1.3.8
+ tspiDebug@Base 1.3.8
+ tspiError@Base 1.3.8
+ tspiResult@Base 1.3.8
+ tspi_error_strings@Base 1.3.8
+ unloadNVDataPublic@Base 1.3.8
+ unloadVersionInfo@Base 1.3.8
+ usageAuthChange@Base 1.3.8
+ usageBind@Base 1.3.8
+ usageIdentity@Base 1.3.8
+ usageLegacy@Base 1.3.8
+ usageSigning@Base 1.3.8
+ usageStorage@Base 1.3.8
+ useUnicode@Base 1.3.8

Reply via email to