{"id":13489914,"url":"https://github.com/kn007/patch","last_synced_at":"2025-04-04T17:06:44.072Z","repository":{"id":37663177,"uuid":"109570593","full_name":"kn007/patch","owner":"kn007","description":"Something could be public patches","archived":false,"fork":false,"pushed_at":"2025-02-18T12:23:23.000Z","size":673,"stargazers_count":185,"open_issues_count":0,"forks_count":33,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-28T16:08:48.598Z","etag":null,"topics":["boringssl","cloudflare","dropbox","ffmpeg","h265","hevc","hpack","nginx","ocsp","ocsp-stapling","openssl","opus","quic","quiche","rimworld","spdy"],"latest_commit_sha":null,"homepage":"https://kn007.net","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kn007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-05T10:43:16.000Z","updated_at":"2025-03-14T12:10:49.000Z","dependencies_parsed_at":"2023-02-15T23:30:47.391Z","dependency_job_id":"a6b16ec1-2f8c-454a-86ff-c54cbe33f66c","html_url":"https://github.com/kn007/patch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kn007%2Fpatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kn007%2Fpatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kn007%2Fpatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kn007%2Fpatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kn007","download_url":"https://codeload.github.com/kn007/patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217177,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boringssl","cloudflare","dropbox","ffmpeg","h265","hevc","hpack","nginx","ocsp","ocsp-stapling","openssl","opus","quic","quiche","rimworld","spdy"],"created_at":"2024-07-31T19:00:37.744Z","updated_at":"2025-04-04T17:06:44.043Z","avatar_url":"https://github.com/kn007.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Patches\n\n## Nginx\n\n### use_openssl_md5_sha1.patch\n* Use the OpenSSL library instead of the Nginx original function.\n* Repack it because \"patch unexpectedly ends in middle of line\".\n    - Thanks [@CarterLi](https://github.com/kn007/patch/issues/5)\n\nTest pass: 1.27.2\n\n### nginx_dynamic_tls_records.patch\n* Add Dynamic TLS Record Support.\n\nRequire: Nginx 1.27.2\n\n### Enable_BoringSSL_OCSP.patch\n* For BoringSSL support OCSP stapling.\n    - Using \"ssl_stapling_file\" to support.\n    - Only \"ssl_stapling_file\" with single cert is supported.\n    - Auto-rebuild OCSP stapling file with shell and atd(at cron), you can read this [article](https://kn007.net/topics/let-nginx-support-ocsp-stapling-when-using-boringssl/)(Maybe you need a translation tool).\n    - Thanks [@CarterLi](https://github.com/kn007/patch/issues/4).\n\nTest pass: 1.25.5\n\n### nginx.patch (Discontinued)\n* Add HTTP2 HPACK Encoding Support.\n* Add Dynamic TLS Record Support.\n\nRequire: Nginx 1.25.0 (this version only)\n\nTest pass: 1.25.0\n\nSince `Nginx` 1.25.1, HPACK encoding will not support because the HTTP/2 server push support has been removed.\n\n### nginx_with_quic.patch (Discontinued)\n* Add HTTP3(QUIC) Support.\n    - For OCSP stapling, maybe you need [this](https://github.com/kn007/patch#enable_boringssl_ocsppatch).\n* Add HTTP2 HPACK Encoding Support.\n* Add Dynamic TLS Record Support.\n\nRequire: Nginx 1.21.4 or later.\n\nTest pass: 1.23.3 with [cloudflare/quiche@c9311a1](https://github.com/cloudflare/quiche/tree/c9311a18910c0277867c34c0acc4a9711b50b913)\n\n\u003cb\u003eCheck your modules when build failed.\u003c/b\u003e\n\n### nginx_for_1.23.4.patch (Deprecated)\n* Add HTTP2 HPACK Encoding Support.\n* Add Dynamic TLS Record Support.\n\nRequire: Nginx version below 1.25.0\n\nTest pass: 1.23.4\n\n### nginx_with_quic_for_1.19.7_full.patch (Deprecated)\n* Add HTTP3(QUIC) Support.\n    - For OCSP stapling, maybe you need [this](https://github.com/kn007/patch#enable_boringssl_ocsppatch).\n* Add HTTP2 HPACK Encoding Support.\n* Add Dynamic TLS Record Support.\n\nRequire: Nginx 1.19.7 or later(below 1.21.4).\n\nTest pass: 1.21.3 with [cloudflare/quiche@af1bbc0](https://github.com/cloudflare/quiche/tree/af1bbc03e9992bae516d0b692a481de64bd4e8d9)\n\n`nginx_with_quic_for_1.19.6.patch` is required to support Nginx versions lower than 1.19.7, cause `post_accept_timeout` had been removed by Nginx since 1.19.7.\n\n### nginx_with_quic_for_1.19.6.patch (Deprecated)\n* Revert `nginx_with_quic.patch` to support Nginx versions lower than 1.19.7.\n* Patch `nginx_with_quic.patch` first, then patch this one.\n\nTest pass: 1.19.6 with [nginx_with_quic.patch@ec8cac4](https://github.com/kn007/patch/blob/ec8cac4fc74b1718e9b005e7533201aec552aa40/nginx_with_quic.patch) \u0026 [cloudflare/quiche@fca5e9a](https://github.com/cloudflare/quiche/tree/fca5e9acdfdff9e80c7b9346214c64b393108328)\n\n### nginx_with_spdy.patch (Deprecated)\n* Add SPDY Support.\n* Add HTTP2 HPACK Encoding Support.\n* Add Dynamic TLS Record Support.\n\nTest pass: 1.17.9\n\n### nginx_with_spdy_quic.patch (Deprecated)\n* Add SPDY Support.\n* Add HTTP3(QUIC) Support.\n* Add HTTP2 HPACK Encoding Support.\n* Add Dynamic TLS Record Support.\n\nTest pass: 1.17.9 with [cloudflare/quiche@9a8b3b](https://github.com/cloudflare/quiche/tree/9a8b3b12d007715cd4cc254362db51d5a01de9f2)\n\n## Other\n\n### openssl-1.1.1.patch\n* Add TLS 1.3 Support.\n* Add BoringSSL's Equal Preference Support.\n* Add ChaCha20-Poly1305 Draft Version Support.\n\nTest pass: 1.1.1w\n\n### ffmpeg-let-rtmp-flv-support-hevc-h265-opus.patch\n* FLV/RTMP Extensions For FFmpeg.\n    - Add FLV Encode/Decode with H.265/HEVC \u0026 OPUS Codec Support.\n    - Add RTMP Stream Push with H.265/HEVC \u0026 OPUS Codec Support.\n    - Thanks [@xia-chu](https://github.com/xia-chu/ZLMediaKit/wiki/RTMP%E5%AF%B9H265%E5%92%8COPUS%E7%9A%84%E6%94%AF%E6%8C%81).\n\nTest pass: 4.3.1\n\n### dropbox_fs_fix.patch\n* For Dropbox Linux users. This patch could let official python script auto-load `libdropbox_fs_fix.so` library before start dropboxd.\n    - Using [Dropbox filesystem fix for Linux Repo](https://github.com/dark/dropbox-filesystem-fix) and make `libdropbox_fs_fix.so`.\n    - After compiled, copy `libdropbox_fs_fix.so` to `$HOME/.dropbox-dist/libdropbox_fs_fix.so`.\n    - Download Dropbox official python script, put it with patch file together.\n    - Patch, enjoy.\n\nTest pass: 2019.02.14 version\n\n## Links\n[聊聊Nginx 1.25和HTTP/3](https://kn007.net/topics/talk-about-nginx-1-25-and-http-3/)\n\n[Nginx 1.19.4新特性推荐](https://kn007.net/topics/nginx-1-19-4-new-feature-recommendation/)\n\n[让Nginx使用BoringSSL时支持OCSP Stapling](https://kn007.net/topics/let-nginx-support-ocsp-stapling-when-using-boringssl/)\n\n[博客终止使用TLS 1.0和TLS 1.1协议](https://kn007.net/topics/deprecating-tls-1-0-and-tls-1-1-protocols/)\n\n[小试HTTP3](https://kn007.net/topics/try-http3/)\n\n[我的Nginx编译之旅](https://kn007.net/topics/my-nginx-compilation-tour/)\n\n[解决Dropbox Linux客户端因文件系统导致无法同步问题](https://kn007.net/topics/fix-dropbox-filesystem-sync-problem-for-linux-client/)\n\n[kn007的个人博客](https://kn007.net) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkn007%2Fpatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkn007%2Fpatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkn007%2Fpatch/lists"}