blob: 4347b73c4bb4e17ace5428870a14cf8fdbb93ee6 (
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
27
28
29
30
31
32
33
34
35
|
PORTNAME= arti
DISTVERSION= 1.1.5
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= cs@FreeBSD.org
COMMENT= Implementation of Tor, in Rust
WWW= https://arti.torproject.org/
LICENSE= MIT
LIB_DEPENDS= libzstd.so:archivers/zstd
USES= cargo sqlite ssl
USE_RC_SUBR= arti
GROUPS= _arti
USERS= _arti
SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}"
PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}"
USE_GITLAB= yes
GL_SITE= https://gitlab.torproject.org
GL_ACCOUNT= tpo/core
GL_COMMIT= 254d4c93a7f3c7565499c202541cc14b768ae829
CARGO_FEATURES= tokio rustls
CARGO_INSTALL= no
do-install:
${INSTALL_SCRIPT} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/arti ${STAGEDIR}${PREFIX}/bin/arti
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/arti
@${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/log/arti ${STAGEDIR}/var/run/arti ${STAGEDIR}/var/db/arti
${INSTALL_DATA} ${WRKSRC}/crates/arti/src/arti-example-config.toml ${STAGEDIR}${ETCDIR}/arti.toml.sample
.include <bsd.port.mk>
|