Skip to content

Commit

Permalink
www/rustypaste: Update to 0.12.1
Browse files Browse the repository at this point in the history
Description:

* Remove trailing slash in WWW
* Prefer hardcoded strings

ChangeLog: https://github.com/orhun/rustypaste/blob/v0.12.0/CHANGELOG.md

* Added:
 - Add an endpoint for retrieving a list of files
 - Support multiple auth tokens
 - Add new line character to most prominent messages
* Changed:
  - Bump Shuttle to 0.23.0
  - Bump dependencies
* Fixed:
  - Deploy the Shuttle service when a new tag is created
PR:		273053
  • Loading branch information
DtxdF authored and alonsobsd committed Aug 13, 2023
1 parent cfee067 commit a9d4d85
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 221 deletions.
18 changes: 10 additions & 8 deletions www/rustypaste/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
PORTNAME= rustypaste
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.1
PORTREVISION= 1
DISTVERSION= 0.12.1
CATEGORIES= www

MAINTAINER= DtxdF@disroot.org
COMMENT= Minimal file upload/pastebin service
WWW= https://blog.orhun.dev/blazingly-fast-file-sharing/
WWW= https://blog.orhun.dev/blazingly-fast-file-sharing

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
Expand All @@ -20,13 +19,16 @@ USE_RC_SUBR= ${PORTNAME}

CARGO_FEATURES= --no-default-features

SUB_LIST+= USER="${USERS:[0]}"
SUB_LIST+= USER=${RUSTYPASTE_USER}

USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
USERS= ${RUSTYPASTE_USER}
GROUPS= ${RUSTYPASTE_GROUP}

PLIST_SUB+= GROUP="${GROUPS:[0]}" \
USER="${USERS:[0]}"
RUSTYPASTE_USER= ${PORTNAME}
RUSTYPASTE_GROUP= ${RUSTYPASTE_USER}

PLIST_SUB+= GROUP=${RUSTYPASTE_USER} \
USER=${RUSTYPASTE_GROUP}

