guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: libnet: Set man page date to built reproduci


From: guix-commits
Subject: branch master updated: gnu: libnet: Set man page date to built reproducibly.
Date: Fri, 19 Aug 2022 20:42:27 -0400

This is an automated email from the git hooks/post-receive script.

vagrantc pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d2b85f8906 gnu: libnet: Set man page date to built reproducibly.
d2b85f8906 is described below

commit d2b85f8906489fb95d8be41d6ba9fd520a5967d0
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Fri Aug 19 17:22:30 2022 -0700

    gnu: libnet: Set man page date to built reproducibly.
    
    * gnu/packages/networking.scm (libnet)[argument]: Add 'fix-manpage-date 
phase.
---
 gnu/packages/networking.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index f088b88c73..2fea1b2b59 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3055,6 +3055,11 @@ interface and a programmable text output for scripting.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-manpage-date
+           (lambda _
+             ;; Replace current date with specific date to build reproducibly
+             (substitute* "doc/fixmanpages.in"
+               (("pod2man -d .* -n") "pod2man -d \"1970-01-01\" -n"))))
          (add-before 'build 'build-doc
            (lambda* (#:key make-flags #:allow-other-keys)
              (apply invoke "make" "-C" "doc" "doc"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]