Skip to content

Commit

Permalink
ftp/termscp: New port: TUI file transfer and explorer with support fo…
Browse files Browse the repository at this point in the history
…r SCP/SFTP/FTP/S3

PR:		264107
Submitted by:	sec.research.2005@gmail.com (initial version)
  • Loading branch information
yurivict committed Dec 30, 2022
1 parent f2ffecf commit 0409cf5
Show file tree
Hide file tree
Showing 5 changed files with 1,079 additions and 0 deletions.
1 change: 1 addition & 0 deletions ftp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
SUBDIR += sftpgo
SUBDIR += smbftpd
SUBDIR += spegla
SUBDIR += termscp
SUBDIR += tftp-hpa
SUBDIR += tnftp
SUBDIR += tnftpd
Expand Down
40 changes: 40 additions & 0 deletions ftp/termscp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
PORTNAME= termscp
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.0
CATEGORIES= ftp

MAINTAINER= sec.research.2005@gmail.com
COMMENT= TUI file transfer and explorer with support for SCP/SFTP/FTP/S3
WWW= https://github.com/veeso/termscp

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= gmake:devel/gmake
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libssh2.so:security/libssh2

USES= cargo perl5
USE_PERL5= build

USE_GITHUB= yes
GH_ACCOUNT= veeso

CARGO_FEATURES= --no-default-features

PLIST_FILES= bin/${PORTNAME}

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= DOCS

PORTDOCS= *

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.md docs/man.md ${STAGEDIR}${DOCSDIR}

