svn commit: r511661 - in head/security: . totp-cli

Po-Chuan Hsieh sunpoet at freebsd.org
Thu Sep 12 11:25:55 UTC 2019


On Tue, Sep 10, 2019 at 6:21 AM Dmitri Goutnik via svn-ports-all <
svn-ports-all at freebsd.org> wrote:

> 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 at FreeBSD.org>
> > +# $FreeBSD$
> > +
> > +PORTNAME=    totp-cli
> > +PORTVERSION= 1.1.1
> > +DISTVERSIONPREFIX=   v
> > +CATEGORIES=  security
> > +
> > +MAINTAINER=  sunpoet at 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,
>

Fixed in r511867.
AFAIK, it was needed when I added this port locally. It might be solved
when I converted it from USES=go to USES=go:modules.


> --
> Dmitri Goutnik
> dg at syrec.org
> _______________________________________________
> svn-ports-all at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
>


More information about the svn-ports-head mailing list