summaryrefslogtreecommitdiff
path: root/dev-haskell/tls
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/tls')
-rw-r--r--dev-haskell/tls/Manifest4
-rw-r--r--dev-haskell/tls/metadata.xml21
-rw-r--r--dev-haskell/tls/tls-1.8.0.ebuild47
3 files changed, 54 insertions, 18 deletions
diff --git a/dev-haskell/tls/Manifest b/dev-haskell/tls/Manifest
index 2b91260b4561..09c6d4f496de 100644
--- a/dev-haskell/tls/Manifest
+++ b/dev-haskell/tls/Manifest
@@ -1,3 +1,5 @@
DIST tls-1.5.8.tar.gz 157923 BLAKE2B b6b1259f6950e15fcba584690f59fd66a1a597490cbcb76e7199c48677f0df00e86f27f12e0c02210ba83cac110346aec6e7afb460f7e9721f275d146040cac5 SHA512 81d0046aeb6342c5dcd3827d9315793b68436a4eec7c9bcae50f4b5b5365248c7c874addca77a50a19689f535386330435b5914386306a3f12d699a5fad1107a
+DIST tls-1.8.0.tar.gz 159360 BLAKE2B 7d8a022e0a7f8953e47bf81eb923ad278f0b4350d537d35c2948532f082fe52d299076208083224252a0270698b2e76bc48e8c638edb5d2fe2a49f224e876c86 SHA512 23463ebbe331e02ed3b8d9c5a4e7dccc0b921898709c600e4a0a7b50575029c00ddbdbe6e3a44ffb094059cae377cb388b55be53ab847a1843989359200894b3
EBUILD tls-1.5.8.ebuild 1360 BLAKE2B 6ba4f34332576a29da85f80d89db2fa6e1f9bb510d28d15fc5ab77913cbc73527570065d240a2e0558dca1aea8e0b1b2d2477d7fdcc4490ef77552c1a0c9274b SHA512 9ed0117e8b82f87672f9dc470dcee97380257c18c2b69e8455eeeecf190fd3e77988da0330bd692602336c1a0116f99bbf4848be5796fd9551690df6e8150b4b
-MISC metadata.xml 1117 BLAKE2B fb0e95020ecd969d91024f27d453f419402a9d4d254e71d095f60786ef3bc2e4a3e02319f5ecfdb4b28e7e41efbf8bd47f8b9044c1989cc4bbfd360820d93535 SHA512 4a8173398c4fa2422f6345465c20ba4b1c584b0866d5df3d2d9f5bd207f065a5f1d318dc97d89eda761736c99d9ff003819f6f0da6a0fcfdfb8a36ee4cd270dd
+EBUILD tls-1.8.0.ebuild 1338 BLAKE2B f9a9d414941cda5f53b9c2e43e3a09f05223af26c900dfa5e3425ebb26841dfb4cfd7cb5adc28bdd363d2009b93205c7809a937e22c81c502431d84ea59b806a SHA512 01e85dceb5f25cd94059a1c5ba1fff5db6ec2d9db863ede25c68cef6763e6b7d3a547915c5cbaa5e29384bb509f17fa2907dced0837882c164db1990f7b93337
+MISC metadata.xml 542 BLAKE2B 7c8af60f25c5c6b7b75cd42f3659fdd90124c991636a8a1b30dd16948cee7ca3001834225703e33983b127c4cb7f3a89b42e6f9c136aaec2fa7ddc09eea6fbee SHA512 cdfa7f0b88bcfe4cb9e4e6f2babb9598bf8e5c7c01700f2eba7c7216387cd9aa3a8d4cf24fe10a9fb7d0a02551486d281d04fb8cfa11e37d194c9800c546e510
diff --git a/dev-haskell/tls/metadata.xml b/dev-haskell/tls/metadata.xml
index 6d71914e07ff..bfcf2e4b1016 100644
--- a/dev-haskell/tls/metadata.xml
+++ b/dev-haskell/tls/metadata.xml
@@ -5,25 +5,12 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- Native Haskell TLS and SSL protocol implementation for server and client.
-
- This provides a high-level implementation of a sensitive security protocol,
- eliminating a common set of security issues through the use of the advanced
- type system, high level constructions and common Haskell features.
-
- Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol,
- with only RSA supported for Key Exchange.
-
- Only core protocol available here, have a look at the
- &lt;http://hackage.haskell.org/package/tls-extra/&gt; package for default
- 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)
+}