REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 2.50 KB
Close
/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/dev/nginx_version_sha256
Text
Base64
#!/usr/bin/env ruby # Phusion Passenger - https://www.phusionpassenger.com/ # Copyright (c) 2024-2025 Asynchronous B.V. # # "Passenger", "Phusion Passenger" and "Union Station" are registered # trademarks of Asynchronous B.V. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. require 'openssl' require 'open-uri' require 'gpgme' require 'rubygems/version.rb' VERSION = ARGV[0] debug = !ENV["VERBOSE"].nil? if Gem::Version.new(VERSION).segments[1].odd? puts "Only use LTS Nginx versions (even numbered minor versions, eg: 1.26.3)" exit 1 end DL_URL = "https://nginx.org/download/nginx-#{VERSION}.tar.gz" SIG_URL = "#{DL_URL}.asc" KEY_URLS = [ # https://nginx.org/en/pgp_keys.html "https://nginx.org/keys/nginx_signing.key", "https://nginx.org/keys/thresh.key", "https://nginx.org/keys/sb.key", "https://nginx.org/keys/pluknet.key", "https://nginx.org/keys/arut.key", "https://nginx.org/keys/maxim.key", ] puts DL_URL if debug data = URI.open(DL_URL) do |f| f.read end File.write("./dl.tar.gz",data) if debug puts SIG_URL if debug sig = URI.open(SIG_URL) do |f| f.read end KEY_URLS.each do |key_url| puts key_url if debug key = URI.open(key_url) do |f| f.read end GPGME::Key.import(key) #only needed if the key has not been imported previously end crypto = GPGME::Crypto.new valid = false crypto.verify(sig, signed_text: data) do |signature| valid = signature.valid? end if valid puts Digest::SHA256.hexdigest(data) else puts "invalid sig, maybe you need to add a new key to the list?" exit 1 end
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 5 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
boost-patches
DIR
-
drwxr-xr-x
2026-02-13 08:03:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ci
DIR
-
drwxr-xr-x
2026-02-13 08:03:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
configkit-schemas
DIR
-
drwxr-xr-x
2026-02-13 08:03:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rack.test
DIR
-
drwxr-xr-x
2026-02-13 08:03:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vagrant
DIR
-
drwxr-xr-x
2026-02-13 08:03:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
colorize-logs
7.29 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
copy_boost_headers
9.55 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index_cxx_dependencies.rb
3.94 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install_scripts_bootstrap_code.rb
1.31 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
list_tests
981 B
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nginx_version_sha256
2.50 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
parse_file_descriptor_log
2.54 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ruby_server.rb
6.17 KB
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
runner
623 B
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
show-latest-crashlog-dir
784 B
lrwxr-xr-x
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).