Package Details: adsuck 2.5.0-5

Git Clone URL: (read-only, click to copy)
Package Base: adsuck
Description: DNS filter
Upstream URL:
Licenses: BSD
Submitter: acoolon
Maintainer: None
Last Packager: TheGoliath
Votes: 13
Popularity: 0.000000
First Submitted: 2010-12-17 10:03
Last Updated: 2020-01-21 19:32

Latest Comments

1 2 3 Next › Last »

venamresm commented on 2018-01-06 13:24

For those who still want to use this wonderful software I've updated the PKGBUILD and install.

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

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
+++ 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