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 (UTC)
Last Updated: 2020-01-21 19:32 (UTC)

Latest Comments

venamresm commented on 2018-01-06 13:24 (UTC) (edited on 2018-01-06 13:34 (UTC) by venamresm)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

Any chance to complete and move to community repository?

joni commented on 2013-12-12 20:52 (UTC)

Also please make the following changes: Add to [Service] section of adsuck.service: ExecReload=/bin/kill -HUP $MAINPID Change contents of 50-adsuck-update: #!/bin/bash # 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 fi

sysfu commented on 2013-10-13 00:31 (UTC)

Package needs update to change /usr/sbin paths to /usr/bin as per

jorge_barroso commented on 2013-04-08 15:02 (UTC)

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 (UTC)

Hi, 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 ? thanks

skanky commented on 2013-03-04 11:01 (UTC)

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 @@ pkgrel=2 pkgdesc="DNS filter" arch=(any) +backup=('var/adsuck/filter') url= license=(BSD) 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 (UTC)

there is already a service file ;) check it

commented on 2013-02-04 20:46 (UTC)

Please fix the adsuck.rc installing as a service file.

whynothugo commented on 2013-01-28 17:45 (UTC)

Latest PKGBUILD is installing "${srcdir}/adsuck.rc" into "${pkgdir}/usr/lib/systemd/system/adsuck.service", instead of "${srcdir}/adsuck.service"

whynothugo commented on 2013-01-05 20:38 (UTC)

Here's a systemd unit file, which should be installed to /usr/lib/systemd/system/adsuck.service:

csw commented on 2013-01-02 21:50 (UTC)

2.5.0 is out

jorge_barroso commented on 2012-12-09 17:56 (UTC)

I'm updating and checking it

csw commented on 2012-12-07 12:12 (UTC)

Any migration plans to the community repository?

timofonic commented on 2012-12-01 01:49 (UTC)

The package it's outdated, systemd is available by default on latest Arch Linux image and latest updates.

commented on 2012-11-16 21:15 (UTC)

i was not sure how to install, but adsuck was writing over /etc/resolv.conf but was not keeping the original one. so i added the following to the adsuck.service: ExecStartPre=/bin/sh -c "cp /etc/resolv.conf /var/adsuck/resolv.conf"

skanky commented on 2012-10-04 09:43 (UTC)

Thanks for the update. Here's what I have as my systemd service file: ---------------------------------- [Unit] Description=Adsuck daemon [Service] Type=forking ExecStart=/usr/sbin/adsuck -c /var/adsuck -f /resolv.conf /hosts -r /filter ExecStop=/bin/kill $MAINPID ExecReload=/bin/kill -HUP $MAINPID ; /bin/kill -USR1 $MAINPID [Install] ---------------------------------- Might need tweaking, it's based on the rc.d file and seems to run okay on my machine. It needs to be placed at /usr/lib/systemd/system/adsuck.service. On a slightly different note, is it possible to have filter not overwrite the current file? Make it a pacnew file, say?

jorge_barroso commented on 2012-10-03 19:34 (UTC)

sorry jakobcreutzfeldt, I don't know what are you talking about :$ I'll do it if you explain me what are you talking about. By now the package is already updated ^.^

jakobcreutzfeldt commented on 2012-10-03 15:54 (UTC)

2.4.3 is out. Also, it would be great if systemd service files were included!

mimas commented on 2011-02-22 02:01 (UTC)

Hello, libevent is a new dependency since version 2.0.