forked from pool/hawk2
Compare commits
71 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
3ce9e60bdb | ||
|
|
f36503d108 | ||
| 95c3ac628e | |||
|
|
1572b8ce28 | ||
| 58bff5f6d6 | |||
|
|
33daa73934 | ||
| 29b276a991 | |||
|
|
5d83ca707b | ||
| a49f3e42e0 | |||
|
|
a65ec67ff5 | ||
| 1d4c2cffbb | |||
|
|
6969da994c | ||
|
|
31030d0dce | ||
|
|
1ecd4c53ad | ||
|
|
eadd667fb0 | ||
|
|
1314100af4 | ||
|
|
5228be1319 | ||
|
|
5d5832c6c4 | ||
|
|
1d674924e0 | ||
|
|
a0a69a71dd | ||
|
|
7b40da4b05 | ||
| 1bf8461f50 | |||
|
|
892289f668 | ||
| 494712c2c3 | |||
|
|
9d322b5083 | ||
| 9ea441f758 | |||
|
|
b8ff3da5be | ||
| 823c981db9 | |||
|
|
505b2aae13 | ||
| eb1d61186f | |||
|
|
d30a439631 | ||
| 274d8983b2 | |||
|
|
ce1272f49d | ||
|
|
20608b6cd2 | ||
|
|
3eb9048737 | ||
|
|
e6b882d4e9 | ||
|
|
19cd6985d1 | ||
| c056d5ee34 | |||
|
|
88e4567bea | ||
| 381baa4ade | |||
| 606e64f1c0 | |||
|
|
fc052e3888 | ||
| 134a7c3f64 | |||
|
|
5688654202 | ||
| 9945278eed | |||
|
|
4c6d6b83d6 | ||
| 4e39998b71 | |||
|
|
448c1105b5 | ||
| c43ade28ef | |||
|
|
2756dfe8cc | ||
| a8f3f83e16 | |||
|
|
0fc2ce9c78 | ||
| c7f90a227c | |||
|
|
0e886655f3 | ||
| 516a236a01 | |||
|
|
0b3a3f77af | ||
|
|
46b02d6059 | ||
| 93389c0168 | |||
|
|
4f59facee8 | ||
| 86383afef0 | |||
|
|
e997a71b9f | ||
| d10bb7d54b | |||
|
|
2416859ce1 | ||
| 9fda326592 | |||
|
|
3f00250675 | ||
| 2765eeb91c | |||
| fca76d25b1 | |||
| b65143b052 | |||
| 6eb62ae39c | |||
|
|
ffc369e136 | ||
|
|
a9f9358d0b |
2
_service
2
_service
@@ -4,7 +4,7 @@
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="filename">hawk2</param>
|
||||
<param name="versionformat">2.6.5+git.%ct.%h</param>
|
||||
<param name="versionformat">2.7.0+git.%ct.%h</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/ClusterLabs/hawk.git</param>
|
||||
<param name="changesrevision">42b178931d2f67c612d759487a2ac2a1338ee5cd</param></service></servicedata>
|
||||
<param name="changesrevision">bfcd0e2c4f2dc513363421ff1d662995fc8702b4</param></service></servicedata>
|
||||
BIN
actioncable-8.0.2.1.gem
LFS
Normal file
BIN
actioncable-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
actionmailbox-8.0.2.1.gem
LFS
Normal file
BIN
actionmailbox-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
actionmailer-8.0.2.1.gem
LFS
Normal file
BIN
actionmailer-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
actionpack-8.0.2.1.gem
LFS
Normal file
BIN
actionpack-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
actiontext-8.0.2.1.gem
LFS
Normal file
BIN
actiontext-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
actionview-8.0.2.1.gem
LFS
Normal file
BIN
actionview-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
activejob-8.0.2.1.gem
LFS
Normal file
BIN
activejob-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
activemodel-8.0.2.1.gem
LFS
Normal file
BIN
activemodel-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
activerecord-8.0.2.1.gem
LFS
Normal file
BIN
activerecord-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
activestorage-8.0.2.1.gem
LFS
Normal file
BIN
activestorage-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
activesupport-8.0.2.1.gem
LFS
Normal file
BIN
activesupport-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
axiom-types-0.1.1.gem
LFS
Normal file
BIN
axiom-types-0.1.1.gem
LFS
Normal file
Binary file not shown.
BIN
base64-0.2.0.gem
LFS
Normal file
BIN
base64-0.2.0.gem
LFS
Normal file
Binary file not shown.
BIN
benchmark-0.4.0.gem
LFS
Normal file
BIN
benchmark-0.4.0.gem
LFS
Normal file
Binary file not shown.
BIN
bigdecimal-3.1.9.gem
LFS
Normal file
BIN
bigdecimal-3.1.9.gem
LFS
Normal file
Binary file not shown.
BIN
builder-3.3.0.gem
LFS
Normal file
BIN
builder-3.3.0.gem
LFS
Normal file
Binary file not shown.
BIN
coercible-1.0.0.gem
LFS
Normal file
BIN
coercible-1.0.0.gem
LFS
Normal file
Binary file not shown.
BIN
concurrent-ruby-1.3.5.gem
LFS
Normal file
BIN
concurrent-ruby-1.3.5.gem
LFS
Normal file
Binary file not shown.
BIN
connection_pool-2.5.0.gem
LFS
Normal file
BIN
connection_pool-2.5.0.gem
LFS
Normal file
Binary file not shown.
BIN
crass-1.0.6.gem
LFS
Normal file
BIN
crass-1.0.6.gem
LFS
Normal file
Binary file not shown.
BIN
date-3.4.1.gem
LFS
Normal file
BIN
date-3.4.1.gem
LFS
Normal file
Binary file not shown.
BIN
descendants_tracker-0.0.4.gem
LFS
Normal file
BIN
descendants_tracker-0.0.4.gem
LFS
Normal file
Binary file not shown.
BIN
drb-2.2.1.gem
LFS
Normal file
BIN
drb-2.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
erubi-1.13.1.gem
LFS
Normal file
BIN
erubi-1.13.1.gem
LFS
Normal file
Binary file not shown.
BIN
execjs-2.10.0.gem
LFS
Normal file
BIN
execjs-2.10.0.gem
LFS
Normal file
Binary file not shown.
BIN
fast_gettext-4.1.0.gem
LFS
Normal file
BIN
fast_gettext-4.1.0.gem
LFS
Normal file
Binary file not shown.
BIN
ffi-1.17.1.gem
LFS
Normal file
BIN
ffi-1.17.1.gem
LFS
Normal file
Binary file not shown.
38
fix-mtime.patch
Normal file
38
fix-mtime.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
commit 3377ac69642d914584c04a9ab17ef836939753c2
|
||||
Author: Aleksei Burlakov <aburlakov@suse.com>
|
||||
Date: Thu Aug 28 14:31:40 2025 +0200
|
||||
|
||||
fix mtime, so that gz files are determenistic
|
||||
|
||||
diff --git a/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb b/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb
|
||||
index 3fd5228..cd2599e 100644
|
||||
--- a/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb
|
||||
+++ b/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb
|
||||
@@ -10,13 +10,13 @@ module Sprockets
|
||||
# writes contents to the `file` passed in. Sets `mtime` of
|
||||
# written file to passed in `mtime`
|
||||
module ZlibArchiver
|
||||
- def self.call(file, source, mtime)
|
||||
+ def self.call(file, source, _mtime)
|
||||
gz = Zlib::GzipWriter.new(file, Zlib::BEST_COMPRESSION)
|
||||
- gz.mtime = mtime
|
||||
+ gz.mtime = 0
|
||||
gz.write(source)
|
||||
gz.close
|
||||
|
||||
- File.utime(mtime, mtime, file.path)
|
||||
+ File.utime(0, 0, file.path)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -28,8 +28,8 @@ module Sprockets
|
||||
# writes contents to the `file` passed in. Sets `mtime` of
|
||||
# written file to passed in `mtime`
|
||||
module ZopfliArchiver
|
||||
- def self.call(file, source, mtime)
|
||||
- compressed_source = Autoload::Zopfli.deflate(source, format: :gzip, mtime: mtime)
|
||||
+ def self.call(file, source, _mtime)
|
||||
+ compressed_source = Autoload::Zopfli.deflate(source, format: :gzip, mtime: 0)
|
||||
file.write(compressed_source)
|
||||
file.close
|
||||
|
||||
BIN
forwardable-1.3.3.gem
LFS
Normal file
BIN
forwardable-1.3.3.gem
LFS
Normal file
Binary file not shown.
303
gemfile-lock.patch
Normal file
303
gemfile-lock.patch
Normal file
@@ -0,0 +1,303 @@
|
||||
Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile
|
||||
===================================================================
|
||||
--- hawk2-2.6.6+git.1742310530.bfcd0e2c.orig/hawk/Gemfile
|
||||
+++ hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile
|
||||
@@ -15,16 +15,15 @@
|
||||
# manage a Ruby application's gems", it's an absolute menace if you're
|
||||
# trying to build packaged software?
|
||||
#
|
||||
-
|
||||
-gem "rails", ">= 5.1"
|
||||
+gem "rails", ">= 8.0"
|
||||
gem "puma", ">= 4.3.5"
|
||||
-gem "sass-rails", ">= 5.0"
|
||||
+gem "sass-rails", ">= 6.0"
|
||||
gem "virtus", ">= 1.0.1"
|
||||
-gem "js-routes", ">= 1.4.1"
|
||||
+gem "js-routes", ">= 2.0.0"
|
||||
gem "fast_gettext", ">= 1.4"
|
||||
gem "gettext_i18n_rails", ">= 1.8"
|
||||
gem "gettext_i18n_rails_js", ">= 1.3"
|
||||
-gem "sprockets", "~> 3.7"
|
||||
+gem "sprockets", "~> 4.2"
|
||||
gem "kramdown", ">= 1.14"
|
||||
gem "uglifier", ">= 3"
|
||||
|
||||
Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
@@ -0,0 +1,273 @@
|
||||
+GEM
|
||||
+ remote: https://rubygems.org/
|
||||
+ specs:
|
||||
+ actioncable (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ nio4r (~> 2.0)
|
||||
+ websocket-driver (>= 0.6.1)
|
||||
+ zeitwerk (~> 2.6)
|
||||
+ actionmailbox (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activestorage (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ mail (>= 2.8.0)
|
||||
+ actionmailer (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ actionview (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ mail (>= 2.8.0)
|
||||
+ rails-dom-testing (~> 2.2)
|
||||
+ actionpack (8.0.2.1)
|
||||
+ actionview (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ nokogiri (>= 1.8.5)
|
||||
+ rack (>= 2.2.4)
|
||||
+ rack-session (>= 1.0.1)
|
||||
+ rack-test (>= 0.6.3)
|
||||
+ rails-dom-testing (~> 2.2)
|
||||
+ rails-html-sanitizer (~> 1.6)
|
||||
+ useragent (~> 0.16)
|
||||
+ actiontext (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activestorage (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ globalid (>= 0.6.0)
|
||||
+ nokogiri (>= 1.8.5)
|
||||
+ actionview (8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ builder (~> 3.1)
|
||||
+ erubi (~> 1.11)
|
||||
+ rails-dom-testing (~> 2.2)
|
||||
+ rails-html-sanitizer (~> 1.6)
|
||||
+ activejob (8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ globalid (>= 0.3.6)
|
||||
+ activemodel (8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ activerecord (8.0.2.1)
|
||||
+ activemodel (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ timeout (>= 0.4.0)
|
||||
+ activestorage (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ marcel (~> 1.0)
|
||||
+ activesupport (8.0.2.1)
|
||||
+ base64
|
||||
+ benchmark (>= 0.3)
|
||||
+ bigdecimal
|
||||
+ concurrent-ruby (~> 1.0, >= 1.3.1)
|
||||
+ connection_pool (>= 2.2.5)
|
||||
+ drb
|
||||
+ i18n (>= 1.6, < 2)
|
||||
+ logger (>= 1.4.2)
|
||||
+ minitest (>= 5.1)
|
||||
+ securerandom (>= 0.3)
|
||||
+ tzinfo (~> 2.0, >= 2.0.5)
|
||||
+ uri (>= 0.13.1)
|
||||
+ axiom-types (0.1.1)
|
||||
+ descendants_tracker (~> 0.0.4)
|
||||
+ ice_nine (~> 0.11.0)
|
||||
+ thread_safe (~> 0.3, >= 0.3.1)
|
||||
+ base64 (0.2.0)
|
||||
+ benchmark (0.4.0)
|
||||
+ bigdecimal (3.1.9)
|
||||
+ builder (3.3.0)
|
||||
+ coercible (1.0.0)
|
||||
+ descendants_tracker (~> 0.0.1)
|
||||
+ concurrent-ruby (1.3.5)
|
||||
+ connection_pool (2.5.0)
|
||||
+ crass (1.0.6)
|
||||
+ date (3.4.1)
|
||||
+ descendants_tracker (0.0.4)
|
||||
+ thread_safe (~> 0.3, >= 0.3.1)
|
||||
+ drb (2.2.1)
|
||||
+ erubi (1.13.1)
|
||||
+ execjs (2.10.0)
|
||||
+ fast_gettext (4.1.0)
|
||||
+ prime
|
||||
+ racc
|
||||
+ ffi (1.17.1)
|
||||
+ forwardable (1.3.3)
|
||||
+ gettext (3.5.1)
|
||||
+ erubi
|
||||
+ locale (>= 2.0.5)
|
||||
+ prime
|
||||
+ racc
|
||||
+ text (>= 1.3.0)
|
||||
+ gettext_i18n_rails (1.13.0)
|
||||
+ fast_gettext (>= 0.9.0)
|
||||
+ gettext_i18n_rails_js (2.1.0)
|
||||
+ gettext (>= 3.0.2)
|
||||
+ gettext_i18n_rails (>= 0.7.1)
|
||||
+ po_to_json (>= 2.0.0)
|
||||
+ rails (>= 3.2.0)
|
||||
+ globalid (1.2.1)
|
||||
+ activesupport (>= 6.1)
|
||||
+ i18n (1.14.7)
|
||||
+ concurrent-ruby (~> 1.0)
|
||||
+ ice_nine (0.11.2)
|
||||
+ io-console (0.8.0)
|
||||
+ irb (1.15.1)
|
||||
+ pp (>= 0.6.0)
|
||||
+ rdoc (>= 4.0.0)
|
||||
+ reline (>= 0.4.2)
|
||||
+ js-routes (2.3.5)
|
||||
+ railties (>= 5)
|
||||
+ sorbet-runtime
|
||||
+ json (2.10.2)
|
||||
+ kramdown (2.5.1)
|
||||
+ rexml (>= 3.3.9)
|
||||
+ locale (2.1.4)
|
||||
+ logger (1.7.0)
|
||||
+ loofah (2.24.0)
|
||||
+ crass (~> 1.0.2)
|
||||
+ nokogiri (>= 1.12.0)
|
||||
+ mail (2.8.1)
|
||||
+ mini_mime (>= 0.1.1)
|
||||
+ net-imap
|
||||
+ net-pop
|
||||
+ net-smtp
|
||||
+ marcel (1.0.4)
|
||||
+ mini_mime (1.1.5)
|
||||
+ mini_portile2 (2.8.8)
|
||||
+ minitest (5.25.5)
|
||||
+ net-imap (0.5.8)
|
||||
+ date
|
||||
+ net-protocol
|
||||
+ net-pop (0.1.2)
|
||||
+ net-protocol
|
||||
+ net-protocol (0.2.2)
|
||||
+ timeout
|
||||
+ net-smtp (0.5.1)
|
||||
+ net-protocol
|
||||
+ nio4r (2.7.4)
|
||||
+ nokogiri (1.18.5)
|
||||
+ mini_portile2 (~> 2.8.2)
|
||||
+ racc (~> 1.4)
|
||||
+ po_to_json (2.0.0)
|
||||
+ json (>= 1.6.0)
|
||||
+ pp (0.6.2)
|
||||
+ prettyprint
|
||||
+ prettyprint (0.2.0)
|
||||
+ prime (0.1.3)
|
||||
+ forwardable
|
||||
+ singleton
|
||||
+ psych (5.2.3)
|
||||
+ date
|
||||
+ stringio
|
||||
+ puma (6.6.0)
|
||||
+ nio4r (~> 2.0)
|
||||
+ racc (1.8.1)
|
||||
+ rack (3.1.18)
|
||||
+ rack-session (2.1.1)
|
||||
+ base64 (>= 0.1.0)
|
||||
+ rack (>= 3.0.0)
|
||||
+ rack-test (2.2.0)
|
||||
+ rack (>= 1.3)
|
||||
+ rackup (2.2.1)
|
||||
+ rack (>= 3)
|
||||
+ rails (8.0.2.1)
|
||||
+ actioncable (= 8.0.2.1)
|
||||
+ actionmailbox (= 8.0.2.1)
|
||||
+ actionmailer (= 8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ actiontext (= 8.0.2.1)
|
||||
+ actionview (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activemodel (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activestorage (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ bundler (>= 1.15.0)
|
||||
+ railties (= 8.0.2.1)
|
||||
+ rails-dom-testing (2.2.0)
|
||||
+ activesupport (>= 5.0.0)
|
||||
+ minitest
|
||||
+ nokogiri (>= 1.6)
|
||||
+ rails-html-sanitizer (1.6.2)
|
||||
+ loofah (~> 2.21)
|
||||
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
||||
+ railties (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ irb (~> 1.13)
|
||||
+ rackup (>= 1.0.0)
|
||||
+ rake (>= 12.2)
|
||||
+ thor (~> 1.0, >= 1.2.2)
|
||||
+ zeitwerk (~> 2.6)
|
||||
+ rake (13.2.1)
|
||||
+ rdoc (6.13.1)
|
||||
+ psych (>= 4.0.0)
|
||||
+ reline (0.6.0)
|
||||
+ io-console (~> 0.5)
|
||||
+ rexml (3.4.1)
|
||||
+ sass-rails (6.0.0)
|
||||
+ sassc-rails (~> 2.1, >= 2.1.1)
|
||||
+ sassc (2.4.0)
|
||||
+ ffi (~> 1.9)
|
||||
+ sassc-rails (2.1.2)
|
||||
+ railties (>= 4.0.0)
|
||||
+ sassc (>= 2.0)
|
||||
+ sprockets (> 3.0)
|
||||
+ sprockets-rails
|
||||
+ tilt
|
||||
+ securerandom (0.4.1)
|
||||
+ singleton (0.3.0)
|
||||
+ sorbet-runtime (0.5.11966)
|
||||
+ sprockets (4.2.1)
|
||||
+ concurrent-ruby (~> 1.0)
|
||||
+ rack (>= 2.2.4, < 4)
|
||||
+ sprockets-rails (3.5.2)
|
||||
+ actionpack (>= 6.1)
|
||||
+ activesupport (>= 6.1)
|
||||
+ sprockets (>= 3.0.0)
|
||||
+ stringio (3.1.6)
|
||||
+ text (1.3.1)
|
||||
+ thor (1.4.0)
|
||||
+ thread_safe (0.3.6)
|
||||
+ tilt (2.6.0)
|
||||
+ timeout (0.4.3)
|
||||
+ tzinfo (2.0.6)
|
||||
+ concurrent-ruby (~> 1.0)
|
||||
+ uglifier (4.2.1)
|
||||
+ execjs (>= 0.3.0, < 3)
|
||||
+ uri (1.0.4)
|
||||
+ useragent (0.16.11)
|
||||
+ virtus (2.0.0)
|
||||
+ axiom-types (~> 0.1)
|
||||
+ coercible (~> 1.0)
|
||||
+ descendants_tracker (~> 0.0, >= 0.0.3)
|
||||
+ websocket-driver (0.7.7)
|
||||
+ base64
|
||||
+ websocket-extensions (>= 0.1.0)
|
||||
+ websocket-extensions (0.1.5)
|
||||
+ zeitwerk (2.7.2)
|
||||
+
|
||||
+PLATFORMS
|
||||
+ ruby
|
||||
+
|
||||
+DEPENDENCIES
|
||||
+ fast_gettext (>= 1.4)
|
||||
+ ffi (= 1.17.1)
|
||||
+ gettext_i18n_rails (>= 1.8)
|
||||
+ gettext_i18n_rails_js (>= 1.3)
|
||||
+ js-routes (>= 2.0.0)
|
||||
+ kramdown (>= 1.14)
|
||||
+ nokogiri (= 1.18.5)
|
||||
+ puma (>= 4.3.5)
|
||||
+ rails (>= 8.0)
|
||||
+ sass-rails (>= 6.0)
|
||||
+ sprockets (~> 4.2)
|
||||
+ uglifier (>= 3)
|
||||
+ virtus (>= 1.0.1)
|
||||
+
|
||||
+BUNDLED WITH
|
||||
+ 2.6.2
|
||||
BIN
gettext-3.5.1.gem
LFS
Normal file
BIN
gettext-3.5.1.gem
LFS
Normal file
Binary file not shown.
BIN
gettext_i18n_rails-1.13.0.gem
LFS
Normal file
BIN
gettext_i18n_rails-1.13.0.gem
LFS
Normal file
Binary file not shown.
BIN
gettext_i18n_rails_js-2.1.0.gem
LFS
Normal file
BIN
gettext_i18n_rails_js-2.1.0.gem
LFS
Normal file
Binary file not shown.
BIN
globalid-1.2.1.gem
LFS
Normal file
BIN
globalid-1.2.1.gem
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34dbc0f5e823bdb5fbb47dea01f6e847bd04f74f0741c109fa41a82be4466df6
|
||||
size 6878188
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ec3266685160d98f97d625f651f7e863afee6aece4601a12e8efff887d49cc5
|
||||
size 6878675
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:afbf5bda247b0af4a7d909ee761de0a20cc63a8b1be30a6012f0ec75bd8cfbc3
|
||||
size 6878701
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5d9028bbe503f971c06b53f94fed4e5059be948a5c1816f090fcf6380e6aa619
|
||||
size 6878434
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af430a6e9049f8a109f08268933e1a25f3380896604934c881857779f9dba1b7
|
||||
size 6876973
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8152d4aa79d08bf3b3c739256e87234addbfdffac32a3c786619f3e7e6522368
|
||||
size 6878733
|
||||
BIN
hawk2-2.7.0+git.1742310530.bfcd0e2c.tar.bz2
LFS
Normal file
BIN
hawk2-2.7.0+git.1742310530.bfcd0e2c.tar.bz2
LFS
Normal file
Binary file not shown.
125
hawk2.changes
125
hawk2.changes
@@ -1,3 +1,128 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 16 08:07:04 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump ruby gem rack to 3.1.18 (bsc#1251939)
|
||||
* rack-3.1.18.gem
|
||||
|
||||
- bump ruby gem uri to 1.0.4
|
||||
* uri-1.0.4.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 3 11:22:00 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- fix the mtime in manifest.json (bsc#1230275)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 31 08:31:09 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- Make builds determinitstic (bsc#1230275)
|
||||
* add fix-mtime.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 14:56:13 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump rails version from 8.0.2 to 8.0.2.1 (bsc#1248100)
|
||||
* actioncable-8.0.2.gem --> actioncable-8.0.2.1.gem
|
||||
* actionmailbox-8.0.2.gem --> actionmailbox-8.0.2.1.gem
|
||||
* actionmailer-8.0.2.gem --> actionmailer-8.0.2.1.gem
|
||||
* actionpack-8.0.2.gem --> actionpack-8.0.2.1.gem
|
||||
* actiontext-8.0.2.gem --> actiontext-8.0.2.1.gem
|
||||
* actionview-8.0.2.gem --> actionview-8.0.2.1.gem
|
||||
* activejob-8.0.2.gem --> activejob-8.0.2.1.gem
|
||||
* activemodel-8.0.2.gem --> activemodel-8.0.2.1.gem
|
||||
* activerecord-8.0.2.gem --> activerecord-8.0.2.1.gem
|
||||
* activestorage-8.0.2.gem --> activestorage-8.0.2.1.gem
|
||||
* activesupport-8.0.2.gem --> activesupport-8.0.2.1.gem
|
||||
* rails-8.0.2.gem --> rails-8.0.2.1.gem
|
||||
* railties-8.0.2.gem --> railties-8.0.2.1.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 07:10:05 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- require openssl explicitelly (bsc#1247899)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 11:33:43 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump ruby gem thor to 1.4.0 (bsc#1246809)
|
||||
* thor-1.4.0.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 09:14:35 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump ruby gem rack to 3.1.16 (bsc#1244113)
|
||||
* rack-3.1.16.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 11 12:01:02 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump ruby gem rack-session to 2.1.1 (bsc#1242927)
|
||||
* rack-session-2.1.1.gem
|
||||
|
||||
- bump ruby gem rack to 3.1.14 (bsc#1242892,bsc#1242894)
|
||||
* rack-3.1.14.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 11:46:37 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump ruby gem net-imap to 0.5.8 (bsc#1242000)
|
||||
* net-imap-0.5.8.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 24 11:47:04 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- Update to version 2.7.0+git.1742310530.bfcd0e2c
|
||||
* bundle all the gems in the project
|
||||
* gemfile-lock.patch
|
||||
* update-hawk-backend-service.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 18 16:31:42 UTC 2025 - aburlakov@suse.com
|
||||
|
||||
- Update to version 2.6.6+git.1742310530.bfcd0e2c (bsc#1182162,bsc#1182164):
|
||||
* Dev: proof code from injections
|
||||
* Fix: enable colocation linking
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 16 10:32:19 UTC 2024 - aburlakov@suse.com
|
||||
|
||||
- Update to version 2.6.6+git.1734344973.d7058a83:
|
||||
* Dev: bump rails-7 --> rails-8
|
||||
* Test: test_check_cluster_configuration: relax required resource options
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 08 11:59:58 UTC 2024 - aburlakov@suse.com
|
||||
|
||||
- Update to version 2.6.5+git.1733657357.36d3ca16:
|
||||
* Dev: make sprockets-4.2 compatible
|
||||
* Dev: bump sprockets v3.7 --> v4.2
|
||||
* Dev: bump sass-rails v5.1 --> v6.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 03 17:20:46 UTC 2024 - aburlakov@suse.com
|
||||
|
||||
- Update to version 2.6.5+git.1732776108.1d325f4e:
|
||||
* Dev: enable rails-8.0 (make it rails-8.0 compatible)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 09:54:04 UTC 2024 - aburlakov@suse.com
|
||||
|
||||
- Update to version 2.6.5+git.1731582159.c5ff4329:
|
||||
* Fix: prepend all executable with /usr/sbin (bsc#1232760)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 11:32:16 UTC 2024 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- Do not assume a specific ruby version to build against
|
||||
* instead use the default ruby of the distribution.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 07:58:01 UTC 2024 - aburlakov@suse.com
|
||||
|
||||
- Update to version 2.6.5+git.1727339846.0abbc129:
|
||||
* Fix: hb_report: indicate the 'crm report' failure (bsc#1230674)
|
||||
* Dev: wizards: don't use root password (bsc#1230672)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 07 14:29:21 UTC 2024 - aburlakov@suse.com
|
||||
|
||||
|
||||
279
hawk2.spec
279
hawk2.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hawk2
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -31,21 +31,122 @@
|
||||
%define gname haclient
|
||||
%define uname hacluster
|
||||
|
||||
%define rb_ruby_suffix ruby3.3
|
||||
%define rb_build_versions %rb_default_ruby
|
||||
%define rb_build_ruby_abis %rb_default_ruby_abi
|
||||
%define rb_build_versions %{rb_default_ruby}
|
||||
%define rb_build_abi %{rb_default_ruby_abi}
|
||||
%define rb_suffix %{rb_default_ruby_suffix}
|
||||
|
||||
%define install_gem_path /usr/libexec/hawk/vendor
|
||||
|
||||
Name: hawk2
|
||||
Summary: HA Web Konsole
|
||||
License: GPL-2.0-only
|
||||
Group: %{pkg_group}
|
||||
Version: 2.6.5+git.1725719218.8945dc86
|
||||
Version: 2.7.0+git.1742310530.bfcd0e2c
|
||||
Release: 0
|
||||
URL: http://www.clusterlabs.org/wiki/Hawk
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: sysconfig.hawk
|
||||
|
||||
Source2: rake-13.2.1.gem
|
||||
Source3: base64-0.2.0.gem
|
||||
Source4: benchmark-0.4.0.gem
|
||||
Source5: bigdecimal-3.1.9.gem
|
||||
Source6: concurrent-ruby-1.3.5.gem
|
||||
Source7: connection_pool-2.5.0.gem
|
||||
Source8: drb-2.2.1.gem
|
||||
Source9: i18n-1.14.7.gem
|
||||
Source10: logger-1.7.0.gem
|
||||
Source11: minitest-5.25.5.gem
|
||||
Source12: securerandom-0.4.1.gem
|
||||
Source13: tzinfo-2.0.6.gem
|
||||
Source14: uri-1.0.4.gem
|
||||
Source15: activesupport-8.0.2.1.gem
|
||||
Source16: builder-3.3.0.gem
|
||||
Source17: erubi-1.13.1.gem
|
||||
Source18: mini_portile2-2.8.8.gem
|
||||
Source19: racc-1.8.1.gem
|
||||
Source20: nokogiri-1.18.5.gem
|
||||
Source21: rails-dom-testing-2.2.0.gem
|
||||
Source22: crass-1.0.6.gem
|
||||
Source23: loofah-2.24.0.gem
|
||||
Source24: rails-html-sanitizer-1.6.2.gem
|
||||
Source25: actionview-8.0.2.1.gem
|
||||
Source26: rack-3.1.18.gem
|
||||
Source27: rack-session-2.1.1.gem
|
||||
Source28: rack-test-2.2.0.gem
|
||||
Source29: useragent-0.16.11.gem
|
||||
Source30: actionpack-8.0.2.1.gem
|
||||
Source31: nio4r-2.7.4.gem
|
||||
Source32: websocket-extensions-0.1.5.gem
|
||||
Source33: websocket-driver-0.7.7.gem
|
||||
Source34: zeitwerk-2.7.2.gem
|
||||
Source35: actioncable-8.0.2.1.gem
|
||||
Source36: globalid-1.2.1.gem
|
||||
Source37: activejob-8.0.2.1.gem
|
||||
Source38: activemodel-8.0.2.1.gem
|
||||
Source39: timeout-0.4.3.gem
|
||||
Source40: activerecord-8.0.2.1.gem
|
||||
Source41: marcel-1.0.4.gem
|
||||
Source42: activestorage-8.0.2.1.gem
|
||||
Source43: mini_mime-1.1.5.gem
|
||||
Source44: date-3.4.1.gem
|
||||
Source45: net-protocol-0.2.2.gem
|
||||
Source46: net-imap-0.5.8.gem
|
||||
Source47: net-pop-0.1.2.gem
|
||||
Source48: net-smtp-0.5.1.gem
|
||||
Source49: mail-2.8.1.gem
|
||||
Source50: actionmailbox-8.0.2.1.gem
|
||||
Source51: actionmailer-8.0.2.1.gem
|
||||
Source52: actiontext-8.0.2.1.gem
|
||||
Source53: thread_safe-0.3.6.gem
|
||||
Source54: descendants_tracker-0.0.4.gem
|
||||
Source55: ice_nine-0.11.2.gem
|
||||
Source56: axiom-types-0.1.1.gem
|
||||
Source57: coercible-1.0.0.gem
|
||||
Source58: execjs-2.10.0.gem
|
||||
Source59: forwardable-1.3.3.gem
|
||||
Source60: singleton-0.3.0.gem
|
||||
Source61: prime-0.1.3.gem
|
||||
Source62: fast_gettext-4.1.0.gem
|
||||
Source63: ffi-1.17.1.gem
|
||||
Source64: locale-2.1.4.gem
|
||||
Source65: text-1.3.1.gem
|
||||
Source66: gettext-3.5.1.gem
|
||||
Source67: gettext_i18n_rails-1.13.0.gem
|
||||
Source68: json-2.10.2.gem
|
||||
Source69: po_to_json-2.0.0.gem
|
||||
Source70: prettyprint-0.2.0.gem
|
||||
Source71: pp-0.6.2.gem
|
||||
Source72: stringio-3.1.6.gem
|
||||
Source73: psych-5.2.3.gem
|
||||
Source74: rdoc-6.13.1.gem
|
||||
Source75: io-console-0.8.0.gem
|
||||
Source76: reline-0.6.0.gem
|
||||
Source77: irb-1.15.1.gem
|
||||
Source78: rackup-2.2.1.gem
|
||||
Source79: thor-1.4.0.gem
|
||||
Source80: railties-8.0.2.1.gem
|
||||
Source81: rails-8.0.2.1.gem
|
||||
Source82: gettext_i18n_rails_js-2.1.0.gem
|
||||
Source83: sorbet-runtime-0.5.11966.gem
|
||||
Source84: js-routes-2.3.5.gem
|
||||
Source85: rexml-3.4.1.gem
|
||||
Source86: kramdown-2.5.1.gem
|
||||
Source87: puma-6.6.0.gem
|
||||
Source88: sassc-2.4.0.gem
|
||||
Source89: sprockets-4.2.1.gem
|
||||
Source90: sprockets-rails-3.5.2.gem
|
||||
Source91: tilt-2.6.0.gem
|
||||
Source92: sassc-rails-2.1.2.gem
|
||||
Source93: sass-rails-6.0.0.gem
|
||||
Source94: uglifier-4.2.1.gem
|
||||
Source95: virtus-2.0.0.gem
|
||||
|
||||
Source100: hawk-rpmlintrc
|
||||
Patch1: make-sle16-compatible.patch
|
||||
Patch2: gemfile-lock.patch
|
||||
Patch3: update-hawk-backend-service.patch
|
||||
Patch4: fix-mtime.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: ha-cluster-webui
|
||||
Obsoletes: hawk <= 1.1.0
|
||||
@@ -54,6 +155,7 @@ Requires: crmsh >= 3.0.0
|
||||
Requires: graphviz
|
||||
Requires: graphviz-gd
|
||||
Requires: hawk-apiserver
|
||||
Requires: openssl
|
||||
Requires(post): %fillup_prereq
|
||||
# Need a font of some kind for graphviz to work correctly (bsc#931950)
|
||||
Requires: dejavu
|
||||
@@ -61,7 +163,6 @@ Requires: pacemaker >= 1.1.8
|
||||
Recommends: graphviz-gnome
|
||||
Requires: iproute2
|
||||
PreReq: permissions
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: systemd-rpm-macros
|
||||
%{?systemd_requires}
|
||||
# declare the user/group we create in the preinstall script
|
||||
@@ -70,45 +171,13 @@ Provides: group(%{gname})
|
||||
|
||||
BuildRequires: distribution-release
|
||||
BuildRequires: timezone
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:bundler)
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:bundler)
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:rails:7)
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:rails:7)
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:websocket-driver:0.7.6)
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:websocket-driver:0.7.6)
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:puma) >= 5
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:puma) >= 5
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:sass-rails:5)
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:sass-rails:5)
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:virtus) >= 1.0.1
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:virtus) >= 1.0.1
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:js-routes) >= 2.0.0
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:js-routes) >= 2.0.0
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:fast_gettext) >= 1.4
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:fast_gettext) >= 1.4
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:gettext_i18n_rails) >= 1.8
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:gettext_i18n_rails) >= 1.8
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:gettext_i18n_rails_js) >= 1.3
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:gettext_i18n_rails_js) >= 1.3
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:sprockets:3.7)
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:sprockets:3.7)
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:kramdown) >= 1.14
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:kramdown) >= 1.14
|
||||
|
||||
# TODO: remove uglifier completely
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:uglifier) >= 1.14
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:uglifier) >= 1.14
|
||||
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:execjs) >= 2.8
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:gettext) >= 3.2
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:uglifier) >= 3
|
||||
# TODO: remove execjs below
|
||||
Requires: rubygem(%{rb_default_ruby_abi}:execjs) >= 2.8
|
||||
|
||||
# Help OBS scheduler:
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:mail) >= 2.8
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:tilt) >= 2
|
||||
#/Help OBS scheduler
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: libyaml-devel
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: rubygem(%{rb_build_abi}:bundler)
|
||||
Requires: rubygem(%{rb_build_abi}:bundler)
|
||||
|
||||
BuildRequires: git
|
||||
BuildRequires: nodejs >= 10
|
||||
@@ -120,34 +189,76 @@ A web-based GUI for managing and monitoring the Pacemaker
|
||||
High-Availability cluster resource manager.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
|
||||
mkdir -p hawk/vendor/cache
|
||||
install -D %{_sourcedir}/*.gem hawk/vendor/cache
|
||||
export GEM_HOME=$PWD/hawk/vendor
|
||||
export NO_DEBUGINFO=1
|
||||
|
||||
pushd hawk
|
||||
bundle config set force_ruby_platform true
|
||||
bundle config set build.nokogiri --use-system-libraries=false
|
||||
bundle install --local
|
||||
|
||||
%patch -P 4 -p2
|
||||
popd
|
||||
|
||||
%build
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_ruby_suffix}$' hawk/bin/rails
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_ruby_suffix}$' hawk/bin/rake
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_ruby_suffix}$' hawk/bin/bundle
|
||||
|
||||
mkdir -p hawk/vendor/cache
|
||||
install -D %{_sourcedir}/*.gem hawk/vendor/cache
|
||||
export GEM_HOME=$PWD/hawk/vendor
|
||||
export NO_DEBUGINFO=1
|
||||
|
||||
pushd hawk
|
||||
if [ -x /usr/bin/bundle.ruby.%{rb_ruby_suffix} ]; then
|
||||
bundlerexe=bundle.ruby.%{rb_ruby_suffix}
|
||||
else
|
||||
bundlerexe=bundle.%{rb_ruby_suffix}
|
||||
fi
|
||||
$bundlerexe exec bin/rails version
|
||||
find vendor -name a.out -delete
|
||||
find vendor -name "*.so.debug" -delete
|
||||
find . -name ".*" ! -name "." ! -name ".." -exec rm -rf {} +
|
||||
find vendor/gems -type f -size 0 -exec rm -rf {} +
|
||||
|
||||
find vendor -type f -exec sed -i -E \
|
||||
-e '1s|^#! */usr/bin/env ruby(\.ruby3\.4)?$|#!/usr/bin/ruby|' \
|
||||
-e '1s|^#! */usr/bin/env ruby -wKU$|#!/usr/bin/ruby -wKU|' \
|
||||
-e '1s|^#! */usr/bin/env bash$|#!/usr/bin/bash|' {} \;
|
||||
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/rails
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/rake
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/bundle
|
||||
|
||||
if [ -x /usr/bin/bundle.ruby.%{rb_suffix} ]; then
|
||||
bundlerexe=bundle.ruby.%{rb_suffix}
|
||||
else
|
||||
bundlerexe=bundle.%{rb_suffix}
|
||||
fi
|
||||
$bundlerexe exec bin/rails version
|
||||
popd
|
||||
export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
|
||||
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
|
||||
export CFLAGS
|
||||
make WWW_BASE=%{www_base} WWW_TMP=%{www_tmp} WWW_LOG=%{www_log} INIT_STYLE=%{init_style} LIBDIR=%{_libdir} BINDIR=%{_bindir} SBINDIR=%{_sbindir} RUBY_SUFFIX=.%{rb_ruby_suffix}
|
||||
# We need the Gemfile.lock only to set the permissions
|
||||
# (see %attr(-, %{uname},%{gname})%{www_base}/hawk/Gemfile.lock)
|
||||
# The content shoulhawk/Gemfile.lockd be generated locally.
|
||||
# Btw, I tried "> hawk/Gemfile.lock" instead of "rm + touch"
|
||||
# but there was a checksum error. So let's do "rm + touch".
|
||||
rm hawk/Gemfile.lock
|
||||
touch hawk/Gemfile.lock
|
||||
|
||||
### FYI: the 'bundle install' installs puma, not puma.ruby34 (although 'gem install puma-6.6.0.gem' installs puma.ruby34)
|
||||
make WWW_BASE=%{www_base} WWW_TMP=%{www_tmp} WWW_LOG=%{www_log} INIT_STYLE=%{init_style} LIBDIR=%{_libdir} BINDIR=%{_bindir} SBINDIR=%{_sbindir} RUBY_SUFFIX=
|
||||
|
||||
# Clean unnecessary cache to make the build deterministic (bsc#1230275)
|
||||
rm -rf ./hawk/tmp/cache/assets/sprockets
|
||||
find ./hawk -name "*_make.out" -delete
|
||||
find ./hawk -name "*.log" -delete
|
||||
find ./hawk/locale \( -name "*.po" -o -name "*.pot" \) -exec sed -i 's/^"POT-Creation-Date:.*"/"POT-Creation-Date: 2025-09-01 00:00+0000\\n"/' {} +
|
||||
find ./hawk/locale \( -name "*.po" -o -name "*.pot" \) -exec sed -i 's/^"PO-Revision-Date:.*"/"PO-Revision-Date: 2025-09-01 00:00+0000\\n"/' {} +
|
||||
find ./hawk/public -name "manifest.json" -exec sed -i 's/"mtime":"[^"]*"/"mtime":"2025-09-01T00:00:00+00:00"/g' {} +
|
||||
rm ./hawk/tmp/session_secret # if there is no session_secret, it's automatically generated when starting puma
|
||||
|
||||
%install
|
||||
|
||||
install -p -d -m 755 %{buildroot}%{install_gem_path}
|
||||
cp -r hawk/vendor/{bin,build_info,cache,doc,extensions,gems,plugins,specifications} %{buildroot}%{install_gem_path}/
|
||||
# Need to remove them before 'make install'
|
||||
rm -rf hawk/vendor/{bin,build_info,cache,doc,extensions,gems,plugins,specifications}
|
||||
|
||||
make WWW_BASE=%{www_base} WWW_TMP=%{www_tmp} WWW_LOG=%{www_log} INIT_STYLE=%{init_style} DESTDIR=%{buildroot} install
|
||||
|
||||
# copy of GPL
|
||||
@@ -169,7 +280,8 @@ rm %{buildroot}%{www_base}/hawk/locale/*/hawk.po
|
||||
rm %{buildroot}%{www_base}/hawk/locale/*/hawk.po.time_stamp
|
||||
rm %{buildroot}%{www_base}/hawk/locale/*/hawk.edit.po
|
||||
# hard link duplicate files
|
||||
%fdupes %{buildroot}
|
||||
%fdupes %{buildroot}%{www_base}/hawk
|
||||
%fdupes %{buildroot}%{install_gem_path}
|
||||
# more cruft to clean up (WTF?)
|
||||
rm -f %{buildroot}%{www_log}/*
|
||||
# likewise .git special files
|
||||
@@ -207,8 +319,6 @@ getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nolo
|
||||
%{_fillupdir}/sysconfig.hawk
|
||||
%attr(4750, root, %{gname})%{_sbindir}/hawk_chkpwd
|
||||
%dir %{www_base}/hawk
|
||||
# To let the hacluster write the hawk/Gemfile.lock
|
||||
%attr(-, %{uname},%{gname})%{www_base}/hawk/Gemfile.lock
|
||||
%{www_base}/hawk/log
|
||||
%{www_base}/hawk/tmp
|
||||
%{www_base}/hawk/app
|
||||
@@ -234,7 +344,8 @@ getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nolo
|
||||
%{www_base}/hawk/Rakefile
|
||||
# We want Gemfile to explicitelly tell puma which gems to use
|
||||
%{www_base}/hawk/Gemfile
|
||||
%{www_base}/hawk/Gemfile.lock
|
||||
# To let the hacluster write the hawk/Gemfile.lock
|
||||
%attr(-, %{uname},%{gname})%{www_base}/hawk/Gemfile.lock
|
||||
%{www_base}/hawk/COPYING
|
||||
%{www_base}/hawk/config.ru
|
||||
%{www_base}/hawk/test
|
||||
@@ -250,8 +361,42 @@ getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nolo
|
||||
# warnings for bundled gems.
|
||||
%{www_base}/hawk/vendor
|
||||
|
||||
%attr(0755,root,root) %{install_gem_path}/bin
|
||||
%exclude %{install_gem_path}/build_info
|
||||
%{install_gem_path}/cache
|
||||
%doc %{install_gem_path}/doc
|
||||
%dir %{install_gem_path}/..
|
||||
%dir %{install_gem_path}
|
||||
%{install_gem_path}/extensions
|
||||
%{install_gem_path}/gems
|
||||
%{install_gem_path}/plugins
|
||||
%{install_gem_path}/specifications
|
||||
|
||||
%{_unitdir}/hawk.service
|
||||
%{_unitdir}/hawk-backend.service
|
||||
%attr(-,root,root) %{_sbindir}/rchawk
|
||||
|
||||
%exclude %{install_gem_path}/gems/bigdecimal-3.1.9/ext/bigdecimal/*
|
||||
%exclude %{install_gem_path}/gems/date-3.4.1/ext/date/*
|
||||
%exclude %{install_gem_path}/gems/ffi-1.17.1/ext/ffi_c/*
|
||||
%exclude %{install_gem_path}/gems/io-console-0.8.0/ext/io/console/console.c
|
||||
%exclude %{install_gem_path}/gems/json-2.10.2/ext/json/ext/fbuffer/fbuffer.h
|
||||
%exclude %{install_gem_path}/gems/json-2.10.2/ext/json/ext/generator/generator.c
|
||||
%exclude %{install_gem_path}/gems/json-2.10.2/ext/json/ext/parser/parser.c
|
||||
%exclude %{install_gem_path}/gems/mini_portile2-2.8.8/test/assets/pkgconf/libxml2/libxml-2.0.pc
|
||||
%exclude %{install_gem_path}/gems/mini_portile2-2.8.8/test/assets/pkgconf/libxslt/libexslt.pc
|
||||
%exclude %{install_gem_path}/gems/mini_portile2-2.8.8/test/assets/pkgconf/libxslt/libxslt.pc
|
||||
%exclude %{install_gem_path}/gems/mini_portile2-2.8.8/test/assets/test-cmake-1.0/hello.c
|
||||
%exclude %{install_gem_path}/gems/nio4r-2.7.4/ext/libev/*
|
||||
%exclude %{install_gem_path}/gems/nio4r-2.7.4/ext/nio4r/*
|
||||
%exclude %{install_gem_path}/gems/nokogiri-1.18.5/ext/nokogiri/*
|
||||
%exclude %{install_gem_path}/gems/nokogiri-1.18.5/gumbo-parser/src/*
|
||||
%exclude %{install_gem_path}/gems/psych-5.2.3/ext/psych/*
|
||||
%exclude %{install_gem_path}/gems/puma-6.6.0/ext/puma_http11/*
|
||||
%exclude %{install_gem_path}/gems/sassc-2.4.0/ext/libsass/contrib/plugin.cpp
|
||||
%exclude %{install_gem_path}/gems/sassc-2.4.0/ext/libsass/include/*
|
||||
%exclude %{install_gem_path}/gems/sassc-2.4.0/ext/libsass/src/*
|
||||
%exclude %{install_gem_path}/gems/stringio-3.1.6/ext/stringio/stringio.c
|
||||
%exclude %{install_gem_path}/gems/websocket-driver-0.7.7/ext/websocket-driver/websocket_mask.c
|
||||
|
||||
%changelog
|
||||
|
||||
BIN
i18n-1.14.7.gem
LFS
Normal file
BIN
i18n-1.14.7.gem
LFS
Normal file
Binary file not shown.
BIN
ice_nine-0.11.2.gem
LFS
Normal file
BIN
ice_nine-0.11.2.gem
LFS
Normal file
Binary file not shown.
BIN
io-console-0.8.0.gem
LFS
Normal file
BIN
io-console-0.8.0.gem
LFS
Normal file
Binary file not shown.
BIN
irb-1.15.1.gem
LFS
Normal file
BIN
irb-1.15.1.gem
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:413a75ef7268e2567b259a483cd76586ea91f1f9ae0152b833cc641e4147beb2
|
||||
size 33280
|
||||
BIN
js-routes-2.3.5.gem
LFS
Normal file
BIN
js-routes-2.3.5.gem
LFS
Normal file
Binary file not shown.
BIN
json-2.10.2.gem
LFS
Normal file
BIN
json-2.10.2.gem
LFS
Normal file
Binary file not shown.
BIN
kramdown-2.5.1.gem
LFS
Normal file
BIN
kramdown-2.5.1.gem
LFS
Normal file
Binary file not shown.
BIN
locale-2.1.4.gem
LFS
Normal file
BIN
locale-2.1.4.gem
LFS
Normal file
Binary file not shown.
BIN
logger-1.7.0.gem
LFS
Normal file
BIN
logger-1.7.0.gem
LFS
Normal file
Binary file not shown.
BIN
loofah-2.24.0.gem
LFS
Normal file
BIN
loofah-2.24.0.gem
LFS
Normal file
Binary file not shown.
BIN
mail-2.8.1.gem
LFS
Normal file
BIN
mail-2.8.1.gem
LFS
Normal file
Binary file not shown.
@@ -1,20 +1,7 @@
|
||||
Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/Gemfile
|
||||
Index: hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/application.rb
|
||||
===================================================================
|
||||
--- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/Gemfile
|
||||
+++ hawk2-2.6.5+git.1724254291.33351c16/hawk/Gemfile
|
||||
@@ -20,7 +20,7 @@ gem "rails", ">= 5.1"
|
||||
gem "puma", ">= 4.3.5"
|
||||
gem "sass-rails", ">= 5.0"
|
||||
gem "virtus", ">= 1.0.1"
|
||||
-gem "js-routes", ">= 1.4.1"
|
||||
+gem "js-routes", ">= 2.0.0"
|
||||
gem "fast_gettext", ">= 1.4"
|
||||
gem "gettext_i18n_rails", ">= 1.8"
|
||||
gem "gettext_i18n_rails_js", ">= 1.3"
|
||||
Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/config/application.rb
|
||||
===================================================================
|
||||
--- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/config/application.rb
|
||||
+++ hawk2-2.6.5+git.1724254291.33351c16/hawk/config/application.rb
|
||||
--- hawk2-2.6.6+git.1734344973.d7058a83.orig/hawk/config/application.rb
|
||||
+++ hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/application.rb
|
||||
@@ -44,6 +44,11 @@ module Hawk
|
||||
config.middleware.use Rack::Deflater
|
||||
end
|
||||
@@ -27,10 +14,10 @@ Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/config/application.rb
|
||||
config.x.hawk_is_sles = system("cat /etc/os-release | grep 'ID=.*sles' >/dev/null 2>&1")
|
||||
|
||||
def lookup_daemon_dir
|
||||
Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/config/boot.rb
|
||||
Index: hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/boot.rb
|
||||
===================================================================
|
||||
--- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/config/boot.rb
|
||||
+++ hawk2-2.6.5+git.1724254291.33351c16/hawk/config/boot.rb
|
||||
--- hawk2-2.6.6+git.1734344973.d7058a83.orig/hawk/config/boot.rb
|
||||
+++ hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/boot.rb
|
||||
@@ -38,7 +38,7 @@ else
|
||||
gem "virtus", version: "~> 1.0"
|
||||
require "virtus"
|
||||
@@ -40,10 +27,10 @@ Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/config/boot.rb
|
||||
require "js-routes"
|
||||
|
||||
gem "fast_gettext", version: "~> 1.4"
|
||||
Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/config/environments/development.rb
|
||||
Index: hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/environments/development.rb
|
||||
===================================================================
|
||||
--- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/config/environments/development.rb
|
||||
+++ hawk2-2.6.5+git.1724254291.33351c16/hawk/config/environments/development.rb
|
||||
--- hawk2-2.6.6+git.1734344973.d7058a83.orig/hawk/config/environments/development.rb
|
||||
+++ hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/environments/development.rb
|
||||
@@ -27,7 +27,7 @@ Rails.application.configure do
|
||||
|
||||
config.cache_store = :memory_store
|
||||
|
||||
BIN
marcel-1.0.4.gem
LFS
Normal file
BIN
marcel-1.0.4.gem
LFS
Normal file
Binary file not shown.
BIN
mini_mime-1.1.5.gem
LFS
Normal file
BIN
mini_mime-1.1.5.gem
LFS
Normal file
Binary file not shown.
BIN
mini_portile2-2.8.8.gem
LFS
Normal file
BIN
mini_portile2-2.8.8.gem
LFS
Normal file
Binary file not shown.
BIN
minitest-5.25.5.gem
LFS
Normal file
BIN
minitest-5.25.5.gem
LFS
Normal file
Binary file not shown.
BIN
net-imap-0.5.8.gem
LFS
Normal file
BIN
net-imap-0.5.8.gem
LFS
Normal file
Binary file not shown.
BIN
net-pop-0.1.2.gem
LFS
Normal file
BIN
net-pop-0.1.2.gem
LFS
Normal file
Binary file not shown.
BIN
net-protocol-0.2.2.gem
LFS
Normal file
BIN
net-protocol-0.2.2.gem
LFS
Normal file
Binary file not shown.
BIN
net-smtp-0.5.1.gem
LFS
Normal file
BIN
net-smtp-0.5.1.gem
LFS
Normal file
Binary file not shown.
BIN
nio4r-2.7.4.gem
LFS
Normal file
BIN
nio4r-2.7.4.gem
LFS
Normal file
Binary file not shown.
BIN
nokogiri-1.18.5.gem
LFS
Normal file
BIN
nokogiri-1.18.5.gem
LFS
Normal file
Binary file not shown.
BIN
po_to_json-2.0.0.gem
LFS
Normal file
BIN
po_to_json-2.0.0.gem
LFS
Normal file
Binary file not shown.
BIN
pp-0.6.2.gem
LFS
Normal file
BIN
pp-0.6.2.gem
LFS
Normal file
Binary file not shown.
BIN
prettyprint-0.2.0.gem
LFS
Normal file
BIN
prettyprint-0.2.0.gem
LFS
Normal file
Binary file not shown.
BIN
prime-0.1.3.gem
LFS
Normal file
BIN
prime-0.1.3.gem
LFS
Normal file
Binary file not shown.
BIN
psych-5.2.3.gem
LFS
Normal file
BIN
psych-5.2.3.gem
LFS
Normal file
Binary file not shown.
BIN
puma-6.6.0.gem
LFS
Normal file
BIN
puma-6.6.0.gem
LFS
Normal file
Binary file not shown.
BIN
racc-1.8.1.gem
LFS
Normal file
BIN
racc-1.8.1.gem
LFS
Normal file
Binary file not shown.
BIN
rack-3.1.18.gem
LFS
Normal file
BIN
rack-3.1.18.gem
LFS
Normal file
Binary file not shown.
BIN
rack-session-2.1.1.gem
LFS
Normal file
BIN
rack-session-2.1.1.gem
LFS
Normal file
Binary file not shown.
BIN
rack-test-2.2.0.gem
LFS
Normal file
BIN
rack-test-2.2.0.gem
LFS
Normal file
Binary file not shown.
BIN
rackup-2.2.1.gem
LFS
Normal file
BIN
rackup-2.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
rails-8.0.2.1.gem
LFS
Normal file
BIN
rails-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
rails-dom-testing-2.2.0.gem
LFS
Normal file
BIN
rails-dom-testing-2.2.0.gem
LFS
Normal file
Binary file not shown.
BIN
rails-html-sanitizer-1.6.2.gem
LFS
Normal file
BIN
rails-html-sanitizer-1.6.2.gem
LFS
Normal file
Binary file not shown.
BIN
railties-8.0.2.1.gem
LFS
Normal file
BIN
railties-8.0.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
rake-13.2.1.gem
LFS
Normal file
BIN
rake-13.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
rdoc-6.13.1.gem
LFS
Normal file
BIN
rdoc-6.13.1.gem
LFS
Normal file
Binary file not shown.
BIN
reline-0.6.0.gem
LFS
Normal file
BIN
reline-0.6.0.gem
LFS
Normal file
Binary file not shown.
BIN
rexml-3.4.1.gem
LFS
Normal file
BIN
rexml-3.4.1.gem
LFS
Normal file
Binary file not shown.
BIN
sass-rails-6.0.0.gem
LFS
Normal file
BIN
sass-rails-6.0.0.gem
LFS
Normal file
Binary file not shown.
BIN
sassc-2.4.0.gem
LFS
Normal file
BIN
sassc-2.4.0.gem
LFS
Normal file
Binary file not shown.
BIN
sassc-rails-2.1.2.gem
LFS
Normal file
BIN
sassc-rails-2.1.2.gem
LFS
Normal file
Binary file not shown.
BIN
securerandom-0.4.1.gem
LFS
Normal file
BIN
securerandom-0.4.1.gem
LFS
Normal file
Binary file not shown.
BIN
singleton-0.3.0.gem
LFS
Normal file
BIN
singleton-0.3.0.gem
LFS
Normal file
Binary file not shown.
BIN
sorbet-runtime-0.5.11966.gem
LFS
Normal file
BIN
sorbet-runtime-0.5.11966.gem
LFS
Normal file
Binary file not shown.
BIN
sprockets-4.2.1.gem
LFS
Normal file
BIN
sprockets-4.2.1.gem
LFS
Normal file
Binary file not shown.
BIN
sprockets-rails-3.5.2.gem
LFS
Normal file
BIN
sprockets-rails-3.5.2.gem
LFS
Normal file
Binary file not shown.
BIN
stringio-3.1.6.gem
LFS
Normal file
BIN
stringio-3.1.6.gem
LFS
Normal file
Binary file not shown.
@@ -57,3 +57,11 @@ HAWK_KEY="/etc/hawk/hawk.key"
|
||||
# Configures an SSL certificate that the Hawk web server presents.
|
||||
HAWK_CERT="/etc/hawk/hawk.pem"
|
||||
|
||||
## Path: Cluster/Hawk
|
||||
## Description: The path where the hawk will search the gem packages
|
||||
## Type: string
|
||||
## Default: /usr/lib64/ruby/gems/3.4.0
|
||||
## ServiceRestart: hawk
|
||||
# The path where the hawk will search the gem packages. Starting from the hawk-2.7.0
|
||||
# hawk bundles it's gems and installs them in /usr/libexec/hawk/vendor
|
||||
GEM_PATH="/usr/libexec/hawk/vendor"
|
||||
|
||||
BIN
text-1.3.1.gem
LFS
Normal file
BIN
text-1.3.1.gem
LFS
Normal file
Binary file not shown.
BIN
thor-1.4.0.gem
LFS
Normal file
BIN
thor-1.4.0.gem
LFS
Normal file
Binary file not shown.
BIN
thread_safe-0.3.6.gem
LFS
Normal file
BIN
thread_safe-0.3.6.gem
LFS
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user