Update org import paths

This commit is contained in:
Daniel
2019-07-02 15:12:31 +02:00
parent 619e11d8e1
commit 9741bc412e
108 changed files with 274 additions and 274 deletions

View File

@@ -4,7 +4,7 @@ import (
"context"
"sync"
"github.com/Safing/portbase/log"
"github.com/safing/portbase/log"
)
var (

View File

@@ -1,7 +1,7 @@
package profile
import (
"github.com/Safing/portbase/database"
"github.com/safing/portbase/database"
)
// core:profiles/user/12345-1234-125-1234-1235

View File

@@ -1,7 +1,7 @@
package profile
import (
"github.com/Safing/portmaster/status"
"github.com/safing/portmaster/status"
)
func makeDefaultGlobalProfile() *Profile {

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/Safing/portmaster/intel"
"github.com/safing/portmaster/intel"
)
// Endpoints is a list of permitted or denied endpoints.

View File

@@ -4,7 +4,7 @@ import (
"net"
"testing"
"github.com/Safing/portbase/utils/testutils"
"github.com/safing/portbase/utils/testutils"
)
func testEndpointDomainMatch(t *testing.T, ep *EndpointPermission, domain string, expectedResult EPResult) {

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/Safing/portmaster/status"
"github.com/safing/portmaster/status"
)
// Flags are used to quickly add common attributes to profiles

View File

@@ -3,7 +3,7 @@ package profile
import (
"testing"
"github.com/Safing/portmaster/status"
"github.com/safing/portmaster/status"
)
func TestProfileFlags(t *testing.T) {

View File

@@ -9,7 +9,7 @@ package profile
// "regexp"
// "strings"
//
// "github.com/Safing/portbase/log"
// "github.com/safing/portbase/log"
// )
//
// type Framework struct {

View File

@@ -4,7 +4,7 @@ import (
"path/filepath"
"strings"
"github.com/Safing/portbase/utils"
"github.com/safing/portbase/utils"
)
// GetPathIdentifier returns the identifier from the given path

View File

@@ -6,8 +6,8 @@ import (
"fmt"
"sync"
"github.com/Safing/portbase/database/record"
"github.com/Safing/portbase/utils"
"github.com/safing/portbase/database/record"
"github.com/safing/portbase/utils"
)
// ProfileIndex links an Identifier to Profiles

View File

@@ -1,13 +1,13 @@
package index
import (
"github.com/Safing/portbase/database"
"github.com/Safing/portbase/database/query"
"github.com/Safing/portbase/database/record"
"github.com/Safing/portbase/log"
"github.com/Safing/portbase/modules"
"github.com/safing/portbase/database"
"github.com/safing/portbase/database/query"
"github.com/safing/portbase/database/record"
"github.com/safing/portbase/log"
"github.com/safing/portbase/modules"
"github.com/Safing/portmaster/profile"
"github.com/safing/portmaster/profile"
)
// FIXME: listen for profile changes and update the index

View File

@@ -1,7 +1,7 @@
package matching
import (
"github.com/Safing/portbase/database"
"github.com/safing/portbase/database"
)
// core:profiles/user/12345-1234-125-1234-1235

View File

@@ -3,8 +3,8 @@ package matcher
import (
"strings"
"github.com/Safing/portmaster/process"
"github.com/Safing/portmaster/profile"
"github.com/safing/portmaster/process"
"github.com/safing/portmaster/profile"
)
// CheckFingerprints checks what fingerprints match and returns the total score.

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
"github.com/Safing/portmaster/process"
"github.com/Safing/portmaster/profile"
"github.com/safing/portmaster/process"
"github.com/safing/portmaster/profile"
)
// GetIdentificationPath returns the identifier for the given process (linux edition).

View File

@@ -3,7 +3,7 @@ package matcher
import (
"testing"
"github.com/Safing/portmaster/process"
"github.com/safing/portmaster/process"
)
func TestGetIdentifierLinux(t *testing.T) {

View File

@@ -4,10 +4,10 @@ import (
"fmt"
"strings"
"github.com/Safing/portbase/log"
"github.com/Safing/portmaster/process"
"github.com/Safing/portmaster/profile"
"github.com/Safing/portmaster/profile/index"
"github.com/safing/portbase/log"
"github.com/safing/portmaster/process"
"github.com/safing/portmaster/profile"
"github.com/safing/portmaster/profile/index"
)
// GetProfileSet finds a local profile.

View File

@@ -1,10 +1,10 @@
package profile
import (
"github.com/Safing/portbase/modules"
"github.com/safing/portbase/modules"
// module dependencies
_ "github.com/Safing/portmaster/core"
_ "github.com/safing/portmaster/core"
)
var (

View File

@@ -7,8 +7,8 @@ import (
uuid "github.com/satori/go.uuid"
"github.com/Safing/portbase/database/record"
"github.com/Safing/portmaster/status"
"github.com/safing/portbase/database/record"
"github.com/safing/portmaster/status"
)
var (

View File

@@ -5,7 +5,7 @@ import (
"net"
"sync"
"github.com/Safing/portmaster/status"
"github.com/safing/portmaster/status"
)
var (

View File

@@ -5,8 +5,8 @@ import (
"testing"
"time"
"github.com/Safing/portbase/utils/testutils"
"github.com/Safing/portmaster/status"
"github.com/safing/portbase/utils/testutils"
"github.com/safing/portmaster/status"
)
var (

View File

@@ -3,7 +3,7 @@ package profile
import (
"sync"
"github.com/Safing/portbase/database"
"github.com/safing/portbase/database"
)
var (

View File

@@ -4,9 +4,9 @@ import (
"strings"
"sync/atomic"
"github.com/Safing/portbase/database"
"github.com/Safing/portbase/database/query"
"github.com/Safing/portbase/log"
"github.com/safing/portbase/database"
"github.com/safing/portbase/database/query"
"github.com/safing/portbase/log"
)
func initUpdateListener() error {