diff options
author | joe <joe@jerkface.net> | 2016-04-14 23:13:59 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2016-04-14 23:13:59 -0400 |
commit | 7f2bca77eedcd124e2fe37e900ba6b0876a4334e (patch) | |
tree | 0db7303738382345aaa3337702557fbe9664ca7e | |
parent | 47fbb4b70ee6c74937ed4b55540b612aacc3de80 (diff) |
Updated cabal file to build combined library.
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | openpgp-util.cabal | 124 | ||||
-rw-r--r-- | openpgp.cabal.old (renamed from openpgp.cabal) | 0 |
3 files changed, 122 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | This is an OpenPGP library inspired by my work on OpenPGP libraries in | 1 | This is an OpenPGP library inspired by my (Stephen) work on OpenPGP libraries in |
2 | Ruby <https://github.com/singpolyma/openpgp>, | 2 | Ruby <https://github.com/singpolyma/openpgp>, |
3 | PHP <http://github.com/singpolyma/openpgp-php>, | 3 | PHP <http://github.com/singpolyma/openpgp-php>, |
4 | and Python <https://github.com/singpolyma/OpenPGP-Python>. | 4 | and Python <https://github.com/singpolyma/OpenPGP-Python>. |
diff --git a/openpgp-util.cabal b/openpgp-util.cabal index 6bae74a..516b0f4 100644 --- a/openpgp-util.cabal +++ b/openpgp-util.cabal | |||
@@ -25,23 +25,117 @@ description: | |||
25 | . | 25 | . |
26 | > import qualified Data.OpenPGP.Util as OpenPGP | 26 | > import qualified Data.OpenPGP.Util as OpenPGP |
27 | 27 | ||
28 | extra-source-files: | ||
29 | README, | ||
30 | tests/suite.hs, | ||
31 | tests/data/000001-006.public_key, | ||
32 | tests/data/000002-013.user_id, | ||
33 | tests/data/000003-002.sig, | ||
34 | tests/data/000004-012.ring_trust, | ||
35 | tests/data/000005-002.sig, | ||
36 | tests/data/000006-012.ring_trust, | ||
37 | tests/data/000007-002.sig, | ||
38 | tests/data/000008-012.ring_trust, | ||
39 | tests/data/000009-002.sig, | ||
40 | tests/data/000010-012.ring_trust, | ||
41 | tests/data/000011-002.sig, | ||
42 | tests/data/000012-012.ring_trust, | ||
43 | tests/data/000013-014.public_subkey, | ||
44 | tests/data/000014-002.sig, | ||
45 | tests/data/000015-012.ring_trust, | ||
46 | tests/data/000016-006.public_key, | ||
47 | tests/data/000017-002.sig, | ||
48 | tests/data/000018-012.ring_trust, | ||
49 | tests/data/000019-013.user_id, | ||
50 | tests/data/000020-002.sig, | ||
51 | tests/data/000021-012.ring_trust, | ||
52 | tests/data/000022-002.sig, | ||
53 | tests/data/000023-012.ring_trust, | ||
54 | tests/data/000024-014.public_subkey, | ||
55 | tests/data/000025-002.sig, | ||
56 | tests/data/000026-012.ring_trust, | ||
57 | tests/data/000027-006.public_key, | ||
58 | tests/data/000028-002.sig, | ||
59 | tests/data/000029-012.ring_trust, | ||
60 | tests/data/000030-013.user_id, | ||
61 | tests/data/000031-002.sig, | ||
62 | tests/data/000032-012.ring_trust, | ||
63 | tests/data/000033-002.sig, | ||
64 | tests/data/000034-012.ring_trust, | ||
65 | tests/data/000035-006.public_key, | ||
66 | tests/data/000036-013.user_id, | ||
67 | tests/data/000037-002.sig, | ||
68 | tests/data/000038-012.ring_trust, | ||
69 | tests/data/000039-002.sig, | ||
70 | tests/data/000040-012.ring_trust, | ||
71 | tests/data/000041-017.attribute, | ||
72 | tests/data/000042-002.sig, | ||
73 | tests/data/000043-012.ring_trust, | ||
74 | tests/data/000044-014.public_subkey, | ||
75 | tests/data/000045-002.sig, | ||
76 | tests/data/000046-012.ring_trust, | ||
77 | tests/data/000047-005.secret_key, | ||
78 | tests/data/000048-013.user_id, | ||
79 | tests/data/000049-002.sig, | ||
80 | tests/data/000050-012.ring_trust, | ||
81 | tests/data/000051-007.secret_subkey, | ||
82 | tests/data/000052-002.sig, | ||
83 | tests/data/000053-012.ring_trust, | ||
84 | tests/data/000054-005.secret_key, | ||
85 | tests/data/000055-002.sig, | ||
86 | tests/data/000056-012.ring_trust, | ||
87 | tests/data/000057-013.user_id, | ||
88 | tests/data/000058-002.sig, | ||
89 | tests/data/000059-012.ring_trust, | ||
90 | tests/data/000060-007.secret_subkey, | ||
91 | tests/data/000061-002.sig, | ||
92 | tests/data/000062-012.ring_trust, | ||
93 | tests/data/000063-005.secret_key, | ||
94 | tests/data/000064-002.sig, | ||
95 | tests/data/000065-012.ring_trust, | ||
96 | tests/data/000066-013.user_id, | ||
97 | tests/data/000067-002.sig, | ||
98 | tests/data/000068-012.ring_trust, | ||
99 | tests/data/000069-005.secret_key, | ||
100 | tests/data/000070-013.user_id, | ||
101 | tests/data/000071-002.sig, | ||
102 | tests/data/000072-012.ring_trust, | ||
103 | tests/data/000073-017.attribute, | ||
104 | tests/data/000074-002.sig, | ||
105 | tests/data/000075-012.ring_trust, | ||
106 | tests/data/000076-007.secret_subkey, | ||
107 | tests/data/000077-002.sig, | ||
108 | tests/data/000078-012.ring_trust, | ||
109 | tests/data/002182-002.sig, | ||
110 | tests/data/compressedsig-bzip2.gpg, | ||
111 | tests/data/compressedsig.gpg, | ||
112 | tests/data/compressedsig-zlib.gpg, | ||
113 | tests/data/onepass_sig, | ||
114 | tests/data/symmetrically_encrypted, | ||
115 | tests/data/pubring.gpg, | ||
116 | tests/data/secring.gpg, | ||
117 | tests/data/uncompressed-ops-dsa.gpg, | ||
118 | tests/data/uncompressed-ops-dsa-sha384.txt.gpg, | ||
119 | tests/data/uncompressed-ops-rsa.gpg | ||
120 | |||
121 | |||
28 | library | 122 | library |
29 | exposed-modules: | 123 | exposed-modules: |
30 | Data.OpenPGP.Util | 124 | Data.OpenPGP.Util |
125 | Data.OpenPGP | ||
31 | other-modules: | 126 | other-modules: |
127 | Data.OpenPGP.Internal | ||
32 | Data.OpenPGP.Util.Fingerprint | 128 | Data.OpenPGP.Util.Fingerprint |
33 | Data.OpenPGP.Util.Base | 129 | Data.OpenPGP.Util.Base |
34 | Data.OpenPGP.Util.Verify | 130 | Data.OpenPGP.Util.Verify |
35 | Data.OpenPGP.Util.Sign | 131 | Data.OpenPGP.Util.Sign |
36 | Data.OpenPGP.Util.DecryptSecretKey | 132 | Data.OpenPGP.Util.DecryptSecretKey |
37 | |||
38 | build-depends: | 133 | build-depends: |
39 | base == 4.*, | 134 | base == 4.*, |
40 | transformers, | 135 | transformers, |
41 | bytestring, | 136 | bytestring, |
42 | time >= 1.4, | 137 | time >= 1.4, |
43 | binary >= 0.5.1.0, | 138 | binary >= 0.5.1.0, |
44 | openpgp >= 0.4, | ||
45 | crypto-random >= 0.0.7, | 139 | crypto-random >= 0.0.7, |
46 | cryptohash >= 0.7.5, | 140 | cryptohash >= 0.7.5, |
47 | crypto-pubkey >= 0.2.3, | 141 | crypto-pubkey >= 0.2.3, |
@@ -50,7 +144,31 @@ library | |||
50 | byteable, | 144 | byteable, |
51 | crypto-cipher-types >= 0.0.7, | 145 | crypto-cipher-types >= 0.0.7, |
52 | cipher-blowfish, | 146 | cipher-blowfish, |
53 | cipher-aes >= 0.2.5 | 147 | cipher-aes >= 0.2.5, |
148 | utf8-string, | ||
149 | zlib, | ||
150 | bzlib | ||
151 | |||
152 | test-suite tests | ||
153 | type: exitcode-stdio-1.0 | ||
154 | main-is: tests/suite.hs | ||
155 | |||
156 | other-modules: | ||
157 | Data.OpenPGP.Arbitrary | ||
158 | |||
159 | build-depends: | ||
160 | base == 4.*, | ||
161 | bytestring, | ||
162 | utf8-string, | ||
163 | binary >= 0.6.4.0, | ||
164 | zlib, | ||
165 | bzlib, | ||
166 | HUnit, | ||
167 | QuickCheck >= 2.4.1.1, | ||
168 | quickcheck-instances, | ||
169 | test-framework, | ||
170 | test-framework-hunit, | ||
171 | test-framework-quickcheck2 | ||
54 | 172 | ||
55 | 173 | ||
56 | source-repository head | 174 | source-repository head |
diff --git a/openpgp.cabal b/openpgp.cabal.old index c23e4ad..c23e4ad 100644 --- a/openpgp.cabal +++ b/openpgp.cabal.old | |||