gnu: libnet: Set man page date to built reproducibly.
* gnu/packages/networking.scm (libnet)[argument]: Add 'fix-manpage-date phase.
This commit is contained in:
		
							parent
							
								
									397b103bef
								
							
						
					
					
						commit
						d2b85f8906
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -3055,6 +3055,11 @@ interface and a programmable text output for scripting.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-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
 | 
					         (add-before 'build 'build-doc
 | 
				
			||||||
           (lambda* (#:key make-flags #:allow-other-keys)
 | 
					           (lambda* (#:key make-flags #:allow-other-keys)
 | 
				
			||||||
             (apply invoke "make" "-C" "doc" "doc"
 | 
					             (apply invoke "make" "-C" "doc" "doc"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue