Package Details: lego-git v4.16.0.r1.g719d26c0-1

Git Clone URL: https://aur.archlinux.org/lego-git.git (read-only, click to copy)
Package Base: lego-git
Description: Lets Encrypt client and ACME library written in Go (master branch / unstable)
Upstream URL: https://go-acme.github.io/lego/
Keywords: lego letsencrypt
Licenses: MIT
Conflicts: lego, lego-bin
Provides: lego
Submitter: DeltaEvo
Maintainer: ldez
Last Packager: ldez
Votes: 6
Popularity: 0.000000
First Submitted: 2017-01-17 22:10 (UTC)
Last Updated: 2024-03-10 01:06 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

ldez commented on 2019-09-01 14:07 (UTC)

I updated the package with some go modules optimizations.

felixsanz commented on 2019-06-03 15:49 (UTC)

i have the same problem as ptrxyz

ldez commented on 2019-03-19 19:45 (UTC)

@ptrxyz I don't reproduce your problem.

Try to uninstall lego-git, reinstall

ptrxyz commented on 2019-03-19 10:20 (UTC) (edited on 2019-03-19 10:22 (UTC) by ptrxyz)

Hm, does not build anymore:

==> Starting build()...
rm -rf dist/ builds/ cover.out
Version: 3684cc738d370bce685da7a80744c6cb8ffaef4f
go build -v -ldflags '-X "main.version=3684cc738d370bce685da7a80744c6cb8ffaef4f"' -o dist/lego ./cmd/lego/
cmd/lego/main.go:11:2: cannot find package "github.com/go-acme/lego/cmd" in any of:
    /usr/lib/go/src/github.com/go-acme/lego/cmd (from $GOROOT)
    /home/json/go/src/github.com/go-acme/lego/cmd (from $GOPATH)
cmd/lego/main.go:12:2: cannot find package "github.com/go-acme/lego/log" in any of:
    /usr/lib/go/src/github.com/go-acme/lego/log (from $GOROOT)
    /home/json/go/src/github.com/go-acme/lego/log (from $GOPATH)
cmd/lego/main.go:13:2: cannot find package "github.com/urfave/cli" in any of:
    /usr/lib/go/src/github.com/urfave/cli (from $GOROOT)
    /home/json/go/src/github.com/urfave/cli (from $GOPATH)
make: *** [Makefile:20: build] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Error making: lego-git

Probably a problem with the code, not the PKGBUILD, but still worth mentioning :D

ldez commented on 2019-02-02 03:30 (UTC)

Good catch! I fixed that.

Besides, I recommend the use of https://aur.archlinux.org/packages/lego/

RiCON commented on 2019-02-02 02:30 (UTC) (edited on 2019-02-02 02:30 (UTC) by RiCON)

PKGBUILD needs a small fix:

-  install -Dm755  "${srcdir}/${_legopath}/dist/${_pkgname}" "${pkgdir}/usr/bin"
+  install -Dm755  "${srcdir}/${_legopath}/dist/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"

otherwise the binary will be installed as bin, which won't work, since /usr/bin exists as directory already.