uringmachine 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.gitmodules +0 -3
- data/CHANGELOG.md +13 -0
- data/Gemfile +11 -0
- data/README.md +266 -112
- data/Rakefile +8 -0
- data/TODO.md +14 -21
- data/benchmark/common.rb +2 -0
- data/benchmark/openssl.rb +77 -0
- data/benchmark/openssl_socketpair.rb +112 -0
- data/benchmark/sqlite.rb +1 -1
- data/docs/design/buffer_pool.md +1 -1
- data/docs/wroclove.rb.md +52 -0
- data/ext/um/extconf.rb +15 -0
- data/ext/um/um.c +392 -358
- data/ext/um/um.h +48 -23
- data/ext/um/um_async_op.c +9 -8
- data/ext/um/um_async_op_class.c +34 -3
- data/ext/um/um_class.c +705 -19
- data/ext/um/um_const.c +31 -0
- data/ext/um/um_mutex_class.c +12 -0
- data/ext/um/um_op.c +15 -1
- data/ext/um/um_queue_class.c +16 -0
- data/ext/um/um_ssl.c +109 -0
- data/ext/um/um_stream.c +9 -8
- data/ext/um/um_sync.c +18 -11
- data/ext/um/um_utils.c +17 -8
- data/grant-2025/interim-report.md +1 -1
- data/grant-2025/journal.md +4 -4
- data/grant-2025/tasks.md +6 -4
- data/lib/uringmachine/dns_resolver.rb +38 -0
- data/lib/uringmachine/fiber_scheduler.rb +7 -5
- data/lib/uringmachine/version.rb +1 -1
- data/lib/uringmachine.rb +106 -6
- data/test/helper.rb +15 -0
- data/test/test_async_op.rb +3 -2
- data/test/test_fiber_scheduler.rb +41 -1
- data/test/test_ssl.rb +85 -0
- data/test/test_stream.rb +11 -0
- data/test/test_um.rb +445 -11
- data/uringmachine.gemspec +1 -7
- data/vendor/liburing/examples/send-zerocopy.c +43 -31
- data/vendor/liburing/examples/zcrx.c +260 -69
- data/vendor/liburing/liburing.spec +1 -1
- data/vendor/liburing/src/include/liburing/io_uring.h +12 -0
- data/vendor/liburing/src/include/liburing.h +3 -2
- data/vendor/liburing/src/liburing-ffi.map +4 -0
- data/vendor/liburing/src/liburing.map +4 -0
- data/vendor/liburing/src/queue.c +12 -0
- data/vendor/liburing/src/register.c +1 -0
- data/vendor/liburing/src/setup.c +15 -7
- data/vendor/liburing/test/Makefile +8 -4
- data/vendor/liburing/test/conn-unreach.c +1 -1
- data/vendor/liburing/test/epwait.c +32 -6
- data/vendor/liburing/test/io-wq-exit.c +131 -0
- data/vendor/liburing/test/iowait.c +1 -1
- data/vendor/liburing/test/min-timeout.c +3 -1
- data/vendor/liburing/test/open-close.c +39 -0
- data/vendor/liburing/test/poll-update-trigger.c +85 -0
- data/vendor/liburing/test/recvsend_bundle.c +14 -11
- data/vendor/liburing/test/sendzc-bug.c +146 -0
- data/vendor/liburing/test/sqe-mixed-nop.c +151 -7
- data/vendor/liburing/test/test.h +2 -0
- data/vendor/liburing/test/timestamp-bug.c +135 -0
- data/vendor/liburing/test/timestamp.c +5 -0
- data/vendor/liburing/test/vec-regbuf.c +136 -1
- metadata +38 -283
- data/vendor/libressl/.github/scripts/changelog.sh +0 -74
- data/vendor/libressl/.github/workflows/android.yml +0 -35
- data/vendor/libressl/.github/workflows/cifuzz.yml +0 -33
- data/vendor/libressl/.github/workflows/cmake-config.yml +0 -98
- data/vendor/libressl/.github/workflows/coverity.yml +0 -69
- data/vendor/libressl/.github/workflows/emscripten.yml +0 -71
- data/vendor/libressl/.github/workflows/fedora-rawhide.yml +0 -39
- data/vendor/libressl/.github/workflows/freebsd.yml +0 -71
- data/vendor/libressl/.github/workflows/linux.yml +0 -71
- data/vendor/libressl/.github/workflows/macos.yml +0 -37
- data/vendor/libressl/.github/workflows/release.yml +0 -81
- data/vendor/libressl/.github/workflows/rust-openssl.yml +0 -47
- data/vendor/libressl/.github/workflows/solaris.yml +0 -37
- data/vendor/libressl/.github/workflows/windows.yml +0 -70
- data/vendor/libressl/.gitignore +0 -333
- data/vendor/libressl/CMakeLists.txt +0 -581
- data/vendor/libressl/COPYING +0 -133
- data/vendor/libressl/ChangeLog +0 -3280
- data/vendor/libressl/FindLibreSSL.cmake +0 -232
- data/vendor/libressl/LibreSSLConfig.cmake.in +0 -36
- data/vendor/libressl/Makefile.am +0 -60
- data/vendor/libressl/Makefile.am.common +0 -20
- data/vendor/libressl/OPENBSD_BRANCH +0 -1
- data/vendor/libressl/README.md +0 -238
- data/vendor/libressl/README.mingw.md +0 -43
- data/vendor/libressl/apps/CMakeLists.txt +0 -18
- data/vendor/libressl/apps/Makefile.am +0 -5
- data/vendor/libressl/apps/nc/CMakeLists.txt +0 -67
- data/vendor/libressl/apps/nc/Makefile.am +0 -64
- data/vendor/libressl/apps/nc/compat/accept4.c +0 -17
- data/vendor/libressl/apps/nc/compat/readpassphrase.c +0 -205
- data/vendor/libressl/apps/nc/compat/socket.c +0 -29
- data/vendor/libressl/apps/nc/compat/sys/socket.h +0 -30
- data/vendor/libressl/apps/ocspcheck/CMakeLists.txt +0 -44
- data/vendor/libressl/apps/ocspcheck/Makefile.am +0 -45
- data/vendor/libressl/apps/ocspcheck/compat/.gitignore +0 -0
- data/vendor/libressl/apps/openssl/CMakeLists.txt +0 -97
- data/vendor/libressl/apps/openssl/Makefile.am +0 -108
- data/vendor/libressl/apps/openssl/apps_win.c +0 -138
- data/vendor/libressl/apps/openssl/certhash_win.c +0 -13
- data/vendor/libressl/apps/openssl/compat/clock_gettime_osx.c +0 -26
- data/vendor/libressl/apps/openssl/compat/poll_win.c +0 -329
- data/vendor/libressl/appveyor.yml +0 -53
- data/vendor/libressl/autogen.sh +0 -15
- data/vendor/libressl/check-release.sh +0 -86
- data/vendor/libressl/cmake_export_symbol.cmake +0 -71
- data/vendor/libressl/cmake_uninstall.cmake.in +0 -36
- data/vendor/libressl/config +0 -17
- data/vendor/libressl/configure.ac +0 -165
- data/vendor/libressl/crypto/CMakeLists.txt +0 -863
- data/vendor/libressl/crypto/Makefile.am +0 -962
- data/vendor/libressl/crypto/Makefile.am.arc4random +0 -46
- data/vendor/libressl/crypto/Makefile.am.elf-mips +0 -14
- data/vendor/libressl/crypto/Makefile.am.elf-mips64 +0 -14
- data/vendor/libressl/crypto/Makefile.am.elf-x86_64 +0 -35
- data/vendor/libressl/crypto/Makefile.am.macosx-x86_64 +0 -35
- data/vendor/libressl/crypto/Makefile.am.masm-x86_64 +0 -22
- data/vendor/libressl/crypto/Makefile.am.mingw64-x86_64 +0 -23
- data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_darwin.c +0 -60
- data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_linux.c +0 -62
- data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_none.c +0 -26
- data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_windows.c +0 -36
- data/vendor/libressl/crypto/arch/loongarch64/crypto_arch.h +0 -21
- data/vendor/libressl/crypto/arch/mips/crypto_arch.h +0 -21
- data/vendor/libressl/crypto/bn/arch/loongarch64/bn_arch.h +0 -23
- data/vendor/libressl/crypto/bn/arch/mips/bn_arch.h +0 -24
- data/vendor/libressl/crypto/compat/.gitignore +0 -31
- data/vendor/libressl/crypto/compat/arc4random.h +0 -41
- data/vendor/libressl/crypto/compat/b_win.c +0 -55
- data/vendor/libressl/crypto/compat/bsd-asprintf.c +0 -96
- data/vendor/libressl/crypto/compat/crypto_lock_win.c +0 -56
- data/vendor/libressl/crypto/compat/explicit_bzero_win.c +0 -13
- data/vendor/libressl/crypto/compat/freezero.c +0 -32
- data/vendor/libressl/crypto/compat/getdelim.c +0 -78
- data/vendor/libressl/crypto/compat/getline.c +0 -40
- data/vendor/libressl/crypto/compat/getopt_long.c +0 -528
- data/vendor/libressl/crypto/compat/getpagesize.c +0 -18
- data/vendor/libressl/crypto/compat/getprogname_linux.c +0 -23
- data/vendor/libressl/crypto/compat/getprogname_unimpl.c +0 -7
- data/vendor/libressl/crypto/compat/getprogname_windows.c +0 -13
- data/vendor/libressl/crypto/compat/posix_win.c +0 -296
- data/vendor/libressl/crypto/compat/syslog_r.c +0 -19
- data/vendor/libressl/crypto/compat/ui_openssl_win.c +0 -334
- data/vendor/libressl/dist.sh +0 -22
- data/vendor/libressl/gen-coverage-report.sh +0 -58
- data/vendor/libressl/gen-openbsd-tags.sh +0 -20
- data/vendor/libressl/include/CMakeLists.txt +0 -61
- data/vendor/libressl/include/Makefile.am +0 -79
- data/vendor/libressl/include/arch/loongarch64/opensslconf.h +0 -150
- data/vendor/libressl/include/arch/mips/opensslconf.h +0 -150
- data/vendor/libressl/include/compat/arpa/inet.h +0 -15
- data/vendor/libressl/include/compat/arpa/nameser.h +0 -25
- data/vendor/libressl/include/compat/cet.h +0 -19
- data/vendor/libressl/include/compat/dirent.h +0 -17
- data/vendor/libressl/include/compat/dirent_msvc.h +0 -611
- data/vendor/libressl/include/compat/endian.h +0 -161
- data/vendor/libressl/include/compat/err.h +0 -95
- data/vendor/libressl/include/compat/fcntl.h +0 -32
- data/vendor/libressl/include/compat/getopt.h +0 -50
- data/vendor/libressl/include/compat/limits.h +0 -25
- data/vendor/libressl/include/compat/netdb.h +0 -10
- data/vendor/libressl/include/compat/netinet/in.h +0 -19
- data/vendor/libressl/include/compat/netinet/ip.h +0 -49
- data/vendor/libressl/include/compat/netinet/tcp.h +0 -10
- data/vendor/libressl/include/compat/poll.h +0 -63
- data/vendor/libressl/include/compat/pthread.h +0 -122
- data/vendor/libressl/include/compat/readpassphrase.h +0 -44
- data/vendor/libressl/include/compat/resolv.h +0 -24
- data/vendor/libressl/include/compat/stdint.h +0 -31
- data/vendor/libressl/include/compat/stdio.h +0 -65
- data/vendor/libressl/include/compat/stdlib.h +0 -57
- data/vendor/libressl/include/compat/string.h +0 -98
- data/vendor/libressl/include/compat/sys/_null.h +0 -18
- data/vendor/libressl/include/compat/sys/ioctl.h +0 -11
- data/vendor/libressl/include/compat/sys/mman.h +0 -19
- data/vendor/libressl/include/compat/sys/param.h +0 -15
- data/vendor/libressl/include/compat/sys/queue.h +0 -536
- data/vendor/libressl/include/compat/sys/select.h +0 -10
- data/vendor/libressl/include/compat/sys/socket.h +0 -18
- data/vendor/libressl/include/compat/sys/stat.h +0 -129
- data/vendor/libressl/include/compat/sys/time.h +0 -37
- data/vendor/libressl/include/compat/sys/tree.h +0 -1006
- data/vendor/libressl/include/compat/sys/types.h +0 -69
- data/vendor/libressl/include/compat/sys/uio.h +0 -17
- data/vendor/libressl/include/compat/syslog.h +0 -38
- data/vendor/libressl/include/compat/time.h +0 -59
- data/vendor/libressl/include/compat/unistd.h +0 -83
- data/vendor/libressl/include/compat/win32netcompat.h +0 -57
- data/vendor/libressl/include/openssl/Makefile.am.tpl +0 -45
- data/vendor/libressl/libcrypto.pc.in +0 -28
- data/vendor/libressl/libressl.pub +0 -2
- data/vendor/libressl/libssl.pc.in +0 -28
- data/vendor/libressl/libtls.pc.in +0 -28
- data/vendor/libressl/m4/ax_add_fortify_source.m4 +0 -80
- data/vendor/libressl/m4/ax_check_compile_flag.m4 +0 -53
- data/vendor/libressl/m4/check-hardening-options.m4 +0 -110
- data/vendor/libressl/m4/check-libc.m4 +0 -189
- data/vendor/libressl/m4/check-os-options.m4 +0 -181
- data/vendor/libressl/m4/disable-compiler-warnings.m4 +0 -44
- data/vendor/libressl/man/CMakeLists.txt +0 -26
- data/vendor/libressl/man/links +0 -2780
- data/vendor/libressl/man/update_links.sh +0 -25
- data/vendor/libressl/openssl.pc.in +0 -11
- data/vendor/libressl/patches/bn_shift.patch +0 -34
- data/vendor/libressl/patches/crypto_arch.h.patch +0 -34
- data/vendor/libressl/patches/crypto_namespace.h.patch +0 -22
- data/vendor/libressl/patches/netcat.c.patch +0 -178
- data/vendor/libressl/patches/openssl.c.patch +0 -12
- data/vendor/libressl/patches/opensslfeatures.h.patch +0 -49
- data/vendor/libressl/patches/patch-amd64-crypto-cpu-caps.c.patch +0 -20
- data/vendor/libressl/patches/patch-i386-crypto-cpu-caps.c.patch +0 -20
- data/vendor/libressl/patches/speed.c.patch +0 -114
- data/vendor/libressl/patches/ssl_namespace.h.patch +0 -21
- data/vendor/libressl/patches/tls.h.patch +0 -16
- data/vendor/libressl/patches/tls_config.c.patch +0 -15
- data/vendor/libressl/patches/win32_amd64_bn_arch.h.patch +0 -28
- data/vendor/libressl/patches/windows_headers.patch +0 -80
- data/vendor/libressl/scripts/config.guess +0 -1774
- data/vendor/libressl/scripts/config.sub +0 -1907
- data/vendor/libressl/scripts/i686-w64-mingw32.cmake +0 -9
- data/vendor/libressl/scripts/test +0 -210
- data/vendor/libressl/scripts/wrap-compiler-for-flag-check +0 -31
- data/vendor/libressl/scripts/x86_64-w64-mingw32.cmake +0 -9
- data/vendor/libressl/ssl/CMakeLists.txt +0 -183
- data/vendor/libressl/ssl/Makefile.am +0 -187
- data/vendor/libressl/tests/CMakeLists.txt +0 -970
- data/vendor/libressl/tests/Makefile.am +0 -944
- data/vendor/libressl/tests/aeadtest.sh +0 -30
- data/vendor/libressl/tests/arc4randomforktest.sh +0 -21
- data/vendor/libressl/tests/asn1time_small.test +0 -10
- data/vendor/libressl/tests/cmake/CMakeLists.txt +0 -52
- data/vendor/libressl/tests/cmake/crypto.c +0 -7
- data/vendor/libressl/tests/cmake/ssl.c +0 -6
- data/vendor/libressl/tests/cmake/tls.c +0 -6
- data/vendor/libressl/tests/compat/pipe2.c +0 -186
- data/vendor/libressl/tests/dtlstest.sh +0 -28
- data/vendor/libressl/tests/evptest.sh +0 -22
- data/vendor/libressl/tests/keypairtest.sh +0 -27
- data/vendor/libressl/tests/mlkem_tests.sh +0 -39
- data/vendor/libressl/tests/ocsptest.bat +0 -25
- data/vendor/libressl/tests/ocsptest.sh +0 -23
- data/vendor/libressl/tests/openssl.cnf +0 -29
- data/vendor/libressl/tests/optionstest.c +0 -381
- data/vendor/libressl/tests/pidwraptest.c +0 -85
- data/vendor/libressl/tests/pidwraptest.sh +0 -26
- data/vendor/libressl/tests/quictest.bat +0 -27
- data/vendor/libressl/tests/quictest.sh +0 -30
- data/vendor/libressl/tests/renegotiation_test.bat +0 -27
- data/vendor/libressl/tests/renegotiation_test.sh +0 -30
- data/vendor/libressl/tests/rfc5280time_small.test +0 -10
- data/vendor/libressl/tests/servertest.bat +0 -27
- data/vendor/libressl/tests/servertest.sh +0 -30
- data/vendor/libressl/tests/shutdowntest.bat +0 -27
- data/vendor/libressl/tests/shutdowntest.sh +0 -30
- data/vendor/libressl/tests/ssltest.bat +0 -32
- data/vendor/libressl/tests/ssltest.sh +0 -48
- data/vendor/libressl/tests/testdsa.bat +0 -47
- data/vendor/libressl/tests/testdsa.sh +0 -57
- data/vendor/libressl/tests/testenc.bat +0 -85
- data/vendor/libressl/tests/testenc.sh +0 -93
- data/vendor/libressl/tests/testrsa.bat +0 -47
- data/vendor/libressl/tests/testrsa.sh +0 -57
- data/vendor/libressl/tests/testssl.bat +0 -171
- data/vendor/libressl/tests/tlstest.bat +0 -27
- data/vendor/libressl/tests/tlstest.sh +0 -28
- data/vendor/libressl/tls/CMakeLists.txt +0 -125
- data/vendor/libressl/tls/Makefile.am +0 -76
- data/vendor/libressl/tls/compat/ftruncate.c +0 -17
- data/vendor/libressl/tls/compat/pread.c +0 -29
- data/vendor/libressl/tls/compat/pwrite.c +0 -29
- data/vendor/libressl/update.sh +0 -460
metadata
CHANGED
|
@@ -1,90 +1,47 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: uringmachine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sharon Rosner
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
-
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
name: rake-compiler
|
|
14
|
-
requirement: !ruby/object:Gem::Requirement
|
|
15
|
-
requirements:
|
|
16
|
-
- - "~>"
|
|
17
|
-
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.3.0
|
|
19
|
-
type: :development
|
|
20
|
-
prerelease: false
|
|
21
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
-
requirements:
|
|
23
|
-
- - "~>"
|
|
24
|
-
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.3.0
|
|
26
|
-
- !ruby/object:Gem::Dependency
|
|
27
|
-
name: minitest
|
|
28
|
-
requirement: !ruby/object:Gem::Requirement
|
|
29
|
-
requirements:
|
|
30
|
-
- - "~>"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: 5.26.2
|
|
33
|
-
type: :development
|
|
34
|
-
prerelease: false
|
|
35
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - "~>"
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: 5.26.2
|
|
40
|
-
- !ruby/object:Gem::Dependency
|
|
41
|
-
name: benchmark
|
|
42
|
-
requirement: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0'
|
|
47
|
-
type: :development
|
|
48
|
-
prerelease: false
|
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - ">="
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: '0'
|
|
54
|
-
- !ruby/object:Gem::Dependency
|
|
55
|
-
name: benchmark-ips
|
|
56
|
-
requirement: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - ">="
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: '0'
|
|
61
|
-
type: :development
|
|
62
|
-
prerelease: false
|
|
63
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - ">="
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: '0'
|
|
68
|
-
- !ruby/object:Gem::Dependency
|
|
69
|
-
name: http_parser.rb
|
|
70
|
-
requirement: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - "~>"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: 0.8.0
|
|
75
|
-
type: :development
|
|
76
|
-
prerelease: false
|
|
77
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
-
requirements:
|
|
79
|
-
- - "~>"
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
version: 0.8.0
|
|
11
|
+
dependencies: []
|
|
82
12
|
email: sharon@noteflakes.com
|
|
83
13
|
executables: []
|
|
84
14
|
extensions:
|
|
85
15
|
- ext/um/extconf.rb
|
|
86
16
|
extra_rdoc_files:
|
|
17
|
+
- CHANGELOG.md
|
|
87
18
|
- README.md
|
|
19
|
+
- TODO.md
|
|
20
|
+
- benchmark/README.md
|
|
21
|
+
- benchmark/chart_all.png
|
|
22
|
+
- benchmark/chart_bm_io_pipe_x.png
|
|
23
|
+
- ext/um/um.c
|
|
24
|
+
- ext/um/um.h
|
|
25
|
+
- ext/um/um_async_op.c
|
|
26
|
+
- ext/um/um_async_op_class.c
|
|
27
|
+
- ext/um/um_buffer.c
|
|
28
|
+
- ext/um/um_class.c
|
|
29
|
+
- ext/um/um_const.c
|
|
30
|
+
- ext/um/um_ext.c
|
|
31
|
+
- ext/um/um_mutex_class.c
|
|
32
|
+
- ext/um/um_op.c
|
|
33
|
+
- ext/um/um_queue_class.c
|
|
34
|
+
- ext/um/um_sidecar.c
|
|
35
|
+
- ext/um/um_ssl.c
|
|
36
|
+
- ext/um/um_stream.c
|
|
37
|
+
- ext/um/um_stream_class.c
|
|
38
|
+
- ext/um/um_sync.c
|
|
39
|
+
- ext/um/um_utils.c
|
|
40
|
+
- lib/uringmachine.rb
|
|
41
|
+
- lib/uringmachine/actor.rb
|
|
42
|
+
- lib/uringmachine/dns_resolver.rb
|
|
43
|
+
- lib/uringmachine/fiber_scheduler.rb
|
|
44
|
+
- lib/uringmachine/version.rb
|
|
88
45
|
files:
|
|
89
46
|
- ".github/FUNDING.yml"
|
|
90
47
|
- ".github/dependabot.yml"
|
|
@@ -117,6 +74,8 @@ files:
|
|
|
117
74
|
- benchmark/ips_io_pipe.rb
|
|
118
75
|
- benchmark/mutex.rb
|
|
119
76
|
- benchmark/mutex_single.rb
|
|
77
|
+
- benchmark/openssl.rb
|
|
78
|
+
- benchmark/openssl_socketpair.rb
|
|
120
79
|
- benchmark/read_each.rb
|
|
121
80
|
- benchmark/run_bm.rb
|
|
122
81
|
- benchmark/send.rb
|
|
@@ -125,6 +84,7 @@ files:
|
|
|
125
84
|
- benchmark/write.rb
|
|
126
85
|
- docs/design/buffer_pool.md
|
|
127
86
|
- docs/um_api.md
|
|
87
|
+
- docs/wroclove.rb.md
|
|
128
88
|
- examples/echo_server.rb
|
|
129
89
|
- examples/fiber_scheduler_demo.rb
|
|
130
90
|
- examples/fiber_scheduler_file_io.rb
|
|
@@ -152,6 +112,7 @@ files:
|
|
|
152
112
|
- ext/um/um_op.c
|
|
153
113
|
- ext/um/um_queue_class.c
|
|
154
114
|
- ext/um/um_sidecar.c
|
|
115
|
+
- ext/um/um_ssl.c
|
|
155
116
|
- ext/um/um_stream.c
|
|
156
117
|
- ext/um/um_stream_class.c
|
|
157
118
|
- ext/um/um_sync.c
|
|
@@ -171,220 +132,10 @@ files:
|
|
|
171
132
|
- test/test_async_op.rb
|
|
172
133
|
- test/test_fiber.rb
|
|
173
134
|
- test/test_fiber_scheduler.rb
|
|
135
|
+
- test/test_ssl.rb
|
|
174
136
|
- test/test_stream.rb
|
|
175
137
|
- test/test_um.rb
|
|
176
138
|
- uringmachine.gemspec
|
|
177
|
-
- vendor/libressl/.github/scripts/changelog.sh
|
|
178
|
-
- vendor/libressl/.github/workflows/android.yml
|
|
179
|
-
- vendor/libressl/.github/workflows/cifuzz.yml
|
|
180
|
-
- vendor/libressl/.github/workflows/cmake-config.yml
|
|
181
|
-
- vendor/libressl/.github/workflows/coverity.yml
|
|
182
|
-
- vendor/libressl/.github/workflows/emscripten.yml
|
|
183
|
-
- vendor/libressl/.github/workflows/fedora-rawhide.yml
|
|
184
|
-
- vendor/libressl/.github/workflows/freebsd.yml
|
|
185
|
-
- vendor/libressl/.github/workflows/linux.yml
|
|
186
|
-
- vendor/libressl/.github/workflows/macos.yml
|
|
187
|
-
- vendor/libressl/.github/workflows/release.yml
|
|
188
|
-
- vendor/libressl/.github/workflows/rust-openssl.yml
|
|
189
|
-
- vendor/libressl/.github/workflows/solaris.yml
|
|
190
|
-
- vendor/libressl/.github/workflows/windows.yml
|
|
191
|
-
- vendor/libressl/.gitignore
|
|
192
|
-
- vendor/libressl/CMakeLists.txt
|
|
193
|
-
- vendor/libressl/COPYING
|
|
194
|
-
- vendor/libressl/ChangeLog
|
|
195
|
-
- vendor/libressl/FindLibreSSL.cmake
|
|
196
|
-
- vendor/libressl/LibreSSLConfig.cmake.in
|
|
197
|
-
- vendor/libressl/Makefile.am
|
|
198
|
-
- vendor/libressl/Makefile.am.common
|
|
199
|
-
- vendor/libressl/OPENBSD_BRANCH
|
|
200
|
-
- vendor/libressl/README.md
|
|
201
|
-
- vendor/libressl/README.mingw.md
|
|
202
|
-
- vendor/libressl/apps/CMakeLists.txt
|
|
203
|
-
- vendor/libressl/apps/Makefile.am
|
|
204
|
-
- vendor/libressl/apps/nc/CMakeLists.txt
|
|
205
|
-
- vendor/libressl/apps/nc/Makefile.am
|
|
206
|
-
- vendor/libressl/apps/nc/compat/accept4.c
|
|
207
|
-
- vendor/libressl/apps/nc/compat/readpassphrase.c
|
|
208
|
-
- vendor/libressl/apps/nc/compat/socket.c
|
|
209
|
-
- vendor/libressl/apps/nc/compat/sys/socket.h
|
|
210
|
-
- vendor/libressl/apps/ocspcheck/CMakeLists.txt
|
|
211
|
-
- vendor/libressl/apps/ocspcheck/Makefile.am
|
|
212
|
-
- vendor/libressl/apps/ocspcheck/compat/.gitignore
|
|
213
|
-
- vendor/libressl/apps/openssl/CMakeLists.txt
|
|
214
|
-
- vendor/libressl/apps/openssl/Makefile.am
|
|
215
|
-
- vendor/libressl/apps/openssl/apps_win.c
|
|
216
|
-
- vendor/libressl/apps/openssl/certhash_win.c
|
|
217
|
-
- vendor/libressl/apps/openssl/compat/clock_gettime_osx.c
|
|
218
|
-
- vendor/libressl/apps/openssl/compat/poll_win.c
|
|
219
|
-
- vendor/libressl/appveyor.yml
|
|
220
|
-
- vendor/libressl/autogen.sh
|
|
221
|
-
- vendor/libressl/check-release.sh
|
|
222
|
-
- vendor/libressl/cmake_export_symbol.cmake
|
|
223
|
-
- vendor/libressl/cmake_uninstall.cmake.in
|
|
224
|
-
- vendor/libressl/config
|
|
225
|
-
- vendor/libressl/configure.ac
|
|
226
|
-
- vendor/libressl/crypto/CMakeLists.txt
|
|
227
|
-
- vendor/libressl/crypto/Makefile.am
|
|
228
|
-
- vendor/libressl/crypto/Makefile.am.arc4random
|
|
229
|
-
- vendor/libressl/crypto/Makefile.am.elf-mips
|
|
230
|
-
- vendor/libressl/crypto/Makefile.am.elf-mips64
|
|
231
|
-
- vendor/libressl/crypto/Makefile.am.elf-x86_64
|
|
232
|
-
- vendor/libressl/crypto/Makefile.am.macosx-x86_64
|
|
233
|
-
- vendor/libressl/crypto/Makefile.am.masm-x86_64
|
|
234
|
-
- vendor/libressl/crypto/Makefile.am.mingw64-x86_64
|
|
235
|
-
- vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_darwin.c
|
|
236
|
-
- vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_linux.c
|
|
237
|
-
- vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_none.c
|
|
238
|
-
- vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_windows.c
|
|
239
|
-
- vendor/libressl/crypto/arch/loongarch64/crypto_arch.h
|
|
240
|
-
- vendor/libressl/crypto/arch/mips/crypto_arch.h
|
|
241
|
-
- vendor/libressl/crypto/bn/arch/loongarch64/bn_arch.h
|
|
242
|
-
- vendor/libressl/crypto/bn/arch/mips/bn_arch.h
|
|
243
|
-
- vendor/libressl/crypto/compat/.gitignore
|
|
244
|
-
- vendor/libressl/crypto/compat/arc4random.h
|
|
245
|
-
- vendor/libressl/crypto/compat/b_win.c
|
|
246
|
-
- vendor/libressl/crypto/compat/bsd-asprintf.c
|
|
247
|
-
- vendor/libressl/crypto/compat/crypto_lock_win.c
|
|
248
|
-
- vendor/libressl/crypto/compat/explicit_bzero_win.c
|
|
249
|
-
- vendor/libressl/crypto/compat/freezero.c
|
|
250
|
-
- vendor/libressl/crypto/compat/getdelim.c
|
|
251
|
-
- vendor/libressl/crypto/compat/getline.c
|
|
252
|
-
- vendor/libressl/crypto/compat/getopt_long.c
|
|
253
|
-
- vendor/libressl/crypto/compat/getpagesize.c
|
|
254
|
-
- vendor/libressl/crypto/compat/getprogname_linux.c
|
|
255
|
-
- vendor/libressl/crypto/compat/getprogname_unimpl.c
|
|
256
|
-
- vendor/libressl/crypto/compat/getprogname_windows.c
|
|
257
|
-
- vendor/libressl/crypto/compat/posix_win.c
|
|
258
|
-
- vendor/libressl/crypto/compat/syslog_r.c
|
|
259
|
-
- vendor/libressl/crypto/compat/ui_openssl_win.c
|
|
260
|
-
- vendor/libressl/dist.sh
|
|
261
|
-
- vendor/libressl/gen-coverage-report.sh
|
|
262
|
-
- vendor/libressl/gen-openbsd-tags.sh
|
|
263
|
-
- vendor/libressl/include/CMakeLists.txt
|
|
264
|
-
- vendor/libressl/include/Makefile.am
|
|
265
|
-
- vendor/libressl/include/arch/loongarch64/opensslconf.h
|
|
266
|
-
- vendor/libressl/include/arch/mips/opensslconf.h
|
|
267
|
-
- vendor/libressl/include/compat/arpa/inet.h
|
|
268
|
-
- vendor/libressl/include/compat/arpa/nameser.h
|
|
269
|
-
- vendor/libressl/include/compat/cet.h
|
|
270
|
-
- vendor/libressl/include/compat/dirent.h
|
|
271
|
-
- vendor/libressl/include/compat/dirent_msvc.h
|
|
272
|
-
- vendor/libressl/include/compat/endian.h
|
|
273
|
-
- vendor/libressl/include/compat/err.h
|
|
274
|
-
- vendor/libressl/include/compat/fcntl.h
|
|
275
|
-
- vendor/libressl/include/compat/getopt.h
|
|
276
|
-
- vendor/libressl/include/compat/limits.h
|
|
277
|
-
- vendor/libressl/include/compat/netdb.h
|
|
278
|
-
- vendor/libressl/include/compat/netinet/in.h
|
|
279
|
-
- vendor/libressl/include/compat/netinet/ip.h
|
|
280
|
-
- vendor/libressl/include/compat/netinet/tcp.h
|
|
281
|
-
- vendor/libressl/include/compat/poll.h
|
|
282
|
-
- vendor/libressl/include/compat/pthread.h
|
|
283
|
-
- vendor/libressl/include/compat/readpassphrase.h
|
|
284
|
-
- vendor/libressl/include/compat/resolv.h
|
|
285
|
-
- vendor/libressl/include/compat/stdint.h
|
|
286
|
-
- vendor/libressl/include/compat/stdio.h
|
|
287
|
-
- vendor/libressl/include/compat/stdlib.h
|
|
288
|
-
- vendor/libressl/include/compat/string.h
|
|
289
|
-
- vendor/libressl/include/compat/sys/_null.h
|
|
290
|
-
- vendor/libressl/include/compat/sys/ioctl.h
|
|
291
|
-
- vendor/libressl/include/compat/sys/mman.h
|
|
292
|
-
- vendor/libressl/include/compat/sys/param.h
|
|
293
|
-
- vendor/libressl/include/compat/sys/queue.h
|
|
294
|
-
- vendor/libressl/include/compat/sys/select.h
|
|
295
|
-
- vendor/libressl/include/compat/sys/socket.h
|
|
296
|
-
- vendor/libressl/include/compat/sys/stat.h
|
|
297
|
-
- vendor/libressl/include/compat/sys/time.h
|
|
298
|
-
- vendor/libressl/include/compat/sys/tree.h
|
|
299
|
-
- vendor/libressl/include/compat/sys/types.h
|
|
300
|
-
- vendor/libressl/include/compat/sys/uio.h
|
|
301
|
-
- vendor/libressl/include/compat/syslog.h
|
|
302
|
-
- vendor/libressl/include/compat/time.h
|
|
303
|
-
- vendor/libressl/include/compat/unistd.h
|
|
304
|
-
- vendor/libressl/include/compat/win32netcompat.h
|
|
305
|
-
- vendor/libressl/include/openssl/Makefile.am.tpl
|
|
306
|
-
- vendor/libressl/libcrypto.pc.in
|
|
307
|
-
- vendor/libressl/libressl.pub
|
|
308
|
-
- vendor/libressl/libssl.pc.in
|
|
309
|
-
- vendor/libressl/libtls.pc.in
|
|
310
|
-
- vendor/libressl/m4/ax_add_fortify_source.m4
|
|
311
|
-
- vendor/libressl/m4/ax_check_compile_flag.m4
|
|
312
|
-
- vendor/libressl/m4/check-hardening-options.m4
|
|
313
|
-
- vendor/libressl/m4/check-libc.m4
|
|
314
|
-
- vendor/libressl/m4/check-os-options.m4
|
|
315
|
-
- vendor/libressl/m4/disable-compiler-warnings.m4
|
|
316
|
-
- vendor/libressl/man/CMakeLists.txt
|
|
317
|
-
- vendor/libressl/man/links
|
|
318
|
-
- vendor/libressl/man/update_links.sh
|
|
319
|
-
- vendor/libressl/openssl.pc.in
|
|
320
|
-
- vendor/libressl/patches/bn_shift.patch
|
|
321
|
-
- vendor/libressl/patches/crypto_arch.h.patch
|
|
322
|
-
- vendor/libressl/patches/crypto_namespace.h.patch
|
|
323
|
-
- vendor/libressl/patches/netcat.c.patch
|
|
324
|
-
- vendor/libressl/patches/openssl.c.patch
|
|
325
|
-
- vendor/libressl/patches/opensslfeatures.h.patch
|
|
326
|
-
- vendor/libressl/patches/patch-amd64-crypto-cpu-caps.c.patch
|
|
327
|
-
- vendor/libressl/patches/patch-i386-crypto-cpu-caps.c.patch
|
|
328
|
-
- vendor/libressl/patches/speed.c.patch
|
|
329
|
-
- vendor/libressl/patches/ssl_namespace.h.patch
|
|
330
|
-
- vendor/libressl/patches/tls.h.patch
|
|
331
|
-
- vendor/libressl/patches/tls_config.c.patch
|
|
332
|
-
- vendor/libressl/patches/win32_amd64_bn_arch.h.patch
|
|
333
|
-
- vendor/libressl/patches/windows_headers.patch
|
|
334
|
-
- vendor/libressl/scripts/config.guess
|
|
335
|
-
- vendor/libressl/scripts/config.sub
|
|
336
|
-
- vendor/libressl/scripts/i686-w64-mingw32.cmake
|
|
337
|
-
- vendor/libressl/scripts/test
|
|
338
|
-
- vendor/libressl/scripts/wrap-compiler-for-flag-check
|
|
339
|
-
- vendor/libressl/scripts/x86_64-w64-mingw32.cmake
|
|
340
|
-
- vendor/libressl/ssl/CMakeLists.txt
|
|
341
|
-
- vendor/libressl/ssl/Makefile.am
|
|
342
|
-
- vendor/libressl/tests/CMakeLists.txt
|
|
343
|
-
- vendor/libressl/tests/Makefile.am
|
|
344
|
-
- vendor/libressl/tests/aeadtest.sh
|
|
345
|
-
- vendor/libressl/tests/arc4randomforktest.sh
|
|
346
|
-
- vendor/libressl/tests/asn1time_small.test
|
|
347
|
-
- vendor/libressl/tests/cmake/CMakeLists.txt
|
|
348
|
-
- vendor/libressl/tests/cmake/crypto.c
|
|
349
|
-
- vendor/libressl/tests/cmake/ssl.c
|
|
350
|
-
- vendor/libressl/tests/cmake/tls.c
|
|
351
|
-
- vendor/libressl/tests/compat/pipe2.c
|
|
352
|
-
- vendor/libressl/tests/dtlstest.sh
|
|
353
|
-
- vendor/libressl/tests/evptest.sh
|
|
354
|
-
- vendor/libressl/tests/keypairtest.sh
|
|
355
|
-
- vendor/libressl/tests/mlkem_tests.sh
|
|
356
|
-
- vendor/libressl/tests/ocsptest.bat
|
|
357
|
-
- vendor/libressl/tests/ocsptest.sh
|
|
358
|
-
- vendor/libressl/tests/openssl.cnf
|
|
359
|
-
- vendor/libressl/tests/optionstest.c
|
|
360
|
-
- vendor/libressl/tests/pidwraptest.c
|
|
361
|
-
- vendor/libressl/tests/pidwraptest.sh
|
|
362
|
-
- vendor/libressl/tests/quictest.bat
|
|
363
|
-
- vendor/libressl/tests/quictest.sh
|
|
364
|
-
- vendor/libressl/tests/renegotiation_test.bat
|
|
365
|
-
- vendor/libressl/tests/renegotiation_test.sh
|
|
366
|
-
- vendor/libressl/tests/rfc5280time_small.test
|
|
367
|
-
- vendor/libressl/tests/servertest.bat
|
|
368
|
-
- vendor/libressl/tests/servertest.sh
|
|
369
|
-
- vendor/libressl/tests/shutdowntest.bat
|
|
370
|
-
- vendor/libressl/tests/shutdowntest.sh
|
|
371
|
-
- vendor/libressl/tests/ssltest.bat
|
|
372
|
-
- vendor/libressl/tests/ssltest.sh
|
|
373
|
-
- vendor/libressl/tests/testdsa.bat
|
|
374
|
-
- vendor/libressl/tests/testdsa.sh
|
|
375
|
-
- vendor/libressl/tests/testenc.bat
|
|
376
|
-
- vendor/libressl/tests/testenc.sh
|
|
377
|
-
- vendor/libressl/tests/testrsa.bat
|
|
378
|
-
- vendor/libressl/tests/testrsa.sh
|
|
379
|
-
- vendor/libressl/tests/testssl.bat
|
|
380
|
-
- vendor/libressl/tests/tlstest.bat
|
|
381
|
-
- vendor/libressl/tests/tlstest.sh
|
|
382
|
-
- vendor/libressl/tls/CMakeLists.txt
|
|
383
|
-
- vendor/libressl/tls/Makefile.am
|
|
384
|
-
- vendor/libressl/tls/compat/ftruncate.c
|
|
385
|
-
- vendor/libressl/tls/compat/pread.c
|
|
386
|
-
- vendor/libressl/tls/compat/pwrite.c
|
|
387
|
-
- vendor/libressl/update.sh
|
|
388
139
|
- vendor/liburing/.github/actions/codespell/stopwords
|
|
389
140
|
- vendor/liburing/.github/pull_request_template.md
|
|
390
141
|
- vendor/liburing/.github/workflows/ci.yml
|
|
@@ -553,6 +304,7 @@ files:
|
|
|
553
304
|
- vendor/liburing/test/ignore-single-mmap.c
|
|
554
305
|
- vendor/liburing/test/init-mem.c
|
|
555
306
|
- vendor/liburing/test/io-cancel.c
|
|
307
|
+
- vendor/liburing/test/io-wq-exit.c
|
|
556
308
|
- vendor/liburing/test/io_uring_enter.c
|
|
557
309
|
- vendor/liburing/test/io_uring_passthrough.c
|
|
558
310
|
- vendor/liburing/test/io_uring_register.c
|
|
@@ -608,6 +360,7 @@ files:
|
|
|
608
360
|
- vendor/liburing/test/poll-race-mshot.c
|
|
609
361
|
- vendor/liburing/test/poll-race.c
|
|
610
362
|
- vendor/liburing/test/poll-ring.c
|
|
363
|
+
- vendor/liburing/test/poll-update-trigger.c
|
|
611
364
|
- vendor/liburing/test/poll-v-poll.c
|
|
612
365
|
- vendor/liburing/test/poll.c
|
|
613
366
|
- vendor/liburing/test/pollfree.c
|
|
@@ -651,6 +404,7 @@ files:
|
|
|
651
404
|
- vendor/liburing/test/send_recv.c
|
|
652
405
|
- vendor/liburing/test/send_recvmsg.c
|
|
653
406
|
- vendor/liburing/test/sendmsg_iov_clean.c
|
|
407
|
+
- vendor/liburing/test/sendzc-bug.c
|
|
654
408
|
- vendor/liburing/test/shared-wq.c
|
|
655
409
|
- vendor/liburing/test/short-read.c
|
|
656
410
|
- vendor/liburing/test/shutdown.c
|
|
@@ -692,6 +446,7 @@ files:
|
|
|
692
446
|
- vendor/liburing/test/timeout-new.c
|
|
693
447
|
- vendor/liburing/test/timeout.c
|
|
694
448
|
- vendor/liburing/test/timerfd-short-read.c
|
|
449
|
+
- vendor/liburing/test/timestamp-bug.c
|
|
695
450
|
- vendor/liburing/test/timestamp.c
|
|
696
451
|
- vendor/liburing/test/truncate.c
|
|
697
452
|
- vendor/liburing/test/tty-write-dpoll.c
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Copyright (c) 2023 Joshua Sing <joshua@hypera.dev>
|
|
3
|
-
#
|
|
4
|
-
# Permission to use, copy, modify, and distribute this software for any
|
|
5
|
-
# purpose with or without fee is hereby granted, provided that the above
|
|
6
|
-
# copyright notice and this permission notice appear in all copies.
|
|
7
|
-
#
|
|
8
|
-
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
9
|
-
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
10
|
-
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
11
|
-
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
12
|
-
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
13
|
-
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
14
|
-
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
|
|
16
|
-
#
|
|
17
|
-
# Usage: changelog.sh <version>
|
|
18
|
-
# Reads the changelog for the specified version from the changelog file.
|
|
19
|
-
# The output will be reformatted for use in GitHub releases.
|
|
20
|
-
#
|
|
21
|
-
# The changelog file defaults to "ChangeLog", but can be changed by setting
|
|
22
|
-
# the environment variable $CHANGELOG_FILE
|
|
23
|
-
#
|
|
24
|
-
|
|
25
|
-
set -e
|
|
26
|
-
|
|
27
|
-
# Check if the version argument is provided
|
|
28
|
-
if [ "$#" -ne 1 ]; then
|
|
29
|
-
echo "Usage: $0 <version>" 1>&2
|
|
30
|
-
exit 1
|
|
31
|
-
fi
|
|
32
|
-
|
|
33
|
-
version="${1#v}"
|
|
34
|
-
changelog_file="${CHANGELOG_FILE:-ChangeLog}"
|
|
35
|
-
found_version=false
|
|
36
|
-
changelog=""
|
|
37
|
-
|
|
38
|
-
# Check if the specified changelog file exists
|
|
39
|
-
if [ ! -f "$changelog_file" ]; then
|
|
40
|
-
echo "Error: Changelog file '$changelog_file' not found" 1>&2
|
|
41
|
-
exit 1
|
|
42
|
-
fi
|
|
43
|
-
|
|
44
|
-
# Read the changelog file line by line
|
|
45
|
-
while IFS= read -r line; do
|
|
46
|
-
# Check for the version line
|
|
47
|
-
if echo "$line" | grep -Eq "^${version} - "; then
|
|
48
|
-
found_version=true
|
|
49
|
-
continue
|
|
50
|
-
fi
|
|
51
|
-
|
|
52
|
-
# Continue reading the changelog until the next version or end of file,
|
|
53
|
-
# skipping empty lines
|
|
54
|
-
if $found_version; then
|
|
55
|
-
echo "$line" | grep -Eq "^\s*$" && continue
|
|
56
|
-
echo "$line" | grep -Eq "^[0-9]+\.[0-9]+\.[0-9]+ - " && break
|
|
57
|
-
changelog="${changelog}${line}\n"
|
|
58
|
-
fi
|
|
59
|
-
done < "$changelog_file"
|
|
60
|
-
|
|
61
|
-
# If the specified version was not found, print an error
|
|
62
|
-
if ! $found_version; then
|
|
63
|
-
echo "Error: Version $version was not found in changelog" 1>&2
|
|
64
|
-
exit 1
|
|
65
|
-
fi
|
|
66
|
-
|
|
67
|
-
# Tidy up the changelog for displaying on GitHub
|
|
68
|
-
changelog=$(echo "$changelog" | sed -e 's/^\t\*/###/' -e 's/^\t//')
|
|
69
|
-
|
|
70
|
-
# Print the changelog for the specified version
|
|
71
|
-
echo "$changelog"
|
|
72
|
-
echo
|
|
73
|
-
echo "Full changelog: https://github.com/libressl/portable/blob/master/ChangeLog"
|
|
74
|
-
exit 0
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# GitHub Actions workflow to run tests on Android.
|
|
2
|
-
name: "Android"
|
|
3
|
-
|
|
4
|
-
on: [push, pull_request]
|
|
5
|
-
|
|
6
|
-
concurrency:
|
|
7
|
-
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
|
|
8
|
-
cancel-in-progress: true
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
test:
|
|
12
|
-
name: "Test ${{ matrix.name }}"
|
|
13
|
-
runs-on: ubuntu-24.04
|
|
14
|
-
permissions:
|
|
15
|
-
contents: read
|
|
16
|
-
strategy:
|
|
17
|
-
fail-fast: false
|
|
18
|
-
matrix:
|
|
19
|
-
include:
|
|
20
|
-
- name: "Android 8-9"
|
|
21
|
-
min-nal: 26
|
|
22
|
-
max-nal: 28
|
|
23
|
-
- name: "Android 10-11"
|
|
24
|
-
min-nal: 29
|
|
25
|
-
max-nal: 30
|
|
26
|
-
steps:
|
|
27
|
-
- name: "Checkout repository"
|
|
28
|
-
uses: actions/checkout@v4
|
|
29
|
-
|
|
30
|
-
- name: "Run CI script"
|
|
31
|
-
run: ./scripts/test
|
|
32
|
-
env:
|
|
33
|
-
ARCH: "android"
|
|
34
|
-
MIN_NAL: "${{ matrix.min-nal }}"
|
|
35
|
-
MAX_NAL: "${{ matrix.max-nal }}"
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: CIFuzz
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
|
|
6
|
-
concurrency:
|
|
7
|
-
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
|
|
8
|
-
cancel-in-progress: true
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
Fuzzing:
|
|
12
|
-
runs-on: ubuntu-24.04
|
|
13
|
-
steps:
|
|
14
|
-
- name: Build Fuzzers
|
|
15
|
-
id: build
|
|
16
|
-
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
17
|
-
with:
|
|
18
|
-
oss-fuzz-project-name: 'libressl'
|
|
19
|
-
dry-run: false
|
|
20
|
-
language: c++
|
|
21
|
-
- name: Run Fuzzers
|
|
22
|
-
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
23
|
-
with:
|
|
24
|
-
oss-fuzz-project-name: 'libressl'
|
|
25
|
-
fuzz-seconds: 300
|
|
26
|
-
dry-run: false
|
|
27
|
-
language: c++
|
|
28
|
-
- name: Upload Crash
|
|
29
|
-
uses: actions/upload-artifact@v4
|
|
30
|
-
if: failure() && steps.build.outcome == 'success'
|
|
31
|
-
with:
|
|
32
|
-
name: artifacts
|
|
33
|
-
path: ./out/artifacts
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
# GitHub Actions workflow to check CMake config.
|
|
2
|
-
name: "CMake Check"
|
|
3
|
-
|
|
4
|
-
on:
|
|
5
|
-
push: {}
|
|
6
|
-
pull_request: {}
|
|
7
|
-
|
|
8
|
-
concurrency:
|
|
9
|
-
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
|
|
10
|
-
cancel-in-progress: true
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
check:
|
|
14
|
-
name: "${{ matrix.os }}"
|
|
15
|
-
runs-on: "${{ matrix.os }}"
|
|
16
|
-
strategy:
|
|
17
|
-
fail-fast: true
|
|
18
|
-
matrix:
|
|
19
|
-
os: [ "windows-2022", "macos-14", "ubuntu-24.04" ]
|
|
20
|
-
defaults:
|
|
21
|
-
run:
|
|
22
|
-
shell: "bash"
|
|
23
|
-
permissions:
|
|
24
|
-
contents: read
|
|
25
|
-
steps:
|
|
26
|
-
- name: "Checkout repository"
|
|
27
|
-
uses: actions/checkout@v4
|
|
28
|
-
|
|
29
|
-
- name: "Setup Windows dependencies"
|
|
30
|
-
if: runner.os == 'Windows'
|
|
31
|
-
uses: msys2/setup-msys2@v2
|
|
32
|
-
with:
|
|
33
|
-
update: true
|
|
34
|
-
install: >-
|
|
35
|
-
autoconf
|
|
36
|
-
automake
|
|
37
|
-
diffutils
|
|
38
|
-
libtool
|
|
39
|
-
gcc
|
|
40
|
-
git
|
|
41
|
-
patch
|
|
42
|
-
perl
|
|
43
|
-
|
|
44
|
-
- name: "Setup macOS dependencies"
|
|
45
|
-
if: runner.os == 'macOS'
|
|
46
|
-
run: brew install automake libtool
|
|
47
|
-
|
|
48
|
-
- name: "Prepare source tree for build (Windows)"
|
|
49
|
-
if: runner.os == 'Windows'
|
|
50
|
-
shell: "msys2 {0}"
|
|
51
|
-
run: ./autogen.sh
|
|
52
|
-
|
|
53
|
-
- name: "Prepare source tree for build (Unix)"
|
|
54
|
-
if: runner.os != 'Windows'
|
|
55
|
-
run: ./autogen.sh
|
|
56
|
-
|
|
57
|
-
- name: "Configure"
|
|
58
|
-
run: |
|
|
59
|
-
cmake -S . \
|
|
60
|
-
-B build \
|
|
61
|
-
-D CMAKE_BUILD_TYPE=Release \
|
|
62
|
-
-D CMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/../local
|
|
63
|
-
|
|
64
|
-
- name: "Build"
|
|
65
|
-
run: cmake --build build --config Release --verbose
|
|
66
|
-
|
|
67
|
-
- name: "Install"
|
|
68
|
-
run: cmake --install build --config Release
|
|
69
|
-
|
|
70
|
-
- name: "Consume from the build directory - Configure"
|
|
71
|
-
run: |
|
|
72
|
-
cmake -S tests/cmake \
|
|
73
|
-
-B consumer-build \
|
|
74
|
-
-D CMAKE_BUILD_TYPE=Release \
|
|
75
|
-
-D LibreSSL_DIR=$GITHUB_WORKSPACE/build
|
|
76
|
-
|
|
77
|
-
- name: "Consume from the build directory - Build"
|
|
78
|
-
run: cmake --build consumer-build --config Release --verbose
|
|
79
|
-
|
|
80
|
-
- name: "Consume from the install directory (CMAKE_PREFIX_PATH) - Configure"
|
|
81
|
-
run: |
|
|
82
|
-
cmake -S tests/cmake \
|
|
83
|
-
-B consumer-install-prefix \
|
|
84
|
-
-D CMAKE_BUILD_TYPE=Release \
|
|
85
|
-
-D CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/../local
|
|
86
|
-
|
|
87
|
-
- name: "Consume from the install directory (CMAKE_PREFIX_PATH) - Build"
|
|
88
|
-
run: cmake --build consumer-install-prefix --config Release --verbose
|
|
89
|
-
|
|
90
|
-
- name: "Consume from the install directory (LibreSSL_DIR) - Configure"
|
|
91
|
-
run: |
|
|
92
|
-
cmake -S tests/cmake \
|
|
93
|
-
-B consumer-install-dir \
|
|
94
|
-
-D CMAKE_BUILD_TYPE=Release \
|
|
95
|
-
-D LibreSSL_DIR=$GITHUB_WORKSPACE/../local/lib/cmake/LibreSSL
|
|
96
|
-
|
|
97
|
-
- name: "Consume from the install directory (LibreSSL_DIR) - Build"
|
|
98
|
-
run: cmake --build consumer-install-dir --config Release --verbose
|