gameServer/hedgewars-server.cabal
author alfadur
Thu, 28 Mar 2024 00:25:22 +0300
changeset 16033 2871fc57a282
parent 16014 e42d1819b150
permissions -rw-r--r--
fix early room deletion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     1
Name:                hedgewars-server
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
     2
Version:             1.1.0
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     3
Synopsis:            hedgewars server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     4
Description:         hedgewars server
13512
36f3f77e9b1b Switch from http:// to https:// URLs where possible
Wuzzy <Wuzzy2@mail.ru>
parents: 13418
diff changeset
     5
Homepage:            https://www.hedgewars.org/
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     6
License:             GPL-2
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     7
Author:              unC0Rr
11854
0b8f2116aa26 Use regex match for bans
unc0rr
parents: 11838
diff changeset
     8
Maintainer:          a.korotaev@hedgewars.org
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     9
Category:            Game
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    10
Build-type:          Simple
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    11
Cabal-version:       >=1.10
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    12
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    13
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    14
flag officialServer
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    15
  description: Build for official server
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    16
  default:     False
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    17
  manual:      True
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    18
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    19
Executable hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    20
  main-is: hedgewars-server.hs
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    21
  other-modules:
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    22
    Actions
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    23
    ClientIO
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    24
    CommandHelp
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    25
    ConfigFile
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    26
    Consts
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    27
    CoreTypes
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    28
    Data.TConfig
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    29
    EngineInteraction
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    30
    FloodDetection
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    31
    HWProtoChecker
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    32
    HWProtoCore
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    33
    HWProtoInRoomState
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    34
    HWProtoLobbyState
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    35
    HWProtoNEState
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    36
    HandlerUtils
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    37
    JoinsMonitor
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    38
    NetRoutines
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    39
    OfficialServer.DBInteraction
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    40
    Opts
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    41
    RoomsAndClients
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    42
    ServerCore
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    43
    ServerState
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    44
    Store
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    45
    Utils
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    46
    Votes
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    47
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    48
  default-language:    Haskell2010
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    49
13716
9ea58d0134ad Add missing server dependencies to Travis metadata
Wuzzy <Wuzzy2@mail.ru>
parents: 13672
diff changeset
    50
-- Don't forget to update INSTALL.md and .travis.yml when you change these dependencies!
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    51
  Build-depends:
12788
8aa82e350b8e Update cabal file
unc0rr
parents: 12751
diff changeset
    52
    base >= 4.8,
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    53
    binary >= 0.8.5.1,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    54
    bytestring,
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    55
    containers,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    56
    deepseq,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    57
    entropy,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    58
    hslogger,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    59
    mtl >= 2,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    60
    network >= 3.0 && < 3.2,
15917
eb52cf05e454 GameServer: bump network dependency
Sergey Alirzaev <zl29ah@gmail.com>
parents: 15721
diff changeset
    61
    network-bsd >= 2.8.1 && < 2.9,
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    62
    process,
9065
236710128077 add 'random' dependency to server .cabal file (please test)
koda
parents: 7751
diff changeset
    63
    random,
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    64
    regex-tdfa,
11855
ad435d95ca4b - Use sandi instead of dataenc (bugs.debian.org/836686)
unc0rr
parents: 11854
diff changeset
    65
    sandi,
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    66
    SHA,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    67
    time,
10076
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    68
    utf8-string,
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    69
    vector
14341
f081a984da28 Fix gameServer dependency documentation
Wuzzy <Wuzzy2@mail.ru>
parents: 13716
diff changeset
    70
f081a984da28 Fix gameServer dependency documentation
Wuzzy <Wuzzy2@mail.ru>
parents: 13716
diff changeset
    71
-- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
16014
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    72
  if flag(officialServer)
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    73
    build-depends:
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    74
      aeson,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    75
      text >= 1.2,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    76
      yaml >= 0.8.30,
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    77
      zlib >= 0.5.3 && < 0.7
e42d1819b150 Revive cabal build of the game server
Vekhir
parents: 15917
diff changeset
    78
    cpp-options:   -DOFFICIAL_SERVER
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    79
10258
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    80
  if !os(windows)
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    81
    build-depends: unix
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    82
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    83
  ghc-options: -O2
13672
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    84
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    85
Executable checker
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    86
  main-is: OfficialServer/checker.hs
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    87
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    88
  default-language:    Haskell2010
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    89
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    90
  Build-depends:
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    91
    base >= 4.8,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    92
    containers,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    93
    vector,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    94
    bytestring,
15721
27eb5abd5058 update server network
Jens Petersen
parents: 14991
diff changeset
    95
    network >= 2.3,
27eb5abd5058 update server network
Jens Petersen
parents: 14991
diff changeset
    96
    network-bsd,
13672
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    97
    mtl >= 2,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    98
    sandi,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
    99
    hslogger,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   100
    process,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   101
    ConfigFile,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   102
    directory
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   103
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   104
  if !os(windows)
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   105
    build-depends: unix
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   106
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   107
  ghc-options: -O2
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   108
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   109
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13512
diff changeset
   110