packages feed

haskdeep-0.2.0.1: haskdeep.cabal

name:                haskdeep
version:             0.2.0.1
cabal-version:       >=1.8
build-type:          Simple
license:             BSD3
license-file:        LICENSE
copyright:           © 2015 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]
    >    Computes hashes and audit a set of files
    >
    >  Available options:
    >    -h,--help                Show this help text
    >    -v,--version             Show version information
    >    -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
    >    -e,--excl-regex REGEX    Exclude files or directories based on regex
    >    -f,--incl-mod-from DATE  Include files modified from yyyy-mm-ddThh:mm:ssZ
    >    -t,--incl-mod-upto DATE  Include files modified up to yyyy-mm-ddThh:mm:ssZ
    >
    >  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 -e "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 -e "tmp|\.log"
    .
    Heavily inspired by @hashdeep@: <http://md5deep.sourceforge.net/>
category:            Console, Cryptography, System
extra-source-files:
    README.md
    CHANGELOG.md
homepage:            https://github.com/maurotrb/haskdeep
bug-reports:         https://github.com/maurotrb/haskdeep/issues

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.13.*
    , base                 ==4.*
    , base16-bytestring    ==0.1.*
    , bytestring           ==0.10.*
    , cereal               ==0.4.*
    , conduit              ==1.2.*
    , conduit-combinators  ==1.0.*
    , conduit-extra        ==1.1.*
    , containers           ==0.5.*
    , cryptohash           ==0.11.*
    , cryptohash-cryptoapi ==0.1.*
    , crypto-api           ==0.13.*
    , crypto-conduit       ==0.5.*
    , directory            ==1.2.*
    , filepath             ==1.4.*
    , optparse-applicative ==0.11.*
    , resourcet            ==1.1.*
    , text                 ==1.2.*
    , time                 ==1.5.*
    , transformers         ==0.3.*
    , regex-tdfa           ==1.2.*
    , regex-tdfa-text      ==1.0.*
    , unix-compat          ==0.4.*
  ghc-options: -Wall

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

source-repository head
  type:     git
  location: https://maurotrb@bitbucket.org/maurotrb/haskdeep.git