Your message dated Sun, 24 Feb 2019 19:50:05 +0000
with message-id <[email protected]>
and subject line Bug#923169: fixed in node-lunr 2.3.5~dfsg-7
has caused the Debian Bug report #923169,
regarding node-lunr: please make the build reproducible
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.)
--
923169: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923169
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: node-lunr
Version: 2.3.5~dfsg-6
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that node-lunr could not be built reproducibly.
This is because it embeds the current year in the source.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] 🍥 chris-lamb.co.uk
`-
--- a/debian/patches/2003-reproducible-build.patch 1970-01-01
01:00:00.000000000 +0100
--- b/debian/patches/2003-reproducible-build.patch 2019-02-24
19:05:58.182962181 +0100
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2019-02-24
+
+--- node-lunr-2.3.5~dfsg.orig/Makefile
++++ node-lunr-2.3.5~dfsg/Makefile
+@@ -21,7 +21,11 @@ SRC = lib/lunr.js \
+ lib/query_lexer.js \
+ lib/query_parser.js \
+
++ifdef SOURCE_DATE_EPOCH
++YEAR = $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" +%Y 2>/dev/null || date -u
-r "$(SOURCE_DATE_EPOCH)" +%Y 2>/dev/null || date -u +%Y)
++else
+ YEAR = $(shell date +%Y)
++endif
+ VERSION = $(shell cat VERSION)
+
+ NODE ?= $(shell which node)
--- a/debian/patches/series 2019-02-24 19:00:23.550240149 +0100
--- b/debian/patches/series 2019-02-24 19:05:56.986952891 +0100
@@ -1,2 +1,3 @@
2001_avoid_npm.patch
2002-fix-with-new-chai.patch
+2003-reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: node-lunr
Source-Version: 2.3.5~dfsg-7
We believe that the bug you reported is fixed in the latest version of
node-lunr, 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.
Jonas Smedegaard <[email protected]> (supplier of updated node-lunr 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: SHA512
Format: 1.8
Date: Sun, 24 Feb 2019 20:23:06 +0100
Source: node-lunr
Architecture: source
Version: 2.3.5~dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 923169
Changes:
node-lunr (2.3.5~dfsg-7) unstable; urgency=medium
.
* Update watch file:
+ Generalize version mangling for repackaging.
+ Simplify regular expressions.
+ Rewrite usage comment.
* Update copyright info:
+ Drop superfluous alternate Source URL.
+ Extend coverage of packaging.
* Add patch 2003 to make the build reproducible.
Closes: Bug#923169. Thanks to Chris Lamb.
* Fix strip bogus sentence from long description.
Checksums-Sha1:
8982df24ece6372b36ff16c13928c4513fec403a 2130 node-lunr_2.3.5~dfsg-7.dsc
f47db1c6e25216dc3b000af80c32cc3d86fd0004 5504
node-lunr_2.3.5~dfsg-7.debian.tar.xz
1c0d94e3a4de1dc776f66e23a837697c1e22a9b3 8678
node-lunr_2.3.5~dfsg-7_amd64.buildinfo
Checksums-Sha256:
a262f81096843e4c058b8813f2fd1cb4ee17b615968b61e0dcd06a148fab2439 2130
node-lunr_2.3.5~dfsg-7.dsc
fbb99962f886cac32c1ce977ebd35c593836890086ec0a4cb276c6de14981b10 5504
node-lunr_2.3.5~dfsg-7.debian.tar.xz
7ba19c119a2e47fbd0aa30dea3f8b283f60467558ecb1c6e2ba50261fae1abbc 8678
node-lunr_2.3.5~dfsg-7_amd64.buildinfo
Files:
935ddf0aa9c1b540105c5ab1b23e769e 2130 javascript optional
node-lunr_2.3.5~dfsg-7.dsc
f27e264ac10e4e6f04c0ba6ad99037c6 5504 javascript optional
node-lunr_2.3.5~dfsg-7.debian.tar.xz
46a043fa48e10b8ecd42bd2b8bdb0e76 8678 javascript optional
node-lunr_2.3.5~dfsg-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlxy77AACgkQLHwxRsGg
ASEuOw/8CD3N0OsVE/0o5k48gzvMWBpS52aXazRpnTMGF/ityQmBYtT/K7KzPtg2
abc8Z0HeKW+vgaqBtlmgR7U43aNgQF/MRs51xOgpkvtaIrIhAijPMS9ltv/zu2KM
4QK+eesL+IuTHRJK/lZ8JlEUHKEkOn2sLzljLD1mVP/1uDAMMA3vJc61+Hdg06Gr
TiBc6Mb3lWIqs/z9KN9MLdKkMgwHYVv+PAtkpBCGlotEA6ZeaRQhoEEpjEP35blZ
T+jJYOqecGr+zeVt5WuWWQe1fvpWJr4EQ002peJUk6ZTg/PnP76X3lURlVh+gKD7
DNlbbT5ZEQgLiyGTqwXR6/+Ez6s+a3pd39XkwV2qXYoZFGJ7yF2eD+k2SCwVGPzc
PtHKYo3vYvgYDjfPQjs+i7cfyHe/OnsQl01zvz5OchrjqvieYiXMvRvOqTtCZW/y
QRwXm/7S7uKt1PQRG/wo+3L/OgsprMusKp0T8DYXHJvo8ped/IiERcINy6HS+n2Y
1xkP2lur9AjgN1VTttP4BVX/n1kBTJadd1qFpUmYSmoKonL3UdJdefXqvLPbnBim
FBa4mayeYc1nULlUqFzBa40+Vr1tJa0gAgpn42J9SdwKfFr4J8xZLlvhsKXQXPxA
l6bvcL+r3hOqrWnt/A6tEAZTUaMqLssAR7p3b8QuNN/P/qXxh+s=
=qKSh
-----END PGP SIGNATURE-----
--- End Message ---
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel