BSD Ports

www/rustypaste 0.18.1_1 FreeBSD

Minimal file upload/pastebin service

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
www
Package size
2169.7 KiB, 7904.3 KiB installed

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!

Install

Binary package:

pkg install rustypaste

From the ports tree:

cd /usr/ports/www/rustypaste/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rustypaste>0:www/rustypaste

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.18.10.18.1_1-0.16.1_2-
FreeBSD:14:quarterly0.18.10.18.1n/a0.16.1_1-
FreeBSD:15:latest0.18.1_10.18.1_1n/a0.16.1_2-
FreeBSD:15:quarterly0.18.10.18.1n/an/an/a
FreeBSD:16:latest0.18.10.18.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 2

No port depends on this one.

Configuration

Options name: www_rustypaste

OptionDefaultDescription
OPENSSLonUse distro OpenSSL (binary size is reduced ~20%)
RUSTLSoffUse modern TLS library in Rust
SHUTTLEoffEnable an entry point for deploying on Shuttle
USES
cargo
Service scripts
rustypaste

Files

pkg-plist 5
  • @dir(,,) etc/rustypaste
  • @dir(,,) /var/db/rustypaste
  • @sample(,,0640) etc/rustypaste/rustypaste.env.sample etc/rustypaste/rustypaste.env
  • @sample(,,0640) etc/rustypaste/rustypaste.toml.sample etc/rustypaste/rustypaste.toml
  • bin/rustypaste
distinfo 326
FileSizeSHA256
rust/crates/actix-codec-0.5.2.crate140855f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a
rust/crates/actix-files-0.7.0.crate51367ed87c765e9e5be096cc29b43d04b932209892ec871d05fe255f0ae1ccfed9a06
rust/crates/actix-http-3.13.3.crate17591011004b0e9b44b4eb3d15e0c3132b96fb178c7e50a74758b2f17bb9cc9a7fb4f6
rust/crates/actix-macros-0.2.4.crate8380e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb
rust/crates/actix-multipart-0.8.1.crate54973983b29f33997d5f15920226934b8d48ea1f8b5365702304088608d4c829bd0eb
rust/crates/actix-multipart-derive-0.8.0.crate89838720bceaa6797fd8b2deab968d52e1120b2a8c30950939f6c8cdb42a910bc885
rust/crates/actix-router-0.5.4.crate4068314f8c75c51892f18d9c46150c5ac7beb81c95f78c8b83a634d49f4ca32551fe7
rust/crates/actix-rt-2.13.0.crate213736a16bf2f19c2ad84842bdfe6f3665620e93197d5c607889bfa3aaac45e762fd1
rust/crates/actix-server-2.7.0.crate432153716aae056e2f869b7b5cfd8a08fcf98890f8455bec61d69c7dff5d8576f9d2b
rust/crates/actix-service-2.0.3.crate284099e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f
rust/crates/actix-tls-3.5.0.crate493936176099de3f58fbddac916a7f8c6db297e021d706e7a6b99947785fee14abe9f
rust/crates/actix-utils-3.0.1.crate1009688a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8
rust/crates/actix-web-4.15.0.crate277473bbacab3593b6b4f7be815076fc52d60a83c873426824675417e2abdd229e2e36
rust/crates/actix-web-codegen-4.3.0.crate20382f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8
rust/crates/actix-web-grants-4.1.2.crate35867e219c908910b6daa44bf95dbd5e4a8d8e1bea6c246a5c74e5e0ce54374812fe3
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/ahash-0.7.8.crate38550891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9
rust/crates/aho-corasick-1.1.4.crate184015ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
rust/crates/alloc-no-stdlib-2.0.4.crate10105cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3
rust/crates/alloc-stdlib-0.2.4.crate67300e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195

Commit history 5

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
3eee620f65 Jesús Daniel Colmenares Oviedo www/rustypaste: Update to 0.18.1
ChangeLog: https://github.com/orhun/rustypaste/releases/tag/v0.18.1
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
e99233c35d Jesús Daniel Colmenares Oviedo www/rustypaste: Update to 0.18.0
ChangeLog: https://github.com/orhun/rustypaste/releases/tag/v0.18.0
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645