From d6b0acf8075cf85bc46f7d4b52ca413fcbe890f1 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Sun, 10 Nov 2024 17:51:53 +1100 Subject: [PATCH] Update copyright headers --- Sources/apk/Common/ApkRequirement.swift | 5 ++++- Sources/apk/Common/ApkVersionSpecification.swift | 5 ++++- Sources/apk/Index/ApkIndex.swift | 5 ++++- Sources/apk/Index/ApkIndexDependency.swift | 5 ++++- Sources/apk/Index/ApkIndexDigest.swift | 5 ++++- Sources/apk/Index/ApkIndexDownloader.swift | 5 ++++- Sources/apk/Index/ApkIndexInstallIf.swift | 5 ++++- Sources/apk/Index/ApkIndexPackage.swift | 5 ++++- Sources/apk/Index/ApkIndexProvides.swift | 5 ++++- Sources/apk/Index/ApkIndexRequirementRef.swift | 5 ++++- Sources/apk/Index/ApkIndexUpdate.swift | 5 ++++- Sources/apk/Index/ApkRawIndex.swift | 5 ++++- Sources/apk/Utility/FileInputStream.swift | 5 ++++- Sources/apk/Utility/InputStream.swift | 5 ++++- Sources/apk/Utility/MemoryInputStream.swift | 5 ++++- Sources/apk/Utility/Stream.swift | 5 ++++- Sources/apk/Utility/TarMemoryReader.swift | 5 ++++- Sources/apk/Utility/TextInputStream.swift | 5 ++++- Sources/dpk-cli/CommandLine.swift | 5 ++++- Sources/dpk-cli/Subcommands/DpkInstallCommand.swift | 5 ++++- Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift | 5 ++++- Sources/dpk-cli/Subcommands/DpkUpdateCommand.swift | 5 ++++- Sources/dpk-cli/Subcommands/DpkUpgradeCommand.swift | 5 ++++- 23 files changed, 92 insertions(+), 23 deletions(-) diff --git a/Sources/apk/Common/ApkRequirement.swift b/Sources/apk/Common/ApkRequirement.swift index 26467fd..244ca1b 100644 --- a/Sources/apk/Common/ApkRequirement.swift +++ b/Sources/apk/Common/ApkRequirement.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Common/ApkVersionSpecification.swift b/Sources/apk/Common/ApkVersionSpecification.swift index 559698f..7d1f7d9 100644 --- a/Sources/apk/Common/ApkVersionSpecification.swift +++ b/Sources/apk/Common/ApkVersionSpecification.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ enum ApkVersionSpecification: Equatable { case any diff --git a/Sources/apk/Index/ApkIndex.swift b/Sources/apk/Index/ApkIndex.swift index e0d225b..76ff75f 100644 --- a/Sources/apk/Index/ApkIndex.swift +++ b/Sources/apk/Index/ApkIndex.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ struct ApkIndex { let packages: [ApkIndexPackage] diff --git a/Sources/apk/Index/ApkIndexDependency.swift b/Sources/apk/Index/ApkIndexDependency.swift index 59e021b..f59bc99 100644 --- a/Sources/apk/Index/ApkIndexDependency.swift +++ b/Sources/apk/Index/ApkIndexDependency.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Index/ApkIndexDigest.swift b/Sources/apk/Index/ApkIndexDigest.swift index 52be76d..5b2b747 100644 --- a/Sources/apk/Index/ApkIndexDigest.swift +++ b/Sources/apk/Index/ApkIndexDigest.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation import Algorithms diff --git a/Sources/apk/Index/ApkIndexDownloader.swift b/Sources/apk/Index/ApkIndexDownloader.swift index b08139c..730aebf 100644 --- a/Sources/apk/Index/ApkIndexDownloader.swift +++ b/Sources/apk/Index/ApkIndexDownloader.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Index/ApkIndexInstallIf.swift b/Sources/apk/Index/ApkIndexInstallIf.swift index 85bbaac..e9ddbf5 100644 --- a/Sources/apk/Index/ApkIndexInstallIf.swift +++ b/Sources/apk/Index/ApkIndexInstallIf.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ struct ApkIndexInstallIf: ApkIndexRequirementRef { let name: String diff --git a/Sources/apk/Index/ApkIndexPackage.swift b/Sources/apk/Index/ApkIndexPackage.swift index 818b590..795c045 100644 --- a/Sources/apk/Index/ApkIndexPackage.swift +++ b/Sources/apk/Index/ApkIndexPackage.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Index/ApkIndexProvides.swift b/Sources/apk/Index/ApkIndexProvides.swift index eb54e05..6f20dd6 100644 --- a/Sources/apk/Index/ApkIndexProvides.swift +++ b/Sources/apk/Index/ApkIndexProvides.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ struct ApkIndexProvides: ApkIndexRequirementRef { let name: String diff --git a/Sources/apk/Index/ApkIndexRequirementRef.swift b/Sources/apk/Index/ApkIndexRequirementRef.swift index d7136f4..5c483ed 100644 --- a/Sources/apk/Index/ApkIndexRequirementRef.swift +++ b/Sources/apk/Index/ApkIndexRequirementRef.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ protocol ApkIndexRequirementRef: Equatable, Hashable { var name: String { get } diff --git a/Sources/apk/Index/ApkIndexUpdate.swift b/Sources/apk/Index/ApkIndexUpdate.swift index 6358329..b3b618f 100644 --- a/Sources/apk/Index/ApkIndexUpdate.swift +++ b/Sources/apk/Index/ApkIndexUpdate.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation import SWCompression diff --git a/Sources/apk/Index/ApkRawIndex.swift b/Sources/apk/Index/ApkRawIndex.swift index 9064699..262f5c2 100644 --- a/Sources/apk/Index/ApkRawIndex.swift +++ b/Sources/apk/Index/ApkRawIndex.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Utility/FileInputStream.swift b/Sources/apk/Utility/FileInputStream.swift index e3e0d6e..332d597 100644 --- a/Sources/apk/Utility/FileInputStream.swift +++ b/Sources/apk/Utility/FileInputStream.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Utility/InputStream.swift b/Sources/apk/Utility/InputStream.swift index c8ce16c..5f57c92 100644 --- a/Sources/apk/Utility/InputStream.swift +++ b/Sources/apk/Utility/InputStream.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Utility/MemoryInputStream.swift b/Sources/apk/Utility/MemoryInputStream.swift index 3c820eb..3996d06 100644 --- a/Sources/apk/Utility/MemoryInputStream.swift +++ b/Sources/apk/Utility/MemoryInputStream.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Utility/Stream.swift b/Sources/apk/Utility/Stream.swift index 52ffd75..797a1a9 100644 --- a/Sources/apk/Utility/Stream.swift +++ b/Sources/apk/Utility/Stream.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Utility/TarMemoryReader.swift b/Sources/apk/Utility/TarMemoryReader.swift index 88e00a8..7d97abe 100644 --- a/Sources/apk/Utility/TarMemoryReader.swift +++ b/Sources/apk/Utility/TarMemoryReader.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation diff --git a/Sources/apk/Utility/TextInputStream.swift b/Sources/apk/Utility/TextInputStream.swift index cfb386a..f1782e1 100644 --- a/Sources/apk/Utility/TextInputStream.swift +++ b/Sources/apk/Utility/TextInputStream.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ //FIXME: I don't like this, also SLOWWW struct TextInputStream where InStream.Element == UInt8 { diff --git a/Sources/dpk-cli/CommandLine.swift b/Sources/dpk-cli/CommandLine.swift index 89e86fd..daa1300 100644 --- a/Sources/dpk-cli/CommandLine.swift +++ b/Sources/dpk-cli/CommandLine.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import ArgumentParser diff --git a/Sources/dpk-cli/Subcommands/DpkInstallCommand.swift b/Sources/dpk-cli/Subcommands/DpkInstallCommand.swift index 1dc1746..e1dbef1 100644 --- a/Sources/dpk-cli/Subcommands/DpkInstallCommand.swift +++ b/Sources/dpk-cli/Subcommands/DpkInstallCommand.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import ArgumentParser diff --git a/Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift b/Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift index 750d1e4..e34aa40 100644 --- a/Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift +++ b/Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import ArgumentParser diff --git a/Sources/dpk-cli/Subcommands/DpkUpdateCommand.swift b/Sources/dpk-cli/Subcommands/DpkUpdateCommand.swift index aaae988..153eafc 100644 --- a/Sources/dpk-cli/Subcommands/DpkUpdateCommand.swift +++ b/Sources/dpk-cli/Subcommands/DpkUpdateCommand.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import Foundation import ArgumentParser diff --git a/Sources/dpk-cli/Subcommands/DpkUpgradeCommand.swift b/Sources/dpk-cli/Subcommands/DpkUpgradeCommand.swift index 8a15fd1..eed76e5 100644 --- a/Sources/dpk-cli/Subcommands/DpkUpgradeCommand.swift +++ b/Sources/dpk-cli/Subcommands/DpkUpgradeCommand.swift @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: Apache-2.0 +/* + * darwin-apk © 2024 Gay Pizza Specifications + * SPDX-License-Identifier: Apache-2.0 + */ import ArgumentParser