Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 2021 23:45:14 GMT
From:      Carlo Strub <cs@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8f9c03875bb1 - main - security/arti: Add missing changes
Message-ID:  <202111062345.1A6NjESS097243@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f9c03875bb1c5b4eb63def6a34b96a7021d4844

commit 8f9c03875bb1c5b4eb63def6a34b96a7021d4844
Author:     Carlo Strub <cs@FreeBSD.org>
AuthorDate: 2021-11-06 23:44:54 +0000
Commit:     Carlo Strub <cs@FreeBSD.org>
CommitDate: 2021-11-06 23:44:54 +0000

    security/arti: Add missing changes
---
 security/arti/Makefile | 11 +++++++++--
 security/arti/distinfo |  2 +-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/security/arti/Makefile b/security/arti/Makefile
index 72f66a2d9c1e..03975b1c7e4b 100644
--- a/security/arti/Makefile
+++ b/security/arti/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	arti
 DISTVERSION=	0.0.1
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	cs@FreeBSD.org
@@ -8,11 +9,17 @@ COMMENT=	Implementation of Tor, in Rust
 LICENSE=	MIT
 
 USES=		cargo ssl sqlite
+USE_RC_SUBR=	arti
+#GROUPS=		_arti
+#USERS=		_arti
+#SUB_LIST=	USER="${USERS}" GROUP="${GROUPS}"
+#PLIST_SUB=	USER="${USERS}" GROUP="${GROUPS}"
 USE_GITLAB=	yes
 GL_SITE=	https://gitlab.torproject.org
 GL_ACCOUNT=	tpo/core
 GL_COMMIT=	d272afb3417030b5f6bc3febfe9b0989058d5795
 CARGO_INSTALL=	no
+WITH_FEATURES=	tokio
 CARGO_CRATES=	adler-1.0.2 \
 		aes-0.7.5 \
 		ahash-0.7.6 \
@@ -306,12 +313,12 @@ CARGO_CRATES=	adler-1.0.2 \
 		zstd-safe-3.1.0+zstd.1.4.9 \
 		zstd-sys-1.5.0+zstd.1.4.9
 
-PLIST_FILES=	bin/arti
-
 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_defaults.toml ${STAGEDIR}${ETCDIR}/arti.toml.sample
 
 .include <bsd.port.mk>
diff --git a/security/arti/distinfo b/security/arti/distinfo
index 0f2b15914c2d..87cbc3ebfd81 100644
--- a/security/arti/distinfo
+++ b/security/arti/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1635695986
+TIMESTAMP = 1635711133
 SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
 SIZE (rust/crates/adler-1.0.2.crate) = 12778
 SHA256 (rust/crates/aes-0.7.5.crate) = 9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111062345.1A6NjESS097243>