1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

gomi is a simple trash tool that works on CLI, written in Go.

WWW: https://github.com/b4b4r07/gomi
This commit is contained in:
Alexey Dokuchaev 2021-01-13 12:59:52 +00:00
parent b1036bd145
commit 043a5f1ffe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561462
4 changed files with 86 additions and 0 deletions

View File

@ -457,6 +457,7 @@
SUBDIR += go-wtf
SUBDIR += goaccess
SUBDIR += goawk
SUBDIR += gomi
SUBDIR += gomplate
SUBDIR += google-compute-engine-oslogin
SUBDIR += gotop

44
sysutils/gomi/Makefile Normal file
View File

@ -0,0 +1,44 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= gomi
PORTVERSION= 1.1.1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= danfe@FreeBSD.org
COMMENT= Unix rm(1) command that can restore deleted files
LICENSE= MIT
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= b4b4r07
GH_TUPLE= \
b4b4r07:go-cli-log:8fac4d71de01:b4b4r07_go_cli_log/vendor/github.com/b4b4r07/go-cli-log \
chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
gabriel-vasile:mimetype:v1.0.2:gabriel_vasile_mimetype/vendor/github.com/gabriel-vasile/mimetype \
golang:crypto:530e935923ad:golang_crypto/vendor/golang.org/x/crypto \
golang:sync:cd5d95a43a6e:golang_sync/vendor/golang.org/x/sync \
golang:sys:fc99dfbffb4e:golang_sys/vendor/golang.org/x/sys \
hashicorp:logutils:v1.0.0:hashicorp_logutils/vendor/github.com/hashicorp/logutils \
jessevdk:go-flags:v1.4.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \
juju:ansiterm:720a0952cc2a:juju_ansiterm/vendor/github.com/juju/ansiterm \
lunixbochs:vtclean:2d01aacdc34a:lunixbochs_vtclean/vendor/github.com/lunixbochs/vtclean \
manifoldco:promptui:v0.7.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \
mattn:go-colorable:v0.1.4:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.8:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
rs:xid:v1.2.1:rs_xid/vendor/github.com/rs/xid
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

33
sysutils/gomi/distinfo Normal file
View File

@ -0,0 +1,33 @@
TIMESTAMP = 1580837576
SHA256 (b4b4r07-gomi-v1.1.1_GH0.tar.gz) = 093e78048e7fb0e78b908f4ad4555159e5f98bb91320f3751e35c905404a70c5
SIZE (b4b4r07-gomi-v1.1.1_GH0.tar.gz) = 639566
SHA256 (b4b4r07-go-cli-log-8fac4d71de01_GH0.tar.gz) = 1dbb13c62741b2dbb9a054a1d4c08653dedf5e1c434fe10422a90251424c5931
SIZE (b4b4r07-go-cli-log-8fac4d71de01_GH0.tar.gz) = 4312
SHA256 (chzyer-readline-2972be24d48e_GH0.tar.gz) = 8f425cfb33fce61a137866c0a88117c68f49de79a61a341353fc97339c6b74da
SIZE (chzyer-readline-2972be24d48e_GH0.tar.gz) = 36825
SHA256 (dustin-go-humanize-v1.0.0_GH0.tar.gz) = e4540bd50ac855143b4f2e509313079c50cf5d8774f09cc10dbca5ae9803d8ba
SIZE (dustin-go-humanize-v1.0.0_GH0.tar.gz) = 17260
SHA256 (gabriel-vasile-mimetype-v1.0.2_GH0.tar.gz) = 531a8849ba407f3624af5266d0e29311f9ab459530839c6591bb12fe208db384
SIZE (gabriel-vasile-mimetype-v1.0.2_GH0.tar.gz) = 23503229
SHA256 (golang-crypto-530e935923ad_GH0.tar.gz) = f7b966d1f2b01d753aa87434a59f1ac2cfde558b0498568e34c646247218078a
SIZE (golang-crypto-530e935923ad_GH0.tar.gz) = 1720030
SHA256 (golang-sync-cd5d95a43a6e_GH0.tar.gz) = 00a6dce4c1a9ca9edae6c3f1bedc0b15911c62681371ad9ed7738e182ba70393
SIZE (golang-sync-cd5d95a43a6e_GH0.tar.gz) = 16956
SHA256 (golang-sys-fc99dfbffb4e_GH0.tar.gz) = 009b8629e6f1369c3b9376d2e5fea53c0ebc8be89895719efb09a8a605d373d5
SIZE (golang-sys-fc99dfbffb4e_GH0.tar.gz) = 1454968
SHA256 (hashicorp-logutils-v1.0.0_GH0.tar.gz) = 9e3c7cee3552acacd2ad1d212f87c682d227179e34b306afdce945b41799e4b6
SIZE (hashicorp-logutils-v1.0.0_GH0.tar.gz) = 7753
SHA256 (jessevdk-go-flags-v1.4.0_GH0.tar.gz) = 3be7e8fb4b63887e8aeb55878244c04b7dcbe5ac77211c73ee35e38ca681e611
SIZE (jessevdk-go-flags-v1.4.0_GH0.tar.gz) = 55452
SHA256 (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 5595c2dc8973aab36a69648d4d94cac75a9ff4a28eb074a7b82b030fc7edbf64
SIZE (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 15417
SHA256 (lunixbochs-vtclean-2d01aacdc34a_GH0.tar.gz) = 54676064363394819c85f04ffd3aa41c86bcd2c9fce3c7e58b6ea41a47e17442
SIZE (lunixbochs-vtclean-2d01aacdc34a_GH0.tar.gz) = 4183
SHA256 (manifoldco-promptui-v0.7.0_GH0.tar.gz) = 90a38ed9e5d993929b62dd2f1e13c7d3c70d0b57546c7329588f9d493f4c8a47
SIZE (manifoldco-promptui-v0.7.0_GH0.tar.gz) = 26664
SHA256 (mattn-go-colorable-v0.1.4_GH0.tar.gz) = 157806ad8125e6bef4d9b58c9125ccb98a8343136f93faf442ab0cc6e7c24c11
SIZE (mattn-go-colorable-v0.1.4_GH0.tar.gz) = 8981
SHA256 (mattn-go-isatty-v0.0.8_GH0.tar.gz) = 4f40edb394582f49ac6330bc807be93018216ef485eb65f00adcf61b670d4f3e
SIZE (mattn-go-isatty-v0.0.8_GH0.tar.gz) = 3564
SHA256 (rs-xid-v1.2.1_GH0.tar.gz) = bb207227d5ae99bda71d38ae11e29b822c9b572223781bc282ad2f8e69002f2c
SIZE (rs-xid-v1.2.1_GH0.tar.gz) = 9553

8
sysutils/gomi/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
gomi is a simple trash tool that works on CLI, written in Go.
The concept of the trashcan does not exist in command-line interface, CLI.
If you have deleted an important file by mistake with the rm(1) command,
it would be difficult to restore in Unix-like systems. Now, gomi makes it
easy to restore deleted files by providing trashcan for the CLI.
WWW: https://github.com/b4b4r07/gomi