|
|
|
|
Name: pontarius-xmpp
|
|
|
|
|
Version: 0.2.0.1
|
|
|
|
|
Cabal-Version: >= 1.4
|
|
|
|
|
Build-Type: Simple
|
|
|
|
|
License: BSD3
|
|
|
|
|
License-File: LICENSE.md
|
|
|
|
|
Copyright: Dmitry Astapov, Pierre Kovalev, Mahdi Abdinejadi, Jon Kristensen,
|
|
|
|
|
IETF Trust, Philipp Balzarek
|
|
|
|
|
Author: Jon Kristensen, Mahdi Abdinejadi, 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.2.0.1.tar.gz
|
|
|
|
|
Synopsis: An incomplete XMPP client implementation
|
|
|
|
|
Description: Pontarius XMPP is a work in progress implementation of RFC 6120
|
|
|
|
|
("XMPP CORE"), RFC 6121 ("XMPP IM"), and RFC 6122 ("XMPP ADDR").
|
|
|
|
|
Category: Network
|
|
|
|
|
Tested-With: GHC >=7.0.1 && <=7.6.3
|
|
|
|
|
|
|
|
|
|
Extra-Source-Files: README.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
|
|
|
|
|
|
|
|
|
|
-- The only different between the below two blocks is that the first one caps
|
|
|
|
|
-- the range for the `bytestring' package, and that the second one includes
|
|
|
|
|
-- `template-haskell' for GHC 7.6.1 and above.
|
|
|
|
|
|
|
|
|
|
Build-Depends: attoparsec >=0.10.0.3
|
|
|
|
|
, base >4 && <5
|
|
|
|
|
, base64-bytestring >=0.1.0.0
|
|
|
|
|
, binary >=0.4.1
|
|
|
|
|
, conduit >=1.0.1
|
|
|
|
|
, containers >=0.5.0.0
|
|
|
|
|
, crypto-api >=0.9
|
|
|
|
|
, crypto-random-api >=0.2
|
|
|
|
|
, cryptohash >=0.6.1
|
|
|
|
|
, cryptohash-cryptoapi >=0.1
|
|
|
|
|
, data-default >=0.2
|
|
|
|
|
, dns >=0.3.0
|
|
|
|
|
, hslogger >=1.1.0
|
|
|
|
|
, iproute >=1.2.4
|
|
|
|
|
, lifted-base >=0.1.0.1
|
|
|
|
|
, mtl >=2.0.0.0
|
|
|
|
|
, network >=2.4.1.0
|
|
|
|
|
, pureMD5 >=2.1.2.1
|
|
|
|
|
, resourcet >=0.3.0
|
|
|
|
|
, random >=1.0.0.0
|
|
|
|
|
, split >=0.1.2.3
|
|
|
|
|
, stm >=2.1.2.1
|
|
|
|
|
, stringprep >=0.1.3
|
|
|
|
|
, text >=0.11.1.5
|
|
|
|
|
, tls >=1.1.0
|
|
|
|
|
, tls-extra >=0.5.0
|
|
|
|
|
, transformers >=0.2.2.0
|
|
|
|
|
, void >=0.5.5
|
|
|
|
|
, xml-types >=0.3.1
|
|
|
|
|
, xml-conduit >=1.0
|
|
|
|
|
, xml-picklers >=0.3.3
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
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.Roster
|
|
|
|
|
, Network.Xmpp.IM.Roster.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
|
|
|
|
|
|
|
|
|
|
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.2.0.1
|