Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - hosts-update

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: hosts-update 1.37-2

Git Clone URL: https://aur-dev.archlinux.org/hosts-update.git (read-only)
Package Base: hosts-update
Description: Injects the mvps blocklist to /etc/hosts to prevent thousands of parasites, hijackers and unwanted adware/spyware/privacy websites from working.
Upstream URL: https://github.com/graysky2/hosts-update
Licenses: GPL
Conflicts: hosts_update
Replaces: hosts_update
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 51
Popularity: 0.920966
First Submitted: 2013-11-16 16:22
Last Updated: 2016-02-02 02:03

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

graysky commented on 2013-11-16 17:16

The hosts file is updated rather frequently so making it a member of the source array defeats the purpose of a script that grabs it and updates in a cronjob... the winhelp2002.mvps.org has been online supplying the block list since 1998; I haven't seen any reports of maliciousness. I don't think you need to worry about it.

Nowaker commented on 2013-11-16 17:12

Wouldn't it be better to provide this file http://winhelp2002.mvps.org/hosts.txt as source=()? I'd rather know in advance what is going to land in my /etc/hosts.

/usr/bin/hosts-update could have a switch, say --download, that would use the latest version from the Internet. Otherwise it would use a local version from /usr/share.

What do you think?

graysky commented on 2013-11-16 16:46

Bump to v1.33-1
Changelog: Better output on a failure to d/l the block list.

graysky commented on 2013-11-16 16:24

Bump to v1.32-1
Changelog: Name change from hosts_update --> hosts-update

graysky commented on 2013-11-10 15:30

Bump to 1.31-1
Changelog: Added proper Makefile and man page.

silvik commented on 2012-10-18 19:46

==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> hosts_update dependencies:
- wget (already installed)


==> Edit readme.install ? [Y/n] ("A" to abort)
==> ------------------------------------------
==> n

==> Continue building hosts_update ? [Y/n]
==> --------------------------------------
==>
==> Building and installing package
==> Making package: hosts_update 1.30-1 (Thu Oct 18 22:43:41 EEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading hosts_update-1.30.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2080 100 2080 0 0 2876 0 --:--:-- --:--:-- --:--:-- 9082
==> Validating source files with sha256sums...
hosts_update-1.30.tar.xz ... Passed
==> Extracting Sources...
-> Extracting hosts_update-1.30.tar.xz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
/build/yaourt-tmp-silvik/aur-hosts_update/./PKGBUILD: line 16: cd: /build/yaourt-tmp-silvik/aur-hosts_update/src/hosts_update-source: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build hosts_update.
==> Restart building hosts_update ? [y/N]
==> -------------------------------------
==>
==> ERROR: unable to update

Markus00000 commented on 2012-10-18 07:25

I get the following error messages. I guess, it started after switching to systemd:

# hosts_update
/usr/bin/hosts_update: line 6: /etc/rc.d/functions: No such file or directory
/usr/bin/hosts_update: line 13: stat_busy: command not found
/usr/bin/hosts_update: line 15: stat_done: command not found
/usr/bin/hosts_update: line 17: stat_busy: command not found
/usr/bin/hosts_update: line 28: stat_done: command not found

Any possibility to make this package compatible with pure systemd systems?

graysky commented on 2012-04-02 18:08

Bump to 1.2-4
Changelog: Added colorized output
PKG Commit: http://pkgbuild.com/git/aur-mirror.git/commit/hosts_update?id=fc0f053501cd7be87517d43172f70e12e8dcbdd7

graysky commented on 2012-04-02 18:08

Bump to 1.2-5
Changelog: Added colorized output
PKG Commit: http://pkgbuild.com/git/aur-mirror.git/commit/hosts_update?id=fc0f053501cd7be87517d43172f70e12e8dcbdd7

graysky commented on 2011-09-18 17:45

yugrotavele - Thanks. Looks like he changes his domain and path. Updated in v1.2-1.