[Git][haskell-team/haskell-devscripts][master] 2 commits: work around old timestamps

Clint Adams gitlab at salsa.debian.org
Sat Jul 27 18:16:09 BST 2019



Clint Adams pushed to branch master at Debian Haskell Group / haskell-devscripts


Commits:
359f53d3 by Clint Adams at 2019-07-27T15:55:45Z
work around old timestamps

- - - - -
5aecf2c4 by Clint Adams at 2019-07-27T15:57:17Z
changelog for 0.15.0

- - - - -


2 changed files:

- Dh_Haskell.sh
- debian/changelog


Changes:

=====================================
Dh_Haskell.sh
=====================================
@@ -443,6 +443,16 @@ make_setup_recipe(){
 
 configure_recipe(){
     # local PS5=$PS4; PS4=" + configure_recipe> "; set -x
+
+    # dak gets all neurotic about file timestamps older than 1975
+    # new tarballs from Hackage have files with mtimes at the
+    # beginning of the epoch, so work around this pair of silliness
+    # by setting old mtimes to 1998
+    reftime=$(mktemp)
+    touch -d 1975-01-01 "${reftime}"
+    find . \! -newer "${reftime}" -exec touch -d 1998-01-01 {} \;
+    rm "${reftime}"
+
     hc=`packages_hc`
 
     ENABLE_PROFILING=`{ for i in ${DEB_PACKAGES}; do package_ext $i | grep prof; done; } | LC_ALL=C sort -u | sed 's/prof/--enable-library-profiling/'`


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-devscripts (0.15.0) unstable; urgency=medium
+
+  * Work around old timestamps in new Hackage tarballs.
+
+ -- Clint Adams <clint at debian.org>  Sat, 27 Jul 2019 11:56:27 -0400
+
 haskell-devscripts (0.14.0) unstable; urgency=medium
 
   * Bump compat level



View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/compare/3d7d2df42af61f5b7d7f9cf9ddcd561ac26240ff...5aecf2c4cdf52281943b9ebac49817087ee0d78a

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/compare/3d7d2df42af61f5b7d7f9cf9ddcd561ac26240ff...5aecf2c4cdf52281943b9ebac49817087ee0d78a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190727/1fb87bc7/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list