lang/ruby2?: make rubygem-* ports reproducible
PR: 223781 exp-run by: antoine
This commit is contained in:
parent
3c1493d7d7
commit
ff1498f6af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454686
@ -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
|
||||
|
20
lang/ruby22/files/patch-lib_rdoc_generator_json_index.rb
Normal file
20
lang/ruby22/files/patch-lib_rdoc_generator_json_index.rb
Normal file
@ -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
|
20
lang/ruby23/files/patch-lib_rdoc_generator_json_index.rb
Normal file
20
lang/ruby23/files/patch-lib_rdoc_generator_json_index.rb
Normal file
@ -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
|
20
lang/ruby24/files/patch-lib_rdoc_generator_json_index.rb
Normal file
20
lang/ruby24/files/patch-lib_rdoc_generator_json_index.rb
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user