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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.18.1 | 0.18.1_1 | - | 0.16.1_2 | - |
| FreeBSD:14:quarterly | 0.18.1 | 0.18.1 | n/a | 0.16.1_1 | - |
| FreeBSD:15:latest | 0.18.1_1 | 0.18.1_1 | n/a | 0.16.1_2 | - |
| FreeBSD:15:quarterly | 0.18.1 | 0.18.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.18.1 | 0.18.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libzstd.so: archivers/zstd
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
| Option | Default | Description |
|---|---|---|
| OPENSSL | on | Use distro OpenSSL (binary size is reduced ~20%) |
| RUSTLS | off | Use modern TLS library in Rust |
| SHUTTLE | off | Enable 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
| File | Size | SHA256 |
|---|---|---|
| rust/crates/actix-codec-0.5.2.crate | 14085 | 5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a |
| rust/crates/actix-files-0.7.0.crate | 51367 | ed87c765e9e5be096cc29b43d04b932209892ec871d05fe255f0ae1ccfed9a06 |
| rust/crates/actix-http-3.13.3.crate | 175910 | 11004b0e9b44b4eb3d15e0c3132b96fb178c7e50a74758b2f17bb9cc9a7fb4f6 |
| rust/crates/actix-macros-0.2.4.crate | 8380 | e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb |
| rust/crates/actix-multipart-0.8.1.crate | 54973 | 983b29f33997d5f15920226934b8d48ea1f8b5365702304088608d4c829bd0eb |
| rust/crates/actix-multipart-derive-0.8.0.crate | 8983 | 8720bceaa6797fd8b2deab968d52e1120b2a8c30950939f6c8cdb42a910bc885 |
| rust/crates/actix-router-0.5.4.crate | 40683 | 14f8c75c51892f18d9c46150c5ac7beb81c95f78c8b83a634d49f4ca32551fe7 |
| rust/crates/actix-rt-2.13.0.crate | 21373 | 6a16bf2f19c2ad84842bdfe6f3665620e93197d5c607889bfa3aaac45e762fd1 |
| rust/crates/actix-server-2.7.0.crate | 43215 | 3716aae056e2f869b7b5cfd8a08fcf98890f8455bec61d69c7dff5d8576f9d2b |
| rust/crates/actix-service-2.0.3.crate | 28409 | 9e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f |
| rust/crates/actix-tls-3.5.0.crate | 49393 | 6176099de3f58fbddac916a7f8c6db297e021d706e7a6b99947785fee14abe9f |
| rust/crates/actix-utils-3.0.1.crate | 10096 | 88a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8 |
| rust/crates/actix-web-4.15.0.crate | 277473 | bbacab3593b6b4f7be815076fc52d60a83c873426824675417e2abdd229e2e36 |
| rust/crates/actix-web-codegen-4.3.0.crate | 20382 | f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8 |
| rust/crates/actix-web-grants-4.1.2.crate | 35867 | e219c908910b6daa44bf95dbd5e4a8d8e1bea6c246a5c74e5e0ce54374812fe3 |
| rust/crates/adler2-2.0.1.crate | 13366 | 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa |
| rust/crates/ahash-0.7.8.crate | 38550 | 891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9 |
| rust/crates/aho-corasick-1.1.4.crate | 184015 | ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 |
| rust/crates/alloc-no-stdlib-2.0.4.crate | 10105 | cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3 |
| rust/crates/alloc-stdlib-0.2.4.crate | 6730 | 0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195 |