cabal-debian-4.30.2: Create a Debianization for a Cabal package

Safe HaskellNone
LanguageHaskell98

Debian.Debianize.DebInfo

Contents

Description

This module holds a long list of lenses that access the Atoms record, the record that holds the input data from which the debianization is to be constructed.

Synopsis

Types

data DebInfo Source

Information required to represent a non-cabal debianization.

data Atom Source

Constructors

Link BinPkgName FilePath FilePath

Create a symbolic link in the binary package

Install BinPkgName FilePath FilePath

Install a build file into the binary package

InstallTo BinPkgName FilePath FilePath

Install a build file into the binary package at an exact location

InstallData BinPkgName FilePath FilePath

DHInstallTo somewhere relative to DataDir (see above)

File BinPkgName FilePath Text

Create a file with the given text at the given path

InstallCabalExec BinPkgName String FilePath

Install a cabal executable into the binary package

InstallCabalExecTo BinPkgName String FilePath

Install a cabal executable into the binary package at an exact location

InstallDir BinPkgName FilePath

Create a directory in the binary package

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

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

Lenses

Atom builders

DebInfo Builder