diff --git a/crypton-connection.cabal b/crypton-connection.cabal new file mode 100644 index 0000000..fc50c3b --- /dev/null +++ b/crypton-connection.cabal @@ -0,0 +1,45 @@ +Name: crypton-connection +Version: 0.3.2 +x-revision: 1 +Description: + Simple network library for all your connection need. + . + Features: Really simple to use, SSL/TLS, SOCKS. + . + This library provides a very simple api to create sockets + to a destination with the choice of SSL/TLS, and SOCKS. +License: BSD3 +License-file: LICENSE +Copyright: Vincent Hanquez +Author: Vincent Hanquez +Maintainer: Kazu Yamamoto +Synopsis: Simple and easy network connections API +Build-Type: Simple +Category: Network +stability: experimental +Cabal-Version: >=1.10 +Homepage: https://github.com/kazu-yamamoto/crypton-connection +extra-source-files: README.md + CHANGELOG.md + +Library + Default-Language: Haskell2010 + Build-Depends: base >= 3 && < 5 + , basement + , bytestring + , containers + , data-default-class + , network >= 2.6.3 + , tls >= 1.7 && <2.1.0 + , socks >= 0.6 + , crypton-x509 >= 1.5 + , crypton-x509-store >= 1.5 + , crypton-x509-system >= 1.5 + , crypton-x509-validation >= 1.5 + Exposed-modules: Network.Connection + Other-modules: Network.Connection.Types + ghc-options: -Wall + +source-repository head + type: git + location: https://github.com/kazu-yamamoto/crypton-connection diff --git a/ghc-crypton-connection.changes b/ghc-crypton-connection.changes index 656b772..7d74eb6 100644 --- a/ghc-crypton-connection.changes +++ b/ghc-crypton-connection.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jun 29 21:31:10 UTC 2024 - Peter Simons + +- Update crypton-connection to version 0.3.2 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Mon Feb 5 07:09:15 UTC 2024 - Peter Simons diff --git a/ghc-crypton-connection.spec b/ghc-crypton-connection.spec index 6644cd4..ff1e1a0 100644 --- a/ghc-crypton-connection.spec +++ b/ghc-crypton-connection.spec @@ -25,6 +25,7 @@ Summary: Simple and easy network connections API License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof @@ -90,6 +91,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build