B. Watson 30e5eba41f network/hostsblock: Wrap README at 72 columns. 2 years ago
..
README 30e5eba41f network/hostsblock: Wrap README at 72 columns. 2 years ago
doinst.sh ea8fed553d network/hostsblock: Fixed doinst.sh. 7 years ago
hostsblock.SlackBuild 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var 3 years ago
hostsblock.info 2857cd1e52 network/hostsblock: Mirror download url. 6 years ago
no-dnsmasq.patch b68cc21916 network/hostsblock: Added (ad/malware-blocking cron script). 11 years ago
slack-desc 8ba1ed4d3e network/hostsblock: Fix slack-desc. 8 years ago

README

Hostsblock is a bash script for Linux designed to take advantage
of the /etc/hosts file to provide system-wide blocking of internet
advertisements, malicious domains, trackers, and other undesirable
content. To do so, it downloads a configurable set of blocklists and
processes and their entries into a singular file.

The SlackBuild assumes that dnsmasq is not available so it
will configure hostsblock to overwrite the current /etc/hosts
file. The install script will backup the current /etc/hosts file to
/etc/hostsblock/hosts.head if it does not already exist.

After uninstalling hostsblock, you should copy hosts.head back to
/etc/hosts.

To have hostsblock automatically update /etc/hosts once a week, run:
ln -sf /usr/sbin/hostsblock /etc/cron.weekly/hostsblock