pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
chirpstack: Patch configuration file
Module Name: pkgsrc-wip
Committed By: Frédéric Fauberteau <frederic%fauberteau.org@localhost>
Pushed By: frederic
Date: Fri Oct 6 08:31:49 2023 +0200
Changeset: c60b1629148010b3b724afa1d3546afa57545c42
Modified Files:
chirpstack/distinfo
Added Files:
chirpstack/patches/patch-chirpstack_configuration_chirpstack.toml
Log Message:
chirpstack: Patch configuration file
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c60b1629148010b3b724afa1d3546afa57545c42
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chirpstack/distinfo | 1 +
.../patch-chirpstack_configuration_chirpstack.toml | 33 ++++++++++++++++++++++
2 files changed, 34 insertions(+)
diffs:
diff --git a/chirpstack/distinfo b/chirpstack/distinfo
index db1d4d8cf0..dfd2756b52 100644
--- a/chirpstack/distinfo
+++ b/chirpstack/distinfo
@@ -1437,3 +1437,4 @@ Size (chirpstack/yasna-0.5.2.crate) = 34859 bytes
BLAKE2s (chirpstack/zeroize-1.6.0.crate) = f2055440b7c90a2a0ebd0997466b65fc1f83ae7af9f346740346de90c914e36a
SHA512 (chirpstack/zeroize-1.6.0.crate) = 9ebc81c10516440476b5c198dd4ff0d284a0a37cee11a2cdfb5a1995f95b72d05beb827483b16e8b764f720fbcf30a5e5d8b1517cfbbf572bcb27c2efb18393b
Size (chirpstack/zeroize-1.6.0.crate) = 19049 bytes
+SHA1 (patch-chirpstack_configuration_chirpstack.toml) = 0b84fe878505754dadb18d0448b212d9b294a876
diff --git a/chirpstack/patches/patch-chirpstack_configuration_chirpstack.toml b/chirpstack/patches/patch-chirpstack_configuration_chirpstack.toml
new file mode 100644
index 0000000000..9571d36532
--- /dev/null
+++ b/chirpstack/patches/patch-chirpstack_configuration_chirpstack.toml
@@ -0,0 +1,33 @@
+$NetBSD$
+
+Set the host environment variables in the chirpstack configuration file to
+localhost since the post install script which do it for rpm package generation
+is not run.
+
+--- chirpstack/configuration/chirpstack.toml.orig 2023-09-11 15:58:25.000000000 +0000
++++ chirpstack/configuration/chirpstack.toml
+@@ -19,7 +19,7 @@
+ # * require - Always SSL (skip verification)
+ # * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)
+ # * verify-full - Always SSL (verify that the certification presented by the server was signed by a trusted CA and the server host name matches the one in the certificate)
+- dsn="postgres://chirpstack:chirpstack@$POSTGRESQL_HOST/chirpstack?sslmode=disable"
++ dsn="postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
+
+ # Max open connections.
+ #
+@@ -41,7 +41,7 @@
+ #
+ # Set multiple addresses when connecting to a cluster.
+ servers=[
+- "redis://$REDIS_HOST/",
++ "redis://localhost/",
+ ]
+
+ # Redis Cluster.
+@@ -99,5 +99,5 @@
+ enabled=["mqtt"]
+
+ [integration.mqtt]
+- server="tcp://$MQTT_BROKER_HOST:1883/"
++ server="tcp://localhost:1883/"
+ json=true
Home |
Main Index |
Thread Index |
Old Index