Update packaging + bump (test) version.

This commit is contained in:
Orne Brocaar 2022-05-04 11:34:18 +01:00
parent 2051c5ed39
commit f964314a4f
10 changed files with 53 additions and 14 deletions

8
Cargo.lock generated
View File

@ -574,7 +574,7 @@ dependencies = [
[[package]]
name = "backend"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
dependencies = [
"aes-kw",
"anyhow",
@ -800,7 +800,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chirpstack"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
dependencies = [
"aes 0.7.5",
"anyhow",
@ -871,7 +871,7 @@ dependencies = [
[[package]]
name = "chirpstack_api"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
dependencies = [
"hex",
"pbjson",
@ -2041,7 +2041,7 @@ dependencies = [
[[package]]
name = "lrwn"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
dependencies = [
"aes 0.7.5",
"anyhow",

View File

@ -1,6 +1,6 @@
{
"name": "@chirpstack/chirpstack-api-grpc-web",
"version": "4.0.0-test.4",
"version": "4.0.0-test.5",
"description": "Chirpstack gRPC-web API",
"license": "MIT",
"devDependencies": {

2
api/js/package.json vendored
View File

@ -1,6 +1,6 @@
{
"name": "@chirpstack/chirpstack-api",
"version": "4.0.0-test.4",
"version": "4.0.0-test.5",
"description": "Chirpstack JS and TS API",
"license": "MIT",
"devDependencies": {

View File

@ -18,7 +18,7 @@ CLASSIFIERS = [
setup(
name='chirpstack-api',
version = "4.0.0-test.4",
version = "4.0.0-test.5",
url='https://github.com/brocaar/chirpstack-api',
author='Orne Brocaar',
author_email='info@brocaar.com',

2
api/rust/Cargo.toml vendored
View File

@ -1,7 +1,7 @@
[package]
name = "chirpstack_api"
description = "ChirpStack Protobuf / gRPC API definitions."
version = "4.0.0-test.4"
version = "4.0.0-test.5"
authors = ["Orne Brocaar <info@brocaar.com>"]
license = "MIT"
homepage = "https://www.chirpstack.io"

View File

@ -1,6 +1,6 @@
[package]
name = "backend"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2018"
publish = false

View File

@ -3,7 +3,7 @@ name = "chirpstack"
description = "ChirpStack is an open-source LoRaWAN(TM) Network Server"
repository = "https://github.com/chirpstack/chirpstack"
homepage="https://www.chirpstack.io/"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2021"
publish = false
@ -115,6 +115,39 @@ assets = [
["configuration/certs/*.json", "etc/chirpstack/certs", "640"],
["debian/environment.conf", "etc/systemd/system/chirpstack.service.d/environment.conf", "640"],
]
conf-files = [
"/etc/chirpstack/certs/ca-config.json",
"/etc/chirpstack/certs/ca-csr.json",
"/etc/chirpstack/certs/mqtt-server.json",
"/etc/chirpstack/chirpstack.toml",
"/etc/chirpstack/region_as923.toml",
"/etc/chirpstack/region_as923_2.toml",
"/etc/chirpstack/region_as923_3.toml",
"/etc/chirpstack/region_as923_4.toml",
"/etc/chirpstack/region_au915_0.toml",
"/etc/chirpstack/region_au915_1.toml",
"/etc/chirpstack/region_au915_2.toml",
"/etc/chirpstack/region_au915_3.toml",
"/etc/chirpstack/region_au915_4.toml",
"/etc/chirpstack/region_au915_5.toml",
"/etc/chirpstack/region_au915_6.toml",
"/etc/chirpstack/region_au915_7.toml",
"/etc/chirpstack/region_cn779.toml",
"/etc/chirpstack/region_eu433.toml",
"/etc/chirpstack/region_eu868.toml",
"/etc/chirpstack/region_in865.toml",
"/etc/chirpstack/region_ism2400.toml",
"/etc/chirpstack/region_kr920.toml",
"/etc/chirpstack/region_ru864.toml",
"/etc/chirpstack/region_us915_0.toml",
"/etc/chirpstack/region_us915_1.toml",
"/etc/chirpstack/region_us915_2.toml",
"/etc/chirpstack/region_us915_3.toml",
"/etc/chirpstack/region_us915_4.toml",
"/etc/chirpstack/region_us915_5.toml",
"/etc/chirpstack/region_us915_6.toml",
"/etc/chirpstack/region_us915_7.toml",
]
depends = "$auto, golang-cfssl"
suggests = "postgresql, mosquitto, redis"
maintainer-scripts = "debian/"

View File

@ -8,7 +8,13 @@ chmod 640 /etc/chirpstack/*.toml
# Generate certificates
CERTROOT=/etc/chirpstack/certs
cfssl gencert -initca $CERTROOT/ca-csr.json | cfssljson -bare $CERTROOT/ca
cfssl gencert -ca $CERTROOT/ca.pem -ca-key $CERTROOT/ca-key.pem -config $CERTROOT/ca-config.json -profile server $CERTROOT/mqtt-server.json | cfssljson -bare $CERTROOT/mqtt-server
if [ ! -f $CERTROOT/ca.pem ]; then
cfssl gencert -initca $CERTROOT/ca-csr.json | cfssljson -bare $CERTROOT/ca
fi
if [ ! -f $CERTROOT/mqtt-server.pem ]; then
cfssl gencert -ca $CERTROOT/ca.pem -ca-key $CERTROOT/ca-key.pem -config $CERTROOT/ca-config.json -profile server $CERTROOT/mqtt-server.json | cfssljson -bare $CERTROOT/mqtt-server
fi
#DEBHELPER#

View File

@ -3,7 +3,7 @@ name = "lrwn"
description = "Library for encoding / decoding LoRaWAN frames."
homepage = "https://www.chirpstack.io"
license = "MIT"
version = "4.0.0-test.4"
version = "4.0.0-test.5"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2018"
repository = "https://github.com/chirpstack/chirpstack"

View File

@ -1,6 +1,6 @@
{
"name": "chirpstack-ui",
"version": "4.0.0-test.4",
"version": "4.0.0-test.5",
"private": true,
"dependencies": {
"@ant-design/colors": "^6.0.0",