adblock2privoxy 1.3.2 → 1.3.3
raw patch · 4 files changed
+10/−8 lines, 4 files
Files
- adblock2privoxy.cabal +2/−2
- distribution/rpmbuild/SPECS/adblock2privoxy.spec +3/−3
- man/man1/adblock2privoxy.1 +1/−1
- src/Main.hs +4/−2
adblock2privoxy.cabal view
@@ -1,5 +1,5 @@ name: adblock2privoxy-version: 1.3.2+version: 1.3.3 cabal-version: >= 1.10 build-type: Simple tested-with: @@ -98,4 +98,4 @@ type: git location: http://projects.zubr.me/adblock2privoxy.git subdir: adblock2privoxy- tag: 1.3.2+ tag: 1.3.3
distribution/rpmbuild/SPECS/adblock2privoxy.spec view
@@ -1,11 +1,11 @@ Name: adblock2privoxy-Version: 1.3.2+Version: 1.3.3 Release: 1%{?dist} Summary: Convert adblock config files to privoxy format License: GPL-3 URL: https://projects.zubr.me/wiki/adblock2privoxy-Source0: http://hackage.haskell.org/package/adblock2privoxy-1.3.2/adblock2privoxy-1.3.2.tar.gz+Source0: http://hackage.haskell.org/package/adblock2privoxy-1.3.3/adblock2privoxy-1.3.3.tar.gz Vendor: Alexey Zubritskiy <adblock2privoxy@zubr.me> Group: Web @@ -67,5 +67,5 @@ %changelog-* Sat Feb 07 2015 Alexey Zubritskiy <adblock2privoxy@zubr.me> - 1.3.2+* Sat Feb 07 2015 Alexey Zubritskiy <adblock2privoxy@zubr.me> - 1.3.3 - Rpm release for new version (generated from cabal file)
man/man1/adblock2privoxy.1 view
@@ -1,4 +1,4 @@-.TH "ADBLOCK2PRIVOXY" "1" "2015\-02\-07" "adblock2privoxy 1.3.2" "General Commands Manual"+.TH "ADBLOCK2PRIVOXY" "1" "2015\-02\-07" "adblock2privoxy 1.3.3" "General Commands Manual" .SH ADBLOCK2PRIVOXY .PP \f[B]Convert adblock config files to privoxy format\f[]
src/Main.hs view
@@ -17,6 +17,7 @@ import Network.Socket import System.Directory import System.IO+import Control.Monad @@ -36,7 +37,8 @@ (parsed, sourceInfo) <- unzip <$> mapM parseSource sources let parsed' = concat parsed sourceInfoText = showInfo sourceInfo- optionsText = logOptions options + optionsText = logOptions options+ createDirectoryIfMissing True $ _privoxyDir options writeTask taskFile (sourceInfoText ++ optionsText) parsed' if null._cssDomain $ options then putStrLn "WARNING: CSS generation is not run because webserver domain is not specified"@@ -60,7 +62,7 @@ then return (parsed, sourceInfo') else parseSource sourceInfo' Left msg -> return ([], sourceInfo) <$ putStrLn $ show msg- + main::IO() main = do now <- getCurrentTime