|
|
|
|
Name: pontarius-xmpp
|
|
|
|
|
Version: 0.4.0.2
|
|
|
|
|
Cabal-Version: >= 1.9.2
|
|
|
|
|
Build-Type: Custom
|
|
|
|
|
License: BSD3
|
|
|
|
|
License-File: LICENSE.md
|
|
|
|
|
Copyright: Dmitry Astapov, Pierre Kovalev, Mahdi Abdinejadi, Jon Kristensen,
|
|
|
|
|
IETF Trust, Philipp Balzarek
|
|
|
|
|
Author: Jon Kristensen, Philipp Balzarek
|
|
|
|
|
Maintainer: info@jonkri.com
|
|
|
|
|
Stability: alpha
|
|
|
|
|
Homepage: https://github.com/pontarius/pontarius-xmpp/
|
|
|
|
|
Bug-Reports: https://github.com/pontarius/pontarius-xmpp/issues/
|
|
|
|
|
Package-URL: http://www.jonkri.com/releases/pontarius-xmpp-0.4.0.2.tar.gz
|
|
|
|
|
Synopsis: An XMPP client library
|
|
|
|
|
Description: Pontarius XMPP is a work in progress implementation of RFC 6120
|
|
|
|
|
("XMPP CORE"), RFC 6121 ("XMPP IM"), and RFC 6122 ("XMPP ADDR").
|
|
|
|
|
While in alpha, Pontarius XMPP works quite well and fulfills most
|
|
|
|
|
requirements of the RFCs.
|
|
|
|
|
Category: Network
|
|
|
|
|
Tested-With: GHC ==7.6.3
|
|
|
|
|
|
|
|
|
|
Extra-Source-Files: README.md
|
|
|
|
|
, ChangeLog.md
|
|
|
|
|
, examples/echoclient/echoclient.cabal
|
|
|
|
|
, examples/echoclient/LICENSE.md
|
|
|
|
|
, examples/echoclient/Main.hs
|
|
|
|
|
, examples/echoclient/README.md
|
|
|
|
|
, examples/echoclient/Setup.hs
|
|
|
|
|
|
|
|
|
|
Flag with-th {
|
|
|
|
|
Description: Enable Template Haskell support
|
|
|
|
|
Default: True
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Library
|
|
|
|
|
hs-source-dirs: source
|
|
|
|
|
Exposed: True
|
|
|
|
|
Build-Depends: attoparsec >=0.10.0.3
|
|
|
|
|
, base >4 && <5
|
|
|
|
|
, base64-bytestring >=0.1.0.0
|
|
|
|
|
, binary >=0.4.1
|
|
|
|
|
, conduit >=1.0.1 && < 1.2
|
|
|
|
|
, containers >=0.4.0.0
|
|
|
|
|
, crypto-api >=0.9
|
|
|
|
|
, crypto-random >=0.0.5
|
|
|
|
|
, cryptohash >=0.6.1
|
|
|
|
|
, cryptohash-cryptoapi >=0.1
|
|
|
|
|
, data-default >=0.2
|
|
|
|
|
, dns >=0.3.0
|
|
|
|
|
, exceptions >= 0.6
|
|
|
|
|
, hslogger >=1.1.0
|
|
|
|
|
, iproute >=1.2.4
|
|
|
|
|
, lens-family
|
|
|
|
|
, lifted-base >=0.1.0.1
|
|
|
|
|
, mtl >=2.0.0.0
|
|
|
|
|
, network >=2.3.1.0
|
|
|
|
|
, profunctors >= 4
|
|
|
|
|
, pureMD5 >=2.1.2.1
|
|
|
|
|
, random >=1.0.0.0
|
|
|
|
|
, resourcet >=0.3.0
|
|
|
|
|
, split >=0.1.2.3
|
|
|
|
|
, stm >=2.4
|
|
|
|
|
, stringprep >=1.0.0
|
|
|
|
|
, text >=0.11.1.5
|
|
|
|
|
, tls >=1.2
|
|
|
|
|
, transformers >=0.4
|
|
|
|
|
, unbounded-delays >=0.1
|
|
|
|
|
, void >=0.5.5
|
|
|
|
|
, x509-system >=1.4
|
|
|
|
|
, xml-conduit >=1.1.0.7
|
|
|
|
|
, xml-picklers >=0.3.3
|
|
|
|
|
, xml-types >=0.3.1
|
|
|
|
|
|
|
|
|
|
If impl(ghc ==7.0.1) {
|
|
|
|
|
Build-Depends: bytestring >=0.9.1.9 && <=0.9.2.1
|
|
|
|
|
} Else {
|
|
|
|
|
Build-Depends: bytestring >=0.9.1.9
|
|
|
|
|
}
|
|
|
|
|
If flag(with-th) && impl(ghc >=7.6.1) {
|
|
|
|
|
Build-Depends: template-haskell >=2.5
|
|
|
|
|
}
|
|
|
|
|
Exposed-modules: Network.Xmpp
|
|
|
|
|
, Network.Xmpp.IM
|
Change module structure
We can treat all functions related to SASL negotiation as a submodule
to Pontarius XMPP if there are no dependencies from the internal
Network.Xmpp modules to the SASL functionality. Because of this,
`auth' and `authSimple' were moved from Session.hs to Sasl.hs. As the
bind and the `{urn:ietf:params:xml:ns:xmpp-session}session'
functionality are related only to the SASL negotation functionality,
these functions has been moved to the SASL submodule as well.
As these changes only leaves `connect' in the Session module, it seems
fitting to move `connect' to Network.Xmpp.Stream (not
Network.Xmpp.Connection, as `connect' depends on `startStream').
The internal Network.Xmpp modules (Connection.hs) no longer depend on
the Concurrent submodule. This will decrease the coupling between
Network.Xmpp and the concurrent implementation, making it easier for
developers to replace the concurrent implementation if they wanted to.
As Network.Xmpp.Connection is really a module that breaks the
encapsulation that is Network.Xmpp and the concurrent interface, I
have renamed it Network.Xmpp.Internal. As this frees up the
Network.Xmpp.Connection name, Network.Xmpp.Connection_ can reclaim it.
The high-level "utility" functions of Network.Xmpp.Utilities,
Network.Xmpp.Presence, and Network.Xmpp.Message has been moved to
Network.Xmpp.Utilities. This module contains functions that at most
only depend on the internal Network.Xmpp.Types module, and doesn't
belong in any other module.
The functionality of Jid.hs was moved to Types.hs.
Moved some of the functions of Network.Xmpp.Pickle to
Network.Xmpp.Marshal, and removed the Network.Xmpp.Pickle module.
A module imports diagram corresponding to the one of my last patch
shows the new module structure. I also include a diagram showing
the `Sasl' and `Concurrent' module imports.
13 years ago
|
|
|
, Network.Xmpp.Internal
|
|
|
|
|
, Network.Xmpp.Lens
|
|
|
|
|
Other-modules: Network.Xmpp.Concurrent
|
|
|
|
|
, Network.Xmpp.Concurrent.Basic
|
|
|
|
|
, Network.Xmpp.Concurrent.IQ
|
|
|
|
|
, Network.Xmpp.Concurrent.Message
|
|
|
|
|
, Network.Xmpp.Concurrent.Monad
|
|
|
|
|
, Network.Xmpp.Concurrent.Presence
|
|
|
|
|
, Network.Xmpp.Concurrent.Threads
|
|
|
|
|
, Network.Xmpp.Concurrent.Types
|
|
|
|
|
, Network.Xmpp.IM.Message
|
|
|
|
|
, Network.Xmpp.IM.Presence
|
|
|
|
|
, Network.Xmpp.IM.PresenceTracker
|
|
|
|
|
, Network.Xmpp.IM.Roster
|
|
|
|
|
, Network.Xmpp.IM.Roster.Types
|
|
|
|
|
, Network.Xmpp.IM.PresenceTracker
|
|
|
|
|
, Network.Xmpp.IM.PresenceTracker.Types
|
|
|
|
|
, Network.Xmpp.Marshal
|
|
|
|
|
, Network.Xmpp.Sasl
|
|
|
|
|
, Network.Xmpp.Sasl.Common
|
|
|
|
|
, Network.Xmpp.Sasl.Mechanisms
|
|
|
|
|
, Network.Xmpp.Sasl.Mechanisms.DigestMd5
|
|
|
|
|
, Network.Xmpp.Sasl.Mechanisms.Plain
|
|
|
|
|
, Network.Xmpp.Sasl.Mechanisms.Scram
|
|
|
|
|
, Network.Xmpp.Sasl.StringPrep
|
|
|
|
|
, Network.Xmpp.Sasl.Types
|
|
|
|
|
, Network.Xmpp.Stanza
|
|
|
|
|
, Network.Xmpp.Stream
|
|
|
|
|
, Network.Xmpp.Tls
|
|
|
|
|
, Network.Xmpp.Types
|
|
|
|
|
, Network.Xmpp.Utilities
|
|
|
|
|
|
|
|
|
|
if flag(with-th) && impl(ghc >= 7.6.1)
|
|
|
|
|
CPP-Options: -DWITH_TEMPLATE_HASKELL
|
|
|
|
|
GHC-Options: -Wall -fwarn-tabs
|
|
|
|
|
|
|
|
|
|
Test-Suite tests
|
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
|
main-is: Main.hs
|
|
|
|
|
Build-Depends: base
|
|
|
|
|
, Cabal
|
|
|
|
|
, QuickCheck
|
|
|
|
|
, async
|
|
|
|
|
, async
|
|
|
|
|
, conduit
|
|
|
|
|
, containers
|
|
|
|
|
, data-default
|
|
|
|
|
, derive
|
|
|
|
|
, hslogger
|
|
|
|
|
, hspec
|
|
|
|
|
, hspec-expectations
|
|
|
|
|
, lens
|
|
|
|
|
, network
|
|
|
|
|
, pontarius-xmpp
|
|
|
|
|
, quickcheck-instances
|
|
|
|
|
, ranges
|
|
|
|
|
, smallcheck
|
|
|
|
|
, stm
|
|
|
|
|
, stringprep >= 1.0.0
|
|
|
|
|
, tasty
|
|
|
|
|
, tasty-hspec
|
|
|
|
|
, tasty-hunit
|
|
|
|
|
, tasty-quickcheck
|
|
|
|
|
, tasty-th
|
|
|
|
|
, text
|
|
|
|
|
, transformers
|
|
|
|
|
, xml-picklers
|
|
|
|
|
, xml-types
|
|
|
|
|
HS-Source-Dirs: tests
|
|
|
|
|
Other-modules: Tests.Arbitrary
|
|
|
|
|
, Tests.Arbitrary.Xml
|
|
|
|
|
, Tests.Arbitrary.Xmpp
|
|
|
|
|
ghc-options: -Wall -O2 -fno-warn-orphans
|
|
|
|
|
|
|
|
|
|
Test-Suite doctest
|
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
|
hs-source-dirs: tests
|
|
|
|
|
main-is: Doctest.hs
|
|
|
|
|
GHC-Options: -Wall -threaded
|
|
|
|
|
Build-Depends: base
|
|
|
|
|
, doctest
|
|
|
|
|
, directory
|
|
|
|
|
, filepath
|
|
|
|
|
, QuickCheck
|
|
|
|
|
, derive
|
|
|
|
|
, quickcheck-instances
|
|
|
|
|
|
|
|
|
|
Test-Suite runtests
|
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
|
hs-source-dirs: tests
|
|
|
|
|
main-is: Run.hs
|
|
|
|
|
other-modules: Run.Payload
|
|
|
|
|
GHC-Options: -Wall -threaded
|
|
|
|
|
Build-Depends: base
|
|
|
|
|
, HUnit
|
|
|
|
|
, configurator
|
|
|
|
|
, directory
|
|
|
|
|
, filepath
|
|
|
|
|
, hslogger
|
|
|
|
|
, hspec
|
|
|
|
|
, hspec-expectations
|
|
|
|
|
, mtl
|
|
|
|
|
, network
|
|
|
|
|
, pontarius-xmpp
|
|
|
|
|
, stm
|
|
|
|
|
, text
|
|
|
|
|
, xml-picklers
|
|
|
|
|
, xml-types
|
|
|
|
|
, tasty
|
|
|
|
|
, tasty-hunit
|
|
|
|
|
, tls
|
|
|
|
|
|
|
|
|
|
benchmark benchmarks
|
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
build-depends: base
|
|
|
|
|
, criterion
|
|
|
|
|
, pontarius-xmpp
|
|
|
|
|
hs-source-dirs: benchmarks
|
|
|
|
|
main-is: Bench.hs
|
|
|
|
|
ghc-options: -O2
|
|
|
|
|
|
|
|
|
|
Source-Repository head
|
|
|
|
|
Type: git
|
|
|
|
|
Location: git://github.com/pontarius/pontarius-xmpp.git
|
|
|
|
|
|
|
|
|
|
Source-Repository this
|
|
|
|
|
Type: git
|
|
|
|
|
Location: git://github.com/pontarius/pontarius-xmpp.git
|
|
|
|
|
Tag: 0.4.0.2
|