Bug 271967 - www/rustypaste: Update to 0.10.1
Summary: www/rustypaste: Update to 0.10.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/orhun/rustypaste/r...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-12 18:48 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-06-14 04:06 UTC (History)
1 user (show)

See Also:


Attachments
rustypaste-0.10.1.patch (35.03 KB, patch)
2023-06-12 18:48 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2023-06-12 18:48:56 UTC
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)
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-06-14 01:21:25 UTC
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(-)
Comment 2 Koichiro Iwao freebsd_committer freebsd_triage 2023-06-14 04:06:27 UTC
Committed, thanks!