packages feed

haskdeep-0.1.0.0: haskdeep.cabal

name:                haskdeep
version:             0.1.0.0
cabal-version:       >=1.8
build-type:          Simple
license:             BSD3
license-file:        LICENSE
copyright:           © 2012 Mauro Taraborelli
author:              Mauro Taraborelli
maintainer:          maurotaraborelli@gmail.com
stability:           experimental
homepage:            https://github.com/maurotrb/haskdeep
bug-reports:         https://github.com/maurotrb/haskdeep/issues
synopsis:            Computes and audits file hashes.
description:
    A command line application that computes file hashes traversing recursively
    through a directory structure.
    .
    The known hashes can be used to audit the same directory structure or a copy
    of it.
    .
    Execute haskdeep without arguments and it will show you the help text:
    .
    > user@host:~$ haskdeep
    >
    >  Usage: haskdeep COMMAND [-c|--computation MODE] [-r|--root DIRNAME] [-k|--known FILENAME] [-i|--ignore RULE]
    >    Computes hashes and audit a set of files
    >
    >  Available options:
    >    -c,--computation MODE    md5 | sha1 | sha256 | skein512 - default md5
    >    -r,--root DIRNAME        Root directory - default current directory
    >    -k,--known FILENAME      Known hashes file - default known.haskdeep
    >    -i,--ignore RULE         Regex to ignore files or directories
    >    -h,--help                Show this help text
    >
    >  Available commands:
    >    compute                  Computes file hashes and saves them to known hashes file
    >    audit                    Audits files comparing them to known hashes
    .
    Default usage:
    .
    1. create known hashes of files contained in a root directory (traversed recursively)
    .
    >  user@host:~$ haskdeep compute -c md5 -r myimportantfiles/ -k knownhashes.txt -i "tmp|\.log"
    .
    2. verify a copy of the same files comparing them with known hashes
    .
    >  user@host:~$ haskdeep audit -c md5 -r copyofmyimportantfiles/ -k knownhashes.txt -i "tmp|\.log"
    .
    Heavily inspired by @hashdeep@: <http://md5deep.sourceforge.net/>
category:            Console, Cryptography, System
extra-source-files:
    README.md

executable haskdeep
  hs-source-dirs:   src
  main-is:          Main.hs
  other-modules:
    Options
    HaskDeep
    HaskDeep.Computation
    HaskDeep.ComputationMode
    HaskDeep.Configuration
    HaskDeep.HashSet
    HaskDeep.KnownHash.Reader
    HaskDeep.KnownHash.Writer
  build-depends:
      attoparsec           ==0.10.*
    , attoparsec-conduit   ==0.5.*
    , base                 ==4.5.*
    , bytestring           ==0.9.*
    , cereal               ==0.3.*
    , conduit              ==0.5.*
    , containers           ==0.4.*
    , cryptohash           ==0.7.*
    , crypto-api           ==0.10.*
    , crypto-conduit       ==0.4.*
    , filesystem-conduit   ==0.5.*
    , optparse-applicative ==0.4.*
    , system-fileio        ==0.3.*
    , system-filepath      ==0.4.*
    , text                 ==0.11.*
    , regex-tdfa           ==1.1.*
    , regex-tdfa-text      ==1.0.*
  ghc-options: -Wall

source-repository head
  type:     git
  location: git://github.com/maurotrb/haskdeep.git