summaryrefslogtreecommitdiff
path: root/security/trillian/Makefile
blob: 716c2d98b19f3b045b1e7b775eff965510033cf5 (plain) (blame)
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
27
28
29
30
31
32
33
34
PORTNAME=	trillian
DISTVERSIONPREFIX=	v
DISTVERSION=	1.7.2
PORTREVISION=	1
CATEGORIES=	security

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	General transparency
WWW=		https://github.com/google/trillian

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:1.24,modules
USE_RC_SUBR=	trillian_log_server trillian_log_signer

GO_MODULE=	github.com/google/trillian
GO_TARGET=	./cmd/createtree \
		./cmd/deletetree \
		./cmd/trillian_log_server \
		./cmd/trillian_log_signer \
		./cmd/updatetree

USERS=		${PORTNAME}
GROUPS=		${PORTNAME}

post-install:
	${MKDIR} ${STAGEDIR}${ETCDIR}
	${INSTALL_DATA} ${FILESDIR}/trillian_log_server.conf \
		${STAGEDIR}${ETCDIR}/trillian_log_server.conf.sample
	${INSTALL_DATA} ${FILESDIR}/trillian_log_signer.conf \
		${STAGEDIR}${ETCDIR}/trillian_log_signer.conf.sample

.include <bsd.port.mk>