summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2019-06-30 11:07:59 -0400
committerClint Adams <clint@debian.org>2019-06-30 11:07:59 -0400
commit2e668b8a7befac97a4fd4c1d928fc55a4f3eefc3 (patch)
treeff4cebce1ee05fd4fe6640f696b4632b395ff667
parent0734e5bbe64e1daeaea74cc29a6631d84cf6c3e1 (diff)
switch license to MIT/Expat
-rw-r--r--Codec/Encryption/OpenPGP/ASCIIArmor.hs2
-rw-r--r--Codec/Encryption/OpenPGP/ASCIIArmor/Decode.hs2
-rw-r--r--Codec/Encryption/OpenPGP/ASCIIArmor/Encode.hs2
-rw-r--r--Codec/Encryption/OpenPGP/ASCIIArmor/Multipart.hs2
-rw-r--r--Codec/Encryption/OpenPGP/ASCIIArmor/Types.hs2
-rw-r--r--Codec/Encryption/OpenPGP/ASCIIArmor/Utils.hs2
-rw-r--r--Data/Digest/CRC24.hs2
-rw-r--r--LICENSE31
-rw-r--r--bench/mark.hs2
-rw-r--r--dist/build/autogen/Paths_openpgp_asciiarmor.hs50
-rw-r--r--dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs50
-rw-r--r--dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs50
-rw-r--r--openpgp-asciiarmor.cabal4
13 files changed, 178 insertions, 23 deletions
diff --git a/Codec/Encryption/OpenPGP/ASCIIArmor.hs b/Codec/Encryption/OpenPGP/ASCIIArmor.hs
index e38738a..e37fdd6 100644
--- a/Codec/Encryption/OpenPGP/ASCIIArmor.hs
+++ b/Codec/Encryption/OpenPGP/ASCIIArmor.hs
@@ -1,6 +1,6 @@
1-- ASCIIArmor.hs: OpenPGP (RFC4880) ASCII armor implementation 1-- ASCIIArmor.hs: OpenPGP (RFC4880) ASCII armor implementation
2-- Copyright © 2012 Clint Adams 2-- Copyright © 2012 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6module Codec.Encryption.OpenPGP.ASCIIArmor ( 6module Codec.Encryption.OpenPGP.ASCIIArmor (
diff --git a/Codec/Encryption/OpenPGP/ASCIIArmor/Decode.hs b/Codec/Encryption/OpenPGP/ASCIIArmor/Decode.hs
index 5d28e46..bd5941e 100644
--- a/Codec/Encryption/OpenPGP/ASCIIArmor/Decode.hs
+++ b/Codec/Encryption/OpenPGP/ASCIIArmor/Decode.hs
@@ -1,7 +1,7 @@
1{-# LANGUAGE OverloadedStrings #-} 1{-# LANGUAGE OverloadedStrings #-}
2-- ASCIIArmor/Decode.hs: OpenPGP (RFC4880) ASCII armor implementation 2-- ASCIIArmor/Decode.hs: OpenPGP (RFC4880) ASCII armor implementation
3-- Copyright © 2012-2018 Clint Adams 3-- Copyright © 2012-2018 Clint Adams
4-- This software is released under the terms of the ISC license. 4-- This software is released under the terms of the Expat license.
5-- (See the LICENSE file). 5-- (See the LICENSE file).
6 6
7module Codec.Encryption.OpenPGP.ASCIIArmor.Decode ( 7module Codec.Encryption.OpenPGP.ASCIIArmor.Decode (
diff --git a/Codec/Encryption/OpenPGP/ASCIIArmor/Encode.hs b/Codec/Encryption/OpenPGP/ASCIIArmor/Encode.hs
index cb5b16d..a72914b 100644
--- a/Codec/Encryption/OpenPGP/ASCIIArmor/Encode.hs
+++ b/Codec/Encryption/OpenPGP/ASCIIArmor/Encode.hs
@@ -1,6 +1,6 @@
1-- ASCIIArmor/Encode.hs: OpenPGP (RFC4880) ASCII armor implementation 1-- ASCIIArmor/Encode.hs: OpenPGP (RFC4880) ASCII armor implementation
2-- Copyright © 2012-2018 Clint Adams 2-- Copyright © 2012-2018 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6module Codec.Encryption.OpenPGP.ASCIIArmor.Encode ( 6module Codec.Encryption.OpenPGP.ASCIIArmor.Encode (
diff --git a/Codec/Encryption/OpenPGP/ASCIIArmor/Multipart.hs b/Codec/Encryption/OpenPGP/ASCIIArmor/Multipart.hs
index 0334c7e..b4cb2e6 100644
--- a/Codec/Encryption/OpenPGP/ASCIIArmor/Multipart.hs
+++ b/Codec/Encryption/OpenPGP/ASCIIArmor/Multipart.hs
@@ -1,6 +1,6 @@
1-- ASCIIArmor/Multipart.hs: OpenPGP (RFC4880) ASCII armor implementation 1-- ASCIIArmor/Multipart.hs: OpenPGP (RFC4880) ASCII armor implementation
2-- Copyright © 2012 Clint Adams 2-- Copyright © 2012 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6module Codec.Encryption.OpenPGP.ASCIIArmor.Multipart ( 6module Codec.Encryption.OpenPGP.ASCIIArmor.Multipart (
diff --git a/Codec/Encryption/OpenPGP/ASCIIArmor/Types.hs b/Codec/Encryption/OpenPGP/ASCIIArmor/Types.hs
index bcc74a2..7f6cf7b 100644
--- a/Codec/Encryption/OpenPGP/ASCIIArmor/Types.hs
+++ b/Codec/Encryption/OpenPGP/ASCIIArmor/Types.hs
@@ -1,6 +1,6 @@
1-- ASCIIArmor/Decode.hs: OpenPGP (RFC4880) ASCII armor implementation 1-- ASCIIArmor/Decode.hs: OpenPGP (RFC4880) ASCII armor implementation
2-- Copyright © 2012 Clint Adams 2-- Copyright © 2012 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6module Codec.Encryption.OpenPGP.ASCIIArmor.Types ( 6module Codec.Encryption.OpenPGP.ASCIIArmor.Types (
diff --git a/Codec/Encryption/OpenPGP/ASCIIArmor/Utils.hs b/Codec/Encryption/OpenPGP/ASCIIArmor/Utils.hs
index 8dacc70..f1068fe 100644
--- a/Codec/Encryption/OpenPGP/ASCIIArmor/Utils.hs
+++ b/Codec/Encryption/OpenPGP/ASCIIArmor/Utils.hs
@@ -1,6 +1,6 @@
1-- ASCIIArmor/Utils.hs: OpenPGP (RFC4880) ASCII armor implementation 1-- ASCIIArmor/Utils.hs: OpenPGP (RFC4880) ASCII armor implementation
2-- Copyright © 2012 Clint Adams 2-- Copyright © 2012 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6module Codec.Encryption.OpenPGP.ASCIIArmor.Utils ( 6module Codec.Encryption.OpenPGP.ASCIIArmor.Utils (
diff --git a/Data/Digest/CRC24.hs b/Data/Digest/CRC24.hs
index 4fbb9b1..379820e 100644
--- a/Data/Digest/CRC24.hs
+++ b/Data/Digest/CRC24.hs
@@ -1,6 +1,6 @@
1-- CRC24.hs: OpenPGP (RFC4880) CRC24 implementation 1-- CRC24.hs: OpenPGP (RFC4880) CRC24 implementation
2-- Copyright © 2012-2019 Clint Adams 2-- Copyright © 2012-2019 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6module Data.Digest.CRC24 ( 6module Data.Digest.CRC24 (
diff --git a/LICENSE b/LICENSE
index f37d724..0f7d7ad 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,15 +1,20 @@
1Copyright © 2012 Clint Adams <clint@debian.org> 1Copyright © 2012-2019 Clint Adams <clint@debian.org>
2 2
3Permission to use, copy, modify, and/or distribute this software 3Permission is hereby granted, free of charge, to any person obtaining
4for any purpose with or without fee is hereby granted, provided 4a copy of this software and associated documentation files (the
5that the above copyright notice and this permission notice appear 5"Software"), to deal in the Software without restriction, including
6in all copies. 6without limitation the rights to use, copy, modify, merge, publish,
7distribute, sublicense, and/or sell copies of the Software, and to
8permit persons to whom the Software is furnished to do so, subject to
9the following conditions:
7 10
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11The above copyright notice and this permission notice shall be
9WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12included in all copies or substantial portions of the Software.
10WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13
11AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR 14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20THE SOFTWARE.
diff --git a/bench/mark.hs b/bench/mark.hs
index cf1f20f..607b9ee 100644
--- a/bench/mark.hs
+++ b/bench/mark.hs
@@ -1,6 +1,6 @@
1-- mark.hs: openpgp-asciiarmor benchmark suite 1-- mark.hs: openpgp-asciiarmor benchmark suite
2-- Copyright © 2018-2019 Clint Adams 2-- Copyright © 2018-2019 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the Expat license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
6{-# LANGUAGE FlexibleContexts, OverloadedStrings #-} 6{-# LANGUAGE FlexibleContexts, OverloadedStrings #-}
diff --git a/dist/build/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/autogen/Paths_openpgp_asciiarmor.hs
new file mode 100644
index 0000000..9fb1a00
--- /dev/null
+++ b/dist/build/autogen/Paths_openpgp_asciiarmor.hs
@@ -0,0 +1,50 @@
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE NoRebindableSyntax #-}
3{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
4module Paths_openpgp_asciiarmor (
5 version,
6 getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir,
7 getDataFileName, getSysconfDir
8 ) where
9
10import qualified Control.Exception as Exception
11import Data.Version (Version(..))
12import System.Environment (getEnv)
13import Prelude
14
15#if defined(VERSION_base)
16
17#if MIN_VERSION_base(4,0,0)
18catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
19#else
20catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a
21#endif
22
23#else
24catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
25#endif
26catchIO = Exception.catch
27
28version :: Version
29version = Version [0,1,1] []
30bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath
31
32bindir = "/home/clint/tmp/temp-tardbus/bin"
33libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs"
34dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4"
35datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1"
36libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1"
37sysconfdir = "/home/clint/tmp/temp-tardbus/etc"
38
39getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
40getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir)
41getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir)
42getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir)
43getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir)
44getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir)
45getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir)
46
47getDataFileName :: FilePath -> IO FilePath
48getDataFileName name = do
49 dir <- getDataDir
50 return (dir ++ "/" ++ name)
diff --git a/dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs
new file mode 100644
index 0000000..52173b0
--- /dev/null
+++ b/dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs
@@ -0,0 +1,50 @@
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE NoRebindableSyntax #-}
3{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
4module Paths_openpgp_asciiarmor (
5 version,
6 getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir,
7 getDataFileName, getSysconfDir
8 ) where
9
10import qualified Control.Exception as Exception
11import Data.Version (Version(..))
12import System.Environment (getEnv)
13import Prelude
14
15#if defined(VERSION_base)
16
17#if MIN_VERSION_base(4,0,0)
18catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
19#else
20catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a
21#endif
22
23#else
24catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
25#endif
26catchIO = Exception.catch
27
28version :: Version
29version = Version [0,1,1] []
30bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath
31
32bindir = "/home/clint/tmp/temp-tardbus/bin"
33libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs-benchmark"
34dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4"
35datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1"
36libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1"
37sysconfdir = "/home/clint/tmp/temp-tardbus/etc"
38
39getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
40getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir)
41getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir)
42getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir)
43getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir)
44getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir)
45getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir)
46
47getDataFileName :: FilePath -> IO FilePath
48getDataFileName name = do
49 dir <- getDataDir
50 return (dir ++ "/" ++ name)
diff --git a/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs
new file mode 100644
index 0000000..ff78bf7
--- /dev/null
+++ b/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs
@@ -0,0 +1,50 @@
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE NoRebindableSyntax #-}
3{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
4module Paths_openpgp_asciiarmor (
5 version,
6 getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir,
7 getDataFileName, getSysconfDir
8 ) where
9
10import qualified Control.Exception as Exception
11import Data.Version (Version(..))
12import System.Environment (getEnv)
13import Prelude
14
15#if defined(VERSION_base)
16
17#if MIN_VERSION_base(4,0,0)
18catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
19#else
20catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a
21#endif
22
23#else
24catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
25#endif
26catchIO = Exception.catch
27
28version :: Version
29version = Version [0,1,1] []
30bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath
31
32bindir = "/home/clint/tmp/temp-tardbus/bin"
33libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs-tests"
34dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4"
35datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1"
36libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1"
37sysconfdir = "/home/clint/tmp/temp-tardbus/etc"
38
39getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
40getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir)
41getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir)
42getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir)
43getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir)
44getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir)
45getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir)
46
47getDataFileName :: FilePath -> IO FilePath
48getDataFileName name = do
49 dir <- getDataDir
50 return (dir ++ "/" ++ name)
diff --git a/openpgp-asciiarmor.cabal b/openpgp-asciiarmor.cabal
index ba39e8f..4a7f31d 100644
--- a/openpgp-asciiarmor.cabal
+++ b/openpgp-asciiarmor.cabal
@@ -3,11 +3,11 @@ Version: 0.1.1
3Synopsis: OpenPGP (RFC4880) ASCII Armor codec 3Synopsis: OpenPGP (RFC4880) ASCII Armor codec
4Description: OpenPGP (RFC4880) ASCII Armor codec 4Description: OpenPGP (RFC4880) ASCII Armor codec
5Homepage: http://floss.scru.org/openpgp-asciiarmor 5Homepage: http://floss.scru.org/openpgp-asciiarmor
6License: ISC 6License: MIT
7License-file: LICENSE 7License-file: LICENSE
8Author: Clint Adams 8Author: Clint Adams
9Maintainer: Clint Adams <clint@debian.org> 9Maintainer: Clint Adams <clint@debian.org>
10Copyright: 2012-2018 Clint Adams 10Copyright: 2012-2019 Clint Adams
11Category: Codec, Data 11Category: Codec, Data
12Build-type: Simple 12Build-type: Simple
13Extra-source-files: tests/suite.hs 13Extra-source-files: tests/suite.hs