Your message dated Tue, 11 Jul 2023 13:52:16 +0000
with message-id <[email protected]>
and subject line Bug#1031571: fixed in oath-toolkit 2.6.9-1
has caused the Debian Bug report #1031571,
regarding oath-toolkit: please depend on faketime instead of datefudge
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1031571: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031571
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: oath-toolkit
Version: 2.6.7-3
Severity: wishlist
Tags: patch upstream
Hello.
Datefudge is broken on 32-bit architectures (release-critical bug
#1028587). The author recommends to use alternative tools in message
24 of the bug log. Only two consumers are remaining, gnutls28 and
oath-toolkit.
The attached diff replaces datefudge with faketime in gnutls28.
The change only affects tests.
The severity is 'wishlist' for oath-toolkit, but the attached patch
(and a similar one for gnutls28) would allow to remove the datefudge
package and 1 RC bug from bookworm.
>From 621fef1bb538d0f4dab5f23f2ba25d0ef093c850 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <[email protected]>
Date: Sat, 18 Feb 2023 18:08:58 +0100
Subject: [PATCH] Replace datefudge with faketime
---
debian/control | 2 +-
.../replace-datefudge-with-faketime.diff | 47 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 49 insertions(+), 1 deletion(-)
create mode 100644 debian/patches/replace-datefudge-with-faketime.diff
diff --git a/debian/control b/debian/control
index 2c64292..5f7d31f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: OATH Toolkit Team <[email protected]>
Uploaders: Simon Josefsson <[email protected]>
-Build-Depends: datefudge <!nocheck>,
+Build-Depends: faketime <!nocheck>,
debhelper-compat (= 13),
pkg-config,
gengetopt,
diff --git a/debian/patches/replace-datefudge-with-faketime.diff b/debian/patches/replace-datefudge-with-faketime.diff
new file mode 100644
index 0000000..39780c1
--- /dev/null
+++ b/debian/patches/replace-datefudge-with-faketime.diff
@@ -0,0 +1,47 @@
+Description: replace datefudge with faketime
+ Datefudge is broken on 32-bit architectures. The author recommends
+ to use alternative tools in message 24 of #1028587.
+ .
+ There only remains two users of datefudge, which has an RC bug.
+Author: Nicolas Boulenguez <[email protected]>
+
+--- a/liboath/tests/tst_usersfile.sh
++++ b/liboath/tests/tst_usersfile.sh
+@@ -22,15 +22,15 @@
+ TZ=UTC
+ export TZ
+
+-TSTAMP=`datefudge "2006-09-23" date -u +%s`
++TSTAMP=`faketime "2006-09-23" date -u +%s`
+ if test "$TSTAMP" != "1158969600"; then
+- echo "Could not fake timestamps with datefudge."
++ echo "Could not fake timestamps with faketime."
+ exit 77
+ fi
+
+ cp $srcdir/users.oath tmp.oath
+
+-datefudge 2006-12-07 ./tst_usersfile$EXEEXT
++faketime 2006-12-07 ./tst_usersfile$EXEEXT
+ rc=$?
+ sed 's/2006-12-07T00:00:0.L/2006-12-07T00:00:00L/g' < tmp.oath > tmp2.oath
+ diff -ur $srcdir/expect.oath tmp2.oath || rc=1
+--- a/pam_oath/tests/run-root-tests.sh
++++ b/pam_oath/tests/run-root-tests.sh
+@@ -52,13 +52,13 @@
+ exit 77
+ fi
+
+-TSTAMP=`datefudge "2006-09-23" date -u +%s`
++TSTAMP=`faketime "2006-09-23" date -u +%s`
+ if test "$TSTAMP" != "1158962400"; then
+- echo "Cannot fake timestamp, install datefudge to check better. ($TSTAMP)"
++ echo "Cannot fake timestamp, install faketime to check better. ($TSTAMP)"
+ ./test-pam_oath-root user3
+ rc=$?
+ else
+- datefudge 2006-12-07 ./test-pam_oath-root user3
++ faketime 2006-12-07 ./test-pam_oath-root user3
+ rc=$?
+ fi
+
diff --git a/debian/patches/series b/debian/patches/series
index ecac8e7..1a1bb7d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
handle-xmlsec-1.2.35.diff
+replace-datefudge-with-faketime.diff
--
2.39.1
--- End Message ---
--- Begin Message ---
Source: oath-toolkit
Source-Version: 2.6.9-1
Done: Simon Josefsson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
oath-toolkit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon Josefsson <[email protected]> (supplier of updated oath-toolkit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 11 Jul 2023 15:21:36 +0200
Source: oath-toolkit
Architecture: source
Version: 2.6.9-1
Distribution: unstable
Urgency: medium
Maintainer: OATH Toolkit Team <[email protected]>
Changed-By: Simon Josefsson <[email protected]>
Closes: 1031571
Changes:
oath-toolkit (2.6.9-1) unstable; urgency=medium
.
* New upstream version 2.6.9
* Use faketime instead of datefudge. Closes: #1031571.
* Drop NMU patch, now resolved upstream.
* Bump Standards-Version 4.6.2 from 4.6.0.
* Drop gbp dch id-length.
* Add lintian-overrides for false positive of source-is-missing.
Checksums-Sha1:
d9ffd0ad3e6972245f59f00f47664122dee52660 2059 oath-toolkit_2.6.9-1.dsc
f2c6d1d7c152aec9ec13e5d4dcc9fb1669c8014c 4693524 oath-toolkit_2.6.9.orig.tar.gz
e8ed8647b14280384047a0bfcf7b85db5be73399 228 oath-toolkit_2.6.9.orig.tar.gz.asc
b32d0a5d16240201f4be0b0b692bd24f5769090b 13044
oath-toolkit_2.6.9-1.debian.tar.xz
298ab8bd6d9aa71630fff2cf82249e671fb80df8 9644
oath-toolkit_2.6.9-1_amd64.buildinfo
Checksums-Sha256:
1014144a3f85cd23c8cd4111eb54b42a2e88f22de5c9504e1299a83207c0607e 2059
oath-toolkit_2.6.9-1.dsc
333ac831c8f1a6dbd7feb897339bba453ff34d3b0f4cfaa6b5a20dba55c8e985 4693524
oath-toolkit_2.6.9.orig.tar.gz
7d6676bd41d4a7c240d8530697f147e2d922c82d14114adfb09bd87d4c89450e 228
oath-toolkit_2.6.9.orig.tar.gz.asc
0bdd5a78b63d4a863a49a5f126fac96a5553e9df8fce72da4476d59b3aa64ad8 13044
oath-toolkit_2.6.9-1.debian.tar.xz
5eb74b3400ad7f4d13a6d3f3a3197303945f200eab960932762190f41ebae57d 9644
oath-toolkit_2.6.9-1_amd64.buildinfo
Files:
d61aa38ec60aa278469899f1c24ad90c 2059 devel optional oath-toolkit_2.6.9-1.dsc
3a408c07032be46f656ff74b46b6ef61 4693524 devel optional
oath-toolkit_2.6.9.orig.tar.gz
02b31132be58c4b0ba42973bb5d982b8 228 devel optional
oath-toolkit_2.6.9.orig.tar.gz.asc
a67a48c484eca2f43ce96c1c65a64f6f 13044 devel optional
oath-toolkit_2.6.9-1.debian.tar.xz
41d3a4b4890caa6a883759a938ff40cf 9644 devel optional
oath-toolkit_2.6.9-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZK1YDQAKCRBRcisI/kdF
or4oAP9qBz9GuRBu+l01ZN/rlm/8Xw5IE0BcyTxqqhCPpBu0FAD/dWRA08dbk2/1
+nNWN44KnzqAuV6OVNdVgtnGYYuhjQ8=
=VZA4
-----END PGP SIGNATURE-----
--- End Message ---