Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2019 17:21:20 -0500
From:      Dmitri Goutnik <dg@syrec.org>
To:        svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r511661 - in head/security: . totp-cli
Message-ID:  <20190909222120.GA91855@xombo.localdomain>
In-Reply-To: <201909091932.x89JWSK7056657@repo.freebsd.org>
References:  <201909091932.x89JWSK7056657@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 19-09-09 19:32:28, Sunpoet Po-Chuan Hsieh wrote:
> Author: sunpoet
> Date: Mon Sep  9 19:32:28 2019
> New Revision: 511661
> URL: https://svnweb.freebsd.org/changeset/ports/511661
> 
> Log:
>   Add totp-cli 1.1.1
>   
>   This is a simple TOTP (Time-based One-time Password) CLI tool. TOTP is the most
>   common mechanism for 2FA (Two-Factor-Authentication). You can manage and
>   organize your accounts with namespaces and protect your data with a password.
>   
>   WWW: https://github.com/yitsushi/totp-cli
> 
> Added:
>   head/security/totp-cli/
>   head/security/totp-cli/Makefile   (contents, props changed)
>   head/security/totp-cli/distinfo   (contents, props changed)
>   head/security/totp-cli/pkg-descr   (contents, props changed)
> Modified:
>   head/security/Makefile
> 
> Modified: head/security/Makefile
> ==============================================================================
> --- head/security/Makefile	Mon Sep  9 19:32:18 2019	(r511660)
> +++ head/security/Makefile	Mon Sep  9 19:32:28 2019	(r511661)
> @@ -1279,6 +1279,7 @@
>      SUBDIR += tlswrap
>      SUBDIR += tor
>      SUBDIR += tor-devel
> +    SUBDIR += totp-cli
>      SUBDIR += tpm-tools
>      SUBDIR += trezord
>      SUBDIR += trinokiller
> 
> Added: head/security/totp-cli/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/security/totp-cli/Makefile	Mon Sep  9 19:32:28 2019	(r511661)
> @@ -0,0 +1,31 @@
> +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME=	totp-cli
> +PORTVERSION=	1.1.1
> +DISTVERSIONPREFIX=	v
> +CATEGORIES=	security
> +
> +MAINTAINER=	sunpoet@FreeBSD.org
> +COMMENT=	Authy/Google Authenticator like TOTP CLI tool
> +
> +LICENSE=	GPLv3
> +LICENSE_FILE=	${WRKSRC}/LICENSE.md
> +
> +USES=		go:modules
> +
> +PLIST_FILES=	bin/totp-cli
> +
> +GH_ACCOUNT=	yitsushi
> +GH_TUPLE=	golang:crypto:71b5226:golang_crypto/vendor/golang.org/x/crypto \
> +		golang:sys:749cb33:golang_sys/vendor/golang.org/x/sys \
> +		kardianos:osext:2bc1f35:kardianos_osext/vendor/github.com/kardianos/osext \
> +		mitchellh:go-homedir:v1.1.0:mitchellh_gohomedir/vendor/github.com/mitchellh/go-homedir \
> +		yitsushi:github-release-check:v1.0.1:yitsushi_github_release_check/vendor/github.com/yitsushi/github-release-check \
> +		yitsushi:go-commander:v1.1.0:yitsushi_go_commander/vendor/github.com/yitsushi/go-commander
> +USE_GITHUB=	yes
> +
> +do-install:
> +	${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/totp-cli ${STAGEDIR}${PREFIX}/bin/totp-cli

go.mk already provides do-install target that does the same thing.

Regards,

-- 
Dmitri Goutnik
dg@syrec.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190909222120.GA91855>