Skip to content

Commit

Permalink
chore(license): update license signature (daeuniverse#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumire88 authored Jan 4, 2024
1 parent cd91190 commit 3184aa5
Show file tree
Hide file tree
Showing 118 changed files with 219 additions and 107 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ repos:
entry: gofmt -w .
language: golang
types: [go]
# - id: check-x
# name: Check X
# entry: ./bin/check-x.sh
# language: script
# files: \.x$
- id: check-license-signature
name: license-signature-automation
entry: ./hack/maintenance/append_license_signature.sh
language: script
files: \.go$
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
# Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
#

# The development version of clang is distributed as the 'clang' binary,
Expand Down
7 changes: 6 additions & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd

import (
Expand Down Expand Up @@ -31,7 +36,7 @@ func init() {
rootCmd.Version = strings.Join([]string{
Version,
fmt.Sprintf("go runtime %v %v/%v", runtime.Version(), runtime.GOOS, runtime.GOARCH),
"Copyright (c) 2023 dae",
"Copyright (c) 2022-2024 dae",
"License GNU AGPLv3 <https://github.com/daeuniverse/dae/blob/main/LICENSE>",
}, "\n")
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/export.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd
Expand Down
2 changes: 1 addition & 1 deletion cmd/honk.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd
Expand Down
5 changes: 5 additions & 0 deletions cmd/internal/su.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package internal

import (
Expand Down
2 changes: 1 addition & 1 deletion cmd/reload.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd
Expand Down
5 changes: 5 additions & 0 deletions cmd/run.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd

import (
Expand Down
2 changes: 1 addition & 1 deletion cmd/suspend.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd
Expand Down
2 changes: 1 addition & 1 deletion cmd/validate.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package cmd
Expand Down
2 changes: 1 addition & 1 deletion common/assets/assets.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package assets
Expand Down
2 changes: 1 addition & 1 deletion common/bitlist/bitlist.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package bitlist
Expand Down
2 changes: 1 addition & 1 deletion common/bitlist/bitlist_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package bitlist
Expand Down
5 changes: 5 additions & 0 deletions common/consts/app.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts

var (
Expand Down
2 changes: 1 addition & 1 deletion common/consts/control.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts
Expand Down
2 changes: 1 addition & 1 deletion common/consts/dialer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts
Expand Down
2 changes: 1 addition & 1 deletion common/consts/dns.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts
Expand Down
2 changes: 1 addition & 1 deletion common/consts/ebpf.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts
Expand Down
5 changes: 5 additions & 0 deletions common/consts/net.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts

const (
Expand Down
2 changes: 1 addition & 1 deletion common/consts/routing.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package consts
Expand Down
2 changes: 1 addition & 1 deletion common/debug.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package common
Expand Down
2 changes: 1 addition & 1 deletion common/json/fuzzy_decoder.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package json
Expand Down
2 changes: 1 addition & 1 deletion common/netutils/context_dialer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package netutils
Expand Down
2 changes: 1 addition & 1 deletion common/netutils/dns.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package netutils
Expand Down
9 changes: 7 additions & 2 deletions common/netutils/dnsconfig_unix.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris

/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

// Modified from go1.18/src/net/dnsconfig_unix.go

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris

// Read system DNS config from /etc/resolv.conf

package netutils
Expand Down
2 changes: 1 addition & 1 deletion common/netutils/ip46.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package netutils
Expand Down
5 changes: 5 additions & 0 deletions common/netutils/ip46_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package netutils

import (
Expand Down
2 changes: 1 addition & 1 deletion common/netutils/url.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package netutils
Expand Down
2 changes: 1 addition & 1 deletion common/subscription/subscription.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package subscription
Expand Down
2 changes: 1 addition & 1 deletion common/utils.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package common
Expand Down
2 changes: 1 addition & 1 deletion component/dns/dns.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dns
Expand Down
2 changes: 1 addition & 1 deletion component/dns/function_parser.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dns
Expand Down
2 changes: 1 addition & 1 deletion component/dns/request_routing.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dns
Expand Down
2 changes: 1 addition & 1 deletion component/dns/response_routing.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dns
Expand Down
2 changes: 1 addition & 1 deletion component/dns/upstream.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dns
Expand Down
2 changes: 1 addition & 1 deletion component/outbound/dialer/alive_dialer_set.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer
Expand Down
5 changes: 5 additions & 0 deletions component/outbound/dialer/annotation.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer

import (
Expand Down
2 changes: 1 addition & 1 deletion component/outbound/dialer/block.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer
Expand Down
2 changes: 1 addition & 1 deletion component/outbound/dialer/connectivity_check.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer
Expand Down
5 changes: 5 additions & 0 deletions component/outbound/dialer/dialer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer

import (
Expand Down
5 changes: 5 additions & 0 deletions component/outbound/dialer/direct.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer

import (
Expand Down
2 changes: 1 addition & 1 deletion component/outbound/dialer/latencies_n.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer
Expand Down
2 changes: 1 addition & 1 deletion component/outbound/dialer/register.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer
Expand Down
2 changes: 1 addition & 1 deletion component/outbound/dialer/sockopt.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, daeuniverse Organization <[email protected]>
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer
Expand Down
5 changes: 5 additions & 0 deletions component/outbound/dialer/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <[email protected]>
*/

package dialer

import "time"
Expand Down
Loading

0 comments on commit 3184aa5

Please sign in to comment.