From owner-svn-ports-head@freebsd.org Wed Jan 13 12:59:53 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 79CEA4DC5D4; Wed, 13 Jan 2021 12:59:53 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DG6wn2zKzz4dN6; Wed, 13 Jan 2021 12:59:53 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 54E1917F05; Wed, 13 Jan 2021 12:59:53 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10DCxrFn077355; Wed, 13 Jan 2021 12:59:53 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10DCxqSf077351; Wed, 13 Jan 2021 12:59:52 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202101131259.10DCxqSf077351@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 13 Jan 2021 12:59:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561462 - in head/sysutils: . gomi X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/sysutils: . gomi X-SVN-Commit-Revision: 561462 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 12:59:53 -0000 Author: danfe Date: Wed Jan 13 12:59:52 2021 New Revision: 561462 URL: https://svnweb.freebsd.org/changeset/ports/561462 Log: gomi is a simple trash tool that works on CLI, written in Go. WWW: https://github.com/b4b4r07/gomi Added: head/sysutils/gomi/ head/sysutils/gomi/Makefile (contents, props changed) head/sysutils/gomi/distinfo (contents, props changed) head/sysutils/gomi/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Wed Jan 13 12:55:55 2021 (r561461) +++ head/sysutils/Makefile Wed Jan 13 12:59:52 2021 (r561462) @@ -457,6 +457,7 @@ SUBDIR += go-wtf SUBDIR += goaccess SUBDIR += goawk + SUBDIR += gomi SUBDIR += gomplate SUBDIR += google-compute-engine-oslogin SUBDIR += gotop Added: head/sysutils/gomi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/gomi/Makefile Wed Jan 13 12:59:52 2021 (r561462) @@ -0,0 +1,44 @@ +# Created by: Alexey Dokuchaev +# $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 Added: head/sysutils/gomi/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/gomi/distinfo Wed Jan 13 12:59:52 2021 (r561462) @@ -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 Added: head/sysutils/gomi/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/gomi/pkg-descr Wed Jan 13 12:59:52 2021 (r561462) @@ -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