Bug 267095 - [NEW PORT] www/rustypaste: Minimal file upload/pastebin
Summary: [NEW PORT] www/rustypaste: Minimal file upload/pastebin
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: Li-Wen Hsu
URL: https://github.com/orhun/rustypaste/
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-15 18:03 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2022-10-22 15:26 UTC (History)
1 user (show)

See Also:


Attachments
rustypaste-0.8.2 (44.94 KB, patch)
2022-10-15 18:03 UTC, Jesús Daniel Colmenares Oviedo
no flags 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 2022-10-15 18:03:00 UTC
Created attachment 237348 [details]
rustypaste-0.8.2

Description:

Rustypaste is a minimal file upload/pastebin service.

Features:

* File upload & URL shortening & upload from URL
  - supports basic HTTP authentication
  - random file names (optional)
    - pet name (e.g. capital-mosquito.txt)
    - alphanumeric string (e.g. yB84D2Dv.txt)
  - supports expiring links
    - auto-deletion of expired files (optional)
  - supports one shot links (can only be viewed once)
  - guesses MIME types
    - supports overriding and blacklisting
  - no duplicate uploads (optional)
* Single binary
* Simple configuration
  - supports hot reloading
* No database
  - filesystem is used
* Self-hosted
  - centralization is bad!
* Written in Rust
  - blazingly fast!

WWW: https://github.com/orhun/rustypaste/

QA:

* portlint:
  - WARN: Makefile: possible use of absolute pathname "/var/db/${PORTNAME}".
* testport: OK (poudriere: 13.1-RELEASE, amd64)
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-22 15:26:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31484c7300b6de2d2039a69abecb05c2adfb8181

commit 31484c7300b6de2d2039a69abecb05c2adfb8181
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-10-15 17:48:47 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-10-22 15:24:21 +0000

    Add www/rustypaste: Minimal file upload/pastebin service

    Rustypaste is a minimal file upload/pastebin service.

    Features:

    * File upload & URL shortening & upload from URL
      - supports basic HTTP authentication
      - random file names (optional)
        - pet name (e.g. capital-mosquito.txt)
        - alphanumeric string (e.g. yB84D2Dv.txt)
      - supports expiring links
        - auto-deletion of expired files (optional)
      - supports one shot links (can only be viewed once)
      - guesses MIME types
        - supports overriding and blacklisting
      - no duplicate uploads (optional)
    * Single binary
    * Simple configuration
      - supports hot reloading
    * No database
      - filesystem is used
    * Self-hosted
      - centralization is bad!
    * Written in Rust
      - blazingly fast!

    WWW: https://github.com/orhun/rustypaste/

    PR:             267095

 GIDs                                        |   2 +-
 UIDs                                        |   2 +-
 www/rustypaste/Makefile (new)               |  38 +++
 www/rustypaste/Makefile.crates (new)        | 210 ++++++++++++++
 www/rustypaste/distinfo (new)               | 423 ++++++++++++++++++++++++++++
 www/rustypaste/files/rustypaste.in (new +x) |  35 +++
 www/rustypaste/pkg-descr (new)              |  24 ++
 www/rustypaste/pkg-plist (new)              |   5 +
 8 files changed, 737 insertions(+), 2 deletions(-)