aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/_cart/iris.dsv.license3
-rw-r--r--cmd/_cart/main.go6
-rw-r--r--cmd/_cascaded-random-forest/main.go6
-rw-r--r--cmd/_cascaded-random-forest/phoneme.dsv.license3
-rw-r--r--cmd/_gofilemode/main.go6
-rw-r--r--cmd/_lnsmote/main.go6
-rw-r--r--cmd/_lnsmote/phoneme.dsv.license3
-rw-r--r--cmd/_random-forest/iris.dsv.license3
-rw-r--r--cmd/_random-forest/main.go6
-rw-r--r--cmd/_random-forest/phoneme.dsv.license3
-rw-r--r--cmd/_smote/main.go6
-rw-r--r--cmd/_smote/phoneme.dsv.license3
-rw-r--r--cmd/ansua/README.md6
-rw-r--r--cmd/bcrypt/main.go4
-rw-r--r--cmd/emaildecode/main.go6
-rw-r--r--cmd/epoch/main.go6
-rw-r--r--cmd/gofmtcomment/main.go6
-rw-r--r--cmd/httpdfs/main.go6
-rw-r--r--cmd/ini/main.go6
-rw-r--r--cmd/sendemail/body.html.license3
-rw-r--r--cmd/sendemail/body.txt.license3
-rw-r--r--cmd/sendemail/main.go4
-rw-r--r--cmd/smtpcli/client.go6
-rw-r--r--cmd/smtpcli/main.go6
-rw-r--r--cmd/smtpcli/testdata/email_full.emf.license3
-rw-r--r--cmd/smtpcli/testdata/email_in.emf.license3
-rw-r--r--cmd/smtpcli/testdata/email_out.emf.license3
-rw-r--r--cmd/smtpcli/testdata/group_in.emf.license3
-rw-r--r--cmd/totp/main.go4
-rw-r--r--cmd/xtrk/main.go6
30 files changed, 96 insertions, 42 deletions
diff --git a/cmd/_cart/iris.dsv.license b/cmd/_cart/iris.dsv.license
new file mode 100644
index 00000000..aef1f2fa
--- /dev/null
+++ b/cmd/_cart/iris.dsv.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/_cart/main.go b/cmd/_cart/main.go
index fa9bba8d..83dd6f71 100644
--- a/cmd/_cart/main.go
+++ b/cmd/_cart/main.go
@@ -1,6 +1,6 @@
-// Copyright 2016 Mhd Sulhan <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-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package main
diff --git a/cmd/_cascaded-random-forest/main.go b/cmd/_cascaded-random-forest/main.go
index be687c22..6d39d2d6 100644
--- a/cmd/_cascaded-random-forest/main.go
+++ b/cmd/_cascaded-random-forest/main.go
@@ -1,6 +1,6 @@
-// Copyright 2016 Mhd Sulhan <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-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package main
diff --git a/cmd/_cascaded-random-forest/phoneme.dsv.license b/cmd/_cascaded-random-forest/phoneme.dsv.license
new file mode 100644
index 00000000..aef1f2fa
--- /dev/null
+++ b/cmd/_cascaded-random-forest/phoneme.dsv.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/_gofilemode/main.go b/cmd/_gofilemode/main.go
index 9cceb9fc..2f6b352d 100644
--- a/cmd/_gofilemode/main.go
+++ b/cmd/_gofilemode/main.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Program gofilemode inspect the Go file mode [1].
// Usage,
diff --git a/cmd/_lnsmote/main.go b/cmd/_lnsmote/main.go
index ecd14a31..d21dd430 100644
--- a/cmd/_lnsmote/main.go
+++ b/cmd/_lnsmote/main.go
@@ -1,6 +1,6 @@
-// Copyright 2016 Mhd Sulhan <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-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package main
diff --git a/cmd/_lnsmote/phoneme.dsv.license b/cmd/_lnsmote/phoneme.dsv.license
new file mode 100644
index 00000000..aef1f2fa
--- /dev/null
+++ b/cmd/_lnsmote/phoneme.dsv.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/_random-forest/iris.dsv.license b/cmd/_random-forest/iris.dsv.license
new file mode 100644
index 00000000..aef1f2fa
--- /dev/null
+++ b/cmd/_random-forest/iris.dsv.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/_random-forest/main.go b/cmd/_random-forest/main.go
index 11641d18..25b2ec9d 100644
--- a/cmd/_random-forest/main.go
+++ b/cmd/_random-forest/main.go
@@ -1,6 +1,6 @@
-// Copyright 2016 Mhd Sulhan <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-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package main
diff --git a/cmd/_random-forest/phoneme.dsv.license b/cmd/_random-forest/phoneme.dsv.license
new file mode 100644
index 00000000..aef1f2fa
--- /dev/null
+++ b/cmd/_random-forest/phoneme.dsv.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/_smote/main.go b/cmd/_smote/main.go
index 29c310ce..3cea6da9 100644
--- a/cmd/_smote/main.go
+++ b/cmd/_smote/main.go
@@ -1,6 +1,6 @@
-// Copyright 2016 Mhd Sulhan <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-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package main
diff --git a/cmd/_smote/phoneme.dsv.license b/cmd/_smote/phoneme.dsv.license
new file mode 100644
index 00000000..aef1f2fa
--- /dev/null
+++ b/cmd/_smote/phoneme.dsv.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/ansua/README.md b/cmd/ansua/README.md
index f44d5780..1ff616f1 100644
--- a/cmd/ansua/README.md
+++ b/cmd/ansua/README.md
@@ -1,3 +1,9 @@
+<!--
+SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
+-->
+
# ansua
ansua is a command line interface to help tracking time.
diff --git a/cmd/bcrypt/main.go b/cmd/bcrypt/main.go
index 73d2bd65..73b11136 100644
--- a/cmd/bcrypt/main.go
+++ b/cmd/bcrypt/main.go
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
// Command bcrypt implements command-line interface to generate and compare
// bcrypt hash.
package main
diff --git a/cmd/emaildecode/main.go b/cmd/emaildecode/main.go
index 4bf69511..17085213 100644
--- a/cmd/emaildecode/main.go
+++ b/cmd/emaildecode/main.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Program emaildecode convert the email body from quoted-printable to plain
// text.
diff --git a/cmd/epoch/main.go b/cmd/epoch/main.go
index 04198908..dee39785 100644
--- a/cmd/epoch/main.go
+++ b/cmd/epoch/main.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Program epoch print the current date and time (Unix seconds, milliseconds,
// nanoseconds, local time, and UTC time) or the date and time based on the
diff --git a/cmd/gofmtcomment/main.go b/cmd/gofmtcomment/main.go
index 7f914ffc..430413e4 100644
--- a/cmd/gofmtcomment/main.go
+++ b/cmd/gofmtcomment/main.go
@@ -1,6 +1,6 @@
-// Copyright 2018, 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-FileCopyrightText: 2018 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Command gofmtcomment is a program to convert "/**/" comment into "//".
package main
diff --git a/cmd/httpdfs/main.go b/cmd/httpdfs/main.go
index 92b32650..c2f377ac 100644
--- a/cmd/httpdfs/main.go
+++ b/cmd/httpdfs/main.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Program httpdfs implement [libhttp.Server] with [memfs.MemFS].
package main
diff --git a/cmd/ini/main.go b/cmd/ini/main.go
index dff05c35..2ef02a93 100644
--- a/cmd/ini/main.go
+++ b/cmd/ini/main.go
@@ -1,6 +1,6 @@
-// Copyright 2022, 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-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Command ini provide a command line interface to get and set values in the
// [INI file format].
diff --git a/cmd/sendemail/body.html.license b/cmd/sendemail/body.html.license
new file mode 100644
index 00000000..3911dd1e
--- /dev/null
+++ b/cmd/sendemail/body.html.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/sendemail/body.txt.license b/cmd/sendemail/body.txt.license
new file mode 100644
index 00000000..3911dd1e
--- /dev/null
+++ b/cmd/sendemail/body.txt.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/sendemail/main.go b/cmd/sendemail/main.go
index 97460e2b..ab8f7b16 100644
--- a/cmd/sendemail/main.go
+++ b/cmd/sendemail/main.go
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
// Program sendemail is command line interface that use lib/email and lib/smtp
// to send email.
package main
diff --git a/cmd/smtpcli/client.go b/cmd/smtpcli/client.go
index 70c7b392..7ab1d75c 100644
--- a/cmd/smtpcli/client.go
+++ b/cmd/smtpcli/client.go
@@ -1,6 +1,6 @@
-// Copyright 2019, 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-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package main
diff --git a/cmd/smtpcli/main.go b/cmd/smtpcli/main.go
index 7fc5107c..3c319c05 100644
--- a/cmd/smtpcli/main.go
+++ b/cmd/smtpcli/main.go
@@ -1,6 +1,6 @@
-// Copyright 2019, 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-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Command smtpcli provide a command line interface to SMTP client protocol.
// This is an example of implementation Client from
diff --git a/cmd/smtpcli/testdata/email_full.emf.license b/cmd/smtpcli/testdata/email_full.emf.license
new file mode 100644
index 00000000..4c22e3a9
--- /dev/null
+++ b/cmd/smtpcli/testdata/email_full.emf.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/smtpcli/testdata/email_in.emf.license b/cmd/smtpcli/testdata/email_in.emf.license
new file mode 100644
index 00000000..4c22e3a9
--- /dev/null
+++ b/cmd/smtpcli/testdata/email_in.emf.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/smtpcli/testdata/email_out.emf.license b/cmd/smtpcli/testdata/email_out.emf.license
new file mode 100644
index 00000000..4c22e3a9
--- /dev/null
+++ b/cmd/smtpcli/testdata/email_out.emf.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/smtpcli/testdata/group_in.emf.license b/cmd/smtpcli/testdata/group_in.emf.license
new file mode 100644
index 00000000..4c22e3a9
--- /dev/null
+++ b/cmd/smtpcli/testdata/group_in.emf.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
+
+SPDX-License-Identifier: BSD-3-Clause
diff --git a/cmd/totp/main.go b/cmd/totp/main.go
index bdd59ee2..764e1311 100644
--- a/cmd/totp/main.go
+++ b/cmd/totp/main.go
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
// Program totp generate Time-based One-time Password from secret key.
// This is just an example of implementation of [lib/totp]
// See [gotp] for a complete implementation that support encryption.
diff --git a/cmd/xtrk/main.go b/cmd/xtrk/main.go
index 994ba4ca..9d415ace 100644
--- a/cmd/xtrk/main.go
+++ b/cmd/xtrk/main.go
@@ -1,6 +1,6 @@
-// Copyright 2022, 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-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Command xtrk is command line interface to uncompress and/or unarchive a
// file.