mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
dc0cb7ddc0
adzap2Squirm is a Perl script to take an Ad Zapper pattern file (or the original Ad Zapper script itself, which includes the patterns) and write out a corresponding file of patterns which Squirm can use for ad zapping. This port also includes a modified update-zapper (from the Ad Zapper) so that updates of the ad definitions can be run through cron PR: ports/56359 Submitted by: rmuir@radford.edu
21 lines
670 B
Plaintext
21 lines
670 B
Plaintext
********************************************************
|
|
In order to block ads, you must first setup squirm.conf
|
|
An example is in:
|
|
|
|
%%PREFIX%%/etc/squirm/squirm.conf.zap
|
|
|
|
You must also setup squid to use squirm if you have not
|
|
done so. Add this to %%PREFIX%%/etc/squid/squid.conf:
|
|
|
|
redirect_program: %%PREFIX%%/bin/squirm
|
|
|
|
Then run from the command line:
|
|
|
|
%%PREFIX%%/bin/update-zapper
|
|
|
|
This port installs a script (%%PREFIX%%/update-zapper)
|
|
which will update the ad definitions, and restart squid
|
|
if there are new ones available. Add this to root's
|
|
crontab to easily keep your ad definitions up to date.
|
|
********************************************************
|