Source: jakarta-jmeter
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The current year is embedded in various documentation files:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/jakarta-jmeter.html

  /usr/share/jmeter/printable_docs/building.html

  Copyright·©·1999-2022,·Apache·Software·Foundation
  vs.
  Copyright·©·1999-2023,·Apache·Software·Foundation

Not only does this break reproducible builds, it is not an accurate
reflection of the correct copyright dates.

The attached patch to two upstream .vsl files fixes this by using the
date that the current upstream version was uploaded to debian (maybe it
is older, feel free to adjust appropriately).

According to my local tests, with this patch applied, jakarta-jmeter
should build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining jakarta-jmeter!

live well,
  vagrant
From e19489b243bff03a128b8005dd7fdbd5ada11b6d Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sun, 9 Oct 2022 23:22:36 +0000
Subject: [PATCH] xdocs/stylesheets/site*.vsl: Use specific date for Copyright
 headers.

This breaks reproducible builds, but also the dates for Copyright
headers are valid for when the content was initially authored, not
the build date.
---
 xdocs/stylesheets/site.vsl           | 2 +-
 xdocs/stylesheets/site_printable.vsl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xdocs/stylesheets/site.vsl b/xdocs/stylesheets/site.vsl
index e91d687..3c0f36e 100644
--- a/xdocs/stylesheets/site.vsl
+++ b/xdocs/stylesheets/site.vsl
@@ -33,7 +33,7 @@
 #set ($space = $space.charAt(0))
 #set ($udsc = "_")
 #set ($udsc = $udsc.charAt(0))
-#set ($year = $date.getYear()+1900)
+#set ($year = "2016")
 ##
 ## Website settings
 #set ($imgdir = "$relativePath/images")
diff --git a/xdocs/stylesheets/site_printable.vsl b/xdocs/stylesheets/site_printable.vsl
index b817284..36ec7eb 100644
--- a/xdocs/stylesheets/site_printable.vsl
+++ b/xdocs/stylesheets/site_printable.vsl
@@ -33,7 +33,7 @@
 #set ($space = $space.charAt(0))
 #set ($udsc = "_")
 #set ($udsc = $udsc.charAt(0))
-#set ($year = $date.getYear()+1900)
+#set ($year = "2016")
 ##
 ## Printable document settings
 #set ($imgdir = "$relativePath/../docs/images")
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to