mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
conduit: update to 0.4.0.
This commit is contained in:
parent
b062d010ba
commit
fb8e7b1189
2 changed files with 20 additions and 2 deletions
13
srcpkgs/conduit/patches/config.patch
Normal file
13
srcpkgs/conduit/patches/config.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/conduit-example.toml b/conduit-example.toml
|
||||||
|
index 5eed070..bee1ded 100644
|
||||||
|
--- a/conduit-example.toml
|
||||||
|
+++ b/conduit-example.toml
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
#server_name = "your.server.name"
|
||||||
|
|
||||||
|
# This is the only directory where Conduit will save its data
|
||||||
|
-database_path = "/var/lib/matrix-conduit/"
|
||||||
|
+database_path = "/var/lib/conduit/"
|
||||||
|
database_backend = "rocksdb"
|
||||||
|
|
||||||
|
# The port Conduit will be running on. You need to set up a reverse proxy in
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'conduit'
|
# Template file for 'conduit'
|
||||||
pkgname=conduit
|
pkgname=conduit
|
||||||
version=0.3.0
|
version=0.4.0
|
||||||
revision=1
|
revision=1
|
||||||
# needs ring/rustls
|
# needs ring/rustls
|
||||||
archs="x86_64* i686* aarch64* armv[67]*"
|
archs="x86_64* i686* aarch64* armv[67]*"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://conduit.rs/"
|
homepage="https://conduit.rs/"
|
||||||
distfiles="https://gitlab.com/famedly/conduit/-/archive/v${version}/conduit-v${version}.tar.gz"
|
distfiles="https://gitlab.com/famedly/conduit/-/archive/v${version}/conduit-v${version}.tar.gz"
|
||||||
checksum=9e750ed2b8d0e986b1cdc02278124b39c11fa785f2763914836978a5a79863e3
|
checksum=0d62cdd3f97e181ed98cff3a1e6c15d61358c01eeac4b5af686e5f650e77cc3f
|
||||||
|
|
||||||
system_accounts="_conduit"
|
system_accounts="_conduit"
|
||||||
_conduit_homedir="/var/lib/conduit"
|
_conduit_homedir="/var/lib/conduit"
|
||||||
|
@ -25,6 +25,11 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
|
# doctests fail on x86_64 -> i686 chroot, so run everything *but* them
|
||||||
|
make_check_args+=" --lib --bins --tests --benches --examples"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsconf conduit-example.toml conduit.toml
|
vsconf conduit-example.toml conduit.toml
|
||||||
vsv conduit
|
vsv conduit
|
||||||
|
|
Loading…
Add table
Reference in a new issue