1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/arti/Makefile
2024-04-02 21:18:27 +02:00

37 lines
1.0 KiB
Makefile

PORTNAME= arti
DISTVERSION= 1.2.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= 305f74b9bbe187ea2a48003ca93b5bde4b4d6e09
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>