pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/tor
Module Name: pkgsrc
Committed By: wiz
Date: Mon Jun 28 07:03:44 UTC 2021
Modified Files:
pkgsrc/net/tor: options.mk
Log Message:
tor: update rust option
This still does not build for me.
Add comment on tor implementation project in rust.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/tor/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/tor/options.mk
diff -u pkgsrc/net/tor/options.mk:1.19 pkgsrc/net/tor/options.mk:1.20
--- pkgsrc/net/tor/options.mk:1.19 Sun Jun 27 21:18:38 2021
+++ pkgsrc/net/tor/options.mk Mon Jun 28 07:03:44 2021
@@ -1,6 +1,5 @@
-# $NetBSD: options.mk,v 1.19 2021/06/27 21:18:38 wiz Exp $
+# $NetBSD: options.mk,v 1.20 2021/06/28 07:03:44 wiz Exp $
-# XXX Add rust to supported options.
PKG_OPTIONS_VAR= PKG_OPTIONS.tor
PKG_SUPPORTED_OPTIONS= doc
PKG_OPTIONS_REQUIRED_GROUPS= ssl
@@ -34,7 +33,22 @@ CONFIGURE_ARGS+= --enable-nss
.include "../../devel/nss/buildlink3.mk"
.endif
+# see
+# https://gitlab.torproject.org/tpo/core/arti
+# instead
#.if !empty(PKG_OPTIONS:Mrust)
#CONFIGURE_ARGS+= --enable-rust
+#CONFIGURE_ENV+= TOR_RUST_DEPENDENCIES=${WRKDIR}/vendor
+##CONFIGURE_ARGS+= --enable-cargo-online-mode
+## needed to override cargo.mk
+#do-build:
+# cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} all
+#CARGO_CRATE_DEPENDS+= digest-0.7.2
+#CARGO_CRATE_DEPENDS+= generic-array-0.9.0
+#CARGO_CRATE_DEPENDS+= libc-0.2.39
+#CARGO_CRATE_DEPENDS+= rand-0.5.0-pre.2
+#CARGO_CRATE_DEPENDS+= rand_core-0.2.0-pre.0
+#CARGO_CRATE_DEPENDS+= typenum-1.9.0
#.include "../../lang/rust/buildlink3.mk"
+#.include "../../lang/rust/cargo.mk"
#.endif
Home |
Main Index |
Thread Index |
Old Index