Update portbase for improved version info, fix license strings

This commit is contained in:
Daniel 2024-04-10 14:08:48 +02:00
parent 6090518124
commit c68aff5a9b
6 changed files with 6 additions and 6 deletions
cmds
hub
notifier
observation-hub
portmaster-core
portmaster-start
go.mod

View file

@ -23,7 +23,7 @@ func init() {
}
func main() {
info.Set("SPN Hub", "0.7.6", "AGPLv3", true)
info.Set("SPN Hub", "0.7.6", "GPLv3")
// Configure metrics.
_ = metrics.SetNamespace("hub")

View file

@ -67,7 +67,7 @@ func main() {
flag.Parse()
// set meta info
info.Set("Portmaster Notifier", "0.3.6", "GPLv3", false)
info.Set("Portmaster Notifier", "0.3.6", "GPLv3")
// check if meta info is ok
err := info.CheckVersion()

View file

@ -18,7 +18,7 @@ import (
)
func main() {
info.Set("SPN Observation Hub", "0.7.1", "AGPLv3", true)
info.Set("SPN Observation Hub", "0.7.1", "GPLv3")
// Configure metrics.
_ = metrics.SetNamespace("observer")

View file

@ -24,7 +24,7 @@ import (
func main() {
// set information
info.Set("Portmaster", "1.6.5", "AGPLv3", true)
info.Set("Portmaster", "", "GPLv3")
// Set default log level.
log.SetLogLevel(log.WarningLevel)

View file

@ -83,7 +83,7 @@ func main() {
cobra.OnInitialize(initCobra)
// set meta info
info.Set("Portmaster Start", "1.6.0", "AGPLv3", false)
info.Set("Portmaster Start", "", "GPLv3")
// catch interrupt for clean shutdown
signalCh := make(chan os.Signal, 2)

2
go.mod
View file

@ -33,7 +33,7 @@ require (
github.com/r3labs/diff/v3 v3.0.1
github.com/rot256/pblind v0.0.0-20231024115251-cd3f239f28c1
github.com/safing/jess v0.3.3
github.com/safing/portbase v0.19.0
github.com/safing/portbase v0.19.1
github.com/safing/portmaster-android/go v0.0.0-20230830120134-3226ceac3bec
github.com/shirou/gopsutil v3.21.11+incompatible
github.com/spf13/cobra v1.8.0