Bug#834541: ruby-pg: please make the build reproducible

2016-10-17 Thread Chris Lamb
Dear Maintainer,

> Source: ruby-pg
> Version: 0.13.2-2
> Tags: patch

There hasn't seem to be any update on this bug in 61 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#834541: ruby-pg: please make the build reproducible

2016-08-16 Thread Chris Lamb
Source: ruby-pg
Version: 0.18.4-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that ruby-pg could not be built reproducibly as it includes
non-deterministic memory addresses in the generated documentation.

Adding a Rdoc ":nodoc:" to the offending class fixes it.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0003-reproducible-build.patch  1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0003-reproducible-build.patch  2016-08-16 
21:30:40.210803568 +0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2016-08-16
+
+--- ruby-pg-0.18.4.orig/lib/pg/result.rb
 ruby-pg-0.18.4/lib/pg/result.rb
+@@ -3,6 +3,7 @@
+ require 'pg' unless defined?( PG )
+ 
+ 
++# :nodoc:
+ class PG::Result
+ 
+   # Apply a type map for all value retrieving methods.
--- a/debian/patches/series 2016-08-16 21:11:19.017943317 +0100
--- b/debian/patches/series 2016-08-16 21:30:38.934793750 +0100
@@ -1,2 +1,3 @@
 0002-fix-license-gemspec.patch
 0001-do-not-set-rpath.patch
+0003-reproducible-build.patch