Skip to content

Commit

Permalink
add missing license headers in go files
Browse files Browse the repository at this point in the history
Files copied from caddy carry the original copyright and license, though
we've switched to the shorter (but equivalent) SPDX identifier. Of
those, ones the we further modified for our needs also carry a Tailscale
copyright.

Signed-off-by: Will Norris <[email protected]>
  • Loading branch information
willnorris committed Jun 7, 2024
1 parent d717dd1 commit 26fe45e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 24 deletions.
13 changes: 1 addition & 12 deletions addresses.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// Copyright 2015 Matthew Holt and The Caddy Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// SPDX-License-Identifier: Apache-2.0

package tscaddy

Expand Down
3 changes: 3 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

package tscaddy

// app.go contains App and Node, which provide global configuration for registering Tailscale nodes.
Expand Down
3 changes: 3 additions & 0 deletions app_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

package tscaddy

import (
Expand Down
3 changes: 3 additions & 0 deletions auth.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

package tscaddy

// auth.go contains the TailscaleAuth module and supporting logic.
Expand Down
14 changes: 2 additions & 12 deletions command.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
// Copyright 2015 Matthew Holt and The Caddy Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

package tscaddy

Expand Down
3 changes: 3 additions & 0 deletions module.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

// Package tscaddy provides a set of Caddy modules to integrate Tailscale into Caddy.
package tscaddy

Expand Down
3 changes: 3 additions & 0 deletions module_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

package tscaddy

import (
Expand Down
3 changes: 3 additions & 0 deletions transport.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: Apache-2.0

package tscaddy

// transport.go contains the Transport module.
Expand Down

0 comments on commit 26fe45e

Please sign in to comment.