Date: Wed, 22 Nov 2017 13:27:37 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454686 - in head: Mk lang/ruby22/files lang/ruby23/files lang/ruby24/files Message-ID: <201711221327.vAMDRbFp090424@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed Nov 22 13:27:37 2017 New Revision: 454686 URL: https://svnweb.freebsd.org/changeset/ports/454686 Log: lang/ruby2?: make rubygem-* ports reproducible PR: 223781 exp-run by: antoine Added: head/lang/ruby22/files/patch-lib_rdoc_generator_json_index.rb (contents, props changed) head/lang/ruby23/files/patch-lib_rdoc_generator_json_index.rb (contents, props changed) head/lang/ruby24/files/patch-lib_rdoc_generator_json_index.rb (contents, props changed) Modified: head/Mk/bsd.ruby.mk Modified: head/Mk/bsd.ruby.mk ============================================================================== --- head/Mk/bsd.ruby.mk Wed Nov 22 12:26:13 2017 (r454685) +++ head/Mk/bsd.ruby.mk Wed Nov 22 13:27:37 2017 (r454686) @@ -155,7 +155,7 @@ RUBY?= ${LOCALBASE}/bin/${RUBY_NAME} # Ruby 2.2 # RUBY_RELVERSION= 2.2.8 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 RUBY_PORTEPOCH= 1 RUBY_PATCHLEVEL= 0 RUBY22= "" # PLIST_SUB helpers @@ -165,7 +165,7 @@ RUBY22= "" # PLIST_SUB helpers # Ruby 2.3 # RUBY_RELVERSION= 2.3.5 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 RUBY_PORTEPOCH= 1 RUBY_PATCHLEVEL= 0 RUBY23= "" # PLIST_SUB helpers @@ -175,7 +175,7 @@ RUBY23= "" # PLIST_SUB helpers # Ruby 2.4 # RUBY_RELVERSION= 2.4.2 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 RUBY_PORTEPOCH= 1 RUBY_PATCHLEVEL= 0 RUBY24= "" # PLIST_SUB helpers Added: head/lang/ruby22/files/patch-lib_rdoc_generator_json_index.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby22/files/patch-lib_rdoc_generator_json_index.rb Wed Nov 22 13:27:37 2017 (r454686) @@ -0,0 +1,20 @@ +--- ./lib/rdoc/generator/json_index.rb.orig 2017-11-12 19:41:46.332613000 -0500 ++++ ./lib/rdoc/generator/json_index.rb 2017-11-12 19:41:56.834004000 -0500 +@@ -169,7 +169,7 @@ + debug_msg "Writing gzipped search index to %s" % outfile + + Zlib::GzipWriter.open(outfile) do |gz| +- gz.mtime = File.mtime(search_index_file) ++ gz.mtime = 1 + gz.orig_name = search_index_file.to_s + gz.write search_index + gz.close +@@ -187,7 +187,7 @@ + debug_msg "Writing gzipped file to %s" % outfile + + Zlib::GzipWriter.open(outfile) do |gz| +- gz.mtime = File.mtime(dest) ++ gz.mtime = 1 + gz.orig_name = dest.to_s + gz.write data + gz.close Added: head/lang/ruby23/files/patch-lib_rdoc_generator_json_index.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby23/files/patch-lib_rdoc_generator_json_index.rb Wed Nov 22 13:27:37 2017 (r454686) @@ -0,0 +1,20 @@ +--- ./lib/rdoc/generator/json_index.rb.orig 2017-11-12 19:38:46.598341000 -0500 ++++ ./lib/rdoc/generator/json_index.rb 2017-11-12 19:38:59.759125000 -0500 +@@ -175,7 +175,7 @@ + debug_msg "Writing gzipped search index to %s" % outfile + + Zlib::GzipWriter.open(outfile) do |gz| +- gz.mtime = File.mtime(search_index_file) ++ gz.mtime = 1 + gz.orig_name = search_index_file.basename.to_s + gz.write search_index + gz.close +@@ -193,7 +193,7 @@ + debug_msg "Writing gzipped file to %s" % outfile + + Zlib::GzipWriter.open(outfile) do |gz| +- gz.mtime = File.mtime(dest) ++ gz.mtime = 1 + gz.orig_name = dest.basename.to_s + gz.write data + gz.close Added: head/lang/ruby24/files/patch-lib_rdoc_generator_json_index.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby24/files/patch-lib_rdoc_generator_json_index.rb Wed Nov 22 13:27:37 2017 (r454686) @@ -0,0 +1,20 @@ +--- ./lib/rdoc/generator/json_index.rb.orig 2017-11-12 19:37:25.144883000 -0500 ++++ ./lib/rdoc/generator/json_index.rb 2017-11-12 19:37:44.551836000 -0500 +@@ -175,7 +175,7 @@ + debug_msg "Writing gzipped search index to %s" % outfile + + Zlib::GzipWriter.open(outfile) do |gz| +- gz.mtime = File.mtime(search_index_file) ++ gz.mtime = 1 + gz.orig_name = search_index_file.basename.to_s + gz.write search_index + gz.close +@@ -193,7 +193,7 @@ + debug_msg "Writing gzipped file to %s" % outfile + + Zlib::GzipWriter.open(outfile) do |gz| +- gz.mtime = File.mtime(dest) ++ gz.mtime = 1 + gz.orig_name = dest.basename.to_s + gz.write data + gz.close
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711221327.vAMDRbFp090424>