Sync from SUSE:SLFO:Main datefudge revision 1812ea634e34e98724b4692fc3bbb7d3

This commit is contained in:
Adrian Schröter 2024-05-03 11:58:47 +02:00
commit 6f997885f0
6 changed files with 246 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

40
datefudge.asc Normal file
View File

@ -0,0 +1,40 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 3.0 (native)
Source: datefudge
Binary: datefudge
Architecture: any
Version: 1.24
Maintainer: Robert Luberda <robert@debian.org>
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/debian/datefudge
Vcs-Git: https://salsa.debian.org/debian/datefudge.git
Testsuite: autopkgtest
Testsuite-Triggers: coreutils, perl
Build-Depends: debhelper-compat (= 13)
Package-List:
datefudge deb devel optional arch=any
Checksums-Sha1:
40a47b67a116cb886755536d05374e7c963b616f 14152 datefudge_1.24.tar.xz
Checksums-Sha256:
80efab249232deeb142bf8a0ec66f2cf596c45560e4fdd28f3b5bdd290ac0385 14152 datefudge_1.24.tar.xz
Files:
b8c03f4b0c0b7efab35c46e71ef6de4e 14152 datefudge_1.24.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENeh2+rTTcy6TtNI3Yx3nVTvor9QFAl8NdwsACgkQYx3nVTvo
r9TJmA//RgClObQQ/rYYZ5sZj8xPZcixNgmiiYitfDHUG5zJGZqW9AOyN8OhMQYg
IZ7Pn7QhLDjG7ROWfxOXGdALQC+ioQxbVqWnEnPFVq+3LuSp87BwKKCYpfAdUJ2+
XaiZh5kz4ibziO8DDC567Dx4LlINZ11xgRqc/LZBUpQAGcp9ac3cwLygcA+wKr6C
lgsFY3JhefKOyAwZoC0umLpcVEppJEMZCO5WDEfuEKAcf0877NGmXhFNdh9xn7dd
R28QzDis/2dJOrar9EVs8QLgX2sesmnt/PqIdoWE0C22B8lUfIekxUCwkW065/c4
waUFr9YMddmIWd2R5TbslvK/veTAFAWhhjMBWa3oRHzR0fsfCpl0TCqgvsxv4M7m
qHnxqUPqfijUEsqaCNaPx5TXAyKD/enIgDLFj+qnO3rLubqKXrk8572L/PWtUf52
GhdaGRSUxclUVkvCRcZLTAYK55cPC/wQvzCMDwytNBS0+nyZzMQqEHWVl4AgKmsM
blER1bZls8/FBkG8ZR8qBuTKiIvCSmC76o7UyAMbRdvxhms178LrhC4/gsrh6/l1
0F0ogw97Il593vscXsDzZJFdmAScOxee42mbW4MPDC4KuvZ38bEy/fFb6+q0pomZ
Q1BHp/FvbUuxU0rDD/C6swxAxmtDmffSxB+p0SwCKxNuEBo+P+s=
=NQWZ
-----END PGP SIGNATURE-----

38
datefudge.changes Normal file
View File

