hosts-block

Rating: 
5
Your rating: None Average: 5 (2 votes)

Testing packaging of https://framagit.org/ohnonot/sfos/-/tree/master/hosts (see thread https://forum.sailfishos.org/t/ad-blocking-in-sailfishos-in-2023-what-ar...).

This is a service that once a week (If I read it correctly) downloads hosts to block.

The service/script/timer is done by @ohnonot, I have only packaged it as in https://framagit.org/ohnonot/sfos/-/merge_requests/1/diffs

If it does not automatically start, you need to "systemctl start hosts.service" and/or "systemctl start hosts.timer" as root (devel-su) and wait a bit (check journalctl -f or systemctl status hosts.service).

When done, reboot.

Keywords:

Application versions: 
AttachmentSizeDate
File hosts-block-0.0.1-1.noarch.rpm8.88 KB09/01/2025 - 01:59
File hosts-block-0.0.2-1.4.1.jolla_.noarch.rpm9.47 KB12/01/2025 - 02:59
File hosts-block-0.0.2git1-1.6.1.jolla_.noarch.rpm9.67 KB12/01/2025 - 23:22
Changelog: 

- Send notification to restart browser after update

Comments

sausset's picture

In the last version, notificationtool is used but not installed by default (at least on C2 with  5.0.0.43) You have to install it before: pkcon install lipstick-qt5-tools
The script is failing and the service cannot be launched properly if you don't install it.
Once done, everything is working fine. :-)

b100dian's picture

Thank you @sausset for your comment and analysis - that is indeed the case, I have added that dependency in 0.0.2+git1