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

Git Clone URL: (read-only, click to copy)
Package Base: lego-git
Description: Lets Encrypt client and ACME library written in Go (master branch / unstable)
Upstream URL:
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 "" in any of:
    /usr/lib/go/src/ (from $GOROOT)
    /home/json/go/src/ (from $GOPATH)
cmd/lego/main.go:12:2: cannot find package "" in any of:
    /usr/lib/go/src/ (from $GOROOT)
    /home/json/go/src/ (from $GOPATH)
cmd/lego/main.go:13:2: cannot find package "" in any of:
    /usr/lib/go/src/ (from $GOROOT)
    /home/json/go/src/ (from $GOPATH)
make: *** [Makefile:20: build] Error 1
==> ERROR: A failure occurred in build().
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

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.