1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/acmetool/Makefile
Thomas Zander a3cc859109 Update to upstream version 0.0.62
Detailed maintainer log:
- v0.0.62: Miscellaneous tweaks
- Updated Let's Encrypt agreement URL in example response file.
- Now builds for current Go 1.x version in Travis rather than Go 1.8.
- More error details are now available for challenge errors in the acmeapi
  package.
- Error when trying to prompt the user in non-interactive mode now advises
  user to remove --batch flag.

PR:		224627
Submitted by:	samm@os2.kiev.ua (maintainer)
MFH:		2018Q1
2018-01-02 16:44:21 +00:00

67 lines
3.0 KiB
Makefile

# $FreeBSD$
PORTNAME= acmetool
PORTVERSION= 0.0.62
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= samm@os2.kiev.ua
COMMENT= CLI tool for automatically acquiring certificates from ACME servers
LICENSE= MIT
BUILD_DEPENDS= go>=1.8:lang/go
USE_GITHUB= yes
GH_ACCOUNT= hlandau
GH_PROJECT= acme
GH_SUBDIR= src/github.com/hlandau/acme
GH_TUPLE= alecthomas:template:a0175ee:template/src/github.com/alecthomas/template \
alecthomas:units:2efee85:units/src/github.com/alecthomas/units \
coreos:go-systemd:c966a8a:go_systemd/src/github.com/coreos/go-systemd \
hlandau:acme:2c2e661:acme/src/github.com/hlandau/acme \
hlandau:buildinfo:337a29b:buildinfo/src/github.com/hlandau/buildinfo \
hlandau:dexlogconfig:244f29b:dexlogconfig/src/github.com/hlandau/dexlogconfig \
hlandau:goutils:0cdb66a:goutils/src/github.com/hlandau/goutils \
hlandau:xlog:197ef79:xlog/src/github.com/hlandau/xlog \
jmhodges:clock:880ee4c:clock/src/github.com/jmhodges/clock \
mattn:go-isatty:6ca4dbf:go_isatty/src/github.com/mattn/go-isatty \
mattn:go-runewidth:97311d9:go_runewidth/src/github.com/mattn/go-runewidth \
mitchellh:go-wordwrap:ad45545:go_wordwrap/src/github.com/mitchellh/go-wordwrap \
ogier:pflag:45c278a:pflag/src/github.com/ogier/pflag \
peterhellberg:link:3eea38c:link/src/github.com/peterhellberg/link \
satori:go.uuid:5bf94b6:go_uuid/src/github.com/satori/go.uuid \
shiena:ansicolor:a422bbe:ansicolor/src/github.com/shiena/ansicolor \
golang:crypto:d585fd2:crypto/src/golang.org/x/crypto \
golang:net:d866cfc:net/src/golang.org/x/net \
golang:sys:8380141:sys/src/golang.org/x/sys \
golang:text:e19ae14:text/src/golang.org/x/text \
alecthomas:kingpin:947dcec:kingpin/src/gopkg.in/alecthomas/kingpin.v2 \
cheggaaa:pb:18d384d:pb/src/gopkg.in/cheggaaa/pb.v1 \
hlandau:configurable:4149686:configurable/src/gopkg.in/hlandau/configurable.v1 \
hlandau:easyconfig:7589cb9:easyconfig/src/gopkg.in/hlandau/easyconfig.v1 \
hlandau:service:b64b346:service/src/gopkg.in/hlandau/service.v2 \
hlandau:svcutils:c25dac4:svcutils/src/gopkg.in/hlandau/svcutils.v1 \
square:go-jose:aa2e30f:go_jose/src/gopkg.in/square/go-jose.v1 \
tylerb:graceful:4654dfb:graceful/src/gopkg.in/tylerb/graceful.v1 \
go-yaml:yaml:287cf08:go_yaml/src/gopkg.in/yaml.v2
do-build:
cd ${WRKSRC}/src/github.com/hlandau/acme ; \
${SETENV} GOPATH=${WRKSRC} \
go build -o ${WRKSRC}/bin/${PORTNAME} -ldflags "\
-X github.com/hlandau/acme/hooks.DefaultPath=${PREFIX}/libexec/acme/hooks \
-X github.com/hlandau/acme/storage.RecommendedPath=/var/db/acme \
-X github.com/hlandau/buildinfo.BuildInfo=${PORTNAME}-v${PORTVERSION}-freebsd-ports \
"\
github.com/hlandau/acme/cmd/acmetool
${WRKSRC}/bin/${PORTNAME} --help-man > ${WRKSRC}/${PORTNAME}.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
${MKDIR} ${STAGEDIR}/var/db/acme
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/acme/hooks
.include <bsd.port.mk>