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) - adsuck

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

Package Details: adsuck 2.5.0-4

Git Clone URL: https://aur-dev.archlinux.org/adsuck.git (read-only)
Package Base: adsuck
Description: DNS filter
Upstream URL: http://opensource.conformal.com/wiki/Adsuck
Licenses: BSD
Submitter: acoolon
Maintainer: jorge_barroso
Last Packager: jorge_barroso
Votes: 13
Popularity: 0.000039
First Submitted: 2010-12-17 10:03
Last Updated: 2015-06-15 19:23

Latest Comments

1 2 3 Next › Last »

skanky commented on 2015-05-13 21:12

@Carpetsmoker - change the /usr/sbin to /usr/bin in the first install command in the PKGBUILD before running makepkg -i

Carpetsmoker commented on 2015-01-03 22:02

pacman -U errors out with:

error: failed to commit transaction (conflicting files)
adsuck: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.

/usr/sbin/adsuck does *not* exist on my system...

My .MTREE has:

./usr/sbin time=1420322193.537494546 type=dir
./usr/sbin/adsuck time=1420322193.537494546 mode=700 size=39864 md5digest=ef1f22df70a7bc89dce12e2ed715e947 sha256digest=251666755156c0af1a0c283dcdb2636f56f220d9a9d892a1771e7e8d9452ad33

sysfu commented on 2014-01-20 18:48

Tip: prevent dhcp from overwriting the nameservers in /etc/resolv.conf on boot by editing /etc/dhcpcd.conf and adding "nohook resolv.conf"

Also, this package is not ready to run out of the box. If a resolv.conf and hosts files are not manually copied to /var/adsuck the systemd service will fail to start.

csw commented on 2014-01-11 14:13

Any chance to complete and move to community repository?

joni commented on 2013-12-12 20:52

Also please make the following changes:

Add to [Service] section of adsuck.service:

ExecReload=/bin/kill -HUP $MAINPID

Change contents of 50-adsuck-update:


# copy the resolv.conf generated by dhcpcd to the adsuck directory
cp -f /etc/resolv.conf /var/adsuck/

if systemctl is-active adsuck.service; then
# create a new resolv.conf containing one entry pointing to the loopback device
echo "nameserver" > /etc/resolv.conf

# make adsuck reload the config to make sure the new resolv.conf file is read
systemctl reload adsuck.service

sysfu commented on 2013-10-13 00:31

Package needs update to change /usr/sbin paths to /usr/bin as per https://mailman.archlinux.org/pipermail/arch-dev-public/2012-March/022625.html

jorge_barroso commented on 2013-04-08 15:02

hi, I'm the adsuck package maintainer, sorry, I didn't fall on account of my mistakes on the ".rc" and ".service" installation files, I've already solved it, but, I haven't add the commented line for .rc as archlinux no longer supports initscripts

core_sum commented on 2013-04-07 20:59


I've got issue when I try to build adsuck.
Compiler cannot find "adsuck.rc" in srcdir, build stop on this.

any ideas about this one ?


skanky commented on 2013-03-04 11:01

I think the following patch will:

1) Fix the service file issue
2) Comment out the adsuck.rc install
3) Make the filter file a backed up file (eg .pacnew and .pacsave) on upgrade or removal.

I've tested it on my machine and it installed okay, but I've not done much patching before, so it might be able to be tidied up a bit.


--- PKGBUILD 2013-02-27 13:10:17.000000000 +0000
+++ PKGBUILD.new 2013-03-04 10:48:44.339441438 +0000
@@ -8,6 +8,7 @@
pkgdesc="DNS filter"
depends=(ldns libevent)
@@ -30,8 +31,9 @@
install -D -m700 "${srcdir}/${pkgname}-${pkgver}/adsuck" "${pkgdir}/usr/sbin/adsuck"
install -D "${srcdir}/${pkgname}-${pkgver}/adsuck.8" "${pkgdir}/usr/share/man/man8/adsuck.8"
install -D -m644 "${srcdir}/filter" "${pkgdir}/var/adsuck/filter"
- install -D -m755 "${srcdir}/adsuck.rc" "${pkgdir}/etc/rc.d/adsuck"
- install -D -m755 "${srcdir}/adsuck.rc" "${pkgdir}/usr/lib/systemd/system/adsuck.service"
+ # swap following two lines' comment status if using initscripts
+ #install -D -m755 "${srcdir}/adsuck.rc" "${pkgdir}/etc/rc.d/adsuck"
+ install -D -m755 "${srcdir}/adsuck.service" "${pkgdir}/usr/lib/systemd/system/adsuck.service"
# uncomment if you want it
#install -D -m755 "${srcdir}/50-adsuck-update" "${pkgdir}/usr/lib/dhcpcd/dhcpcd-hooks/50-adsuck-update"
\ No newline at end of file


jorge_barroso commented on 2013-02-11 16:33

there is already a service file ;) check it