.include "${.CURDIR}/bsd.termscp.mk"
.include <bsd.port.mk>
343 changes: 343 additions & 0 deletions ftp/termscp/bsd.termscp.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,343 @@
CARGO_CRATES= adler-1.0.2 \
aes-0.7.5 \
ahash-0.4.7 \
ahash-0.7.6 \
aho-corasick-0.7.19 \
android_system_properties-0.1.5 \
anyhow-1.0.65 \
argh-0.1.9 \
argh_derive-0.1.9 \
argh_shared-0.1.9 \
async-io-1.9.0 \
async-trait-0.1.57 \
attohttpc-0.18.0 \
autocfg-1.1.0 \
aws-creds-0.27.1 \
aws-region-0.23.5 \
base64-0.13.0 \
bitflags-1.3.2 \
block-0.1.6 \
block-buffer-0.9.0 \
block-modes-0.8.1 \
block-padding-0.2.1 \
bumpalo-3.11.0 \
byteorder-1.4.3 \
bytes-1.2.1 \
bytesize-1.1.0 \
cache-padded-1.2.0 \
cassowary-0.3.0 \
cc-1.0.73 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
chrono-0.4.22 \
cipher-0.3.0 \
codespan-reporting-0.11.1 \
concurrent-queue-1.2.4 \
console-0.15.2 \
content_inspector-0.2.4 \
core-foundation-0.9.3 \
core-foundation-sys-0.8.3 \
cpufeatures-0.2.5 \
crc-any-2.4.3 \
crc32fast-1.3.2 \
crossbeam-utils-0.8.12 \
crossterm-0.25.0 \
crossterm_winapi-0.9.0 \
crypto-mac-0.11.1 \
ctor-0.1.23 \
cxx-1.0.78 \
cxx-build-1.0.78 \
cxxbridge-flags-1.0.78 \
cxxbridge-macro-1.0.78 \
dashmap-5.4.0 \
dbus-0.9.6 \
debug-helper-0.3.13 \
derivative-2.2.0 \
des-0.7.0 \
diff-0.1.13 \
digest-0.9.0 \
dirs-4.0.0 \
dirs-next-2.0.0 \
dirs-sys-0.3.7 \
dirs-sys-next-0.1.2 \
dlv-list-0.2.3 \
edit-0.1.4 \
either-1.8.0 \
encode_unicode-0.3.6 \
encoding_rs-0.8.31 \
enumflags2-0.6.4 \
enumflags2_derive-0.6.4 \
fastrand-1.8.0 \
filetime-0.2.17 \
flate2-1.0.24 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.1.0 \
fsevent-0.4.0 \
fsevent-sys-2.0.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futures-0.3.24 \
futures-channel-0.3.24 \
futures-core-0.3.24 \
futures-executor-0.3.24 \
futures-io-0.3.24 \
futures-lite-1.12.0 \
futures-macro-0.3.24 \
futures-sink-0.3.24 \
futures-task-0.3.24 \
futures-util-0.3.24 \
generic-array-0.14.6 \
getrandom-0.2.7 \
h2-0.3.14 \
hashbrown-0.9.1 \
hashbrown-0.12.3 \
heck-0.3.3 \
heck-0.4.0 \
hermit-abi-0.1.19 \
hex-0.4.3 \
hkdf-0.11.0 \
hmac-0.11.0 \
hostname-0.3.1 \
http-0.2.8 \
http-body-0.4.5 \
httparse-1.8.0 \
httpdate-1.0.2 \
hyper-0.14.20 \
hyper-rustls-0.23.0 \
iana-time-zone-0.1.51 \
iana-time-zone-haiku-0.1.0 \
idna-0.3.0 \
indexmap-1.9.1 \
indicatif-0.17.1 \
inotify-0.7.1 \
inotify-sys-0.1.5 \
instant-0.1.12 \
iovec-0.1.4 \
ipnet-2.5.0 \
itoa-1.0.4 \
js-sys-0.3.60 \
kernel32-sys-0.2.2 \
keyring-1.2.0 \
lazy-regex-2.3.0 \
lazy-regex-proc_macros-2.3.0 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
libc-0.2.135 \
libdbus-sys-0.2.2 \
libssh2-sys-0.2.23 \
libz-sys-1.1.8 \
link-cplusplus-1.0.7 \
lock_api-0.4.9 \
log-0.4.17 \
mac-notification-sys-0.5.6 \
magic-crypt-3.1.10 \
malloc_buf-0.0.6 \
match_cfg-0.1.0 \
maybe-async-0.2.6 \
md-5-0.9.1 \
md5-0.7.0 \
memchr-2.5.0 \
memoffset-0.6.5 \
mime-0.3.16 \
miniz_oxide-0.5.4 \
mio-0.6.23 \
mio-0.8.4 \
mio-extras-2.0.6 \
miow-0.2.2 \
native-tls-0.2.10 \
nb-connect-1.2.0 \
net2-0.2.37 \
nix-0.22.3 \
notify-4.0.17 \
notify-rust-4.5.10 \
num-0.4.0 \
num-bigint-0.4.3 \
num-complex-0.4.2 \
num-integer-0.1.45 \
num-iter-0.1.43 \
num-rational-0.4.1 \
num-traits-0.2.15 \
num_cpus-1.13.1 \
num_threads-0.1.6 \
number_prefix-0.4.0 \
objc-0.2.7 \
objc-foundation-0.1.1 \
objc_id-0.1.1 \
once_cell-1.15.0 \
opaque-debug-0.3.0 \
open-3.0.3 \
openssl-0.10.42 \
openssl-macros-0.1.0 \
openssl-probe-0.1.5 \
openssl-src-111.22.0+1.1.1q \
openssl-sys-0.9.76 \
ordered-multimap-0.3.1 \
output_vt100-0.1.3 \
parking-2.0.0 \
parking_lot-0.11.2 \
parking_lot-0.12.1 \
parking_lot_core-0.8.5 \
parking_lot_core-0.9.3 \
path-slash-0.1.5 \
path-slash-0.2.1 \
pathdiff-0.2.1 \
percent-encoding-2.2.0 \
pin-project-lite-0.2.9 \
pin-utils-0.1.0 \
pkg-config-0.3.25 \
polling-2.3.0 \
ppv-lite86-0.2.16 \
pretty_assertions-1.3.0 \
proc-macro-crate-0.1.5 \
proc-macro-crate-1.2.1 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.46 \
quick-xml-0.22.0 \
quick-xml-0.23.1 \
quote-1.0.21 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.4 \
redox_syscall-0.2.16 \
redox_users-0.4.3 \
regex-1.6.0 \
regex-syntax-0.6.27 \
remotefs-0.2.0 \
remotefs-aws-s3-0.2.1 \
remotefs-ftp-0.1.2 \
remotefs-ssh-0.1.2 \
remove_dir_all-0.5.3 \
reqwest-0.11.12 \
ring-0.16.20 \
rpassword-7.0.0 \
rust-ini-0.17.0 \
rust-s3-0.28.1 \
rustls-0.20.6 \
rustls-pemfile-1.0.1 \
ryu-1.0.11 \
same-file-1.0.6 \
schannel-0.1.20 \
scoped-tls-1.0.0 \
scopeguard-1.1.0 \
scratch-1.0.2 \
sct-0.7.0 \
secret-service-2.0.2 \
security-framework-2.7.0 \
security-framework-sys-2.6.1 \
self_update-0.32.0 \
semver-1.0.14 \
serde-1.0.145 \
serde-xml-rs-0.5.1 \
serde_derive-1.0.145 \
serde_json-1.0.86 \
serde_repr-0.1.9 \
serde_urlencoded-0.7.1 \
serial_test-0.9.0 \
serial_test_derive-0.9.0 \
sha2-0.9.9 \
signal-hook-0.3.14 \
signal-hook-mio-0.2.3 \
signal-hook-registry-1.4.0 \
simplelog-0.12.0 \
slab-0.4.7 \
smallvec-1.10.0 \
smawk-0.3.1 \
socket2-0.4.7 \
spin-0.5.2 \
ssh2-0.9.3 \
ssh2-config-0.1.3 \
static_assertions-1.1.0 \
strum-0.22.0 \
strum_macros-0.22.0 \
subtle-2.4.1 \
suppaftp-4.5.2 \
syn-1.0.102 \
tar-0.4.38 \
tauri-winrt-notification-0.1.0 \
tempfile-3.3.0 \
termcolor-1.1.3 \
terminal_size-0.1.17 \
textwrap-0.15.1 \
thiserror-1.0.37 \
thiserror-impl-1.0.37 \
tiger-0.1.0 \
time-0.1.44 \
time-0.3.15 \
time-macros-0.2.4 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.0 \
tokio-1.21.2 \
tokio-rustls-0.23.4 \
tokio-stream-0.1.10 \
tokio-util-0.7.4 \
toml-0.5.9 \
tower-service-0.3.2 \
tracing-0.1.37 \
tracing-core-0.1.30 \
try-lock-0.2.3 \
tui-0.19.0 \
tui-realm-stdlib-1.1.7 \
tuirealm-1.8.0 \
tuirealm_derive-1.0.0 \
typenum-1.15.0 \
unicode-bidi-0.3.8 \
unicode-ident-1.0.5 \
unicode-linebreak-0.1.4 \
unicode-normalization-0.1.22 \
unicode-segmentation-1.10.0 \
unicode-width-0.1.10 \
untrusted-0.7.1 \
url-2.3.1 \
users-0.11.0 \
vcpkg-0.2.15 \
version-compare-0.1.0 \
version_check-0.9.4 \
waker-fn-1.1.0 \
walkdir-2.3.2 \
want-0.3.0 \
wasi-0.10.0+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.83 \
wasm-bindgen-backend-0.2.83 \
wasm-bindgen-futures-0.4.33 \
wasm-bindgen-macro-0.2.83 \
wasm-bindgen-macro-support-0.2.83 \
wasm-bindgen-shared-0.2.83 \
web-sys-0.3.60 \
webpki-0.22.0 \
webpki-roots-0.22.5 \
wepoll-ffi-0.1.2 \
which-4.3.0 \
whoami-1.2.3 \
wildmatch-2.1.1 \
winapi-0.2.8 \
winapi-0.3.9 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-0.39.0 \
windows-sys-0.36.1 \
windows_aarch64_msvc-0.36.1 \
windows_aarch64_msvc-0.39.0 \
windows_i686_gnu-0.36.1 \
windows_i686_gnu-0.39.0 \
windows_i686_msvc-0.36.1 \
windows_i686_msvc-0.39.0 \
windows_x86_64_gnu-0.36.1 \
windows_x86_64_gnu-0.39.0 \
windows_x86_64_msvc-0.36.1 \
windows_x86_64_msvc-0.39.0 \
winreg-0.10.1 \
ws2_32-sys-0.2.1 \
xattr-0.2.3 \
xml-rs-0.8.4 \
yansi-0.5.1 \
zbus-1.9.3 \
zbus_macros-1.9.3 \
zip-0.6.2 \
zvariant-2.10.0 \
zvariant_derive-2.10.0
Loading

0 comments on commit 0409cf5

Please sign in to comment.