cabal-debian-3.5: Create a debianization for a cabal package

Safe HaskellNone

Debian.Debianize.Types

Synopsis

Documentation

newtype Top Source

Constructors

Top 

Fields

unTop :: FilePath
 

data Site Source

Information about the web site we are packaging.

Constructors

Site 

Fields

domain :: String

The domain name assigned to the server. An apache configuration will be generated to redirect requests from this domain to hostname:port

serverAdmin :: String

Apache ServerAdmin parameter

server :: Server

The hint to install the server job

Instances

data Server Source

Information about the server we are packaging.

Constructors

Server 

Fields

hostname :: String

Host on which the server will run

port :: Int

Port on which the server will run. Obviously, this must assign each and every server package to a different port.

headerMessage :: String

A comment that will be inserted to explain how the file was generated

retry :: String

start-stop-daemon --retry argument

serverFlags :: [String]

Extra flags to pass to the server via the init script

installFile :: InstallFile

The hint to install the server executable

data InstallFile Source

Constructors

InstallFile 

Fields

execName :: String

The name of the executable file

sourceDir :: Maybe FilePath

where to find it, default is distbuildexecName/

destDir :: Maybe FilePath

where to put it, default is usrbinexecName

destName :: String

name to give installed executable

data DebType Source

A redundant data type, too lazy to expunge.

Constructors

Dev 
Prof 
Doc