Source: monit
Version: 1:5.15-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that
monit could not be built reproducibly.

The attached patch uses the Debian version as the "release" version
instead of the current time. Once applied, monit can be built
reproducibly using our reproducible toolchain.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/20_use_debian_version_in_manpage_over_current_date.patch   
1970-01-01 02:00:00.000000000 +0200
--- b/debian/patches/20_use_debian_version_in_manpage_over_current_date.patch   
2015-12-06 11:33:20.278261513 +0200
@@ -0,0 +1,11 @@
+--- monit-5.15.orig/configure.ac
++++ monit-5.15/configure.ac
+@@ -43,7 +43,7 @@ if test "x$POD2MAN" = "xno"; then
+               AC_MSG_ERROR([pod2man is required to build the monit.1 man 
file.])
+       fi
+ else
+-      d=`date  '+%B %d. %Y'`
++      d=debian/`dpkg-parsechangelog --show-field Version`
+       POD2MANFLAGS="--center 'User Commands' --release '${d}' 
--date='www.mmonit.com' --lax"
+       AC_SUBST([POD2MANFLAGS])
+ fi
--- a/debian/patches/series     2015-12-06 11:25:08.379215842 +0200
--- b/debian/patches/series     2015-12-06 11:33:15.358160074 +0200
@@ -2,3 +2,4 @@
  05_monitrc.patch
  11_enable_hurd.patch
 12_FTBFS_on_kfreebsd.patch
+20_use_debian_version_in_manpage_over_current_date.patch
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to