OPTIONS_DEFINE= SHUTTLE
OPTIONS_DEFAULT= OPENSSL
Expand Down
140 changes: 70 additions & 70 deletions www/rustypaste/Makefile.crates
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CARGO_CRATES= actix-codec-0.5.1 \
actix-files-0.6.2 \
actix-http-3.3.1 \
actix-macros-0.2.3 \
actix-macros-0.2.4 \
actix-multipart-0.6.0 \
actix-multipart-derive-0.6.0 \
actix-router-0.5.1 \
Expand All @@ -21,15 +21,15 @@ CARGO_CRATES= actix-codec-0.5.1 \
alloc-stdlib-0.2.2 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anyhow-1.0.71 \
anyhow-1.0.72 \
arrayvec-0.7.4 \
askama_escape-0.10.3 \
async-stream-0.3.5 \
async-stream-impl-0.3.5 \
async-trait-0.1.68 \
async-trait-0.1.72 \
autocfg-1.1.0 \
awc-3.1.1 \
axum-0.6.18 \
axum-0.6.20 \
axum-core-0.3.4 \
backtrace-0.3.68 \
base64-0.13.1 \
Expand All @@ -44,35 +44,36 @@ CARGO_CRATES= actix-codec-0.5.1 \
byteorder-1.4.3 \
bytes-1.4.0 \
bytestring-1.3.0 \
cc-1.0.79 \
cc-1.0.82 \
cfg-if-1.0.0 \
chrono-0.4.26 \
config-0.13.3 \
convert_case-0.4.0 \
cookie-0.16.2 \
core-foundation-sys-0.8.4 \
cpufeatures-0.2.8 \
cpufeatures-0.2.9 \
crc32fast-1.3.2 \
crossbeam-channel-0.5.8 \
crossbeam-utils-0.8.16 \
crypto-common-0.1.6 \
darling-0.14.4 \
darling_core-0.14.4 \
darling_macro-0.14.4 \
dashmap-5.4.0 \
dashmap-5.5.0 \
deranged-0.3.7 \
derive_more-0.99.17 \
digest-0.10.7 \
doc-comment-0.3.3 \
dotenvy-0.15.7 \
dunce-1.0.4 \
either-1.8.1 \
either-1.9.0 \
encoding_rs-0.8.32 \
env_logger-0.10.0 \
errno-0.3.1 \
errno-0.3.2 \
errno-dragonfly-0.1.2 \
fastrand-1.9.0 \
fastrand-2.0.0 \
file-id-0.1.0 \
filetime-0.2.21 \
filetime-0.2.22 \
finl_unicode-1.2.0 \
flate2-1.0.26 \
fnv-1.0.7 \
Expand All @@ -96,16 +97,17 @@ CARGO_CRATES= actix-codec-0.5.1 \
glob-0.3.1 \
h2-0.3.20 \
hashbrown-0.12.3 \
hashbrown-0.14.0 \
headers-0.3.8 \
headers-core-0.2.0 \
heck-0.4.1 \
hermit-abi-0.3.1 \
hermit-abi-0.3.2 \
home-0.5.5 \
hotwatch-0.5.0 \
http-0.2.9 \
http-body-0.4.5 \
http-range-0.1.5 \
http-range-header-0.3.0 \
http-range-header-0.3.1 \
http-serde-1.1.2 \
httparse-1.8.0 \
httpdate-1.0.2 \
Expand All @@ -118,33 +120,30 @@ CARGO_CRATES= actix-codec-0.5.1 \
ident_case-1.0.1 \
idna-0.4.0 \
indexmap-1.9.3 \
infer-0.14.0 \
infer-0.15.0 \
inotify-0.9.6 \
inotify-sys-0.1.5 \
instant-0.1.12 \
io-lifetimes-1.0.11 \
is-terminal-0.4.8 \
is-terminal-0.4.9 \
itertools-0.10.5 \
itoa-1.0.6 \
itoa-1.0.9 \
jobserver-0.1.26 \
js-sys-0.3.64 \
jsonwebtoken-8.3.0 \
kqueue-1.0.7 \
kqueue-sys-1.0.3 \
kqueue-1.0.8 \
kqueue-sys-1.0.4 \
language-tags-0.3.2 \
lazy-regex-2.5.0 \
lazy-regex-proc_macros-2.4.1 \
lazy-regex-3.0.1 \
lazy-regex-proc_macros-3.0.1 \
lazy_static-1.4.0 \
libc-0.2.147 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.3.8 \
linux-raw-sys-0.4.3 \
linux-raw-sys-0.4.5 \
local-channel-0.1.3 \
local-waker-0.1.3 \
lock_api-0.4.10 \
log-0.4.19 \
matchers-0.1.0 \
matchit-0.7.0 \
matchit-0.7.2 \
memchr-2.5.0 \
mime-0.3.17 \
mime_guess-2.0.4 \
Expand All @@ -157,13 +156,13 @@ CARGO_CRATES= actix-codec-0.5.1 \
nu-ansi-term-0.46.0 \
num-bigint-0.4.3 \
num-integer-0.1.45 \
num-traits-0.2.15 \
num-traits-0.2.16 \
num_cpus-1.16.0 \
object-0.31.1 \
once_cell-1.18.0 \
openssl-0.10.55 \
openssl-0.10.56 \
openssl-macros-0.1.1 \
openssl-sys-0.9.90 \
openssl-sys-0.9.91 \
opentelemetry-0.19.0 \
opentelemetry-http-0.8.0 \
opentelemetry-otlp-0.12.0 \
Expand All @@ -174,88 +173,88 @@ CARGO_CRATES= actix-codec-0.5.1 \
parking_lot-0.12.1 \
parking_lot_core-0.9.8 \
parse-size-1.0.0 \
paste-1.0.12 \
paste-1.0.14 \
pathdiff-0.2.1 \
pem-1.1.1 \
percent-encoding-2.3.0 \
petname-1.1.3 \
pin-project-1.1.1 \
pin-project-internal-1.1.1 \
pin-project-lite-0.2.9 \
pin-project-1.1.3 \
pin-project-internal-1.1.3 \
pin-project-lite-0.2.11 \
pin-utils-0.1.0 \
pkg-config-0.3.27 \
ppv-lite86-0.2.17 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.63 \
proc-macro2-1.0.66 \
prost-0.11.9 \
prost-derive-0.11.9 \
prost-types-0.11.9 \
quote-1.0.29 \
quote-1.0.32 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.4 \
redox_syscall-0.2.16 \
redox_syscall-0.3.5 \
regex-1.8.4 \
regex-1.9.3 \
regex-automata-0.1.10 \
regex-automata-0.3.6 \
regex-syntax-0.6.29 \
regex-syntax-0.7.2 \
regex-syntax-0.7.4 \
ring-0.16.20 \
rmp-0.8.11 \
rmp-serde-1.1.1 \
rmp-0.8.12 \
rmp-serde-1.1.2 \
rustc-demangle-0.1.23 \
rustc-hash-1.1.0 \
rustc_version-0.4.0 \
rustix-0.37.21 \
rustix-0.38.1 \
rustix-0.38.7 \
rustls-0.20.8 \
rustrict-0.7.7 \
rustversion-1.0.12 \
ryu-1.0.13 \
rustrict-0.7.8 \
rustversion-1.0.14 \
ryu-1.0.15 \
same-file-1.0.6 \
scopeguard-1.1.0 \
scopeguard-1.2.0 \
sct-0.7.0 \
semver-1.0.17 \
serde-1.0.164 \
serde_derive-1.0.164 \
serde_json-1.0.99 \
semver-1.0.18 \
serde-1.0.183 \
serde_derive-1.0.183 \
serde_json-1.0.104 \
serde_plain-1.0.1 \
serde_regex-1.1.0 \
serde_urlencoded-0.7.1 \
sha1-0.10.5 \
sharded-slab-0.1.4 \
shuttle-actix-web-0.20.0 \
shuttle-codegen-0.20.0 \
shuttle-common-0.20.0 \
shuttle-proto-0.20.0 \
shuttle-runtime-0.20.0 \
shuttle-service-0.20.0 \
shuttle-static-folder-0.20.0 \
shuttle-actix-web-0.23.0 \
shuttle-codegen-0.23.0 \
shuttle-common-0.23.0 \
shuttle-proto-0.23.0 \
shuttle-runtime-0.23.0 \
shuttle-service-0.23.0 \
shuttle-static-folder-0.23.0 \
signal-hook-registry-1.4.1 \
simple_asn1-0.6.2 \
slab-0.4.8 \
smallvec-1.10.0 \
smallvec-1.11.0 \
socket2-0.4.9 \
socket2-0.5.3 \
spin-0.5.2 \
strfmt-0.2.4 \
strsim-0.10.0 \
strum-0.24.1 \
strum_macros-0.24.3 \
syn-1.0.109 \
syn-2.0.22 \
syn-2.0.28 \
sync_wrapper-0.1.2 \
tempfile-3.6.0 \
tempfile-3.7.1 \
termcolor-1.2.0 \
thiserror-1.0.40 \
thiserror-impl-1.0.40 \
thiserror-1.0.44 \
thiserror-impl-1.0.44 \
thread_local-1.1.7 \
time-0.3.22 \
time-0.3.25 \
time-core-0.1.1 \
time-macros-0.2.9 \
time-macros-0.2.11 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.1 \
tokio-1.29.1 \
tokio-1.30.0 \
tokio-io-timeout-1.2.0 \
tokio-macros-2.1.0 \
tokio-openssl-0.6.3 \
Expand All @@ -265,7 +264,7 @@ CARGO_CRATES= actix-codec-0.5.1 \
toml-0.5.11 \
tonic-0.8.3 \
tower-0.4.13 \
tower-http-0.4.1 \
tower-http-0.4.3 \
tower-layer-0.3.2 \
tower-service-0.3.2 \
tracing-0.1.37 \
Expand All @@ -280,13 +279,14 @@ CARGO_CRATES= actix-codec-0.5.1 \
typenum-1.16.0 \
unicase-2.6.0 \
unicode-bidi-0.3.13 \
unicode-ident-1.0.9 \
unicode-ident-1.0.11 \
unicode-normalization-0.1.22 \
untrusted-0.7.1 \
url-2.4.0 \
urlencoding-2.1.2 \
urlencoding-2.1.3 \
utf8-width-0.1.6 \
uuid-1.4.0 \
uts2ts-0.4.1 \
uuid-1.4.1 \
valuable-0.1.0 \
vcpkg-0.2.15 \
version_check-0.9.4 \
Expand Down Expand Up @@ -325,6 +325,6 @@ CARGO_CRATES= actix-codec-0.5.1 \
windows_x86_64_msvc-0.42.2 \
windows_x86_64_msvc-0.48.0 \
yaml-rust-0.4.5 \
zstd-0.12.3+zstd.1.5.2 \
zstd-safe-6.0.5+zstd.1.5.4 \
zstd-0.12.4 \
zstd-safe-6.0.6 \
zstd-sys-2.0.8+zstd.1.5.5

0 comments on commit a9d4d85

Please sign in to comment.