Doug,

I'm traveling this week, but I'll be glad to send you my script file
after I get back home (probably Saturday).

One thing I can tell you right now is that you do NOT want to apply
the diff files included in the tarball! Two reasons:
1) By the original definition, the domains and urls files contained in
the tarball include the changes in those diff files.
2) Those diff files are garbage. Combine all of those diff files into
a single text file and sort it. You'll find entries that are added and
deleted multiple (some over 50) times. If can also find individual
diff files that contain the same entry *hundreds* of times (look for a
diff file that is much larger than the others and browse it).

I'll send you my script on Saturday.

Rick Matthews

On Thu, 24 January 2002, Doug Poland wrote

> 
> Hi,
> 
> This is my first request to the list.  I'd like to compliment
> the developers on an excellent product.
> 
> My request is for a script that will do the following 
> (preferably run from cron):
> 
> fetch the blacklist.tar.gz
> extract the contents to a temp location
> move the contents to production location
> rebuild .db files
> apply diffs that come with tarball
> apply diffs that I've made (if necessary)
> restart squid
> clean-up
> 
> If my work-flow logic is wrong, please correct me.  Before I 
> set down to writing it myself, I'm sure just about every 
> other sysadmin out there has done something similar and 
> was hoping someone could *share*.
> 
> Many TIA...
> 
> -- 
> Regards,
> Doug


Reply via email to