diff options
author | joe <joe@jerkface.net> | 2017-11-13 18:15:17 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-11-13 18:15:17 -0500 |
commit | 2d2a7d8fc074a2ea8442534cab78481a70b43781 (patch) | |
tree | c5b7a5f0895de45ef1ec6647e0de654fd7e0758b /presence.cabal.bak | |
parent | ac35b0b19f74ffa4c4176f8b54b7d60ce2442391 (diff) |
Updated cabal file to build xmpp-enabled daemon.
Diffstat (limited to 'presence.cabal.bak')
-rw-r--r-- | presence.cabal.bak | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/presence.cabal.bak b/presence.cabal.bak new file mode 100644 index 00000000..81ca59b2 --- /dev/null +++ b/presence.cabal.bak | |||
@@ -0,0 +1,156 @@ | |||
1 | name: presence | ||
2 | version: 0.0.1 | ||
3 | cabal-version: >=1.10 | ||
4 | build-type: Simple | ||
5 | license: AllRightsReserved | ||
6 | synopsis: XMPP Server which detects unix logins | ||
7 | description: When users login to your localhost, their presence is detected and announced | ||
8 | to connected xmpp clients. presence is a modern XMPP variant of the old Unix Talk | ||
9 | program. Eventually, this will be expanded to become a peer-to-peer service allowing | ||
10 | xmpp instant messaging between separate computers as well. And somewhere down the | ||
11 | road, extended again to make use of Jingle to facilitate VOIP. | ||
12 | author: Joe Crayne | ||
13 | data-dir: "" | ||
14 | |||
15 | library | ||
16 | cpp-options: -DRENDERFLUSH | ||
17 | c-sources: Presence/monitortty.c | ||
18 | hs-source-dirs: . Presence | ||
19 | ghc-options: -O2 -fwarn-unused-binds | ||
20 | hs-source-dirs: . Presence | ||
21 | build-depends: | ||
22 | base, | ||
23 | binary, | ||
24 | blaze-builder, | ||
25 | bytestring, | ||
26 | conduit (>=1.0.4), | ||
27 | conduit-extra, | ||
28 | containers, | ||
29 | cpu, | ||
30 | deepseq, | ||
31 | directory, | ||
32 | filepath, | ||
33 | hinotify, | ||
34 | mtl, | ||
35 | network, | ||
36 | process, | ||
37 | random, | ||
38 | resourcet, | ||
39 | stm, | ||
40 | template-haskell, | ||
41 | text (>=0.11.2.0), | ||
42 | time, | ||
43 | transformers, | ||
44 | unix, | ||
45 | void, | ||
46 | xml-conduit, | ||
47 | xml-types | ||
48 | exposed-modules: | ||
49 | ByteStringOperators, | ||
50 | ClientState, | ||
51 | ConfigFiles, | ||
52 | ConnectionKey, | ||
53 | ConsoleWriter, | ||
54 | Control.Concurrent.STM.StatusCache, | ||
55 | Control.Concurrent.STM.UpdateStream, | ||
56 | ControlMaybe, | ||
57 | Data.BitSyntax, | ||
58 | DNSCache, | ||
59 | EventUtil, | ||
60 | FGConsole, | ||
61 | GetHostByAddr, | ||
62 | LocalPeerCred, | ||
63 | LockedChan, | ||
64 | Logging, | ||
65 | Nesting, | ||
66 | Paths, | ||
67 | PeerResolve, | ||
68 | Server, | ||
69 | SockAddr, | ||
70 | SocketLike, | ||
71 | TraversableT, | ||
72 | UTmp, | ||
73 | XMPPServer | ||
74 | |||
75 | executable presence | ||
76 | main-is: xmppServer.hs | ||
77 | buildable: True | ||
78 | cpp-options: -DRENDERFLUSH | ||
79 | hs-source-dirs: . | ||
80 | ghc-options: -O2 -fwarn-unused-binds -threaded | ||
81 | build-depends: | ||
82 | base, presence, | ||
83 | bytestring, | ||
84 | containers, | ||
85 | cpu, | ||
86 | mtl, | ||
87 | network, | ||
88 | resourcet, | ||
89 | stm, | ||
90 | text (>=0.11.2.0), | ||
91 | transformers, | ||
92 | unix, | ||
93 | xml-types | ||
94 | |||
95 | executable whosocket | ||
96 | main-is: whosocket.hs | ||
97 | hs-source-dirs: . | ||
98 | cpp-options: -DRENDERFLUSH | ||
99 | ghc-options: -O2 -fwarn-unused-binds -threaded | ||
100 | build-depends: | ||
101 | base, presence, | ||
102 | bytestring, | ||
103 | cpu, | ||
104 | directory, | ||
105 | network, | ||
106 | unix | ||
107 | |||
108 | executable nalias2 | ||
109 | main-is: nalias2.hs | ||
110 | hs-source-dirs: . | ||
111 | ghc-options: -O2 -fwarn-unused-binds -threaded | ||
112 | build-depends: base, presence, text (>=0.11.2.0) | ||
113 | |||
114 | executable consolation | ||
115 | main-is: consolation.hs | ||
116 | hs-source-dirs: . | ||
117 | ghc-options: -O2 -fwarn-unused-binds -threaded | ||
118 | cpp-options: -DRENDERFLUSH | ||
119 | build-depends: | ||
120 | base, presence, | ||
121 | bytestring, | ||
122 | containers, | ||
123 | cpu, | ||
124 | mtl, | ||
125 | network, | ||
126 | resourcet, | ||
127 | stm, | ||
128 | text (>=0.11.2.0), | ||
129 | transformers, | ||
130 | unix, | ||
131 | xml-types | ||
132 | main-is: xmppServer.hs | ||
133 | |||
134 | executable pwrite | ||
135 | main-is: pwrite.hs | ||
136 | hs-source-dirs: . | ||
137 | ghc-options: -O2 -fwarn-unused-binds -threaded | ||
138 | build-depends: | ||
139 | base, | ||
140 | presence, | ||
141 | text (>=0.11.2.0), | ||
142 | unix | ||
143 | |||
144 | -- [ ] ConduitServer.hs:main = mainC | ||
145 | -- [ ] Control/Concurrent/STM/StatusCache.hs:-- > main = do q <- atomically $ Cache.new (== '(') (==')') | ||
146 | -- [ ] Control/Concurrent/STM/UpdateStream.hs:-- > main = do | ||
147 | -- [ ] Presence/Server.hs:-- > main = runResourceT $ do | ||
148 | -- [ ] Presence/main.hs:main = do | ||
149 | -- [x] consolation.hs:main = do | ||
150 | -- [ ] nalias.hs:main = do | ||
151 | -- [x] nalias2.hs:main = do | ||
152 | -- [x] pwrite.hs:main = do | ||
153 | -- [ ] simplechat.hs:main = do | ||
154 | -- [ ] test-server.hs:main = do | ||
155 | -- [x] whosocket.hs:main = do | ||
156 | -- [x] xmppServer.hs:main = runResourceT $ do | ||