Bug#777403: leave: please make the build reproducible

2022-10-06 Thread Chris Lamb
tags 777403 + pending patch
tags 967002 + pending patch
tags 999259 + pending patch
thanks

I've just uploaded leave 1.12-2.2 to DELAYED/10:
  
  leave (1.12-2.2) unstable; urgency=medium
  .
* Non-maintainer upload.
* Pass -n to gzip(1) to make the manual page and changelog reproducible, as
  well as pass CFLAGS to the C compiler to ensure that, for instance,
  -ffile-prefix-map is used. (Closes: #777403)
* Apply a patch by Helmut Grohne to correctly cross-build the leave binary.
  (Closes: #967002)
* Add the missing required debian/rules targets, build-arch and build-indep.
  (Closes: #999259)
* Remove a "debian/changelog~" editor backup file.

The full debdiff is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diffstat for leave_1.12-2.1 leave_1.12-2.2

 debian/changelog~   |   88 
 leave-1.12/debian/changelog |   14 +++
 leave-1.12/debian/rules |   17 
 3 files changed, 23 insertions(+), 96 deletions(-)

diff -u leave-1.12/debian/changelog leave-1.12/debian/changelog
--- leave-1.12/debian/changelog
+++ leave-1.12/debian/changelog
@@ -1,3 +1,17 @@
+leave (1.12-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Pass -n to gzip(1) to make the manual page and changelog reproducible, as
+well as pass CFLAGS to the C compiler to ensure that, for instance,
+-ffile-prefix-map is used. (Closes: #777403)
+  * Apply a patch by Helmut Grohne to correctly cross-build the leave binary.
+(Closes: #967002)
+  * Add the missing required debian/rules targets, build-arch and build-indep.
+(Closes: #999259)
+  * Remove a "debian/changelog~" editor backup file.
+
+ -- Chris Lamb   Thu, 06 Oct 2022 10:59:51 -0700
+
 leave (1.12-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
reverted:
--- leave-1.12/debian/changelog~
+++ leave-1.12.orig/debian/changelog~
@@ -1,88 +0,0 @@
-leave (1.12-2) unstable; urgency=low
-
-  * Exited with 0 instead of 1 for binary-indep, just for people who obsess
-with pointless details, closes: #395734.
-
- -- Josip Rodin   Sat, 28 Oct 2006 00:10:22 +0200
-
-leave (1.12-1) unstable; urgency=low
-
-  * New upstream version.
-  * Added an unportable glibc-only variable to get the program name,
-because the unportable NetBSD-only variable didn't work.
-
- -- Josip Rodin   Fri, 15 Aug 2003 21:10:23 +0200
-
-leave (1.10-1) unstable; urgency=low
-
-  * New upstream version, closes: #143720.
-Abolished our patches for handling 24-hour time formats, and used
-the upstream's. The behaviour is unchanged, AFAICT.
-  * Updated for Policy 3.5.6. debian/rules in shell,
-removed the use of both debhelper and pmake -> no Build-Depends :)
-
- -- Josip Rodin   Mon, 26 Aug 2002 14:40:30 +0200
-
-leave (1.8-2) unstable; urgency=low
-
-  * Fixed those long standing bugs in the handling of 24h-clock
-arguments, by making leave not convert times to 12h clock, but check
-whether the time is between 1 and 12, and then interpret it according
-to a 12-hour clock. Let's hope it all works.
-Thanks to Sergio Gelato , who provided
-the patch both for the code and for the manual page.
-(closes #25150 #26000 #31250 #31872)
-  * Updated for Policy 3.x. Removed the full text of the BSD license from
-the copyright file and referenced the /usr/share/common-licenses/BSD
-file.
-
- -- Josip Rodin   Mon, 18 Oct 1999 23:13:16 +0200
-
-leave (1.8-1) unstable; urgency=low
-
-  * New maintainer, new upstream source (with exactly two (2) new lines
-of code), new debian/* files.
-
- -- Josip Rodin   Wed, 19 May 1999 18:13:22 +0200
-
-leave (1.6-2) unstable; urgency=low
-
-  * debian/control (Maintainer): new address.
-  * debian/copyright: ditto.
-  * debian/control (Standards-Version): updated to 2.5.0.0.
-  * debian/rules: replace $(package) with a string literal and other minor
-clean ups.
-
- -- James Troup   Tue, 10 Nov 1998 15:46:23 +
-
-leave (1.6-1) unstable; urgency=low
-
-  * New upstream version.
-  * debian/rules: Use BSD make not GNU make to build.
-  * debian/rules: Build with -g.
-  * debian/rules: Call dpkg-gencontrol with -isp.
-  * debian/rules: remove leave.cat1 on clean.
-  * debian/rules: no more {,} usage.
-  * debian/rules: chmod go=rX not g-ws.
-  * debian/control: Standards-Version 2.3.0.1.
-  * debian/control: section is really utils not misc.
-  * debian/copyright: removed over-keen "famous" from description.
-
- -- James Troup   Mon,  8 Dec 1997 21:03:01 +
-
-leave (1.4-3) unstable; urgency=low
- 
-  * Rebuilt libc6. 
-
- -- James Troup   Wed, 25 Jan 1997 18:30:06 +
-
-leave (1.4-2) unstable; urgency=low
- 
-  * New Maintainer.
-  * Updated package to standards version 2.1.1.2.
-
- -- James Troup   Wed, 22 Jan 1997 00:30:17 +
-
-Local variables:
-mode: debian-changelog
-End:
diff -u leave-1.12/debian/rules 

Bug#777403: leave: please make the build reproducible

2020-10-12 Thread Chris Lamb
Chris Lamb wrote:

> [..]

Gentle ping on this?


Regards,

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



Bug#777403: leave: please make the build reproducible

2020-07-13 Thread Josip Rodin
On Sat, Jul 11, 2020 at 07:32:22AM -0400, Boyuan Yang wrote:
> It has been another 3 years since last reply; is there any possibility
> to push this forward?

Oh, sure, I just forgot about it.

-- 
Josip Rodin



Bug#777403: leave: please make the build reproducible

2020-07-11 Thread Boyuan Yang
X-Debbugs-CC: j...@debbugs.entuzijast.net

On Sat, 11 Feb 2017 13:20:57 +0100 Josip Rodin <
j...@debbugs.entuzijast.net> wrote:
> On Sun, Feb 05, 2017 at 10:00:35AM +1300, Chris Lamb wrote:
> > > Would you consider applying this patch and uploading?
> > 
> > Friendly ping on this :)
> 
> Sure. But, on this note, was this issue by any chance resolved by
that
> recent patch to dpkg-dev, where it resets timestamps itself?

Hi Josip,

It has been another 3 years since last reply; is there any possibility
to push this forward?

-- 
Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part


Bug#777403: leave: please make the build reproducible

2017-02-11 Thread Chris Lamb
Josip Rodin wrote:

> Sure. But, on this note, was this issue by any chance resolved by that
> recent patch to dpkg-dev, where it resets timestamps itself?

No; this patch refers to timestamps embedded in gzip files.


Regards,

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



Bug#777403: leave: please make the build reproducible

2017-02-11 Thread Josip Rodin
On Sun, Feb 05, 2017 at 10:00:35AM +1300, Chris Lamb wrote:
> > Would you consider applying this patch and uploading?
> 
> Friendly ping on this :)

Sure. But, on this note, was this issue by any chance resolved by that
recent patch to dpkg-dev, where it resets timestamps itself?

-- 
 2. That which causes joy or happiness.



Bug#777403: leave: please make the build reproducible

2017-02-04 Thread Chris Lamb
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

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



Bug#777403: leave: please make the build reproducible

2016-08-14 Thread Chris Lamb
Dear Maintainer,

> Source: leave
> Version: 1.12-2
> Tags: patch

There hasn't seem to be any update on this bug in 553 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#777403: leave: please make the build reproducible

2015-02-07 Thread Chris Lamb
Source: leave
Version: 1.12-2.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the reproducible builds effort [1], we have noticed
that leave could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, leave can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad leave.orig/leave-1.12/debian/rules leave/leave-1.12/debian/rules
--- leave.orig/leave-1.12/debian/rules  2015-02-07 23:20:48.038072396 +
+++ leave/leave-1.12/debian/rules   2015-02-07 23:24:22.823482516 +
@@ -28,8 +28,8 @@
install -d -m 755 $(tmp)/usr/bin $(tmp)/usr/share/man/man1 \
$(tmp)/DEBIAN $(tmp)/usr/share/doc/leave
install $(stripflag) -m 755 leave $(tmp)/usr/bin
-   gzip -c9 leave.1  $(tmp)/usr/share/man/man1/leave.1.gz
-   gzip -c9 debian/changelog  
$(tmp)/usr/share/doc/leave/changelog.Debian.gz
+   gzip -c9n leave.1  $(tmp)/usr/share/man/man1/leave.1.gz
+   gzip -c9n debian/changelog  
$(tmp)/usr/share/doc/leave/changelog.Debian.gz
install -m 644 debian/copyright $(tmp)/usr/share/doc/leave
dpkg-shlibdeps $(tmp)/usr/bin/leave
dpkg-gencontrol -isp -P$(tmp)