Folks,
I run a teeny system (single CPU, 2 GB RAM, less than 20 GB disk) as a standalone mail server, and I’m forced to install 'rust' because of 'clamav' dependency.
I can’t compile it from ports (source). Compilation uses too much disk space and takes forever to complete.
So I installed it using 'pkg install', but it seems the version available in 'pkg' is lagging (1.89 vs 1.92 in ports). Which means I have to tinker into
While this is working (for the moment), I don’t like having stashed changes because they occasionally cause conflicts. How often is the 'rust' package updated in the pkg database? Also, I heard there was a plan to get rid of it somehow? Is this still considered?
Thanks!
I run a teeny system (single CPU, 2 GB RAM, less than 20 GB disk) as a standalone mail server, and I’m forced to install 'rust' because of 'clamav' dependency.
I can’t compile it from ports (source). Compilation uses too much disk space and takes forever to complete.
So I installed it using 'pkg install', but it seems the version available in 'pkg' is lagging (1.89 vs 1.92 in ports). Which means I have to tinker into
Mk/Uses/cargo.mk to downgrade rust required version:
Code:
CARGO_BUILDDEP?= any-version
. if ${CARGO_BUILDDEP:tl} == "yes"
BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.92.0:lang/${RUST_DEFAULT}
. elif ${CARGO_BUILDDEP:tl} == "any-version"
BUILD_DEPENDS+= ${RUST_DEFAULT}>=0:lang/${RUST_DEFAULT}
. endif
CARGO_BUILDDEP is normally set to ‘yes’ and I have DEFAULT_VERSIONS+=rust=rust in my /etc/make.conf.While this is working (for the moment), I don’t like having stashed changes because they occasionally cause conflicts. How often is the 'rust' package updated in the pkg database? Also, I heard there was a plan to get rid of it somehow? Is this still considered?
Thanks!