Files
ports/security/arti/Makefile
T
2024-12-06 21:36:30 +01:00

36 lines
970 B
Makefile

PORTNAME= arti
DISTVERSION= 1.3.1
CATEGORIES= security
MAINTAINER= cs@FreeBSD.org
COMMENT= Implementation of Tor, in Rust
WWW= https://arti.torproject.org/
LICENSE= MIT
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON=Zeroize crate does not support i386
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_TAGNAME= 2a54e07d426706ec3df286ce74565c71c3d36bce
CARGO_FEATURES= tokio rustls
CARGO_INSTALL= no
do-install:
${INSTALL_SCRIPT} ${CARGO_TARGET_DIR}/*/arti ${STAGEDIR}${PREFIX}/bin/arti
post-install:
@${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>