packages feed

adblock2privoxy-1.2.5: adblock2privoxy.cabal

name:                adblock2privoxy
version:             1.2.5
cabal-version:       >= 1.6
build-type:          Custom
author:              Alexey Zubritsky <adblock2privoxy@zubr.me>
data-files:          
                templates/ab2p.system.action,
                templates/ab2p.system.filter
extra-source-files:  
                README.rst
                changelog
                man/man1/adblock2privoxy.1
license:             GPL-3
maintainer:          Alexey Zubritskiy <adblock2privoxy@zubr.me>
license-file:        LICENSE
stability:           stable
synopsis:            Convert adblock config files to privoxy format
description:         
                       AdBlock Plus browser plugin has great block list files provided by big community,
                       but it is client software and cannot work on a server as proxy.
                       .
                       Privoxy proxy has good potential to block ads at server side,
                       but it experiences acute shortage of updated block lists.
                       .
                       This software converts adblock lists to privoxy config files format.
                       .
                       Almost all adblock features are supported including
                       .
                       * block/unblock requests (on privoxy)
                       .
                       all syntax features are supported except for regex templates matching host name
                       .
                       * hide/unhide page elements (via CSS)
                       .
                       all syntax features are supported
                       .
                       * all block request options except for outdated ones:
                       .
                       Supported: script, image, stylesheet, object, xmlhttprequest, object-subrequest, subdocument,
                       document, elemhide, other, popup, third-party, domain=..., match-case, donottrack
                       .
                       Unsupported: collapse, background, xbl, ping and dtd
homepage:            https://projects.zubr.me/wiki/adblock2privoxy
category:            Web

executable adblock2privoxy
  hs-source-dirs:  src
  main-is:         Main.hs
  build-depends:   
                   base >= 4 && < 5,
                   parsec,
                   mtl,
                   containers,
                   filepath,
                   directory,
                   MissingH,
                   parsec-permutation,
                   time >=1.4 && <1.5,
                   old-locale >=1.0 && <1.1,
                   strict >=0.3 && <0.4,
                   network >=2.4 && <2.6,
                   http-conduit,
                   text >=0.11 && <0.12
  ghc-options:     -Wall
  other-modules:   
                   ElementBlocker,
                   InputParser,
                   OptionsConverter,
                   ParsecExt,
                   Paths_adblock2privoxy,
                   PatternConverter,
                   PolicyTree,
                   PopupBlocker,
                   SourceInfo,
                   Statistics,
                   Task,
                   Templates,
                   UrlBlocker,
                   Utils

executable adblock2privoxy-distrib
  build-depends:   
                   base >= 4 && < 5,
                   pandoc,
                   Cabal >=1.6 && <1.20,
                   pandoc-types >=1.12.3 && <1.13
  ghc-options:     -Wall
  main-is:         Main.hs
  hs-source-dirs:  distrib-src

source-repository this
  type:      git
  location:  ​http://projects.zubr.me/adblock2privoxy.git
  tag:       1.2.4