Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656484 - net-proxy/adblock2privoxy-9999 - Convert adblock config files to privoxy format
Summary: net-proxy/adblock2privoxy-9999 - Convert adblock config files to privoxy format
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2018-05-25 11:31 UTC by Wojciech Myrda
Modified: 2020-05-12 14:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adblock2privoxy-9999.ebuild (adblock2privoxy-9999.ebuild,1.13 KB, text/plain)
2018-05-25 11:31 UTC, Wojciech Myrda
Details
adblock2privoxy-1.4.2.1.ebuild (adblock2privoxy-1.4.2.1.ebuild,1.22 KB, text/plain)
2018-05-27 06:32 UTC, Wojciech Myrda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Myrda 2018-05-25 11:31:04 UTC
Created attachment 533096 [details]
adblock2privoxy-9999.ebuild

Command-line tool that converts multiple adblock lists and converts them into privoxy format config files (action and filter lists). It also creates CSS files for element hiding, but that requires local webserver.

Attached is working ebuild for fork of original code as it has some modifications over the original code which is unmaintained for past 2 years.

Hence no official package has been released therefore attached ebuild uses git. Ebuild works for me, but I tested it with haskey-overlay which includes https://github.com/gentoo-haskell/gentoo-haskell/tree/master/dev-haskell/parsec-permutation required for package to work. YMMV
Comment 1 Jonas Stein gentoo-dev 2018-05-26 16:22:08 UTC
Thank you for your contribution.
You can use a specific commit in order to avoid a live ebuild. 
Look at the inxi ebuild to see how it can be done.

I have not looked at this in detail, but I wonder why a simple format converter has so many dependencies.

I think this ebuild fits best to an overlay (betagarden?) and if there are users and a maintainer we can copy it quickly to the official tree.
Comment 2 Wojciech Myrda 2018-05-27 06:32:33 UTC
Created attachment 533430 [details]
adblock2privoxy-1.4.2.1.ebuild

In case I ever needed very specific commit I used EGIT_COMMIT and/or EGIT_BRANCH as I usually had whole git tree of the package fetched anyways and using specific commmit was enough to avoid any problems with master. I also saved some bandwidth as there was no need to fetch whole package. Besides updating live packages is also easy with app-portage/smart-live-rebuild. That being said for sake of possibility package being accepted by portage someday I prepared ebuild with tarball.

Dependencies are derived directly from https://github.com/essandess/adblock2privoxy/blob/master/adblock2privoxy/adblock2privoxy.cabal and are created automatically with app-portage/hackport.

There is the reason I do not use github to file ebuild propositions/patches and alike. I simply hate to have relearn git every single time I need to use it and I just know when fill a bug with ebuild first thing they would ask me is to create pull request which would just drive me mad. Therefore trust me old school bugs.gentoo.org is best place for me to post.

Anyways these days using privoxy itself is almost pointless. One needs updated block/ublock scripts (which is what this bug is all about) and to check SSL which most traffic uses these days (https://bugs.gentoo.org/656470) therefore someone should pick it up sooner or later.
https://bugs.gentoo.org/656470