mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* self-repair and prevention of ssl cert renewal bug * bump to 0.2.17 * adjust ui for 0.2.17 * adds db migration * add extra protection around ssl directory target * liftIO
523 lines
11 KiB
Plaintext
523 lines
11 KiB
Plaintext
cabal-version: 1.12
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
|
--
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
name: ambassador-agent
|
|
version: 0.2.17
|
|
build-type: Simple
|
|
extra-source-files:
|
|
./migrations/0.1.0::0.1.0
|
|
./migrations/0.1.0::0.1.1
|
|
./migrations/0.1.1::0.1.2
|
|
./migrations/0.1.2::0.1.3
|
|
./migrations/0.1.3::0.1.4
|
|
./migrations/0.1.4::0.1.5
|
|
./migrations/0.1.5::0.2.0
|
|
./migrations/0.2.0::0.2.1
|
|
./migrations/0.2.10::0.2.11
|
|
./migrations/0.2.11::0.2.12
|
|
./migrations/0.2.12::0.2.13
|
|
./migrations/0.2.13::0.2.14
|
|
./migrations/0.2.14::0.2.15
|
|
./migrations/0.2.15::0.2.16
|
|
./migrations/0.2.16::0.2.17
|
|
./migrations/0.2.1::0.2.2
|
|
./migrations/0.2.2::0.2.3
|
|
./migrations/0.2.3::0.2.4
|
|
./migrations/0.2.4::0.2.5
|
|
./migrations/0.2.5::0.2.6
|
|
./migrations/0.2.6::0.2.7
|
|
./migrations/0.2.7::0.2.8
|
|
./migrations/0.2.8::0.2.9
|
|
./migrations/0.2.9::0.2.10
|
|
|
|
flag dev
|
|
description: Turn on development settings, like auto-reload templates.
|
|
manual: False
|
|
default: False
|
|
|
|
flag disable-auth
|
|
description: disable authorization checks
|
|
manual: False
|
|
default: False
|
|
|
|
flag library-only
|
|
description: Build for use with "yesod devel"
|
|
manual: False
|
|
default: False
|
|
|
|
library
|
|
exposed-modules:
|
|
Application
|
|
Auth
|
|
Constants
|
|
Daemon.AppNotifications
|
|
Daemon.RefreshProcDev
|
|
Daemon.SslRenew
|
|
Daemon.TorHealth
|
|
Daemon.ZeroConf
|
|
Foundation
|
|
Handler.Apps
|
|
Handler.Authenticate
|
|
Handler.Backups
|
|
Handler.Hosts
|
|
Handler.Icons
|
|
Handler.Login
|
|
Handler.Network
|
|
Handler.Notifications
|
|
Handler.PasswordUpdate
|
|
Handler.PowerOff
|
|
Handler.Register
|
|
Handler.Register.Nginx
|
|
Handler.Register.Tor
|
|
Handler.SelfUpdate
|
|
Handler.SshKeys
|
|
Handler.Status
|
|
Handler.Tor
|
|
Handler.Types.Apps
|
|
Handler.Types.HmacSig
|
|
Handler.Types.Hosts
|
|
Handler.Types.Metrics
|
|
Handler.Types.Parse
|
|
Handler.Types.Register
|
|
Handler.Types.V0.Base
|
|
Handler.Types.V0.Specs
|
|
Handler.Types.V0.Ssh
|
|
Handler.Types.V0.Wifi
|
|
Handler.Util
|
|
Handler.V0
|
|
Handler.Wifi
|
|
Lib.Algebra.Domain.AppMgr
|
|
Lib.Algebra.Domain.AppMgr.TH
|
|
Lib.Algebra.Domain.AppMgr.Types
|
|
Lib.Algebra.State.RegistryUrl
|
|
Lib.Avahi
|
|
Lib.Background
|
|
Lib.ClientManifest
|
|
Lib.Crypto
|
|
Lib.Database
|
|
Lib.Error
|
|
Lib.External.AppManifest
|
|
Lib.External.AppMgr
|
|
Lib.External.Metrics.Df
|
|
Lib.External.Metrics.Iotop
|
|
Lib.External.Metrics.ProcDev
|
|
Lib.External.Metrics.Temperature
|
|
Lib.External.Metrics.Top
|
|
Lib.External.Metrics.Types
|
|
Lib.External.Registry
|
|
Lib.External.Specs.Common
|
|
Lib.External.Specs.CPU
|
|
Lib.External.Specs.Memory
|
|
Lib.External.Util
|
|
Lib.External.WpaSupplicant
|
|
Lib.IconCache
|
|
Lib.Metrics
|
|
Lib.Migration
|
|
Lib.Notifications
|
|
Lib.Password
|
|
Lib.ProductKey
|
|
Lib.SelfUpdate
|
|
Lib.Sound
|
|
Lib.Ssh
|
|
Lib.Ssl
|
|
Lib.Synchronizers
|
|
Lib.SystemCtl
|
|
Lib.SystemPaths
|
|
Lib.Tor
|
|
Lib.TyFam.ConditionalData
|
|
Lib.Types.Core
|
|
Lib.Types.Emver
|
|
Lib.Types.Emver.Orphans
|
|
Lib.Types.NetAddress
|
|
Lib.Types.ServerApp
|
|
Lib.Types.Url
|
|
Lib.WebServer
|
|
Model
|
|
Orphans.Digest
|
|
Orphans.UUID
|
|
Settings
|
|
Startlude
|
|
Startlude.ByteStream
|
|
Startlude.ByteStream.Char8
|
|
Util.Conduit
|
|
Util.File
|
|
Util.Function
|
|
Util.Text
|
|
other-modules:
|
|
Paths_ambassador_agent
|
|
hs-source-dirs:
|
|
src
|
|
default-extensions:
|
|
NoImplicitPrelude
|
|
BlockArguments
|
|
ConstraintKinds
|
|
DataKinds
|
|
DeriveAnyClass
|
|
DeriveFunctor
|
|
DeriveGeneric
|
|
DerivingStrategies
|
|
EmptyCase
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
InstanceSigs
|
|
KindSignatures
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
MultiWayIf
|
|
NamedFieldPuns
|
|
NumericUnderscores
|
|
OverloadedStrings
|
|
PolyKinds
|
|
RankNTypes
|
|
StandaloneDeriving
|
|
StandaloneKindSignatures
|
|
TupleSections
|
|
TypeApplications
|
|
TypeFamilies
|
|
TypeOperators
|
|
build-depends:
|
|
aeson
|
|
, aeson-flatten
|
|
, attoparsec
|
|
, base >=4.9.1.0 && <5
|
|
, bytestring
|
|
, casing
|
|
, comonad
|
|
, conduit
|
|
, conduit-extra
|
|
, connection
|
|
, containers
|
|
, cryptonite
|
|
, cryptonite-conduit
|
|
, data-default
|
|
, directory
|
|
, errors
|
|
, exceptions
|
|
, exinst
|
|
, fast-logger
|
|
, file-embed
|
|
, filelock
|
|
, filepath
|
|
, fused-effects
|
|
, fused-effects-th
|
|
, git-embed
|
|
, http-api-data
|
|
, http-client
|
|
, http-client-tls
|
|
, http-conduit
|
|
, http-types
|
|
, interpolate
|
|
, iso8601-time
|
|
, json-rpc
|
|
, lens
|
|
, lens-aeson
|
|
, lifted-async
|
|
, lifted-base
|
|
, memory
|
|
, mime-types
|
|
, monad-control
|
|
, monad-logger
|
|
, network
|
|
, persistent
|
|
, persistent-sqlite
|
|
, persistent-template
|
|
, process
|
|
, process-extras
|
|
, protolude
|
|
, regex-compat
|
|
, resourcet
|
|
, shell-conduit
|
|
, singletons
|
|
, stm
|
|
, streaming
|
|
, streaming-bytestring
|
|
, streaming-conduit
|
|
, streaming-utils
|
|
, tar-conduit
|
|
, template-haskell
|
|
, text >=0.11 && <2.0
|
|
, time
|
|
, transformers
|
|
, transformers-base
|
|
, typed-process
|
|
, unix
|
|
, unliftio
|
|
, unliftio-core
|
|
, unordered-containers
|
|
, uuid
|
|
, wai
|
|
, wai-cors
|
|
, wai-extra
|
|
, warp
|
|
, yaml
|
|
, yesod
|
|
, yesod-auth
|
|
, yesod-core
|
|
, yesod-form
|
|
, yesod-persistent
|
|
if (flag(dev)) || (flag(library-only))
|
|
ghc-options: -Wall -Wunused-packages -fwarn-tabs -O0 -fdefer-typed-holes
|
|
cpp-options: -DDEVELOPMENT
|
|
else
|
|
ghc-options: -Wall -Wunused-packages -fwarn-tabs -O2 -fdefer-typed-holes
|
|
if (flag(disable-auth))
|
|
cpp-options: -DDISABLE_AUTH
|
|
default-language: Haskell2010
|
|
|
|
executable agent
|
|
main-is: main.hs
|
|
hs-source-dirs:
|
|
app
|
|
default-extensions:
|
|
NoImplicitPrelude
|
|
BlockArguments
|
|
ConstraintKinds
|
|
DataKinds
|
|
DeriveAnyClass
|
|
DeriveFunctor
|
|
DeriveGeneric
|
|
DerivingStrategies
|
|
EmptyCase
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
InstanceSigs
|
|
KindSignatures
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
MultiWayIf
|
|
NamedFieldPuns
|
|
NumericUnderscores
|
|
OverloadedStrings
|
|
PolyKinds
|
|
RankNTypes
|
|
StandaloneDeriving
|
|
StandaloneKindSignatures
|
|
TupleSections
|
|
TypeApplications
|
|
TypeFamilies
|
|
TypeOperators
|
|
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fdefer-typed-holes
|
|
build-depends:
|
|
aeson
|
|
, aeson-flatten
|
|
, ambassador-agent
|
|
, attoparsec
|
|
, base >=4.9.1.0 && <5
|
|
, bytestring
|
|
, casing
|
|
, comonad
|
|
, conduit
|
|
, conduit-extra
|
|
, connection
|
|
, containers
|
|
, cryptonite
|
|
, cryptonite-conduit
|
|
, data-default
|
|
, directory
|
|
, errors
|
|
, exceptions
|
|
, exinst
|
|
, fast-logger
|
|
, file-embed
|
|
, filelock
|
|
, filepath
|
|
, fused-effects
|
|
, fused-effects-th
|
|
, git-embed
|
|
, http-api-data
|
|
, http-client
|
|
, http-client-tls
|
|
, http-conduit
|
|
, http-types
|
|
, interpolate
|
|
, iso8601-time
|
|
, json-rpc
|
|
, lens
|
|
, lens-aeson
|
|
, lifted-async
|
|
, lifted-base
|
|
, memory
|
|
, mime-types
|
|
, monad-control
|
|
, monad-logger
|
|
, network
|
|
, persistent
|
|
, persistent-sqlite
|
|
, persistent-template
|
|
, process
|
|
, process-extras
|
|
, protolude
|
|
, regex-compat
|
|
, resourcet
|
|
, shell-conduit
|
|
, singletons
|
|
, stm
|
|
, streaming
|
|
, streaming-bytestring
|
|
, streaming-conduit
|
|
, streaming-utils
|
|
, tar-conduit
|
|
, template-haskell
|
|
, text >=0.11 && <2.0
|
|
, time
|
|
, transformers
|
|
, transformers-base
|
|
, typed-process
|
|
, unix
|
|
, unliftio
|
|
, unliftio-core
|
|
, unordered-containers
|
|
, uuid
|
|
, wai
|
|
, wai-cors
|
|
, wai-extra
|
|
, warp
|
|
, yaml
|
|
, yesod
|
|
, yesod-auth
|
|
, yesod-core
|
|
, yesod-form
|
|
, yesod-persistent
|
|
if flag(library-only)
|
|
buildable: False
|
|
default-language: Haskell2010
|
|
|
|
test-suite agent-test
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
other-modules:
|
|
ChecklistSpec
|
|
Lib.External.AppManifestSpec
|
|
Lib.SoundSpec
|
|
Lib.Types.EmverProp
|
|
Live.Metrics
|
|
Live.Serialize
|
|
Spec
|
|
hs-source-dirs:
|
|
test
|
|
default-extensions:
|
|
NoImplicitPrelude
|
|
BlockArguments
|
|
ConstraintKinds
|
|
DataKinds
|
|
DeriveAnyClass
|
|
DeriveFunctor
|
|
DeriveGeneric
|
|
DerivingStrategies
|
|
EmptyCase
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
InstanceSigs
|
|
KindSignatures
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
MultiWayIf
|
|
NamedFieldPuns
|
|
NumericUnderscores
|
|
OverloadedStrings
|
|
PolyKinds
|
|
RankNTypes
|
|
StandaloneDeriving
|
|
StandaloneKindSignatures
|
|
TupleSections
|
|
TypeApplications
|
|
TypeFamilies
|
|
TypeOperators
|
|
ghc-options: -Wall -fdefer-typed-holes
|
|
build-depends:
|
|
aeson
|
|
, aeson-flatten
|
|
, ambassador-agent
|
|
, attoparsec
|
|
, base >=4.9.1.0 && <5
|
|
, bytestring
|
|
, casing
|
|
, comonad
|
|
, conduit
|
|
, conduit-extra
|
|
, connection
|
|
, containers
|
|
, cryptonite
|
|
, cryptonite-conduit
|
|
, data-default
|
|
, directory
|
|
, errors
|
|
, exceptions
|
|
, exinst
|
|
, fast-logger
|
|
, file-embed
|
|
, filelock
|
|
, filepath
|
|
, fused-effects
|
|
, fused-effects-th
|
|
, git-embed
|
|
, hedgehog
|
|
, hspec >=2.0.0
|
|
, hspec-expectations
|
|
, http-api-data
|
|
, http-client
|
|
, http-client-tls
|
|
, http-conduit
|
|
, http-types
|
|
, interpolate
|
|
, iso8601-time
|
|
, json-rpc
|
|
, lens
|
|
, lens-aeson
|
|
, lifted-async
|
|
, lifted-base
|
|
, memory
|
|
, mime-types
|
|
, monad-control
|
|
, monad-logger
|
|
, network
|
|
, persistent
|
|
, persistent-sqlite
|
|
, persistent-template
|
|
, process
|
|
, process-extras
|
|
, protolude
|
|
, random
|
|
, regex-compat
|
|
, resourcet
|
|
, shell-conduit
|
|
, singletons
|
|
, stm
|
|
, streaming
|
|
, streaming-bytestring
|
|
, streaming-conduit
|
|
, streaming-utils
|
|
, tar-conduit
|
|
, template-haskell
|
|
, text >=0.11 && <2.0
|
|
, time
|
|
, transformers
|
|
, transformers-base
|
|
, typed-process
|
|
, unix
|
|
, unliftio
|
|
, unliftio-core
|
|
, unordered-containers
|
|
, uuid
|
|
, wai
|
|
, wai-cors
|
|
, wai-extra
|
|
, warp
|
|
, yaml
|
|
, yesod
|
|
, yesod-auth
|
|
, yesod-core
|
|
, yesod-form
|
|
, yesod-persistent
|
|
, yesod-test
|
|
default-language: Haskell2010
|