Update portbase for improved version info, fix license strings
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
2
go.mod
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user