Safe Haskell | None |
---|
Code pulled out of cabal-debian that straightforwardly implements parts of the Debian policy manual, or other bits of Linux standards.
- databaseDirectory :: BinPkgName -> String
- apacheLogDirectory :: BinPkgName -> String
- apacheErrorLog :: BinPkgName -> String
- apacheAccessLog :: BinPkgName -> String
- serverLogDirectory :: BinPkgName -> String
- serverAppLog :: BinPkgName -> String
- serverAccessLog :: BinPkgName -> String
- errorLogBaseName :: String
- appLogBaseName :: String
- accessLogBaseName :: String
- debianPackageVersion :: String -> IO (Maybe DebianVersion)
- getDebhelperCompatLevel :: IO (Maybe Int)
- data StandardsVersion = StandardsVersion Int Int Int (Maybe Int)
- getDebianStandardsVersion :: IO (Maybe StandardsVersion)
- parseStandardsVersion :: String -> StandardsVersion
- data SourceFormat
- readSourceFormat :: Text -> Either Text SourceFormat
- data PackagePriority
- readPriority :: String -> PackagePriority
- data PackageArchitectures
- parsePackageArchitectures :: String -> PackageArchitectures
- data Section
- readSection :: String -> Section
- data Area
- parseUploaders :: String -> Either String [NameAddr]
- parseMaintainer :: String -> Either String NameAddr
- getDebianMaintainer :: IO (Maybe NameAddr)
- haskellMaintainer :: NameAddr
Paths
Installed packages
getDebhelperCompatLevel :: IO (Maybe Int)Source
Assumes debhelper is installed
data StandardsVersion Source
getDebianStandardsVersion :: IO (Maybe StandardsVersion)Source
Assumes debian-policy is installed
Package fields
data SourceFormat Source
data PackagePriority Source
data PackageArchitectures Source
The architectures for which a binary deb can be built.
readSection :: String -> SectionSource