passwordmanager && browserpass
Boris Samorodov
bsam at passap.ru
Mon Jul 3 10:35:28 UTC 2017
03.07.2017 12:54, Matthias Apitz пишет:
>
> Hello,
>
> I'm keen to use for firefox in FreeBSD CURRENT the following tools:
>
> [1] https://www.passwordstore.org/
> [2] https://github.com/dannyvankooten/browserpass
>
> For [1] we have in our ports sysutils/password-store which works fine
> and as well with my GnuPG crypto stick. Having [2] would allow to use
> the passwordstore from [1] in Firefox and unlock this storage by just
> entering a 6 digit PIN of the GnuPG crypto stick.
>
> For [2] I do not see anything in our ports and I can not make it from
> the sources:
>
> $ cd browserpass-1.0.6
> $ gmake browserpass
> go build -o browserpass ./cmd/browserpass
> cmd/browserpass/main.go:8:2: cannot find package
> "github.com/dannyvankooten/browserpass" in any of:
> /usr/local/go/src/github.com/dannyvankooten/browserpass (from $GOROOT)
> /home/guru/go/src/github.com/dannyvankooten/browserpass (from $GOPATH)
> cmd/browserpass/main.go:9:2: cannot find package
> "github.com/dannyvankooten/browserpass/pass" in any of:
> /usr/local/go/src/github.com/dannyvankooten/browserpass/pass (from $GOROOT)
> /home/guru/go/src/github.com/dannyvankooten/browserpass/pass (from $GOPATH)
> gmake: *** [makefile:27: browserpass] Error 1
>
> I do not even know, if this the correct way to build it. The README.md
> in the source tree is not very helpfull for FreeBSD.
>
> Any hints?
If you do:
-----
% go get -u github.com/dannyvankooten/browserpass
% cd $GOPATH/src/github.com/dannyvankooten/browserpass/cmd/browserpass
% go build [*]
-----
You should get:
-----
% ls -l
total 1505
-rwxr-xr-x 1 bsam 1001 2905507 3 июля 13:25 browserpass
-rw-r--r-- 1 bsam 1001 357 3 июля 13:19 main.go
-----
And it's up to you what's next. ;-)
[*]
If you have $GOPATH/bin at your $PATH, you may do "go install" instead.
And you'll get the binary at your $PATH (actually, at $GOPATH/bin).
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-questions
mailing list