Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
bebfc22b5f | ||
|
21128df14e | ||
|
3688177ae4 | ||
|
b643c39baa | ||
|
72a2166740 | ||
|
bba9ebeea7 | ||
|
8260208894 | ||
|
ed3ee5e5d3 | ||
|
ed357eb6da |
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
||||
/websockets-0.12.5.3.tar.gz
|
||||
/websockets-0.12.7.0.tar.gz
|
||||
/websockets-0.12.7.1.tar.gz
|
||||
/websockets-0.12.7.2.tar.gz
|
||||
/websockets-0.12.7.3.tar.gz
|
||||
|
49
changelog
Normal file
49
changelog
Normal file
@ -0,0 +1,49 @@
|
||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.12.7.3-3
|
||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.12.7.3-1
|
||||
- https://hackage.haskell.org/package/websockets-0.12.7.3/changelog
|
||||
|
||||
* Thu Mar 10 2022 Jens Petersen <petersen@redhat.com> - 0.12.7.2-3
|
||||
- rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.12.7.2-1
|
||||
- update to 0.12.7.2
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.12.7.1-1
|
||||
- update to 0.12.7.1
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.12.7.0-1
|
||||
- update to 0.12.7.0
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.5.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.12.5.3-1
|
||||
- update to 0.12.5.3
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.5.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Apr 5 2019 Jens Petersen <petersen@redhat.com> - 0.12.5.2-1
|
||||
- spec file generated by cabal-rpm-0.13.1
|
||||
- exclude deprecated bytestring-builder
|
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.6
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name websockets
|
||||
@ -7,19 +7,37 @@
|
||||
# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.12.7.1
|
||||
Release: 4%{?dist}
|
||||
Version: 0.12.7.3
|
||||
Release: %autorelease
|
||||
Summary: A sensible and clean way to write WebSocket-capable servers in Haskell
|
||||
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-SHA-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base64-bytestring-devel
|
||||
BuildRequires: ghc-binary-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-case-insensitive-devel
|
||||
BuildRequires: ghc-clock-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-entropy-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
BuildRequires: ghc-streaming-commons-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-SHA-prof
|
||||
BuildRequires: ghc-async-prof
|
||||
BuildRequires: ghc-attoparsec-prof
|
||||
@ -35,6 +53,7 @@ BuildRequires: ghc-network-prof
|
||||
BuildRequires: ghc-random-prof
|
||||
BuildRequires: ghc-streaming-commons-prof
|
||||
BuildRequires: ghc-text-prof
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
@ -72,6 +91,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%package doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
BuildArch: noarch
|
||||
Requires: ghc-filesystem
|
||||
|
||||
%description doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
@ -92,6 +112,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
cabal-tweak-drop-dep bytestring-builder
|
||||
|
||||
@ -130,31 +151,4 @@ cabal-tweak-drop-dep bytestring-builder
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.7.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.12.7.1-1
|
||||
- update to 0.12.7.1
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.12.7.0-1
|
||||
- update to 0.12.7.0
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.5.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.12.5.3-1
|
||||
- update to 0.12.5.3
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.5.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Apr 5 2019 Jens Petersen <petersen@redhat.com> - 0.12.5.2-1
|
||||
- spec file generated by cabal-rpm-0.13.1
|
||||
- exclude deprecated bytestring-builder
|
||||
%autochangelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (websockets-0.12.7.1.tar.gz) = 911464ee2726cd2b328b9793aa09d64ec0d342fdc25d05e244717256ea42deb08bc9ee181677939fccf67489caff50c5867c5f0a83e25cfd82a0027f85ad5e54
|
||||
SHA512 (websockets-0.12.7.3.tar.gz) = 9eb9147ff7b545c6e3e859055ff0ca51c16d7e2f0e8603279409b3e74db7ec858c33e586d8f40e3059ac8acf96d8c7502e1b5fe298d3d7fa4cad507e13a2b300
|
||||
|
247
websockets-0.12.7.3.cabal
Normal file
247
websockets-0.12.7.3.cabal
Normal file
@ -0,0 +1,247 @@
|
||||
Name: websockets
|
||||
Version: 0.12.7.3
|
||||
X-revision: 1
|
||||
|
||||
Synopsis:
|
||||
A sensible and clean way to write WebSocket-capable servers in Haskell.
|
||||
|
||||
Description:
|
||||
This library allows you to write WebSocket-capable servers.
|
||||
.
|
||||
An example server:
|
||||
<https://github.com/jaspervdj/websockets/blob/master/example/server.lhs>
|
||||
.
|
||||
An example client:
|
||||
<https://github.com/jaspervdj/websockets/blob/master/example/client.hs>
|
||||
.
|
||||
See also:
|
||||
.
|
||||
* The specification of the WebSocket protocol:
|
||||
<http://www.whatwg.org/specs/web-socket-protocol/>
|
||||
.
|
||||
* The JavaScript API for dealing with WebSockets:
|
||||
<http://www.w3.org/TR/websockets/>
|
||||
|
||||
License: BSD3
|
||||
License-file: LICENCE
|
||||
Copyright: (c) 2010-2011 Siniša Biđin
|
||||
(c) 2011-2018 Jasper Van der Jeugt
|
||||
(c) 2011 Steffen Schuldenzucker
|
||||
(c) 2011 Alex Lang
|
||||
Author: Siniša Biđin <sinisa@bidin.cc>
|
||||
Jasper Van der Jeugt <m@jaspervdj.be>
|
||||
Steffen Schuldenzucker <steffen.schuldenzucker@googlemail.com>
|
||||
Alex Lang <lang@tsurucapital.com>
|
||||
Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
|
||||
Stability: experimental
|
||||
Category: Network
|
||||
Build-type: Simple
|
||||
Cabal-version: >= 1.10
|
||||
|
||||
Homepage: http://jaspervdj.be/websockets
|
||||
Bug-reports: https://github.com/jaspervdj/websockets/issues
|
||||
|
||||
Extra-source-files:
|
||||
CHANGELOG
|
||||
|
||||
Source-repository head
|
||||
Type: git
|
||||
Location: https://github.com/jaspervdj/websockets
|
||||
|
||||
Flag Example
|
||||
Description: Build the example server
|
||||
Default: False
|
||||
Manual: True
|
||||
|
||||
Library
|
||||
Hs-source-dirs: src
|
||||
Ghc-options: -Wall
|
||||
C-sources: cbits/cbits.c
|
||||
Default-language: Haskell2010
|
||||
|
||||
Exposed-modules:
|
||||
Network.WebSockets
|
||||
Network.WebSockets.Client
|
||||
Network.WebSockets.Connection
|
||||
Network.WebSockets.Extensions
|
||||
Network.WebSockets.Stream
|
||||
-- Network.WebSockets.Util.PubSub TODO
|
||||
|
||||
Other-modules:
|
||||
Network.WebSockets.Connection.Options
|
||||
Network.WebSockets.Extensions.Description
|
||||
Network.WebSockets.Extensions.PermessageDeflate
|
||||
Network.WebSockets.Extensions.StrictUnicode
|
||||
Network.WebSockets.Http
|
||||
Network.WebSockets.Hybi13
|
||||
Network.WebSockets.Hybi13.Demultiplex
|
||||
Network.WebSockets.Hybi13.Mask
|
||||
Network.WebSockets.Protocol
|
||||
Network.WebSockets.Server
|
||||
Network.WebSockets.Types
|
||||
|
||||
Build-depends:
|
||||
async >= 2.2 && < 2.3,
|
||||
attoparsec >= 0.10 && < 0.15,
|
||||
base >= 4.8 && < 5,
|
||||
base64-bytestring >= 0.1 && < 1.3,
|
||||
binary >= 0.8.1 && < 0.11,
|
||||
bytestring >= 0.9 && < 0.12,
|
||||
bytestring-builder < 0.11,
|
||||
case-insensitive >= 0.3 && < 1.3,
|
||||
clock >= 0.8 && < 0.9,
|
||||
containers >= 0.3 && < 0.7,
|
||||
network >= 2.3 && < 3.2,
|
||||
random >= 1.0 && < 1.3,
|
||||
SHA >= 1.5 && < 1.7,
|
||||
streaming-commons >= 0.1 && < 0.3,
|
||||
text >= 0.10 && < 2.1,
|
||||
entropy >= 0.2.1 && < 0.5
|
||||
|
||||
Test-suite websockets-tests
|
||||
Type: exitcode-stdio-1.0
|
||||
Hs-source-dirs: src tests/haskell
|
||||
Main-is: TestSuite.hs
|
||||
Ghc-options: -Wall
|
||||
C-sources: cbits/cbits.c
|
||||
Default-language: Haskell2010
|
||||
|
||||
Other-modules:
|
||||
Network.WebSockets
|
||||
Network.WebSockets.Client
|
||||
Network.WebSockets.Connection
|
||||
Network.WebSockets.Connection.Options
|
||||
Network.WebSockets.Extensions
|
||||
Network.WebSockets.Extensions.Description
|
||||
Network.WebSockets.Extensions.PermessageDeflate
|
||||
Network.WebSockets.Extensions.PermessageDeflate.Tests
|
||||
Network.WebSockets.Extensions.StrictUnicode
|
||||
Network.WebSockets.Extensions.Tests
|
||||
Network.WebSockets.Handshake.Tests
|
||||
Network.WebSockets.Http
|
||||
Network.WebSockets.Http.Tests
|
||||
Network.WebSockets.Hybi13
|
||||
Network.WebSockets.Hybi13.Demultiplex
|
||||
Network.WebSockets.Hybi13.Demultiplex.Tests
|
||||
Network.WebSockets.Hybi13.Mask
|
||||
Network.WebSockets.Mask.Tests
|
||||
Network.WebSockets.Protocol
|
||||
Network.WebSockets.Server
|
||||
Network.WebSockets.Server.Tests
|
||||
Network.WebSockets.Stream
|
||||
Network.WebSockets.Tests
|
||||
Network.WebSockets.Tests.Util
|
||||
Network.WebSockets.Types
|
||||
Paths_websockets
|
||||
|
||||
Build-depends:
|
||||
HUnit >= 1.2 && < 1.7,
|
||||
QuickCheck >= 2.7 && < 2.15,
|
||||
test-framework >= 0.4 && < 0.9,
|
||||
test-framework-hunit >= 0.2 && < 0.4,
|
||||
test-framework-quickcheck2 >= 0.2 && < 0.4,
|
||||
-- Copied from regular dependencies...
|
||||
async >= 2.2 && < 2.3,
|
||||
attoparsec >= 0.10 && < 0.15,
|
||||
base >= 4 && < 5,
|
||||
base64-bytestring >= 0.1 && < 1.3,
|
||||
binary >= 0.8.1 && < 0.11,
|
||||
bytestring >= 0.9 && < 0.12,
|
||||
bytestring-builder < 0.11,
|
||||
case-insensitive >= 0.3 && < 1.3,
|
||||
clock >= 0.8 && < 0.9,
|
||||
containers >= 0.3 && < 0.7,
|
||||
network >= 2.3 && < 3.2,
|
||||
random >= 1.0 && < 1.3,
|
||||
SHA >= 1.5 && < 1.7,
|
||||
streaming-commons >= 0.1 && < 0.3,
|
||||
text >= 0.10 && < 2.1,
|
||||
entropy >= 0.2.1 && < 0.5
|
||||
|
||||
Executable websockets-example
|
||||
If !flag(Example)
|
||||
Buildable: False
|
||||
|
||||
Hs-source-dirs: example
|
||||
Main-is: server.lhs
|
||||
Ghc-options: -Wall
|
||||
Default-language: Haskell2010
|
||||
|
||||
Build-depends:
|
||||
websockets,
|
||||
-- Copied from regular dependencies...
|
||||
async >= 2.2 && < 2.3,
|
||||
attoparsec >= 0.10 && < 0.15,
|
||||
base >= 4 && < 5,
|
||||
base64-bytestring >= 0.1 && < 1.3,
|
||||
binary >= 0.8.1 && < 0.11,
|
||||
bytestring >= 0.9 && < 0.12,
|
||||
bytestring-builder < 0.11,
|
||||
case-insensitive >= 0.3 && < 1.3,
|
||||
clock >= 0.8 && < 0.9,
|
||||
containers >= 0.3 && < 0.7,
|
||||
network >= 2.3 && < 3.2,
|
||||
random >= 1.0 && < 1.3,
|
||||
SHA >= 1.5 && < 1.7,
|
||||
text >= 0.10 && < 2.1,
|
||||
entropy >= 0.2.1 && < 0.5
|
||||
|
||||
Executable websockets-autobahn
|
||||
If !flag(Example)
|
||||
Buildable: False
|
||||
|
||||
Hs-source-dirs: tests/autobahn
|
||||
Main-is: server.hs
|
||||
Ghc-options: -Wall -threaded -O2 -rtsopts "-with-rtsopts=-N"
|
||||
Default-language: Haskell2010
|
||||
|
||||
Other-modules:
|
||||
Paths_websockets
|
||||
|
||||
Build-depends:
|
||||
websockets,
|
||||
-- Copied from regular dependencies...
|
||||
async >= 2.2 && < 2.3,
|
||||
attoparsec >= 0.10 && < 0.15,
|
||||
base >= 4 && < 5,
|
||||
base64-bytestring >= 0.1 && < 1.3,
|
||||
binary >= 0.8.1 && < 0.11,
|
||||
bytestring >= 0.9 && < 0.12,
|
||||
bytestring-builder < 0.11,
|
||||
case-insensitive >= 0.3 && < 1.3,
|
||||
clock >= 0.8 && < 0.9,
|
||||
containers >= 0.3 && < 0.7,
|
||||
network >= 2.3 && < 3.2,
|
||||
random >= 1.0 && < 1.3,
|
||||
SHA >= 1.5 && < 1.7,
|
||||
text >= 0.10 && < 2.1,
|
||||
entropy >= 0.2.1 && < 0.5
|
||||
|
||||
Benchmark bench-mask
|
||||
Type: exitcode-stdio-1.0
|
||||
Main-is: mask.hs
|
||||
C-sources: cbits/cbits.c
|
||||
Hs-source-dirs: benchmarks, src
|
||||
Default-language: Haskell2010
|
||||
|
||||
Other-modules:
|
||||
Network.WebSockets.Hybi13.Mask
|
||||
|
||||
Build-depends:
|
||||
criterion,
|
||||
-- Copied from regular dependencies...
|
||||
async >= 2.2 && < 2.3,
|
||||
attoparsec >= 0.10 && < 0.15,
|
||||
base >= 4 && < 5,
|
||||
base64-bytestring >= 0.1 && < 1.3,
|
||||
binary >= 0.8.1 && < 0.11,
|
||||
bytestring >= 0.9 && < 0.12,
|
||||
bytestring-builder < 0.11,
|
||||
case-insensitive >= 0.3 && < 1.3,
|
||||
clock >= 0.8 && < 0.9,
|
||||
containers >= 0.3 && < 0.7,
|
||||
network >= 2.3 && < 3.2,
|
||||
random >= 1.0 && < 1.3,
|
||||
SHA >= 1.5 && < 1.7,
|
||||
text >= 0.10 && < 2.1,
|
||||
entropy >= 0.2.1 && < 0.5
|
Loading…
Reference in New Issue
Block a user