mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Update portbase for improved version info, fix license strings
This commit is contained in:
parent
6090518124
commit
c68aff5a9b
6 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
info.Set("SPN Hub", "0.7.6", "AGPLv3", true)
|
info.Set("SPN Hub", "0.7.6", "GPLv3")
|
||||||
|
|
||||||
// Configure metrics.
|
// Configure metrics.
|
||||||
_ = metrics.SetNamespace("hub")
|
_ = metrics.SetNamespace("hub")
|
||||||
|
|
|
@ -67,7 +67,7 @@ func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
// set meta info
|
// 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
|
// check if meta info is ok
|
||||||
err := info.CheckVersion()
|
err := info.CheckVersion()
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
info.Set("SPN Observation Hub", "0.7.1", "AGPLv3", true)
|
info.Set("SPN Observation Hub", "0.7.1", "GPLv3")
|
||||||
|
|
||||||
// Configure metrics.
|
// Configure metrics.
|
||||||
_ = metrics.SetNamespace("observer")
|
_ = metrics.SetNamespace("observer")
|
||||||
|
|
|
@ -24,7 +24,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// set information
|
// set information
|
||||||
info.Set("Portmaster", "1.6.5", "AGPLv3", true)
|
info.Set("Portmaster", "", "GPLv3")
|
||||||
|
|
||||||
// Set default log level.
|
// Set default log level.
|
||||||
log.SetLogLevel(log.WarningLevel)
|
log.SetLogLevel(log.WarningLevel)
|
||||||
|
|
|
@ -83,7 +83,7 @@ func main() {
|
||||||
cobra.OnInitialize(initCobra)
|
cobra.OnInitialize(initCobra)
|
||||||
|
|
||||||
// set meta info
|
// set meta info
|
||||||
info.Set("Portmaster Start", "1.6.0", "AGPLv3", false)
|
info.Set("Portmaster Start", "", "GPLv3")
|
||||||
|
|
||||||
// catch interrupt for clean shutdown
|
// catch interrupt for clean shutdown
|
||||||
signalCh := make(chan os.Signal, 2)
|
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/r3labs/diff/v3 v3.0.1
|
||||||
github.com/rot256/pblind v0.0.0-20231024115251-cd3f239f28c1
|
github.com/rot256/pblind v0.0.0-20231024115251-cd3f239f28c1
|
||||||
github.com/safing/jess v0.3.3
|
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/safing/portmaster-android/go v0.0.0-20230830120134-3226ceac3bec
|
||||||
github.com/shirou/gopsutil v3.21.11+incompatible
|
github.com/shirou/gopsutil v3.21.11+incompatible
|
||||||
github.com/spf13/cobra v1.8.0
|
github.com/spf13/cobra v1.8.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue