summaryrefslogtreecommitdiff
path: root/security/ssh-vault/Makefile
blob: 2dda311a5467140d1dfe6637b70bec2fab1e00fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

PORTNAME=	ssh-vault
PORTVERSION=	0.12.6
CATEGORIES=	security

MAINTAINER=	nbari@tequila.io
COMMENT=	Encrypt/decrypt using ssh keys

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go

USE_GITHUB=	yes
GH_SUBDIR=	src/github.com/${PORTNAME}/${PORTNAME}
GH_TUPLE=	golang:crypto:a0c6ece:gocrypto/vendor/golang.org/x/crypto \
		golang:sys:d101bd2:gosys/vendor/golang.org/x/sys \
		ssh-vault:crypto:3700ed0:crypto/vendor/github.com/ssh-vault/crypto \
		ssh-vault:ssh2pem:fdda4b3:ssh2pem/vendor/github.com/ssh-vault/ssh2pem

GO_TARGET=	./cmd/ssh-vault
GO_BUILDFLAGS=	-ldflags "-s -w -X main.version=${PORTVERSION}"

PLIST_FILES=	bin/ssh-vault

.include <bsd.port.mk>