@ -0,0 +1,38 @@
-------------------------------------------------------------------
Wed Sep 2 16:36:27 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.24:
* Fix FTBFS on hurd-i386: Necessary functions disabled
* Fix FTBFS with glibc 2.31 (conflicting gettimeofday prototype)
- remove glibc-2.31-fix.patch (upstream)
-------------------------------------------------------------------
Wed Feb 12 09:00:14 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add glibc-2.31-fix.patch in order to fix boo#1162963.
-------------------------------------------------------------------
Fri Feb 7 12:43:17 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.23: no changelog found.
-------------------------------------------------------------------
Mon Nov 13 10:24:29 UTC 2017 - astieger@suse.com
- update to 1.22:
* Operate more efficiently, especially if fudging to the epoch.
* Fix running on 32-bit systems with 64-bit time_t (such as x32).
* datefudge.man: Document that datefudge might be affected by the
Y2K38 problem on some systems.
- includes changes from 1.21:
* datefudge.sh: don't fail when its date argument happens to be
equal to the current time (i.e. make `datefudge now
some_command' work).
* Update man page to mention that the date can be given in any
format accepted by date(1) command.
- add upstream signing key and verify source signature
-------------------------------------------------------------------
Mon Jan 18 14:01:33 UTC 2016 - idonmez@suse.com
- Initial release

84
datefudge.keyring Normal file
View File

@ -0,0 +1,84 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFQAwuQBEACw44GC2hVHl2F7tsAHGYTQi6eSTD4OVDNpQ04qdPbJ2i9wmeNq
3igNW/WUTNDdktS3WMk/XtD3OQMlHz/B7gj/D+DyUIuMXhp2gacNpkUaxfDBTeBP
MO5PQ14HtBfjjfikRO63CrOkeLjr5tFaeQQUKymZJi7Vvlo1aRuJRILnr53r0pNs
d4rjUqBCEjZhrIclMZg9kllWZhqZTTv0K91376s8zI1cqBOuKTUm2ri3RzyqNRCj
I1c2rr8HF6oI0Buc07Qljl84ScqkrH0Vd1hc7v1UVmFrgJmRK0J9b3rBZs9zw9m1
ntrtLTIMw0uc0hUP5V3Ym+HQrSp9DeTuqAlixFsF7BPNh2RX2fE81TGjAfmj5OZa
VeHCwnHHBq0+nRlvHCRcnJuDzm/M2mqZpp0oE95Fot7rndSTqK6TufiqLCW4j42H
CTBll/lhcaa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zAEqNARQx+qIGoLXz+bpHduIRykV6cx9HcoKuvdBwuFn
NkxKxxGdW5aAivC/yVss4AwCDefhm6p89utF0Q1E0XOAGKkxf3MvhEgBDeOBtlfq
y2Y1r8Otiu+5JFphDVXn2nekGLAfwz44qLol2WjbbFN4BdY0QVAF5r/EDvKGeG9M
5BgZa0Hz62j3B3rEFU2sBN1+DJYdjIr9J3zrd+gCfSIhh8tCmL8j9KVQM859XI1g
6SBaxZJtDQHzZF9ZTTj/vc+xDeeMhO6LzbcPye6O+WOLRg6mSl1bi4WSDfEDLNKO
wZQdeQanMhlYQGSZwGeHpH0xKUBs4GwvYBQPrKNBlwM+c75ByyU01WUa2S4XZwz/
ogXhaDStE6tMQga68aPjL5ZIHtPfEUlfAQc47CiIC/5ZnHFKbdXSqmcYxO60
=PJmt
-----END PGP PUBLIC KEY BLOCK-----

58
datefudge.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package datefudge
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: datefudge
Version: 1.24
Release: 0
Summary: A preload library to fake system time
License: GPL-2.0-or-later
Group: Development/Tools/Other
URL: https://packages.qa.debian.org/d/datefudge.html
Source: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.xz
Source2: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.dsc#/%{name}.asc
Source3: https://db.debian.org/fetchkey.cgi?fingerprint=35E876FAB4D3732E93B4D237631DE7553BE8AFD4#/%{name}.keyring
%description
This program fakes the system date so that programs think the
wall clock is different. The faking is not complete; timestamp
on files are not affected in any way.
%prep
# the signature is on the Debian .dsc. Extract the checksums and verify against source
echo "`grep -A1 "Files:" %{SOURCE2} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | md5sum -c
echo "`grep -A1 "Checksums-Sha1" %{SOURCE2} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | sha1sum -c
echo "`grep -A1 "Checksums-Sha256" %{SOURCE2} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | sha256sum -c
%setup -q
sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile
sed 's/-o root -g root/-p/g' -i Makefile
%build
CFLAGS="%{optflags}" make libdir=%{_libdir} %{?_smp_mflags}
%install
make install libdir=%{_libdir} DESTDIR=%{buildroot} %{?_smp_mflags}
%files
%license COPYING
%doc README
%{_mandir}/man1/datefudge.1%{?ext_man}
%{_bindir}/datefudge
%{_libdir}/datefudge/datefudge.so
%dir %{_libdir}/datefudge
%changelog

BIN
datefudge_1.24.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.