Created attachment 242746 [details] rustypaste-0.10.1.patch Description: ChangeLog: https://github.com/orhun/rustypaste/releases/tag/v0.10.1 * Added: * Add a middleware for checking the content length: - Before, the upload size was checked after full upload which was clearly wrong. - With this change, total amount of bytes to upload is checked via Content-Length header before the upload. * Changed: * Bump Shuttle to 0.18.0 * Bump hotwatch to 0.5.0 - Fixes RUSTSEC-2020-0016 * Fixed: * Do not drop the config watcher - Since 0.9.0, the configuration watcher was dropped early which caused for it to not work and resulted in mysterious spikes in CPU usage. - With this version, this issue is fixed. QA: * portlint: - WARN: Makefile: possible use of absolute pathname "/var/db/${PORTNAME}". * testport: OK (poudriere: 13.2-RELEASE, amd64, SHUTTLE OPENSSL RUSTLS tested)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c22bda7eb20ead9552534e63d36ec504ab569428 commit c22bda7eb20ead9552534e63d36ec504ab569428 Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2023-06-12 18:40:33 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2023-06-14 01:20:01 +0000 www/rustypaste: Update to 0.10.1 PR: 271967 ChangeLog: https://github.com/orhun/rustypaste/releases/tag/v0.10.1 * Added: * Add a middleware for checking the content length: - Before, the upload size was checked after full upload which was clearly wrong. - With this change, total amount of bytes to upload is checked via Content-Length header before the upload. * Changed: * Bump Shuttle to 0.18.0 * Bump hotwatch to 0.5.0 - Fixes RUSTSEC-2020-0016 * Fixed: * Do not drop the config watcher - Since 0.9.0, the configuration watcher was dropped early which caused for it to not work and resulted in mysterious spikes in CPU usage. - With this version, this issue is fixed. www/rustypaste/Makefile | 3 +- www/rustypaste/Makefile.crates | 80 ++++++++------------ www/rustypaste/distinfo | 166 +++++++++++++++++------------------------ 3 files changed, 100 insertions(+), 149 deletions(-)
Committed, thanks!