diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-15 17:14:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-15 17:26:33 +0700 |
| commit | 7db8c302e1396eda40cd6a1e57f58ed791448556 (patch) | |
| tree | 89231c859d728deff0582d276f1b809243b6b2f2 /lib/ssh | |
| parent | b1f8d27c7e22eb5624c56e890e51f0a34c7b9606 (diff) | |
| download | pakakeh.go-7db8c302e1396eda40cd6a1e57f58ed791448556.tar.xz | |
all: convert license and copyright to use SPDX identifiers
With help of spdxconv tool [1], we able to bulk update all files license
and copyright format to comply with SPDX formats.
[1] https://kilabit.info/project/spdxconv/
Diffstat (limited to 'lib/ssh')
| -rw-r--r-- | lib/ssh/client_test.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/client.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/client_test.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/dir_entry.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/extensions.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/file_attrs_test.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/file_handle.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/packet.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/sftp.go | 5 | ||||
| -rw-r--r-- | lib/ssh/sftp/sftp_test.go | 3 | ||||
| -rw-r--r-- | lib/ssh/ssh.go | 5 |
11 files changed, 23 insertions, 30 deletions
diff --git a/lib/ssh/client_test.go b/lib/ssh/client_test.go index 09c93577..be0dbe7e 100644 --- a/lib/ssh/client_test.go +++ b/lib/ssh/client_test.go @@ -1,6 +1,5 @@ -// Copyright 2023, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2023 Shulhan <ms@kilabit.info> package ssh diff --git a/lib/ssh/sftp/client.go b/lib/ssh/sftp/client.go index d5db3a3a..b0dae8a3 100644 --- a/lib/ssh/sftp/client.go +++ b/lib/ssh/sftp/client.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/client_test.go b/lib/ssh/sftp/client_test.go index b490e9f6..3162c297 100644 --- a/lib/ssh/sftp/client_test.go +++ b/lib/ssh/sftp/client_test.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/dir_entry.go b/lib/ssh/sftp/dir_entry.go index dd3ef4e3..d7b6cafc 100644 --- a/lib/ssh/sftp/dir_entry.go +++ b/lib/ssh/sftp/dir_entry.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/extensions.go b/lib/ssh/sftp/extensions.go index f6730435..2be87947 100644 --- a/lib/ssh/sftp/extensions.go +++ b/lib/ssh/sftp/extensions.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/file_attrs_test.go b/lib/ssh/sftp/file_attrs_test.go index 2991e2fe..6a285f37 100644 --- a/lib/ssh/sftp/file_attrs_test.go +++ b/lib/ssh/sftp/file_attrs_test.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/file_handle.go b/lib/ssh/sftp/file_handle.go index d20b01b9..b1b7a7f5 100644 --- a/lib/ssh/sftp/file_handle.go +++ b/lib/ssh/sftp/file_handle.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/packet.go b/lib/ssh/sftp/packet.go index 2460e1dd..8fa95c9e 100644 --- a/lib/ssh/sftp/packet.go +++ b/lib/ssh/sftp/packet.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> package sftp diff --git a/lib/ssh/sftp/sftp.go b/lib/ssh/sftp/sftp.go index 5ae85160..e51a022e 100644 --- a/lib/ssh/sftp/sftp.go +++ b/lib/ssh/sftp/sftp.go @@ -1,6 +1,5 @@ -// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 Shulhan <ms@kilabit.info> // Package sftp implement SSH File Transfer Protocol v3 as defined in // [draft-ietf-secsh-filexfer-02.txt]. diff --git a/lib/ssh/sftp/sftp_test.go b/lib/ssh/sftp/sftp_test.go index 5e498352..c0672580 100644 --- a/lib/ssh/sftp/sftp_test.go +++ b/lib/ssh/sftp/sftp_test.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info> + package sftp import ( diff --git a/lib/ssh/ssh.go b/lib/ssh/ssh.go index 757405f4..bd654c34 100644 --- a/lib/ssh/ssh.go +++ b/lib/ssh/ssh.go @@ -1,6 +1,5 @@ -// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: BSD-3-Clause +// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info> // Package ssh provide a wrapper for golang.org/x/crypto/ssh and a parser for // SSH client configuration specification ssh_config(5). |
