From 34d7dbd68fc4c61d4dbbd9c4427e5170ea569637 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 23 Dec 2023 22:15:10 +0100 Subject: [PATCH] Add license information to all files --- lib/SlackBuilder/Config.hs | 4 ++++ lib/SlackBuilder/Download.hs | 4 ++++ lib/SlackBuilder/Info.hs | 4 ++++ lib/SlackBuilder/Package.hs | 4 ++++ lib/SlackBuilder/Trans.hs | 4 ++++ slackbuilder.cabal | 2 +- src/Main.hs | 4 ++++ src/SlackBuilder/CommandLine.hs | 4 ++++ src/SlackBuilder/Updater.hs | 4 ++++ 9 files changed, 33 insertions(+), 1 deletion(-) diff --git a/lib/SlackBuilder/Config.hs b/lib/SlackBuilder/Config.hs index 5a0b791..39fabd9 100644 --- a/lib/SlackBuilder/Config.hs +++ b/lib/SlackBuilder/Config.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + -- | Configuration file. module SlackBuilder.Config ( Settings(..) diff --git a/lib/SlackBuilder/Download.hs b/lib/SlackBuilder/Download.hs index 2dc503d..efea720 100644 --- a/lib/SlackBuilder/Download.hs +++ b/lib/SlackBuilder/Download.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + module SlackBuilder.Download ( clone , cloneAndArchive diff --git a/lib/SlackBuilder/Info.hs b/lib/SlackBuilder/Info.hs index 9362820..3e0c839 100644 --- a/lib/SlackBuilder/Info.hs +++ b/lib/SlackBuilder/Info.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + -- | Info file parsing and printing. module SlackBuilder.Info ( PackageInfo(..) diff --git a/lib/SlackBuilder/Package.hs b/lib/SlackBuilder/Package.hs index 0597819..3b3a244 100644 --- a/lib/SlackBuilder/Package.hs +++ b/lib/SlackBuilder/Package.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + module SlackBuilder.Package ( DownloadPlaceholder(..) , Download(..) diff --git a/lib/SlackBuilder/Trans.hs b/lib/SlackBuilder/Trans.hs index 2876691..6186c41 100644 --- a/lib/SlackBuilder/Trans.hs +++ b/lib/SlackBuilder/Trans.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + -- | Transformers and exceptions. module SlackBuilder.Trans ( SlackBuilderException(..) diff --git a/slackbuilder.cabal b/slackbuilder.cabal index d45c35f..ebbf25b 100644 --- a/slackbuilder.cabal +++ b/slackbuilder.cabal @@ -2,7 +2,7 @@ cabal-version: 2.4 name: slackbuilder version: 1.0.0 -synopsis: Slackware build scripts and configuration files. +synopsis: Tool to automatically update Slackware build scripts. bug-reports: https://git.caraus.tech/OSS/slackbuilder/issues license: MPL-2.0 diff --git a/src/Main.hs b/src/Main.hs index f0f9994..1d7e6d9 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + module Main ( main ) where diff --git a/src/SlackBuilder/CommandLine.hs b/src/SlackBuilder/CommandLine.hs index 2a6c2fc..bbd7bad 100644 --- a/src/SlackBuilder/CommandLine.hs +++ b/src/SlackBuilder/CommandLine.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + module SlackBuilder.CommandLine ( GhArguments(..) , SlackBuilderCommand(..) diff --git a/src/SlackBuilder/Updater.hs b/src/SlackBuilder/Updater.hs index 1ebf7fe..0b87d90 100644 --- a/src/SlackBuilder/Updater.hs +++ b/src/SlackBuilder/Updater.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + module SlackBuilder.Updater ( latestGitHub , latestPackagist