diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:04:45 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:08:56 +0100 |
commit | 78bf8c7316230d7da2ad6554854773b9f0cc6ed8 (patch) | |
tree | f35b4ff8a835d7b115e47cee7916c0e301ea986c /dev-haskell/tls | |
parent | dev-haskell/crypton-x509-validation: new package, add 1.6.12 (diff) | |
download | gentoo-78bf8c7316230d7da2ad6554854773b9f0cc6ed8.tar.gz gentoo-78bf8c7316230d7da2ad6554854773b9f0cc6ed8.tar.bz2 gentoo-78bf8c7316230d7da2ad6554854773b9f0cc6ed8.zip |
dev-haskell/tls: add 1.8.0
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/tls')
-rw-r--r-- | dev-haskell/tls/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/tls/metadata.xml | 7 | ||||
-rw-r--r-- | dev-haskell/tls/tls-1.8.0.ebuild | 47 |
3 files changed, 52 insertions, 3 deletions
diff --git a/dev-haskell/tls/Manifest b/dev-haskell/tls/Manifest index 9bbb248882ae..801ee54266fb 100644 --- a/dev-haskell/tls/Manifest +++ b/dev-haskell/tls/Manifest @@ -1 +1,2 @@ DIST tls-1.5.8.tar.gz 157923 BLAKE2B b6b1259f6950e15fcba584690f59fd66a1a597490cbcb76e7199c48677f0df00e86f27f12e0c02210ba83cac110346aec6e7afb460f7e9721f275d146040cac5 SHA512 81d0046aeb6342c5dcd3827d9315793b68436a4eec7c9bcae50f4b5b5365248c7c874addca77a50a19689f535386330435b5914386306a3f12d699a5fad1107a +DIST tls-1.8.0.tar.gz 159360 BLAKE2B 7d8a022e0a7f8953e47bf81eb923ad278f0b4350d537d35c2948532f082fe52d299076208083224252a0270698b2e76bc48e8c638edb5d2fe2a49f224e876c86 SHA512 23463ebbe331e02ed3b8d9c5a4e7dccc0b921898709c600e4a0a7b50575029c00ddbdbe6e3a44ffb094059cae377cb388b55be53ab847a1843989359200894b3 diff --git a/dev-haskell/tls/metadata.xml b/dev-haskell/tls/metadata.xml index 6d71914e07ff..c1257b35797f 100644 --- a/dev-haskell/tls/metadata.xml +++ b/dev-haskell/tls/metadata.xml @@ -20,10 +20,11 @@ ciphers, compressions and certificates functions. </longdescription> <use> - <flag name="compat">Accept SSLv2 compatible handshake.</flag> - <flag name="network">Use the base network library.</flag> + <flag name="compat">Accept SSLv2 client hello for beginning SSLv3 / TLS handshake</flag> + <flag name="network">Use the base network library</flag> </use> <upstream> - <remote-id type="github">vincenthz/hs-tls</remote-id> + <remote-id type="hackage">tls</remote-id> + <remote-id type="github">haskell-tls/hs-tls</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/tls/tls-1.8.0.ebuild b/dev-haskell/tls/tls-1.8.0.ebuild new file mode 100644 index 000000000000..51e08cb1b176 --- /dev/null +++ b/dev-haskell/tls/tls-1.8.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: -hans + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="TLS/SSL protocol native implementation (Server and Client)" +HOMEPAGE="https://github.com/haskell-tls/hs-tls" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+compat +network" + +RDEPEND="dev-haskell/asn1-encoding:=[profile?] + >=dev-haskell/asn1-types-0.2.0:=[profile?] + >=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/cereal-0.5.3:=[profile?] + dev-haskell/crypton:=[profile?] + >=dev-haskell/crypton-x509-1.7.5:=[profile?] + >=dev-haskell/crypton-x509-store-1.6:=[profile?] + >=dev-haskell/crypton-x509-validation-1.6.5:=[profile?] + dev-haskell/data-default-class:=[profile?] + >=dev-haskell/memory-0.14.6:=[profile?] + dev-haskell/unix-time:=[profile?] + >=dev-lang/ghc-8.8.1:= + network? ( >=dev-haskell/network-2.4.0.0:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/hourglass + dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag compat compat) \ + --flag=-hans \ + $(cabal_flag network network) +} |