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

Safe HaskellNone
LanguageHaskell2010

Debian.Debianize.Goodies

Description

Things that seem like they could be clients of this library, but are instead included as part of the library.

Synopsis

Documentation

tightDependencyFixup :: Monad m => [(BinPkgName, BinPkgName)] -> BinPkgName -> DebianT m () Source #

Create equals dependencies. For each pair (A, B), use dpkg-query to find out B's version number, version B. Then write a rule into P's .substvar that makes P require that that exact version of A, and another that makes P conflict with any older version of A.

doServer :: Monad m => BinPkgName -> Server -> CabalT m () Source #

Add a debian binary package to the debianization containing a cabal executable file set up to be a server.

doWebsite :: Monad m => BinPkgName -> Site -> CabalT m () Source #

Add a debian binary package to the debianization containing a cabal executable file set up to be a web site.

doBackups :: Monad m => BinPkgName -> String -> CabalT m () Source #

Add a debian binary package to the debianization containing a cabal executable file set up to be a backup script.

doExecutable :: Monad m => BinPkgName -> InstallFile -> CabalT m () Source #

Add a debian binary package to the debianization containing a cabal executable file.

logrotate :: MonadState CabalInfo m => BinPkgName -> m () Source #

Install configuration files to do log rotation. This does not work well with the haskell logging library, so it is no longer called in siteAtoms.