Package Details: hostsblock 0.999.8.1-1

Git Clone URL: https://aur.archlinux.org/hostsblock.git (read-only, click to copy)
Package Base: hostsblock
Description: An ad- and malware-blocking utility for POSIX systems
Upstream URL: https://github.com/gaenserich/hostsblock
Keywords: adblock
Licenses: GPL
Submitter: jav209
Maintainer: jav209
Last Packager: jav209
Votes: 50
Popularity: 0.000101
First Submitted: 2012-05-03 23:18
Last Updated: 2019-04-07 21:14

Dependencies (12)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Alad commented on 2015-02-25 02:22

Oops, forgot to enable notifications. Thanks for the updates; I'll soon check how it works now.

setone commented on 2015-01-15 05:21

@jav209: glad you're back.

jav209 commented on 2015-01-10 19:16

oh, and @Alad: volunteers for maintainership gladly accepted!

jav209 commented on 2015-01-10 19:15

Version 0.12.4 (10.01.2015)
*rc.conf: moved hphost entries to the optional section of the $blocklist list
*rc.conf: fixed certain urls, removed dead ones
*hostsblock: removed download/preparation exit code. Will not complete even if not all blocklists are downloaded and extracted successfully
*added hostsblock.service and hostsblock.timer files for use with systemd

jav209 commented on 2015-01-10 19:08

Hi all. Back from the dead!
@Alad:
-I moved the hphosts entries, save for the adblock-only list, to the commented-out optional area. Do note that you can always use hostblock-urlcheck to lift any blocks, e.g. hostblock-urlcheck "pastie.org" will (1) check to first see that pastie.org is blocked or unblocked (and offer you the choice of unblocking or blocking it) and then (2) scan the specified page for any other urls that may or may not be blocked.
-Could you explain how /dev/shm "doesn't work"? I haven't personally witnessed any issue with this directory. If may also change the tmpdir parameter in the rc.conf file if you dislike the use of /dev/shm, but as it stands, I don't know of any particular reason for not using it.
-Could you provide any standard out or error for the default settings issue? Prima facie I don't see anything wrong in the script as it exists that would be fixed by your patch.

@vinsonchuong
-Thanks for the info. I switched the suffixes.

@vwyodajl
-I haven't been as actively tracking changes to AUR standards and the like, but at the moment, I'm not sure of the standards you speak of. At present, I just re-makepkg'd what I have, but haven't noticed any issues.
-What's wrong with rc.conf? (although, in the upcoming pre-alpha version, rc.conf turns into hostsblock.conf, but just because that hostsblock won't be backwards compatible with the current version)

@setone
-I took out the code that gives up when it encounters an error. hostsblock will now carry on when confronted with a download or extraction error.
-Thanks for the complement. I feel bad lately for not getting back to this in a while (I've been busy balancing dissertation, job, child.)

Alad commented on 2015-01-08 13:47

Another thing. This should NOT include hphosts by default, as it blocks common websites - like the below pastie.org. And you're stuck with it if you didn't remove it beforehand.

This needs a new maintainer.

Alad commented on 2015-01-08 13:43

Also, /dev/shm doesn't work. Should be /tmp.

Alad commented on 2015-01-08 13:37

Had to remove the "Default settings" section in /usr/bin/hostsblock to have this do anything at all.

http://pastie.org/9820107

Patch:

http://pastie.org/pastes/9820111/text

vinsonchuong commented on 2014-12-20 04:14

The URLs `hosts-file.net/ad_servers.asp` and `hosts-file.net/hphosts-partial.asp` have changed from ending in `.asp` to ending in `.txt`.

vwyodajl commented on 2014-12-11 18:15

Can you please fix this to current standards. Installing as is fails to produce a usable tool. And rc.conf still?